Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a new Featured Tutorials section for the three tutorials. #7

Merged
merged 1 commit into from
Apr 30, 2022

Conversation

AricaLConrad
Copy link

#5

@AricaLConrad
Copy link
Author

This resource was very helpful for my nested top navigation bars problem. I removed the NavigationView in my code and the nested bars went away.

https://stackoverflow.com/questions/57102209/how-can-i-avoid-nested-navigation-bars-in-swiftui

I also encountered a bug in the code. Sometimes when I press the Calendar button, I get taken to the Help page, and vice versa. The warning message in the console log says, "SwiftUI encountered an issue when pushing aNavigationLink. Please file a bug."

This is probably something I should look into for the future. I found this resource, and it is possible that the issue relates to the isActive parameter with my Navigation Links. Interestingly, though, other parts of the app have the same code structure and I don't think this message has shown up in the console log. Just thought I should note this bug in case I see it again.

https://stackoverflow.com/questions/66017531/swiftui-navigationlink-bug-swiftui-encountered-an-issue-when-pushing-anavigatio

@AricaLConrad AricaLConrad merged commit d4c5c7e into develop Apr 30, 2022
@AricaLConrad AricaLConrad deleted the featured-tutorials-section branch April 30, 2022 05:41
@AricaLConrad AricaLConrad linked an issue May 2, 2022 that may be closed by this pull request
@AricaLConrad
Copy link
Author

I fixed the bug yesterday. It turned out to be a problem with my action parameter. I had accidentally set both the Calendar tutorial button and the Help button to be action = 3, so the app was probably confused about which screen to go to when the button was tapped on and instead randomly selected one of the two screens. Setting the Calendar tutorial button to be action = 3 and the Help button to be action = 4 fixed the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a Separate Section for the Tutorials in the App
1 participant