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  …

Swift Watchkit: Working with Modal Views Part 1: Segue with a Delegate

Modal views on iPhones and ipads are used for input of information that requires attention. One of the on the Apple Watch is a modal view. You cannot mix a page-based interface with a hierarchical (i.e. navigation) interface as we learned in previous lessons. You can use modal interfaces with either.  In this series of …

Swift WatchKit: Introducing Navigation to the Apple Watch(Part 3: Using Delegates and Contexts)

In our last lesson we set up navigation in the Storyboard and programmatically. We left off with passing data from one view controller to another using the context parameter like this: We made a context variable which we passed to the destination controller. We haven't done anything yet with the value of the context. In …

Swift WatchKit: Introducing Navigation to the Apple Watch(Part 2: Hierarchical Interfaces)

Apple WatchKit  gives you a choice when  it comes to navigation. You can be Page-based as we introduced in our last lesson. Another alternative, is hierarchical interfaces, which closely resemble navigation controllers on the phone.  In this lesson, we'll introduce the hierarchical type of navigation by setting up a small app. Hierarchy Controllers Pages are …

Swift WatchKit: Introducing Navigation to the Apple Watch(Part 1: Page Interfaces)

The Simulator for WatchKit is the worst part of Xcode. It's horribly buggy, and has one particular bug that freezes or kills your running app very often. I had a hard time figuring this out, but once I found one place that discussed it, the number of people with the same issue surprised me. Apparently …