Lighting is a Swyft component that allows the user to adjust the intensity of several light sources.
Lighting consists of several sliders and buttons that allow the user to pick a room, switch on a light, and adjust its intensity. It is also possible to select the desired color for every available light source.
Here is an example of a Lighting animation showing room selection and switching on the lights:
The user can adjust the brightness for all sources at once with a vertical slider:
The user can select various light colors using a convenient round palette:
- iOS 11.0+
- Xcode 11.0+
- Swift 5.0+
To integrate Lighting into your Xcode project with CocoaPods, specify it in your Podfile
:
pod 'Lighting', :git => 'https://github.com/shakurocom/LightingDemo.git', :commit => 2c406f7e7400188bc4dcbfab346a30bbec7ebb07
Then, run the following command:
$ pod install
If you prefer not to use CocoaPods, you can integrate Shakuro.Lighting simply by copying it to your project.
Shakuro.Lighting is released under the MIT license. See LICENSE for details.
Star this tool if you like it, it will help us grow and add new useful things. Feel free to reach out and hire our team to develop a mobile or web project for you.