This project provides a toolkit for ios that implements the Ocean design system.
To integrate Ocean iOS into your project using Swift Package Manager, follow these steps:
- Open your project in Xcode.
- Go to File > Add Packages....
- Enter the repository URL:
https://github.com/ocean-ds/ocean-ios.git - Choose the version rule (e.g., Up to Next Major Version).
- Select Add Package to include it in your project.
Alternatively, add the following dependency to your Package.swift file:
dependencies: [
.package(url: "https://github.com/ocean-ds/ocean-ios.git", from: "1.0.0")
]Then, import the package where needed:
import OceanComponentsimport SwiftUI
import OceanComponents
...
var textListItem: OceanSwiftUI.TextListItem = {
OceanSwiftUI.TextListItem { textListItem in
textListItem.parameters.title = "Title 1"
textListItem.parameters.description = "Description"
}
}Whether you're helping us fix bugs, improve the docs, or spread the word, we'd love to have you as part of this project! 💙 Read below to learn how you can take part of it.
We adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.
Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes.
To help you get your feet wet and get you familiar with our contribution process, we have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started.
Join our discord server to get the latest updates, chat with other Ocean enthusiasts, and see what's happening in the community!
All packages are licensed under the terms of the GPL-3.0 License.