It appears that most iOS devs who blog are using Swift.
Swift 2 Apps in the App Store
11–20 of 33 posts
Re: Swift 2 Apps in the App Store
#12Earlier quoted context omitted.
"Clean Build Folder" is basically the "turn it off, then turn it back on" of Xcode. Almost anytime you get a weird compiler error on a project that compiled fine moments ago, it's solved by "Clean Build Folder." Definitely a good trick to know.
Or for those who prefer automating, add this to ~/.bash_profile: alias nuke="rm -rf ~/Library/Developer/Xcode/DerivedData/"
Re: Swift 2 Apps in the App Store
#13Earlier quoted context omitted.
"Clean Build Folder" is basically the "turn it off, then turn it back on" of Xcode. Almost anytime you get a weird compiler error on a project that compiled fine moments ago, it's solved by "Clean Build Folder." Definitely a good trick to know.
Or for those who prefer automating, add this to ~/.bash_profile: alias nuke="rm -rf ~/Library/Developer/Xcode/DerivedData/"
Re: Swift 2 Apps in the App Store
#14I ran the “Convert > To Latest Swift Syntax” on an app with about six view controllers, four views, a network service, and three cocoapods. It worked surprisingly well, most of the changes were really just suggestions ("this var something could be a let something"), small change to how NSData unwraps. I did have to guess around an obscure compile issue (solution: "Clean Build Folder"), but after that it was clear sai…
I rewrote the extension in Objective C and uploaded another build, and after a few minutes, I was able to submit it to the App Store.
Just a random anecdote that made me go back into late adopter mode for the rest of the year. It's great that Swift mostly works, but I'm really scared of the times when it doesn't.
(Edit: Not just me - https://forums.developer.apple.com/message/50182#50182)
Re: Swift 2 Apps in the App Store
#15I ran the “Convert > To Latest Swift Syntax” on an app with about six view controllers, four views, a network service, and three cocoapods. It worked surprisingly well, most of the changes were really just suggestions ("this var something could be a let something"), small change to how NSData unwraps. I did have to guess around an obscure compile issue (solution: "Clean Build Folder"), but after that it was clear sai…
Re: Swift 2 Apps in the App Store
#16My other guess is that it will come in time for ios 10 and be cross-platform ( aka work on mac os as well as ios).
I have absolutely zero inside info, but the fact is cocoa felts great and elegant on ios3 , but with all the latest additions it now starts to feel old and convoluted. Objective-c has been patched incredibly well but can only go so far, and the convergence of hardware between devices makes the distinction between computers and tablets more and more obsolete.
Re: Swift 2 Apps in the App Store
#17Here's my prediction : apple is currently working on a replacement framework for cocoa (at least uikit), that will be writen for swift first, taking advantage of its great special features. My other guess is that it will come in time for ios 10 and be cross-platform ( aka work on mac os as well as ios). I have absolutely zero inside info, but the fact is cocoa felts great and elegant on ios3 , but with all the latest…
Re: Swift 2 Apps in the App Store
#18Re: Swift 2 Apps in the App Store
#19If your Swift app is using SpriteKit it might take a little longer to get it ready for the App Store: https://forums.developer.apple.com/thread/17463 Apple really screwed up SpriteKit badly in the new version. I'm experiencing almost all of the problems mentioned in the forum.
Re: Swift 2 Apps in the App Store
#20I ran the “Convert > To Latest Swift Syntax” on an app with about six view controllers, four views, a network service, and three cocoapods. It worked surprisingly well, most of the changes were really just suggestions ("this var something could be a let something"), small change to how NSData unwraps. I did have to guess around an obscure compile issue (solution: "Clean Build Folder"), but after that it was clear sai…
Anyway, Swift is a great language though I don't mean to discredit it. It just doesn't take the spot of my #1 -- Scala. :)