News for hackers. Stuff that matters.
Re:Swift, the new way to build iOS Apps. Here's how by desireco42 on Tuesday June 03, 2014 @01:01PM (#7841364)
What's the deal with optionals? I am not sure what the use case are.

Seems much better then ObjectiveC

Re:Swift, the new way to build iOS Apps. Here's how by netcraft on Tuesday June 03, 2014 @01:58PM (#7841746)
The docs seem to cover it pretty well: https://developer.apple.com/library/prerelease/ios/documenta...

But the basic idea around optionals is a much better and cleaner way of dealing with possible null (nil) values. Lots of other languages have and are getting optionals.

Re:Swift, the new way to build iOS Apps. Here's how by desireco42 on Tuesday June 03, 2014 @04:04PM (#7842397)
What was confusing me that they would specify it during initialization.