News for hackers. Stuff that matters.
Re:How Swift 5.3 enhances SwiftUI’s DSL by luxurytent on Sunday September 13, 2020 @04:46PM (#24463828)
Do you have any recommendations for articles that explain how to include AppKit with SwiftUI? I'm new to iOS dev and have been building with Swift/SwiftUI almost exclusively, but not sure what's the right way here just yet.
Re:How Swift 5.3 enhances SwiftUI’s DSL by jamil7 on Monday September 14, 2020 @02:24AM (#24467370)
Not really, unfortunately it's a lot harder to learn AppKit than UIKit due to the lack of online resources available. Try to find open source mac apps and read the source code and Apple's documentation are the only suggestions I can think of. I've seen a "Hacking with macOS" Udemy course that looks comprehensive although I can't recommend it as I haven't checked it out. With regards to wrapping AppKit views in SwiftUI the process is more or less the same as it is with UIKit.
Re:How Swift 5.3 enhances SwiftUI’s DSL by luxurytent on Monday September 14, 2020 @06:25PM (#24475841)
Thank you!