A post-apocalyptic trading app that allows survivors to trade resources in a secure and trust-based environment. Built with SwiftUI for iOS.
- Create and manage trade offers with detailed item quantities
- Automatic scanning for nearby survivors with matching offers
- Secure trade confirmation process
- Trade history tracking and management
- Create and manage your survivor profile
- Track your trading statistics
- Maintain a public key for secure identification
- Customize your alias and tagline
- View and manage trader profiles
- Add notes and tags to track trader reliability
- Maintain a history of trades with each trader
- Build trust through successful trades
- Secure authentication system
- Biometric login support
- Encrypted data storage
- Unique public keys for each survivor
- iOS 15.0 or later
- Xcode 13.0 or later
- Swift 5.5 or later
- Clone the repository
git clone https://github.com/yourusername/Apocalypse.git- Open the project in Xcode
cd Apocalypse
open Apocalypse.xcodeproj- Build and run the project in Xcode
Apocalypse/
├── Models/
│ ├── Offer.swift
│ ├── Survivor.swift
│ ├── TradeHistory.swift
│ ├── TraderProfile.swift
│ └── UserProfile.swift
├── Views/
│ ├── HomeView.swift
│ ├── LogView.swift
│ ├── MainTabView.swift
│ ├── ProfileView.swift
│ └── TradeView.swift
└── ApocalypseApp.swift
- Navigate to the Home tab
- Enter the items you have and need
- Specify quantities for each item
- Your offer will be automatically shared with nearby survivors
- Go to the Trade tab
- The app automatically scans for nearby survivors
- View available offers from other survivors
- Select a matching offer to initiate a trade
- Access the Log tab
- View your trade history
- Add traders to your profile list
- Add notes and tags to track trader reliability
- Go to the Profile tab
- Edit your alias and tagline
- View your trading statistics
- Access your public key for identification
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- SwiftUI for the modern UI framework
- UserDefaults for local data persistence
- Multipeer Connectivity for nearby device discovery