mirror of
https://github.com/wnagrodzki/CocoaProgrammingGuidelines.git
synced 2025-05-03 17:41:51 +02:00
Removes invalid enum values from enum declarations.
This commit is contained in:
parent
4db0f8874f
commit
5156651b8e
2 changed files with 1 additions and 2 deletions
Binary file not shown.
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue