File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
# iOSDropDown
2
2
3
- [ ![ CI Status] ( https://img.shields.io/travis/jriosdev/iOSDropDown.svg?style=flat )] ( https://travis-ci.org/jriosdev/iOSDropDown )
4
3
[ ![ Version] ( https://img.shields.io/cocoapods/v/iOSDropDown.svg?style=flat )] ( https://cocoapods.org/pods/iOSDropDown )
5
4
[ ![ Cocoapods] ( http://img.shields.io/badge/Cocoapods-available-green.svg?style=flat )] ( http://cocoadocs.org/docsets/DropDown/ )
6
5
[ ![ Swift 4.0] ( https://img.shields.io/badge/Swift-4-orange.svg?style=flat )] ( https://developer.apple.com/swift/ )
@@ -56,10 +55,13 @@ Just clone and add the following Swift files to your project:
56
55
- iOSDropDown.swfit
57
56
58
57
## Basic usage ✨
59
-
58
+ ### StoryBoard Method
59
+ Simple
60
+ [ ![ ] ( images/5.gif )] ( images/5.gif )
61
+ ### Code
60
62
``` swift
61
63
let dropDown = DropDown ()
62
-
64
+ dropDown. frame = CGRect ( x : 50 , y : 70 , width : 200 , height : 40 ) // Set frame
63
65
64
66
// The list of array to display. Can be changed dynamically
65
67
dropDown.dropDown .optionArray = [" Option 1" , " Option 2" , " Option 3" ]
You can’t perform that action at this time.
0 commit comments