diff --git a/Cocoa Programming Guidelines.pdf b/Cocoa Programming Guidelines.pdf index 07c11f5..5fc88ce 100644 Binary files a/Cocoa Programming Guidelines.pdf and b/Cocoa Programming Guidelines.pdf differ diff --git a/Cocoa Programming Guidelines.tex b/Cocoa Programming Guidelines.tex index e697594..b1acec1 100644 --- a/Cocoa Programming Guidelines.tex +++ b/Cocoa Programming Guidelines.tex @@ -204,8 +204,8 @@ Please pay attention to the linespacing, it is also a rule. typedef NS_ENUM(NSInteger, Enumeration) { - EnumerationInvalid, EnumerationA, + EnumerationB }; extern CGFloat const ExampleClassDefaultHeight; @@ -663,7 +663,6 @@ A custom error have both the error domain and error code defined. extern NSString *const MyErrorDomain; typedef NS_ENUM(NSInteger, MyErrorCode) { - MyInvalidErrorCode MyErrorCode1, MyErrorCode2, MyUnknownErrorCode,