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 …

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 footer row, we may have sub rows to do some grouping …

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: Working With Modal Views Part 3: Modal Page Views

Apple's  documentation for WatchKit  is quite clear, even when it is lying. The documentation states you can have  hierarchical navigation or page navigation but not both. Here's is where it lies:  you can have a page-based navigation as part of a hierarchical navigation scheme. There is a special modal view version of page views, which …

Swift WatchKit: Working with Modal Views Part 2: Presenting Programmatically

In the first part in this series we implemented a modal interface in WatchKit with a segue. In this part we'll present the modal programmatically and once again set up a delegate and context for moving data between controllers. Open the project from the last lesson.  Press Command-N and add a new Cocoa Touch class  …