Skip to content

Commit

Permalink
Updated README.md file...
Browse files Browse the repository at this point in the history
  • Loading branch information
mta452 authored Sep 24, 2016
1 parent 7ed85da commit 6e82a73
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# UIView+TouchHighlighting
# UIView+TouchHighlighting & MTCompoundButton

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Build Status](https://travis-ci.org/mta452/UIView-TouchHighlighting.svg)](https://travis-ci.org/mta452/UIView-TouchHighlighting)
Expand Down Expand Up @@ -39,6 +39,9 @@ To disable touch highlighting, set the property to `MTHighlightingStyleNone` as
buttonView.touchHighlightingStyle = MTHighlightingStyleNone;
```

## MTCompoundButton
MTCompoundButton can be used to convert a collection of multiple views into a button. Just make the superview inherit from MTCompoundButton and set the `touchHighlightingStyle` property as explained above. With this, normal views can be made to look and behave like a native UIButton.

## License
```
Copyright (C) 2016 Muhammad Tayyab Akram
Expand Down

0 comments on commit 6e82a73

Please sign in to comment.