Library with iOS components defined by Natura Group Design System Team.
- Swift 5
- Supports iOS 10 to 14
- CocoaPods
- Fastlane
- Bitrise (CI)
- Git-LFS
- Swiftlint
- Jazzy for documentation
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate NatDS into your Xcode project using CocoaPods, specify it in your Podfile
:
target '<Your Target Name>' do
pod 'NatDS'
end
Then, run the following command:
$ pod install
Before start using, it's necessary to configure the Design System with a theme or fatalError will be raised.
DesignSystem().configure(with: AvailableTheme)
Since version 3.0.0
NatDS iOS has no longer NatDS Icons. To use NatDS Icons, you MUST add a new pod to your project. You must specify it in your Podfile
:
target '<Your Target Name>' do
pod 'NatDSIcons'
end
Check the documentation on how to use icons.