This iOS app is designed to track and manage user habits efficiently. It includes two primary classes, Habit
and HabitsStore
, which provide robust functionalities for habit management.
- Purpose: Manages individual habits with details like name, execution dates, and tracking dates.
- Features:
- Stores and manages color settings dynamically for UI distinction.
- Checks for daily completion and provides detailed descriptions.
- Purpose: Acts as a central repository for all user habits using a Singleton pattern.
- Features:
- Supports loading, saving, and restoring habits through
UserDefaults
. - Calculates daily progress and manages date formatting and tracking.
- Supports loading, saving, and restoring habits through
- Offers daily habit management with support for localization and advanced date-time formatting.
- Ideal for users aiming to maintain an organized and productive lifestyle.