Added designated initializer in MPPClassifications
This commit is contained in:
parent
7ec12371ba
commit
0e8909497b
|
@ -61,7 +61,11 @@ NS_SWIFT_NAME(Classifications)
|
||||||
**/
|
**/
|
||||||
- (instancetype)initWithHeadIndex:(NSInteger)headIndex
|
- (instancetype)initWithHeadIndex:(NSInteger)headIndex
|
||||||
headName:(nullable NSString *)headName
|
headName:(nullable NSString *)headName
|
||||||
categories:(NSArray<MPPCategory *> *)categories;
|
categories:(NSArray<MPPCategory *> *)categories NS_DESIGNATED_INITIALIZER;
|
||||||
|
|
||||||
|
- (instancetype)init NS_UNAVAILABLE;
|
||||||
|
|
||||||
|
+ (instancetype)new NS_UNAVAILABLE;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user