Hacker News new | past | comments | ask | show | jobs | submit login

I've been thinking about whipping up a Swift App, but I haven't found many online resources on how to do one for OS X. I tried following an ObjC guide and translating it all to Swift, but my lack of experience really slowed me down.

Did you come across any good guides for making Swift Apps in OS X?




I came to it as a mostly Python/embedded C/C++ developer, and learned by translating ObjC examples to Swift. The Apple docs are pretty good, and for anything I couldn't find in the docs I searched for an ObjC example, often on StackOverflow. The most difficult part for me was working around the sandboxing restrictions, particularly for starting an app on login (after trying different approaches I learned that it requires a secondary helper app and a simple call to SMLoginItemSetEnabled() ).




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: