Here you can see screen shots of App and instruments which were used in this project.
Good habit tracker.
You can add a new habit and than track it. You need only 21 days for a habit to become a part of your life.
Mark the habit and monitor your progress. Get better!
Add a new habit at any time. Choose color and time. Don't forget a title! You can't save a habit without a name.
Look at the details for your habit. You can see what days were with the habit and what days were without it. Also if you want, you can edit or delete your habit.
The app is adaptive. You can choose the most convenient interface Orientation for you.
The following tools were used in this project:
- coding without storyboard;
- UICollectionView to header for create main screen with habist;
- UITableView to create details screen with checkmarks days;
- UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, UINavigationControllerDelegate to communicate between controllers, update data in real time and navigation;
- UIAlertController to notify the user about an action or impossibility of action;
- NSLayoutConstraint for screen layout;
- UIColorPickerViewControllerDelegate to create a color for a checkmark and for a title;
- UITapGestureRecognizer to choose color on the button;
- UIProgressView to show the progress of doing habits.
HabitsStore.swift – this file was received along with the task.
You can see the task here.
This project is cours work in Netology.