CustomComponents is a Swift package offering a collection of reusable, production-ready SwiftUI components. Designed to accelerate iOS development, this library provides modular UI elements that seamlessly integrate into your SwiftUI projects.
- Reusable SwiftUI Components: A variety of customizable UI elements to enhance your app’s interface.
- Modular Design: Each component is self-contained, promoting clean and maintainable code.
- Swift Package Manager Support: Easily integrate into your projects using Swift Package Manager.
You can add CustomComponents to your project using Swift Package Manager:
- In Xcode, go to File > Add Packages…
- Enter the repository URL:
https://github.com/stalkermv/CustomComponents
- Select the development branch.
Alternatively, add it directly to your Package.swift:
dependencies: [
.package(url: "https://github.com/stalkermv/CustomComponents.git", branch: "development")
]
Import CustomComponents in your SwiftUI files:
import CustomComponents
Then, utilize the provided components as needed. For example:
struct ContentView: View {
var body: some View {
CustomCell {
Text("Hello, Custom Component!")
}
}
}
CustomComponents is released under the MIT License. See LICENSE for details.