mirror of
https://github.com/wnagrodzki/CocoaProgrammingGuidelines.git
synced 2025-05-06 19:11:47 +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) {
|
typedef NS_ENUM(NSInteger, Enumeration) {
|
||||||
EnumerationInvalid,
|
|
||||||
EnumerationA,
|
EnumerationA,
|
||||||
|
EnumerationB
|
||||||
};
|
};
|
||||||
|
|
||||||
extern CGFloat const ExampleClassDefaultHeight;
|
extern CGFloat const ExampleClassDefaultHeight;
|
||||||
|
@ -663,7 +663,6 @@ A custom error have both the error domain and error code defined.
|
||||||
extern NSString *const MyErrorDomain;
|
extern NSString *const MyErrorDomain;
|
||||||
|
|
||||||
typedef NS_ENUM(NSInteger, MyErrorCode) {
|
typedef NS_ENUM(NSInteger, MyErrorCode) {
|
||||||
MyInvalidErrorCode
|
|
||||||
MyErrorCode1,
|
MyErrorCode1,
|
||||||
MyErrorCode2,
|
MyErrorCode2,
|
||||||
MyUnknownErrorCode,
|
MyUnknownErrorCode,
|
||||||
|
|
Loading…
Add table
Reference in a new issue