Skip to content

Instantly share code, notes, and snippets.

@caldofran
Last active November 20, 2019 14:16
Show Gist options
  • Save caldofran/740f44b9d4ff180112894084021eb62a to your computer and use it in GitHub Desktop.
Save caldofran/740f44b9d4ff180112894084021eb62a to your computer and use it in GitHub Desktop.

Revisions

  1. caldofran revised this gist Nov 20, 2019. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion traditional_navigation_ios.swift
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,3 @@

    class ViewControllerA: UIViewController {
    func presentViewControllerB() {
    navigationController?.pushViewController(ViewControllerB(), animated: true)
  2. caldofran renamed this gist Nov 20, 2019. 1 changed file with 2 additions and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@

    class ViewControllerA: UIViewController {
    func presentViewControllerB() {
    navigationController?.pushViewController(ViewControllerB(), animated: true)
    }
    }
    }
  3. caldofran created this gist Nov 20, 2019.
    5 changes: 5 additions & 0 deletions simple_navigation_ios.swift
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    class ViewControllerA: UIViewController {
    func presentViewControllerB() {
    navigationController?.pushViewController(ViewControllerB(), animated: true)
    }
    }