|
1 | | -# OversizeModules |
| 1 | +# OversizeKit |
2 | 2 |
|
3 | | -A description of this package. |
| 3 | +[](https://swift.org) |
| 4 | +[](https://github.com/oversizedev/OversizeKit/blob/main/LICENSE) |
| 5 | + |
| 6 | +**OversizeKit** is a comprehensive Swift package that provides a collection of high-level UI components, services, and utilities for building modern SwiftUI applications. It's designed to accelerate iOS, macOS, tvOS, and watchOS app development with pre-built, customizable components and powerful functionality. |
| 7 | + |
| 8 | +## Features |
| 9 | + |
| 10 | +- **Rich UI Components** - Pre-built SwiftUI components for rapid development |
| 11 | +- **Modular Architecture** - Use only what you need with granular module imports |
| 12 | +- **Multi-Platform Support** - iOS, macOS, tvOS, and watchOS compatibility |
| 13 | +- **Powerful Services** - Network, storage, location, and notification services |
| 14 | +- **Ready-to-Use Kits** - Calendar, contacts, photo, and onboarding functionality |
| 15 | +- **Modern Swift** - Built with Swift 6.0 and latest SwiftUI features |
| 16 | + |
| 17 | +## 🚀 Installation |
| 18 | + |
| 19 | +### Swift Package Manager |
| 20 | + |
| 21 | +Add OversizeKit to your project using Xcode or by adding it to your `Package.swift`: |
| 22 | + |
| 23 | +```swift |
| 24 | +dependencies: [ |
| 25 | + .package(url: "https://github.com/oversizedev/OversizeKit.git", .upToNextMajor(from: "2.4.2")) |
| 26 | +] |
| 27 | +``` |
| 28 | + |
| 29 | +Then add the specific modules you need to your target: |
| 30 | + |
| 31 | +```swift |
| 32 | +.target( |
| 33 | + name: "YourApp", |
| 34 | + dependencies: [ |
| 35 | + .product(name: "OversizeKit", package: "OversizeKit"), |
| 36 | + .product(name: "OversizeCalendarKit", package: "OversizeKit"), |
| 37 | + .product(name: "OversizeLocationKit", package: "OversizeKit"), |
| 38 | + // Add other modules as needed |
| 39 | + ] |
| 40 | +) |
| 41 | +``` |
| 42 | + |
| 43 | +### Xcode Integration |
| 44 | + |
| 45 | +1. Open your project in Xcode |
| 46 | +2. Go to **File** → **Add Package Dependencies** |
| 47 | +3. Enter the repository URL: `https://github.com/oversizedev/OversizeKit.git` |
| 48 | +4. Select the modules you want to use |
| 49 | +5. Click **Add Package** |
| 50 | + |
| 51 | +## 🏃♂️ Quick Start |
| 52 | + |
| 53 | +### Basic Setup |
| 54 | + |
| 55 | +```swift |
| 56 | +import SwiftUI |
| 57 | +import OversizeKit |
| 58 | + |
| 59 | +@main |
| 60 | +struct MyApp: App { |
| 61 | + var body: some Scene { |
| 62 | + WindowGroup { |
| 63 | + ContentView() |
| 64 | + .appLaunch(onboarding: { |
| 65 | + VStack { |
| 66 | + Text("Welcome") |
| 67 | + Button("Complete") { |
| 68 | + appStateService.completedOnbarding() |
| 69 | + } |
| 70 | + } |
| 71 | + }) |
| 72 | + } |
| 73 | + } |
| 74 | +} |
| 75 | +``` |
| 76 | + |
| 77 | +## 🎯 Examples |
| 78 | + |
| 79 | +### Example Application |
| 80 | + |
| 81 | +Check out the complete example application in the [`AppExample`](./AppExample) directory. It demonstrates: |
| 82 | + |
| 83 | +- Integration of multiple OversizeKit modules |
| 84 | +- Best practices for app architecture |
| 85 | +- Real-world usage scenarios |
| 86 | +- Platform-specific implementations |
| 87 | + |
| 88 | +## 📋 Requirements |
| 89 | + |
| 90 | +### System Requirements |
| 91 | + |
| 92 | +- **iOS**: 17.0+ |
| 93 | +- **macOS**: 14.0+ |
| 94 | +- **tvOS**: 17.0+ |
| 95 | +- **watchOS**: 10.0+ |
| 96 | + |
| 97 | +### Development Requirements |
| 98 | + |
| 99 | +- **Xcode**: 16.4+ |
| 100 | +- **Swift**: 6.0+ |
| 101 | + |
| 102 | +### Dependencies |
| 103 | + |
| 104 | +OversizeKit uses the following external dependencies: |
| 105 | + |
| 106 | +- [Factory](https://github.com/hmlongco/Factory) - Dependency injection |
| 107 | +- [Navigator](https://github.com/hmlongco/Navigator) - Advanced navigation |
| 108 | +- [CachedAsyncImage](https://github.com/lorenzofiamingo/swiftui-cached-async-image) - Async image loading |
| 109 | + |
| 110 | +## License |
| 111 | + |
| 112 | +OversizeUI is released under the **MIT License**. See [LICENSE](LICENSE) for details. |
| 113 | + |
| 114 | +--- |
| 115 | + |
| 116 | +<div align="center"> |
| 117 | + |
| 118 | +**Made with ❤️ by the Oversize** |
| 119 | + |
| 120 | +</div> |
0 commit comments