A In-Depth Case Study On The Usage Of Swift Optionals

I’ve mentioned a few tutorials on larding the Swift language, most recently an in-depth guide on using Swift arrays, and a tutorial on Swift basics through the creation of a falling blocks game.

Here is an in-depth case study and tutorial from the  Apple Swift blog exploring the use of optionals.

In the post the authors create an NSDictonary objectForKeys function in Swift and  explain how to use options for this situations when the key is not found and the advantages over NSNull with Objective-C.

You can find the guide on the Swift blog.

A nice straightforward guide on using optionals.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: A In-Depth Case Study On The Usage Of Swift Optionals

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *