News for hackers. Stuff that matters.
Re:Export SwiftUI code from Figma designs by mkchoi212 on Thursday March 05, 2020 @12:45PM (#22495964)
This is insane. If the exported code is somewhat read-able, functions correctly, and the library gets updated as SwiftUI evolves, this is a game changer for iOS devs.

However, these are big IFs. Handling navigation, view hierarchy, and view category identification may be very hard to solve.

Re:Export SwiftUI code from Figma designs by traviskirton on Thursday March 05, 2020 @01:33PM (#22496495)
@insomnie Nicely done! Are your hopes to really take this to the next level? It would be awesome to see.

Proper export is definitely hard to solve. It's one thing to export bits of color and positioning. But, really making an export that devs can use, and includes the stuff that mkchoi212 mentions, is a definite challenge.

Re:Export SwiftUI code from Figma designs by insomnie on Thursday March 05, 2020 @02:54PM (#22497450)
This is absolutely the goal. Not to mention bringing this to other design tools. Sketch, Adobe XD, etc.
Re:Export SwiftUI code from Figma designs by mkchoi212 on Thursday March 05, 2020 @03:32PM (#22497857)
Awesome! Excited to see where this goes! Keep up the great work!
Re:Export SwiftUI code from Figma designs by adam_fallon_ on Thursday March 05, 2020 @02:03PM (#22496838)
It's not. Design tools have had this kind of functionality for UIKit for years. Making views is absolutely not the hard part of mobile development.