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 March 4, 2016
by Steven Lipton
Leave a Comment
It’s rare to have a one controller application, even in something as small as the Apple watch. Multiple View Controllers, or Interface Controllers as they are called in WatchKit, need ways to move between controllers. WatchOS2 has a simplified version of the iOS navigation… Continue Reading “Using WatchOS2 Navigation in Swift”
Category: GUI, ios8, iOS9, Swift, Swift Programming, Tutorial, WatchKitTags: Apple Watch, awakeWithContext, contextForsegueWithIdentifier, modal, navigation, pages, presentControllerWithName, presentControllerWithNames, programmatic, pushControllerWithName, WatchOS, WatchOS2, WatchOS2.2, WatchOS2.3
Posted on February 19, 2016
by Steven Lipton
Leave a Comment
There’s a legacy from WatchOS1 which is not only frustrating but deceptive. While one would think that a watch would have easy to use built in timers, that is far from the case. WatchOS2 changed this situation slightly, but still makes timekeeping not as… Continue Reading “How to Use Watch Timers and NSTimers in WatchOS2 and Swift”
Category: iOS9, Swift, Swift Programming, Tutorial, WatchKitTags: formatting NSTimeInterval, ios9, NSTimeInterval, NStimer, update loop, WachKit, WatchOS, WatchOS2, WKInterfaceTimer
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