# NumberAssistant **Repository Path**: dechengwang1510/number-assistant ## Basic Information - **Project Name**: NumberAssistant - **Description**: ε½©ε·εŠ©ζ‰‹ - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-05 - **Last Updated**: 2026-06-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # NumberAssistant A sleek iOS lottery number assistant app designed to help you analyze lottery trends, generate number recommendations, and manage your favorite number combinations. ## Features ### 🎯 Lottery Data Overview - Supports multiple popular lottery formats (e.g., Double Color Ball,福彩3D) - View the latest draw results and historicalεΌ€ε₯– data - Automatically caches draw data for offline access ### πŸ“Š Statistical Analysis - Hot and cold number analysis - Frequency statistics of number occurrences - Omission value statistics - Adjustable analysis periods (10, 20, 30, 50, or 100 draws) ### ✨ Intelligent Recommendations - Generates number recommendations based on statistical analysis of historical data - Rating system to filter high-quality number combinations - Supports batch generation of multiple sets of numbers - One-tap saving of recommended numbers to favorites ### 🎲 Custom Number Selection - Visual interface for number selection - Supports胆拖 (danchuan) and compound betting styles - Real-time display of selection progress - Automatically saves records upon confirmation ### ⭐ Favorites Management - Save your preferred number combinations - Supports multi-tag categorization - Quick viewing and management of saved favorites ## Technology Stack - **UI Framework**: SwiftUI - **Data Storage**: SwiftData - **Network Requests**: URLSession - **Target Platform**: iOS 17.0+ ## Project Structure ``` NumberAssistant/ β”œβ”€β”€ Models/ # Data Models β”‚ β”œβ”€β”€ AppSchema.swift # SwiftData schema β”‚ β”œβ”€β”€ CustomPickRecord.swift # Custom pick record model β”‚ β”œβ”€β”€ FavoriteItem.swift # Favorites model β”‚ └── LotteryModels.swift # Lottery data model β”œβ”€β”€ Services/ # Business Services β”‚ β”œβ”€β”€ DataService.swift # Data service β”‚ β”œβ”€β”€ DrawCacheStore.swift # Cache storage β”‚ β”œβ”€β”€ LotteryAPIClient.swift # API client β”‚ β”œβ”€β”€ RecommendationEngine.swift # Recommendation engine β”‚ └── StatisticsService.swift # Statistics service β”œβ”€β”€ Views/ # User Interface Views β”‚ β”œβ”€β”€ HomeView.swift # Home screen β”‚ β”œβ”€β”€ CustomPickView.swift # Custom number selection β”‚ β”œβ”€β”€ FavoritesView.swift # Favorites list β”‚ β”œβ”€β”€ LotteryDetailView.swift # Lottery detail view β”‚ β”œβ”€β”€ RecommendationResultView.swift # Recommendation results β”‚ └── Components/ # Reusable components β”œβ”€β”€ Utilities/ # Utility Classes β”‚ β”œβ”€β”€ AppSettings.swift # App settings β”‚ └── AppDateFormat.swift # Date formatting └── NumberAssistantApp.swift # App entry point ``` ## Usage Instructions 1. **First Launch**: Read and accept the disclaimer 2. **View Data**: On the home screen, select a lottery type to view draw results and statistics 3. **Generate Recommendations**: Go to the lottery detail page and tap the "Generate Recommendations" button 4. **Custom Number Selection**: Navigate to the custom selection page, choose your preferred numbers, and confirm 5. **Manage Favorites**: Add your favorite number combinations to your favorites list ## Privacy Notice This app is a lottery number analysis tool intended solely for reference and entertainment purposes and does not constitute any betting advice. Please purchase lottery tickets responsibly and within your means. All data within the app is sourced from publicly available draw results and is used exclusively for personal learning and research. ## Open Source License This project is provided solely for learning and communication purposes.