Tag: Optional chaining

Reading and Writing Text and CSV files in Swift

The power behind all computing is data. We collect data, process data, present data  and most importantly store data. Without storage, the others are meaningless. In a live app, we can store our data in collection types such as dictionaries and arrays.  But that… Continue Reading “Reading and Writing Text and CSV files in Swift”

A Swift Tutorial for Working with Classes Part 3: Abstract classes.

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.”

The Swift Swift Tutorial: Ten Points for Using Optionals.

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.”

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”