diff --git a/README.md b/README.md index 5aafee6..4768880 100644 --- a/README.md +++ b/README.md @@ -322,14 +322,14 @@ Dot-notation should **always** be used for accessing and mutating properties, as **Preferred:** ```objc -NSInteger arrayCount = [self.array count]; +NSInteger arrayCount = self.array.count; view.backgroundColor = [UIColor orangeColor]; [UIApplication sharedApplication].delegate; ``` **Not Preferred:** ```objc -NSInteger arrayCount = self.array.count; +NSInteger arrayCount = [self.array count]; [view setBackgroundColor:[UIColor orangeColor]]; UIApplication.sharedApplication.delegate; ```