Skip to content

Commit

Permalink
Updated readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeahmarani committed Apr 6, 2011
1 parent acd99de commit 5ef98c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.textile
Expand Up @@ -11,11 +11,11 @@ I attempted to make this class as "drop-in" as possible since it is, after all,
h3. Example

<pre>
MAConfirmButton *confirmButton = [MAConfirmButton buttonWithTitle:@"Button Title" confirm:@"Confirm Title"];
[confirmButton addTarget:self action:@selector(action:) forControlEvents:UIControlEventTouchUpInside];
[confirmButton setTintColor:[UIColor blueColor]];
[confirmButton setAnchor:CGPointMake(270, 25)];
[self.view addSubview:confirmButton];
MAConfirmButton *confirmButton = [MAConfirmButton buttonWithTitle:@"Button Title" confirm:@"Confirm Title"];
[confirmButton addTarget:self action:@selector(action:) forControlEvents:UIControlEventTouchUpInside];
[confirmButton setTintColor:[UIColor blueColor]];
[confirmButton setAnchor:CGPointMake(270, 25)];
[self.view addSubview:confirmButton];
</pre>

h3. Init
Expand Down

0 comments on commit 5ef98c3

Please sign in to comment.