iOS Training from beginner to advanced
Posted on March 4, 2016 by Steven Lipton
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”
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
This site may include links that provide monetary compensation to the owners of this site.