Skip to content

QuickLook iOS xcode13.0 beta3

Rachel Kang edited this page Aug 3, 2021 · 3 revisions

#QuickLook.framework https://github.com/xamarin/xamarin-macios/pull/12337

diff -ruN /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewSceneActivationConfiguration.h /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewSceneActivationConfiguration.h
--- /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewSceneActivationConfiguration.h	2021-06-22 17:37:58.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewSceneActivationConfiguration.h	2021-07-13 00:42:46.000000000 -0400
@@ -1,5 +1,5 @@
 //
-//  QLPreviewController.h
+//  QLPreviewSceneActivationConfiguration.h
 //  Mobile Quick Look
 //
 //  Copyright 2021 Apple Inc. All rights reserved.
@@ -14,13 +14,14 @@
 NS_ASSUME_NONNULL_BEGIN
 
 // Not available on macCatalyst for seed 1
-API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macCatalyst) QL_EXPORT
-@interface QLPreviewSceneOptions : NSObject
+API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macCatalyst)
+NS_SWIFT_NAME(QLPreviewSceneActivationConfiguration.Options)
+QL_EXPORT @interface QLPreviewSceneOptions : NSObject
     /*!
      * @abstract The index of the item to preview initially .
      */
      @property (assign) NSInteger initialPreviewIndex;
-@end NS_SWIFT_NAME(QLPreviewSceneActivationConfiguration.Options)
+@end
 
 // Not available on macCatalyst for seed 1
 API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macCatalyst)  QL_EXPORT
diff -ruN /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewingController.h /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewingController.h
--- /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewingController.h	2021-06-22 17:37:58.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewingController.h	2021-07-13 00:42:46.000000000 -0400
@@ -18,9 +18,12 @@
  -[QLPreviewingController preparePreviewOfSearchableItemWithIdentifier:queryString:completionHandler:], to generate previews for Spotlight searchable items.
  -[QLPreviewingController preparePreviewOfFileAtURL:completionHandler:], to generate previews for file URLs.
  
-The main preview should be presented by the view controller implementing QLPreviewingController. Avoid presenting additional view controllers over your QLPreviewingController. For Catalyst compatibility, avoid using gesture recognizers that take interactions over large portions of the view to avoid collisions with standard macOS preview behaviors.
+ The main preview should be presented by the view controller implementing QLPreviewingController.
+ Avoid presenting additional view controllers over your QLPreviewingController.
+ For Catalyst compatibility, avoid using gesture recognizers that take interactions over large portions of the view to avoid collisions with standard macOS preview behaviors.
+ Avoid holding the file open during the duration of the preview. If access to the file is necessary for interaction, it is best to keep the file open only for the duration of the interaction.
  
-For data-based previews, subclass QLPreviewProvider which conforms to this protocol.
+ For data-based previews, subclass QLPreviewProvider which conforms to this protocol.
  */
 QL_EXPORT @protocol QLPreviewingController <NSObject>
 
Clone this wiki locally