Category: ios8
-
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 […]
-
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. This is known as an abstract class. Abstract classes are mere […]
-
Swift Watchkit: How to Add Simple Dynamic Tables to Apple Watch
In the last post, we looked at scroll views and static tables. There are many instances where tables filled with data at runtime are necessary. If you are familiar with UITableViewController, you may be delighted to know that WKInterfaceTable is a lot simpler to put together: there are no delegate or data sources involved. It’s […]
-
Swift WatchKit: Adding Text, Dictation, and Emoji Input to Apple Watch
Sometimes Apple gives away stuff you can get very happy about — like a chance to use voice dictation. If you have had a chance to play with an Apple Watch, the watch has a simple but great way to deal with text messages. If you get a text message, you can hit reply and […]