Skip to content

Commit

Permalink
migrated readme to match actual project state
Browse files Browse the repository at this point in the history
  • Loading branch information
tomknig committed Jun 18, 2014
1 parent 32c2797 commit b350bed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ pod "TOMSMorphingLabel", "~> 0.1.0"
Instantiate TOMSMorphingLabel as you would do with an UILabel results in a fully working thus morphing label.

```objective-c
var label = TOMSMorphingLabel(frame: CGRect(x: 0, y: 42, width: self.view.frame.size.width, height: 42))
self.view.addSubview(label)
TOMSMorphingLabel *label = [[TOMSMorphingLabel alloc] initWithFrame:CGRectMake(0, 42, self.view.frame.size.width, 42)];
[self.view addSubview:label];
```
Setting - and particularly changing - the labels text property will automatically morph the labels previous text to the new value.
Expand Down

0 comments on commit b350bed

Please sign in to comment.