Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
egmoll7 authored Oct 21, 2017
1 parent 77c85c3 commit 8c2fb6b
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ alert.addAction(action: confirm)

## Customization

### Alert View
----------------

### Icon
```swift
let icon = UIImage(named: "imageName")
Expand Down Expand Up @@ -135,11 +138,37 @@ alert.backgroundViewAlpha = 1.0
// Default alpha = 0.2
```

## Todo
### Alert Actions
----------------

### Title
```swift
action.title = "Sample Title"
```

### Title Color
```swift
action.titleColor = UIColor.red
// Normal style action default color = UIColor(red: 53/255, green: 53/255, blue: 53/255, alpha: 1.0)
// Cancel style action default color = UIColor(red: 230/255, green: 57/255, blue: 70/255, alpha: 1.0)
```

### Title Font
```swift
action.titleFont = UIFont.systemFont(ofSize: 14)
// Default font = UIFont.boldSystemFont(ofSize: 16)
```

### Background Color
```swift
action.actionBackgroundColor = UIColor.red
// Default color = UIColor.clear
```

## TODO
* [ ] Textfield Support
* [ ] Carthage Support
* [ ] Actions Scroll Support
* [ ] Message Scroll Support

## License
----------------
Expand Down

0 comments on commit 8c2fb6b

Please sign in to comment.