Developing iOS 8 Apps with Swift
itunes.apple.com
Developing iOS 8 Apps with Swift
1–10 of 49 posts
Re: Developing iOS 8 Apps with Swift
#2Re: Developing iOS 8 Apps with Swift
#3I heard from devs Swift 1.0 is still alpha quality (tools) and Apple shouldn't release it. Would you use it for new project?
I took his course a few years ago when I got started programming, it was great.
Re: Developing iOS 8 Apps with Swift
#4I heard from devs Swift 1.0 is still alpha quality (tools) and Apple shouldn't release it. Would you use it for new project?
In theory it's nice to work with, as it forces you to think everything more carefully and consider all error/nullable cases. In practice, integration with XCode is still full of bugs, code completion is crashing all the time, Swift classes show up as missing symbols in Objective-C (but the project compiles fine)... So, it's a bit painful and it slows down the development process.
We will keep it to very small and well-defined pieces of code for now. It's good to learn about it, but it's not productive.
Re: Developing iOS 8 Apps with Swift
#5I heard from devs Swift 1.0 is still alpha quality (tools) and Apple shouldn't release it. Would you use it for new project?
Re: Developing iOS 8 Apps with Swift
#6I can't wait until all of these video's are released.
Re: Developing iOS 8 Apps with Swift
#7I heard from devs Swift 1.0 is still alpha quality (tools) and Apple shouldn't release it. Would you use it for new project?
Re: Developing iOS 8 Apps with Swift
#8I heard from devs Swift 1.0 is still alpha quality (tools) and Apple shouldn't release it. Would you use it for new project?
Good reasons to use Swift might include the following:
- You think you can make good use of the features Swift offers (generics, sum types, optionals, namespaces, typed containers) and are willing to not just write Objective-C code with a different syntax.
- You are willing to take a short-term productivity hit to learn a language which will probably become the crux of Apple's developer tools in the future.
- Your project isn't going to rely heavily on the dynamic features Objective-C offers (e.g. method swizzling, adding or replacing classes and methods at runtime).
Things that are troublesome with Swift include the following:
- Swift's interoperability with Objective-C and Cocoa Touch is still touch-and-go in a lot of places. It's been getting better, but unless you understand how both Cocoa Touch and Swift work, you will just have to take on faith things like IBOutlets being implicitly unwrapped optionals.
- Xcode's stability when it comes to working with Swift projects leaves much to be desired. The level of instability also seems to vary; I've worked on files that crashed SourceKit over and over and files that caused the IDE no trouble at all.
- I wouldn't call Swift alpha-quality, but there are still compiler and runtime bugs that need to be addressed.
(BTW I really wish HN supported proper lists in comments. Doing the two-space indent just makes everything run off the screen.)