Vizor is a mobile application designed for photographers, developed for the iOS platform using Swift. It leverages both SwiftUI and UIKit for user interface development and uses Firebase as a cloud-based backend solution. Vizor adheres to Apple's Human Interface Guidelines.
- SwiftUI and UIKit: Utilized for creating a dynamic and responsive user interface.
- Firebase: Integrated for backend services.
- SunKit: Used for daylight-related astronomical calculations.
- vFont: Implements variable typefaces for enhanced typography.
- iOS 13.0+
- Xcode 11+
- CocoaPods or Swift Package Manager for dependency management
-
Clone the repository:
git clone https://github.com/yourusername/Vizor.git cd Vizor
-
Install dependencies using CocoaPods:
pod install
Or using Swift Package Manager, open
Vizor.xcodeproj
and add the packages: -
Open the
.xcworkspace
file in Xcode:open Vizor.xcworkspace
Build and run the app on your device or simulator from Xcode.
Vizor follows the Model-View-ViewModel (MVVM) pattern.
-
SunKit Manager: Handles astronomical calculations related to daylight phases.
getPhaseTimeList(location: CLLocation) -> [String: Date]
: Initializes a sun object and calculates times based on the location.calculatePhase(location: CLLocation) -> String
: Returns the current phase title based on location and time.
-
Location Manager: Manages location authorization and user's location calculations.
Contributions are welcome! Please read the contributing guidelines for more details.
This project is licensed under the MIT License. See the LICENSE file for details.