Skip to content

Commit b1bb5f1

Browse files
author
Brandon McQuilkin
committed
Updated readme to reflect changes from Pull Request #4
1 parent 9669a48 commit b1bb5f1

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

Classes/M13Checkbox.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1212
*/
1313

14+
/*
15+
Special thanks to Jeff Wolski ( https://github.com/jefmwols ) for adding KVO compliance!
16+
*/
17+
1418
#import <UIKit/UIKit.h>
1519

1620
#define M13CheckboxDefaultHeight 16.0

readme.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,16 @@ All Properties follow the UIAppearance protocol.
5454
Extra Methods:
5555
-------------
5656
* <code>- (void)setTitle:(NSString *)title</code>: Sets the title of the titleLabel, and resizes the width of the contra's frame to fit that text.
57-
* <code>- (void)setState:(M13CheckboxState)state</code>: Sets the state of the checkbox to the state given.
58-
* <code>- (void)toggleState</code>: Toggles the state between M13CheckboxStateUnchecked, and M13CheckboxStateChecked
57+
* <code>- (void)setCheckState:(M13CheckboxState)state</code>: Sets the state of the checkbox to the state given.
58+
* <code>- (void)toggleCheckState</code>: Toggles the state between M13CheckboxStateUnchecked, and M13CheckboxStateChecked
5959
* <code>- (void)autoFitFontToHeight</code>: Changes the font size, so it fills the height of the frame.
6060
* <code>- (void)autoFitWidthToText</code>: Changes the width of the frame to fit the titleLabel's text.
6161
* <code>- (UIBezierPath *)getDefaultShape</code>: Override this method to specify your own shape to draw instead of the checkmark. All distances should be specified as percentages of the height of the frame.
6262

63+
Special Thanks:
64+
--------
65+
Thanks to [Jeff Wolski](https://github.com/jefmwols) for adding KVO compliance.
66+
6367
License:
6468
--------
6569
MIT License

0 commit comments

Comments
 (0)