Marked MPPCategory initializer as designated initializer

This commit is contained in:
Prianka Liz Kariat 2023-01-06 13:35:41 +05:30
parent fa9ec90186
commit 7ec12371ba

View File

@ -57,7 +57,7 @@ NS_SWIFT_NAME(ClassificationCategory)
- (instancetype)initWithIndex:(NSInteger)index
score:(float)score
categoryName:(nullable NSString *)categoryName
displayName:(nullable NSString *)displayName;
displayName:(nullable NSString *)displayName NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;