Skip to content

Commit 9244bde

Browse files
authored
Update README.md
1 parent 8166263 commit 9244bde

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

README.md

+22-3
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
![Language](https://img.shields.io/badge/language-Swift-brightgreen.svg?style=flat)
1010
<!--[![Build Status](https://travis-ci.org/PhamBaTho/BTNavigationDropdownMenu.svg?branch=master)](https://travis-ci.org/PhamBaTho/BTNavigationDropdownMenu)-->
1111

12-
## Introduction:
12+
## Introduction
1313
This elegant **Swift** dropdown menu appears underneath the navigation bar to display a list of related items when a user clicks on the navigation title.
1414

1515
![alt tag](https://github.com/PhamBaTho/BTNavigationDropdownMenu/blob/master/Assets/Demo.gif)
1616

17-
## Installation:
17+
## Installation
18+
### CocoaPods
1819
**BTNavigationDropdownMenu** is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile:
1920

2021
```ruby
@@ -26,7 +27,25 @@ Go ahead and **import** BTNavigationDropdownMenu into your own Swift files
2627
import BTNavigationDropdownMenu
2728
```
2829

29-
## Usage:
30+
## Carthage
31+
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
32+
33+
You can install Carthage with [Homebrew](https://brew.sh/) using the following command:
34+
35+
```bash
36+
$ brew update
37+
$ brew install carthage
38+
```
39+
40+
To integrate BTNavigationDropdownMenu into your Xcode project using Carthage, specify it in your `Cartfile`:
41+
42+
```ogdl
43+
github "PhamBaTho/BTNavigationDropdownMenu" ~> 0.5
44+
```
45+
46+
Run `carthage update` to build the framework and drag the built `BTNavigationDropdownMenu.framework` into your Xcode project.
47+
48+
## Usage
3049
### Instantiate
3150
Start by creating an Array that contains strings as **elements of a dropdown list**:
3251
```swift

0 commit comments

Comments
 (0)