Tag: segues in swift

Segue Actions

If you’ve been working with View controllers for a while, you’ve probably dealt with prepareForSegue. In Xcode 11, there’s a new way to handle this that makes a little more sense: Segue actions. Let’s take a look at this feature.   If you download the… Continue Reading “Segue Actions”

Programmatic Navigation View Controllers in Swift 3.0

Navigation controllers are the workhorse of  organizing view controllers. I’ve covered much of their use in other posts about MVC, segues and delegates. In this chapter, we’ll go through some of the Swift code for the Navigation controller. The View Controller Stack Navigation view… Continue Reading “Programmatic Navigation View Controllers in Swift 3.0”

Using Segues and Delegates for Navigation Controllers in Swift 4.0

[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”

Swift Swift: Programmatic Navigation View Controllers in Swift

[Converted to Swift 2.0 — SJL 9/17/15 ] Navigation controllers are the workhorse of  organizing view controllers. I’ve covered much of their use in other posts about MVC, segues and delegates. In this chapter, We’ll go through some of the Swift code for the… Continue Reading “Swift Swift: Programmatic Navigation View Controllers in Swift”