Posted on May 7, 2018
by Steven Lipton
6 Comments
While doing some work on more material for the site in Swift playgrounds, I ran into a serious bug in the Swift Playgrounds for iPad. I made a short video to tell you’re about it, and I’ve included an extended transcript afterwards. Hello Folks… Continue Reading “Bug Workaround: Swift Playgrounds for iPad”
Category: GUI, iOS 11, iOS Development Weekly Tips, LinkedIn Learning / Lynda.com, Swift playgrounds, Swift ProgrammingTags: bug, error, error message, iPad, iPad Playgrounds, liveView, NavigationController, playgrounds, Problem Running Playground, swift, Swift playgrounds, UIviewcontroller, using swift playgrounds, view
Posted on June 27, 2016
by Steven Lipton
24 Comments
[Updated 2/13/2018 to Xcode 9 / Swift 4.0] It should be one of the easiest things we do, and yet for many it is the most confusing. Getting data from one view controller to another as you switch views never seems easy. Segues might… Continue Reading “Using Segues and Delegates for Navigation Controllers in Swift 4.0”
Category: Swift, Swift Programming, TutorialTags: Apple swift, delegate, delegates, prepareforsegue, segue, segues, segues in swift, swift, template, UIviewcontroller
Posted on May 29, 2015
by Steven Lipton
1 Comment
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
2 Comments
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 July 1, 2014
by Steven Lipton
77 Comments
[Updating to Swift 2.0 SJL 9/17/15] Click here for the Swift 3.0 version of this post It should be one of the easiest things we do, and yet for many it is the most confusing. Getting data from one view controller to another as… Continue Reading “The Swift Swift Tutorial: Using Segues and Delegates in Navigation Controllers (Part 1 — The Template)”
Category: Swift, Swift Programming, TutorialTags: delegate, delegates, GUI, prepareforsegue, protocol, segues, seuge, swift, UIviewcontroller