-
Notifications
You must be signed in to change notification settings - Fork 7
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
A coordinator handles the app's navigation #626
base: master
Are you sure you want to change the base?
A coordinator handles the app's navigation #626
Conversation
} | ||
|
||
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { | ||
var section = indexPath.section | ||
guard let cell = tableView.dequeueReusableCell(withIdentifier: self.cellReuseIdentifier) as? SettingsTableViewCell else { return UITableViewCell() } | ||
if HKHealthStore.isHealthDataAvailable() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
admittedly, these are not directly related to the introduction of the coordinator
b0f4fd8
to
2408680
Compare
2408680
to
dc06f35
Compare
probably broke with the transition from appDelegate to sceneDelegate whereas tapping the result would merely open the app; now it also opens the goal
coordinator?.start() | ||
} | ||
|
||
func scene(_ scene: UIScene, continue userActivity: NSUserActivity) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixes #622
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
proposed #628 for just the fix
Ah, it looks like this was closed because the wrong number was mentioned in a merged commit. |
Summary
Navigation was somewhat scattered throughout the app and the gallery had a central role. This merge request introduces a class for handling the app's navigation. Eventually it could also help with scenarios like starting the app from cold start with the running timer for a particular goal shown.
For UI changes including screenshots of before and after is great.
Validation
Running the app in the simulator.
Navigating around:
Fixes #622
Other Locations: