Jonas Budelmann 9 жил өмнө
parent
commit
9b8aa6b7ad
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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;
 }