Marked init and new as unavailable

This commit is contained in:
Prianka Liz Kariat 2023-01-06 14:56:42 +05:30
parent 61a918d449
commit 7d0678c110

View File

@ -34,6 +34,10 @@ NS_ASSUME_NONNULL_BEGIN
- (instancetype)initWithCalculatorGraphConfig:(mediapipe::CalculatorGraphConfig)graphConfig
error:(NSError **)error NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
NS_ASSUME_NONNULL_END