Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

QuickLook MacCatalyst xcode26.0 b1

Rolf Bjarne Kvinge edited this pageAug 5, 2025 ·3 revisions

#QuickLook.frameworkhttps://github.com/dotnet/macios/pull/23485

diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/QuickLook.framework/Headers/ARQuickLookPreviewItem.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/QuickLook.framework/Headers/ARQuickLookPreviewItem.h--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/QuickLook.framework/Headers/ARQuickLookPreviewItem.h1969-12-31 19:00:00+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/QuickLook.framework/Headers/ARQuickLookPreviewItem.h2025-05-25 10:47:57@@ -0,0 +1,63 @@+#if (defined(USE_PUBLIC_QUICKLOOKUICORE_HEADERS) && USE_PUBLIC_QUICKLOOKUICORE_HEADERS) || !__has_include(<QuickLookUICore/ARQuickLookPreviewItem.h>)+//+//  ARQuickLookPreviewItem.h+//  ARKit+//+//  Copyright © 2019 Apple Inc. All rights reserved.+//++#import <Foundation/Foundation.h>++#import <QuickLook/QLBase.h>+#import <QuickLook/QLPreviewItem.h>+++NS_ASSUME_NONNULL_BEGIN++API_AVAILABLE(ios(13.0))+QL_EXPORT @interface ARQuickLookPreviewItem : NSObject <QLPreviewItem>++/**+ Creates an object representing the 3D content that will be previewed in AR Quick Look.++ @discussion This object will be previewed in AR Quick Look using the default+ behavior:++ - Start in Object mode without camera passthrough++ - Display the Share button for 3D content sharing++ - Allow scaling content in both Object and AR mode++ This is a promise to the ARQuickLookPreviewItem class that the URL points to a 3D content file. This class does not deal with the file's existence or content, and leaves it up to QuickLook to handle and process the URL.++ @param url A file URL to 3D content file (e.g. usdz).+ @return The preview object to display in AR Quick Look.+ */+- (instancetype)initWithFileAtURL:(NSURL *)url NS_DESIGNATED_INITIALIZER;++/**+ An optional canonical web page URL for the 3D content that will be shared.++ @discussion If this is supplied, the URL to the canonical web page is shared instead of the 3D content file.+ For example, providing https://developer.apple.com/arkit/gallery/ as the canonical web page URL string will be shared via the Share button. If the web page URL string is malformed or not provided, then AR Quick Look will default to sharing the 3D content.+ */+@property (nonatomic, strong, nullable) NSURL *canonicalWebPageURL;++/**+ Whether or not AR Quick Look allows content scaling in AR mode.+ Defaults to `YES` which allows scaling content in AR mode.+ */+@property (nonatomic, assign) BOOL allowsContentScaling;++/** Unavailable */+- (instancetype)init NS_UNAVAILABLE;++ (instancetype)new NS_UNAVAILABLE;++@end++NS_ASSUME_NONNULL_END++#else+#import <QuickLookUICore/ARQuickLookPreviewItem.h>+#endifdiff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/QuickLook.framework/Headers/QuickLook.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/QuickLook.framework/Headers/QuickLook.h--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/QuickLook.framework/Headers/QuickLook.h2025-04-19 04:00:38+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/QuickLook.framework/Headers/QuickLook.h2025-05-25 10:47:57@@ -15,6 +15,7 @@ #if __OBJC__ #import <QuickLook/QLPreviewController.h> #import <QuickLook/QLPreviewItem.h>+#import <QuickLook/ARQuickLookPreviewItem.h> #import <QuickLook/QLPreviewingController.h> #import <QuickLook/QLThumbnailProvider.h> #import <QuickLook/QLThumbnailRequest.h>diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/QuickLook.framework/Headers/QuickLookUICore.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/QuickLook.framework/Headers/QuickLookUICore.h--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/QuickLook.framework/Headers/QuickLookUICore.h2025-04-19 04:00:38+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/QuickLook.framework/Headers/QuickLookUICore.h2025-05-25 10:47:57@@ -9,3 +9,4 @@ #import <QuickLook/QLBase.h> #import <QuickLook/QLPreviewItem.h> #import <QuickLook/QLPreviewingController.h>+#import <QuickLook/ARQuickLookPreviewItem.h>

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp