Skip to content

Commit 1421d30

Browse files
committed
Remove designated initializers from Objective-C
These don't work in Xcode 5
1 parent 339a041 commit 1421d30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

QueryKit/ObjectiveC/QKAttribute.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
@property (nonatomic, strong, readonly) NSString *name;
1717

1818
/// Initialized the attribute from multiple other attributes
19-
- (instancetype)initWithAttributes:(QKAttribute *)attribute, ... NS_REQUIRES_NIL_TERMINATION NS_DESIGNATED_INITIALIZER;
19+
- (instancetype)initWithAttributes:(QKAttribute *)attribute, ... NS_REQUIRES_NIL_TERMINATION;
2020

2121
/// Initialized the attribute with the given name
22-
- (instancetype)initWithName:(NSString *)name __attribute((nonnull)) NS_DESIGNATED_INITIALIZER;
22+
- (instancetype)initWithName:(NSString *)name __attribute((nonnull));
2323

2424
/** Returns a Boolean value that indicates whether a given attribute is equal to the receiver
2525
@param attribute The attribute to compare against the receiver

0 commit comments

Comments
 (0)