MS_FormControls
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
First control in this library to make your UX better is dropdown which is not present in iOS UIKit.
GIF
Steps to use MSDropDown
- Put UIView in your UI. Convert its class to MSDropDown.
- Set keyvalue of MSDropDown with array of model: [KeyValueModel]
- Set isMultiSelect = true for multiselect and false for single select.
- Use MSDropDownDelegate Protocol in your view ans set delegate of MSDropDown View.
- Dropdown returns answer in function -> func dropdownSelected(tagId: Int, answer: String, value: Int, isSelected: Bool)
Requirements
Installation
MS_FormControls is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'MS_FormControls'
Author
Manoj Shrestha
License
MSFloatingButton is available under the MIT license. See the LICENSE file for more info.