Tag: Programming

What Do you do with Any?

There’s been a major change to Swift 3.0 That many people might find a little disturbing in code, and others may have no idea what it is. In one sense that’s the idea. Apple changed AnyObject to Any in Swift 3.0. This three-letter word is…

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…

Swift WatchKit: Selecting With Multiple Rows in Apple Watch

In the last lesson we created a multi-row table. However, we can only view the table, not select from the table. Multi-row tables provide some challenges with selection. Along the way, we’ll make a new interface to display selected information, using a technique we…

Swift Watchkit: Headers Footers and More — Multiple Row Types in Apple Watch Tables

Some tables are boring. In our  multi-part look at the table view in Apple Watch, We’ve looked at tables with only one kind of row type. However, tables can be lot more than just one row. We might have a header row, or a…