Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ppth0608 authored Feb 2, 2017
1 parent 0abe779 commit d1cdf2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pod "BPStatusBarAlert"
Copy the folder `BPStatusBarAlert` to your project

## Usage
First, you need the following import BPStatusBarAlert
First, you need the following import `BPStatusBarAlert`
```Swift
import BPStatusBarAlert
```
Expand All @@ -57,14 +57,14 @@ Default setting

So, If you want customize property, just **call init method with parameters and chaning function**

1. init (customize Duration, Delay and Postion)
- init (customize Duration, Delay and Postion)
`BPStatusBarAlert` class init method is composed below code
```Swift
public init(duration: TimeInterval = 0.3, delay: TimeInterval = 2, position: AlertPosition = .statusBar)
```
So, if you change time interval in animations and position of `BPStatusBarAlert`, using defaults paramaters

2. chaning function (customize Background Color, Message Text, Message Text Color, Completion)
- chaning function (customize Background Color, Message Text, Message Text Color, Completion)

```Swift
BPStatusBarAlert(duration: 0.3, delay: 2, position: .statusBar) // customize duration, delay and position
Expand Down

0 comments on commit d1cdf2a

Please sign in to comment.