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 an extremely powerful feature,a backbone of many functions and classes, and…
-
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 only works when the app is working. When the app closes,…
-
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 have not yet covered in this series: A dictionary as a…