Open angierao opened 8 years ago
Hi Angeline,
First thing - you had three navigation controllers in your storyboard, when you need only one. Deleting the first two, and then setting the remaining one as the "Is Initial View Controller" allowed the Settings button to appear.
Second, you don't need to programmatically segue between view controllers. I can see why you did it, but it's not necessary. You can just add a "Settings" button in the storyboard to your ViewController, and then ctrl-click to create a "push" segue from the button to the "Settings" view controller. This will automatically embed navigation between the settings and main screens. You then need to add an implementation of prepareForSegue to share data between the navigation controllers.
We'll discuss this more next week, but good job trying to push yourself.
This prework is a preview of our weekly project process. Generally, weekly projects take between 5-10 hours to complete the required features and an additional 5-10 hours to complete the optional features. In general, we've seen that the more hours you log, the quicker you improve your proficiency with iOS. In particular, the optional extensions on each project are often the most valuable learnings since they dive deeper into common iOS use cases. We'll also be providing light code feedback for each submitted project once the program begins.
The purpose of this project was to begin to explore Xcode and to get a broad overview of iOS development using Swift. For example, in this project, we explored the following concepts:
/cc @codepathreview @codepath
I submitted the required part previously. I tried following the delegate pattern CodePath tutorial to add Settings, but it didn't end up working. I couldn't test it because the Settings button wouldn't show up on the Navigation Bar in the simulation. I would love to hear back about what I was missing. Thanks!