Added designated initializer in MPPClassifications

This commit is contained in:
Prianka Liz Kariat 2023-01-06 13:46:14 +05:30
parent 7ec12371ba
commit 0e8909497b

View File

@ -61,7 +61,11 @@ NS_SWIFT_NAME(Classifications)
**/
- (instancetype)initWithHeadIndex:(NSInteger)headIndex
headName:(nullable NSString *)headName
categories:(NSArray<MPPCategory *> *)categories;
categories:(NSArray<MPPCategory *> *)categories NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end