Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments