Skip to content

developer-academy-unina/Lab-Navigation-In-SwiftUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab

Navigation in SwiftUI


Report a Bug · Ask a Question

coverage

Table of Contents


About

Mastering the NavigationStack and TabView is essential when building your SwiftUI apps. Use this project to learn how to implement the hierarchical and flat navigations using SwiftUI.

Screenshots
Starter Final

Getting Started

Installation

  1. Clone the repo

    git clone https://github.com/developer-academy-unina/Lab-Navigation-In-SwiftUI
  2. Open the .xcodeproj file in the Starter project

How to

  1. Open the Starter project

  2. Implement the hierarchical navigation from LearnerListView to LearnerDetailView

  3. Implement the flat navigation between LearnerListView and RedView in a new file named ContainerView

  4. In the LearnersApp.swift file (the app entry point), swap LearnerListView with ContainerView to see the flat navigation at the app launch

  5. Launch the app on the simulator and check if your version is similar to the Final project


Issues and Discussions

You've found a bug in the source code, a mistake in the documentation or maybe you'd like a new feature? Take a look at GitHub Discussions to see if it's already being discussed. You can help us by submitting an issue on GitHub. Before you create an issue, make sure to search the issue archive -- your issue may have already been addressed!

Please try to create bug reports that are:

  • Reproducible. Include steps to reproduce the problem.
  • Specific. Include as much detail as possible: which version, what environment, etc.
  • Unique. Do not duplicate existing opened issues.
  • Scoped to a Single Bug. One bug per report.

Support

Reach out to the maintainer at one of the following places:


Authors & contributors

The original setup of this repository is by Luca Palmese.

For a full list of all authors and contributors, see the contributors page.


License

This project is licensed under the MIT License.

See LICENSE for more information.

About

A project to learn how to create hierarchical and flat navigations in SwiftUI

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages