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.
- Tutorial: Using Generics To Implement KVO In Swift
- Guide: Everything You Need To Know About Swift Arrays
- Examples: A Collection Of Popular Design Patterns Implemented In Swift
- Extensive Open Source Swift Based Cryptography Helper Library (MD5, SHA1, SHA256)
- An Open Source Library Implementing Over 40 Math Symbols As Custom Operators In Swift
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.