Tag: computed property

A Swift Guide to Working with Classes Part Two: Advanced Class Techniques

In our first part we looked at some of the basics of classes in Swift. In this part, we look at some of the more advanced features of classes which developers use every day — often without knowing it. We’ll explore first a bit… Continue Reading “A Swift Guide to Working with Classes Part Two: Advanced Class Techniques”

The Swift Swift Tutorial: How to Use UITableView in Swift

[Converted to to Swift 2.0/iOS9 9/28/15 SJL] The workhorse control in iOS is the table view. With both a delegate and data source it is powerful, flexible and can get a bit complicated. In this lesson, we will add a table view controller between… Continue Reading “The Swift Swift Tutorial: How to Use UITableView in Swift”

The Swift Swift Tutorial: Adding an MVC Model Class in Swift

[Note: Updated for Swift 2.0/iOS9 9/1/15 SJL] Last time we built a small application to compute the area of a pizza. Since it was missing a model, we are going to make an improved version of the application and add a model class, plus… Continue Reading “The Swift Swift Tutorial: Adding an MVC Model Class in Swift”