Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Morbix authored Aug 15, 2016
1 parent a6adf22 commit e18c56d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ To program what happens when the Empty State's reload button is touched, add thi

```swift
extension MyViewController: ErrorProne {
func errorKingEmptyStateReloadButtonTouched() {
//load my stuff again
errorKing?.errorKingEmptyStateReloadButtonTouched()
}
func errorKingEmptyStateReloadButtonTouched() {
//load my stuff again
errorKing?.errorKingEmptyStateReloadButtonTouched()
}
}
```

Additionally, you can further customize ErrorKing by telling what happens before the empty state screen is displayed:

```swift
func actionBeforeDisplayingErrorKingEmptyState() {
//do something before displaying the empty state screen, like disabling your tableView's scrolling
errorKing?.actionBeforeDisplayingErrorKingEmptyState()
//do something before displaying the empty state screen, like disabling your tableView's scrolling
errorKing?.actionBeforeDisplayingErrorKingEmptyState()
}
```

Expand Down

0 comments on commit e18c56d

Please # to comment.