Training and Instructional Design
Posted on March 21, 2016 by Steven Lipton
One of the most powerful and important controls on both wearable and mobile devices are table views. Table views come in two flavors: static and dynamic. Dynamic table views read data from a collection type and displays it. Static tables allow for a vertical… Continue Reading “Tables and Scroll Views in WatchOS2”
Category: Swift Programming, Tutorial, WatchKitTags: Apple Watch, dynamic, ios8, ios9, Programming Apple watch, scroll views, static, swift, tables, Watchkit, WatchOS, WatchOS2, WKInterfaceTable
Posted on August 14, 2015 by Steven Lipton
In our first part of this series, we made a simple dynamic table for the Apple Watch. Based on some pace data when I ran the Hot Chocolate 15K, we displayed the pace I ran at the mile splits. In a real running app,… Continue Reading “Swift WatchKit: Selecting, Deleting and Adding Rows in an Apple Watch Table”
Category: ios8, iOS9, Swift, Swift Programming, WatchKitTags: add, add rows, alert, Apple Watch, Buttons, delete, delete rows, glance, groups, insert, layout, menu, Notification, Programming Apple watch, remove, select, select rows, select table, Story Board, storyboard, swift, table, Watchkit
Posted on August 3, 2015 by Steven Lipton
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… Continue Reading “Swift Watchkit: How to Add Simple Dynamic Tables to Apple Watch”
Category: ios8, iOS9, Swift, Swift Programming, WatchKitTags: Programming Apple watch, row controller, rowcontroller, table, table Interface, tableInterface, tableview, watch, Watchkit, WKInterfaceTable
Posted on July 22, 2015 by Steven Lipton
To state the obvious, The Apple Watch has very small screen real estate. There are times we need more screen space than is available. In iOS, there are scroll views. One subclass of scroll views are the table views. Table views come in two… Continue Reading “Swift Watchkit: Making ScrollViews and Static TableViews.”
Category: Swift Programming, Tutorial, WatchKitTags: Apple Watch, Buttons, glance, groups, layout, Notification, Programming Apple watch, scroll, scrollview, static table, Story Board, storyboard, swift, tableview, Watchkit
Posted on June 15, 2015 by Steven Lipton
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.… Continue Reading “Swift Watchkit: Working With Modal Views Part 3: Modal Page Views”
Category: ios8, Swift, Tutorial, WatchKitTags: Apple Watch, Buttons, glance, groups, layout, modal, modal controller, modal interface, modal view, Notification, Page, page controller, page interface, page view, Programming Apple watch, Story Board, storyboard, swift, Watchkit
Posted on June 10, 2015 by Steven Lipton
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… Continue Reading “Swift WatchKit: Working with Modal Views Part 2: Presenting Programmatically”
Category: ios8, Swift, Tutorial, WatchKitTags: Apple Watch, awakeWithContext, Buttons, context, delegate, dismissController, glance, groups, layout, modal, Notification, presentController, programmatic presentation, Programming Apple watch, Story Board, storyboard, swift, Watchkit, watchkit delegate, WatchOS
Posted on June 3, 2015 by Steven Lipton
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.… Continue Reading “Swift Watchkit: Working with Modal Views Part 1: Segue with a Delegate”
Category: ios8, Swift, Swift Programming, Swift Swift, Tutorial, WatchKitTags: Apple Watch, Buttons, glance, groups, layout, modal, modal delegates in swift, Notification, Programming Apple watch, Story Board, storyboard, swift, Watchkit
Posted on May 29, 2015 by Steven Lipton
In our lessons setting up navigation controllers on the Apple Watch, we’ve learned how to set up the storyboard, how to use push controllers programmatically and introduced sending data to another controller and back using contexts and delegates. In this lesson, we’ll pass data… Continue Reading “Swift WatchKit: Introducing Navigation to the Apple Watch(Part 4: Dismissals and Segues)”
Category: GUI, ios8, Swift Programming, Tutorial, Uncategorized, WatchKitTags: Apple Watch, awakeWithContext, button, contextForsegueWithIdentifier, popController, popToRootController, popViewControllerAnimated, Programming Apple watch, pushControllerWithName, segue, Story Board, storyboard, swift, UIviewcontroller, view controllers, Watchkit, WKInterfaceController
Posted on May 27, 2015 by Steven Lipton
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… Continue Reading “Swift WatchKit: Introducing Navigation to the Apple Watch(Part 3: Using Delegates and Contexts)”
Category: GUI, ios8, Swift, Swift Swift, Tutorial, WatchKitTags: Apple Watch, awakeWithContext, Buttons, context, delegate, glance, groups, layout, Notification, prepareforsegue, Programming Apple watch, pushControllerWithName, segue, Story Board, storyboard, swift, UIviewcontroller, view controllers, viewDidAppear, viewDidLoad, viewWillAppear, Watchkit, willActivate, WKInterfaceController
Posted on May 22, 2015 by Steven Lipton
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… Continue Reading “Swift WatchKit: Introducing Navigation to the Apple Watch(Part 2: Hierarchical Interfaces)”
Category: ios8, Swift Programming, Tutorial, WatchKitTags: Apple Watch, Buttons, controllers, glance, groups, layout, navigation, Notification, Page, Page-based, programmatic, programmatic pages, Programming Apple watch, Story Board, storyboard, swift, swipe, Watchkit
If you are making your own stuff, doing your own work and trying to sell it in the market, most advice isn't enough. You want it to work. You want to sell your works to those who most are touched by them. This newsletter is for you. I am one of those people like you, creative, independent and maybe a little bit crazy to the outside world. I'll talk about writing good apps for Apple platforms, the tools and API's to get there. Along the way I will show you how to become you best creative self. I will show you how to build and create, and make some money at it too.
Get exclusive content, new post notifications, tips and more in A Slice of App Pie.
This site may include links that provide monetary compensation to the owners of this site.