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 => 2c406f7e7400188bc4dcbfab346a30bbec7ebb07Then, run the following command:
$ pod installIf 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.
Explore our expertise in Native Mobile Development and iOS Development.
If you need professional assistance with your mobile or web project, feel free to contact our team



