Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuf Demirci authored May 31, 2020
1 parent 8aba561 commit a873792
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

FlexibleTable written in Swift. You can add customizable header view to table easily.

![alt tag](https://media.giphy.com/media/dalGBGZ9TJRm6ZyQWr/giphy.gif)

## Requirements

- iOS 10.0+
Expand All @@ -31,11 +29,29 @@ tableView.stickyHeader.view = YourUIView()
tableView.stickyHeader.height = 300
tableView.stickyHeader.minimumHeight = 100
```
![alt tag](https://media.giphy.com/media/lnaItG2BLVb7GHqcb6/giphy.gif)

## Author
If you want to add default mask
```ruby
tableView.stickyHeader.maskColor = UIColor.black.withAlphaComponent(0.7)
```
![alt tag](https://media.giphy.com/media/hQho07szThczKB1AgC/giphy.gif)

Yusuf Demirci, demirciy94@gmail.com
If you want to add your custom mask view instead of maskColor
```ruby
tableView.stickyHeader.maskView = YourMaskView()
```

## License
FTDelegate Protocol
```ruby
func didMaskViewAlphaChange(alpha: CGFloat)
```

FTDelegate Closure
```ruby
var didMaskViewAlphaChange: ((CGFloat) -> Void)?
```

FlexibleTable is available under the MIT license. See the LICENSE file for more info.
## Author

Yusuf Demirci, demirciy94@gmail.com

0 comments on commit a873792

Please sign in to comment.