Tag: Watchkit
Posted on March 21, 2016
by Steven Lipton
1 Comment
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 February 4, 2016
by Steven Lipton
2 Comments
It is a myth that using apps on an Apple watch requires a phone. This was true of Watch OS1, but not true of its successor OS. Granted, you still need a phone to load apps, but standalone apps are possible. With the introduction… Continue Reading “How To Make Your First WatchOS2 App”
Category: Swift, Swift Programming, Tutorial, WatchKitTags: Apple Watch, apps, emoji, emoji color, emoji tkin tone, simulator slow, simulator startup, watch, Watchkit, WatchOS2, WatchOS2.2
Posted on August 26, 2015
by Steven Lipton
Leave a Comment
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… Continue Reading “Swift WatchKit: Selecting With Multiple Rows in Apple Watch”
Category: ios8, iOS9, Swift, Swift Programming, WatchKitTags: Apple Watch, apps, context, dictionary, index, Programming, row, select row at index, select rows, selection, swift, table, table:didSelectRowAtIndex:, Watchkit, WatchOS
Posted on August 20, 2015
by Steven Lipton
3 Comments
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… Continue Reading “Swift Watchkit: Headers Footers and More — Multiple Row Types in Apple Watch Tables”
Category: ios8, iOS9, WatchKitTags: Apple swift, Apple Watch, footer, groups, header, multi-row, Programming, row types, rows, rowtypes, setRowTypes, storyboard, sub, subheader, swift, tablerowcontroller, tables, Watchkit, WKTableInterface
Posted on August 14, 2015
by Steven Lipton
2 Comments
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
3 Comments
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
2 Comments
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 July 8, 2015
by Steven Lipton
2 Comments
Menus are cool. Since the first interactive program, there have been menus in applications. The Apple Watch is no exception, but has no space to put a menu. To solve this problem, Apple uses the new force touch gesture to pop open a menu.… Continue Reading “Swift Watchkit: Adding Context Menus”
Category: Swift, Tutorial, WatchKitTags: Apple, Apple Watch, camera icon, force touch, icon size, icon specifications, icons graphics, image set, image sets, menus, Watchkit, WatchOS
Posted on June 15, 2015
by Steven Lipton
Leave a Comment
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
3 Comments
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