瀏覽代碼

Update README.md

Jonas Budelmann 9 年之前
父節點
當前提交
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;
 }