Browse Source

Update README.md

Jonas Budelmann 9 years ago
parent
commit
9b8aa6b7ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -339,7 +339,7 @@ For an example of how to set this up take a look at the **Masonry iOS Examples**
     if (!self) return nil;
 
     // --- Create your views here ---
-    self.button = [UIButton new];
+    self.button = [[UIButton alloc] init];
 
     return self;
 }