https://github.com/thatoneindiedev/swiftcryptoapp
A Crypto App made in swiftUI using Xcode using the MVVM Architecture, Combine, CoinGecko and Core Data.
https://github.com/thatoneindiedev/swiftcryptoapp
Last synced: 5 months ago
JSON representation
A Crypto App made in swiftUI using Xcode using the MVVM Architecture, Combine, CoinGecko and Core Data.
- Host: GitHub
- URL: https://github.com/thatoneindiedev/swiftcryptoapp
- Owner: ThatOneIndieDev
- License: mit
- Created: 2025-03-11T20:35:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-12T09:52:56.000Z (over 1 year ago)
- Last Synced: 2025-08-09T17:24:40.407Z (11 months ago)
- Language: Swift
- Size: 78.6 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftCryptoApp
SwiftCryptoApp is a SwiftUI-based cryptocurrency tracking app that follows the MVVM architecture. It leverages Combine for reactive programming, Core Data for local persistence, and the CoinGecko API to fetch real-time cryptocurrency data.

## Features
📈 Real-time cryptocurrency prices (via CoinGecko API)
📊 Portfolio tracking with Core Data persistence
🎨 SwiftUI-based UI with smooth animations
âš¡ MVVM architecture with Combine for reactive data flow
🌙 Dark mode support
## Installation
### Clone the repository:
1. git clone https://github.com/your-repo/SwiftCryptoApp.git
2. Open SwiftCryptoApp.xcodeproj in Xcode.
3. Ensure you have Xcode 15+ installed.
4. Install dependencies (if any) using Swift Package Manager.
5. Run the project on a simulator or real device.
## Usage
### Home Screen:
View the latest crypto prices and market trends.
### Portfolio:
Add and manage your favorite cryptocurrencies.
### Settings:
Customize the app's preferences.

## Architecture
### SwiftCryptoApp follows the MVVM (Model-View-ViewModel) architecture, ensuring a clean and maintainable code structure.
Model: Defines the data structure (e.g., CoinModel.swift)
ViewModel: Handles business logic and API calls (e.g., HomeViewModel.swift)
View: Displays UI components (e.g., HomeView.swift)
## Dependencies
SwiftUI: For UI design
Combine: For reactive data binding
Core Data: For local storage
CoinGecko API: To fetch cryptocurrency data

## API Configuration
Obtain an API key from CoinGecko
Add it to Secrets.plist in the project
## Contribution
Feel free to fork this repository, submit issues, or open pull requests.
## License
This project is licensed under the MIT License.
## AI IMPLEMENTATION:
Coming soon...
# 🚀 Happy Coding! 🎉