Share this page

by Chris Ching
Swift Version: 4.0

Think of optionals simply as variables that might contain nil. The only hard part is remember all of the syntax that goes along with declaring optionals, unwrapping them and checking if contain nil before using them. That will come with time! I highly recommend you download the worksheet to get some extra practice with them. It will help you remember the syntax without having to memorize anything!

© 2015 SoSoSwift. Blog · About · Contact · Privacy policy · Terms of service · RSS