Skip to content

Commit 1aef0d6

Browse files
authored
Update README.md
1 parent ee69ff2 commit 1aef0d6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# iOSDropDown
22

3-
[![CI Status](https://img.shields.io/travis/jriosdev/iOSDropDown.svg?style=flat)](https://travis-ci.org/jriosdev/iOSDropDown)
43
[![Version](https://img.shields.io/cocoapods/v/iOSDropDown.svg?style=flat)](https://cocoapods.org/pods/iOSDropDown)
54
[![Cocoapods](http://img.shields.io/badge/Cocoapods-available-green.svg?style=flat)](http://cocoadocs.org/docsets/DropDown/)
65
[![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:
5655
- iOSDropDown.swfit
5756

5857
## Basic usage ✨
59-
58+
### StoryBoard Method
59+
Simple
60+
[![](images/5.gif)](images/5.gif)
61+
### Code
6062
```swift
6163
let dropDown = DropDown()
62-
64+
dropDown.frame = CGRect(x:50 ,y:70 , width:200 , height:40) //Set frame
6365

6466
// The list of array to display. Can be changed dynamically
6567
dropDown.dropDown.optionArray = ["Option 1", "Option 2", "Option 3"]

0 commit comments

Comments
 (0)