AVKit Changes for Objective-C
AVKit
AVCaptureView.h
Modified AVCaptureView.delegate
Declaration | |
---|---|
From | @property(weak) id<AVCaptureViewDelegate> delegate |
To | @property(weak, nullable) id<AVCaptureViewDelegate> delegate |
Modified AVCaptureView.fileOutput
Declaration | |
---|---|
From | @property(readonly) AVCaptureFileOutput *fileOutput |
To | @property(readonly, nullable) AVCaptureFileOutput *fileOutput |
Modified AVCaptureView.session
Declaration | |
---|---|
From | @property(readonly) AVCaptureSession *session |
To | @property(readonly, nullable) AVCaptureSession *session |
Declaration | |
---|---|
From | - (void)setSession:(AVCaptureSession *)session showVideoPreview:(BOOL)showVideoPreview showAudioPreview:(BOOL)showAudioPreview |
To | - (void)setSession:(AVCaptureSession * _Nullable)session showVideoPreview:(BOOL)showVideoPreview showAudioPreview:(BOOL)showAudioPreview |
Modified AVCaptureView.videoGravity
Declaration | |
---|---|
From | @property(copy) NSString *videoGravity |
To | @property(copy, nonnull) NSString *videoGravity |
Declaration | |
---|---|
From | - (void)captureView:(AVCaptureView *)captureView startRecordingToFileOutput:(AVCaptureFileOutput *)fileOutput |
To | - (void)captureView:(AVCaptureView * _Nonnull)captureView startRecordingToFileOutput:(AVCaptureFileOutput * _Nonnull)fileOutput |
AVPlayerView.h
Modified AVPlayerView.actionPopUpButtonMenu
Declaration | |
---|---|
From | @property NSMenu *actionPopUpButtonMenu |
To | @property(nullable) NSMenu *actionPopUpButtonMenu |
Declaration | |
---|---|
From | - (void)beginTrimmingWithCompletionHandler:(void (^)(AVPlayerViewTrimResult result))handler |
To | - (void)beginTrimmingWithCompletionHandler:(void (^ _Nullable)(AVPlayerViewTrimResult result))handler |
Modified AVPlayerView.contentOverlayView
Declaration | |
---|---|
From | @property(readonly) NSView *contentOverlayView |
To | @property(readonly, nullable) NSView *contentOverlayView |
Declaration | |
---|---|
From | - (void)flashChapterNumber:(NSUInteger)chapterNumber chapterTitle:(NSString *)chapterTitle |
To | - (void)flashChapterNumber:(NSUInteger)chapterNumber chapterTitle:(NSString * _Nonnull)chapterTitle |
Modified AVPlayerView.player
Declaration | |
---|---|
From | @property AVPlayer *player |
To | @property(nullable) AVPlayer *player |
Modified AVPlayerView.videoGravity
Declaration | |
---|---|
From | @property(copy) NSString *videoGravity |
To | @property(copy, nonnull) NSString *videoGravity |