Updated delegate properties to be nullable for swift bridging
This commit is contained in:
parent
e61e5f2bf7
commit
d9a245b80b
|
@ -63,7 +63,7 @@ NS_SWIFT_NAME(ImageClassifierOptions)
|
|||
* to receive the results of asynchronous classification on images (i.e, when `runningMode =
|
||||
* MPPRunningModeLiveStream`).
|
||||
*/
|
||||
@property(nonatomic, weak) id<MPPImageClassifierDelegate> imageClassifierDelegate;
|
||||
@property(nonatomic, weak, nullable) id<MPPImageClassifierDelegate> imageClassifierDelegate;
|
||||
|
||||
/**
|
||||
* The locale to use for display names specified through the TFLite Model Metadata, if any. Defaults
|
||||
|
|
|
@ -60,7 +60,7 @@ NS_SWIFT_NAME(ObjectDetectorOptions)
|
|||
* to receive the results of performing asynchronous object detection on images (i.e, when
|
||||
* `runningMode` = `MPPRunningModeLiveStream`).
|
||||
*/
|
||||
@property(nonatomic, weak) id<MPPObjectDetectorDelegate> objectDetectorDelegate;
|
||||
@property(nonatomic, weak, nullable) id<MPPObjectDetectorDelegate> objectDetectorDelegate;
|
||||
|
||||
/**
|
||||
* The locale to use for display names specified through the TFLite Model Metadata, if any. Defaults
|
||||
|
|
Loading…
Reference in New Issue
Block a user