![]() ![]() What is different between the platforms are the frameworks they support. Swift as a language is the same on both iOS and macOS - there's no porting that you need to do to move logic between the two. Some kind of help document would be great to have. ![]() I'm just not versed enough in the Swift language to know what I need to do. However, until that happens it seems different libraries have to be imported and different classes loaded in order to get something that works for iOS to work in macOS. It appears Apple is trying to get to the point where one day it doesn't matter which platform you're targeting in Swift, the code will work on any of their platforms. So, I thought I would ask here to see if there is some kind of cross-walk that would show what one needs to do to convert swift iOS app/code to be compatible with macOS? I try running the examples and I get errors telling me various classes are unknown, which I guess means they aren't being imported into the macOS app. It seems the iOS world is so prolific that the macOS stuff is getting pushed down in the search engines. I am having a difficult time finding swift example code targeted for macOS development.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |