Documentation Archive Developer
Search

QuickLook Changes for Objective-C

QuickLook

QLBase.h

Added #def QL_EXPORT_OSX

QLPreviewController.h

Declaration
From
@property(assign) id<QLPreviewControllerDataSource> dataSource
To
@property(weak, nullable) id<QLPreviewControllerDataSource> dataSource

Declaration
From
@property(assign) id<QLPreviewControllerDelegate> delegate
To
@property(weak, nullable) id<QLPreviewControllerDelegate> delegate

QLPreviewItem.h

Declaration
From
@property(readonly) NSString *previewItemTitle
To
@property(readonly, nonatomic, nullable) NSString *previewItemTitle

Declaration
From
@property(readonly) NSURL *previewItemURL
To
@property(readonly, nonatomic, nonnull) NSURL *previewItemURL