Posted on August 7, 2015
by Steven Lipton
8 Comments
In the first tutorial in this series we introduced classes. In the second we did some more advanced manipulations of classes. In both, we discussed the idea of inheritance, which has one final possibility: a class whose only purpose is to define other classes.… Continue Reading “A Swift Tutorial for Working with Classes Part 3: Abstract classes.”
Category: ios8, iOS9, KinderSwift tutorial, Swift, Swift Programming, TutorialTags: abstract classes, AnyObject, Class, class methods, data sources, delegates, instance methods, Optional chaining, Optional Values, optionals, override, protocols, subclassing, Swift Optional Values
Posted on September 12, 2014
by Steven Lipton
1 Comment
We’ve had another change to the Swift compiler that was brought to my attention by an astute reader. I was aware of it, and you’ll notice I even used it in the last few posts, but I really should have warned people about it,… Continue Reading “The Joys of Beta Swift: More with Optionals and the “does not have a member named” error”
Posted on July 30, 2014
by Steven Lipton
12 Comments
In the first month and a half of using Swift, I could argue the optional value is the most difficult new concept. It isn’t hard, just something different to wrap one’s head around. That Apple’s documentation peppers information about optionals in two different e-books… Continue Reading “The Swift Swift Tutorial: Ten Points for Using Optionals.”
Category: Discovery!!!, ios7, ios8, Swift, Swift Swift, TutorialTags: downcasting, downcasting anyobject, implicitly unwrapped optional, Optional binding, Optional chaining, optionals, swift, swift as, Swift Optional Values, swift reference, swift tutorial, unwrapping otpional values