Skip to content

AVKit macOS xcode14.0 rc

Israel Soto edited this page Sep 7, 2022 · 1 revision

#AVKit.framework

diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h	2022-08-01 09:18:08.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h	2022-02-12 06:55:18.000000000 -0600
@@ -26,26 +26,21 @@
 #endif // TARGET_OS_OSX || TARGET_OS_MACCATALYST
 
 
-
 #if TARGET_OS_IPHONE
 #import <AVKit/AVError.h>
-#if !TARGET_OS_MACCATALYST
-#import <AVKit/AVInterstitialTimeRange.h>
-#endif // TARGET_OS_MACCATALYST
 #import <AVKit/AVPictureInPictureController.h>
 #import <AVKit/AVPictureInPictureController_AVSampleBufferDisplayLayerSupport.h>
 #import <AVKit/AVPictureInPictureController_VideoCallSupport.h>
-#import <AVKit/AVPlaybackSpeed.h>
 #import <AVKit/AVPlayerItem+AVKitAdditions.h>
 #import <AVKit/AVPlayerViewController.h>
 #import <AVKit/AVPlaybackRouteSelecting.h>
 #import <AVKit/AVRoutePickerView.h>
 
 #else
+
 #import <AVKit/AVCaptureView.h>
 #import <AVKit/AVPictureInPictureController.h>
 #import <AVKit/AVPictureInPictureController_AVSampleBufferDisplayLayerSupport.h>
-#import <AVKit/AVPlaybackSpeed.h>
 #import <AVKit/AVPlayerView.h>
 #import <AVKit/AVRoutePickerView.h>
 
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitCore.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitCore.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitCore.h	2022-08-01 09:18:08.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitCore.h	2022-02-12 06:55:18.000000000 -0600
@@ -7,5 +7,3 @@
 //
 
 #import <AVKit/AVKitDefines.h>
-
-#import <AVKit/AVPlaybackSpeed.h>
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h	2022-08-05 12:39:59.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h	2022-08-03 21:05:11.000000000 -0500
@@ -17,29 +17,16 @@
 #define AVKIT_EXTERN	extern __attribute__((visibility ("default")))
 #endif
 
-
 #if !TARGET_IS_AVKITMACHELPER
 #define AVKIT_ONLY_EXTERN AVKIT_EXTERN
 #define AVKIT_ONLY_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__)
-
-#define AVKIT_ONLY_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__)
-#define AVKIT_ONLY_API_DEPRECATED_WITH_REPLACEMENT(...) API_DEPRECATED_WITH_REPLACEMENT(__VA_ARGS__)
-
 #else
 #define AVKIT_ONLY_EXTERN extern __attribute__((visibility ("hidden")))
 #define AVKIT_ONLY_API_AVAILABLE(...)
-
-#define AVKIT_ONLY_API_DEPRECATED_WITH_REPLACEMENT(...)
-
 #endif
 
-
 #define PLATFORM_SUPPORTS_AVKITCORE (TARGET_OS_OSX || TARGET_OS_MACCATALYST)
 
-
-#define AVKIT_INIT_UNAVAILABLE	- (instancetype)init NS_UNAVAILABLE; \
-								+ (instancetype)new  NS_UNAVAILABLE;
-
 #else
 #import <AVKitCore/AVKitDefines.h>
 #endif
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackSpeed.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackSpeed.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackSpeed.h	2022-08-05 12:39:59.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackSpeed.h	1969-12-31 18:00:00.000000000 -0600
@@ -1,76 +0,0 @@
-#if !__has_include(<AVKitCore/AVPlaybackSpeed.h>)
-//
-//  AVPlaybackSpeed.h
-//  AVKit
-//
-//  Created by adesjarlais on 11/13/21.
-//  Copyright © 2021 Apple Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-#if TARGET_OS_OSX || TARGET_OS_MACCATALYST
-#import <AVKit/AVKitDefines.h>
-#else
-#import <AVKit/AVKitDefines.h>
-#endif // #TARGET_OS_OSX || TARGET_OS_MACCATALYST
-
-
-NS_ASSUME_NONNULL_BEGIN
-
-// MARK: -
-
-/*!
- @class         AVPlaybackSpeed
- @abstract      Class used to define a user selectable playback speed in a playback UI.
- */
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos)
-@interface AVPlaybackSpeed : NSObject
-
-AVKIT_INIT_UNAVAILABLE
-
-/*!
- @property      systemDefaultSpeeds
- @abstract      A list of playback speeds to be used by default across the system.
- */
-@property (nonatomic, readonly, class) NSArray<AVPlaybackSpeed *> *systemDefaultSpeeds;
-
-
-/*!
- @method         initWithRate:localizedName:
- @param         rate
-				The rate to be used when this playback speed is selected.
- @param         localizedName
-				A localized name to be displayed representing this playback speed in a UI.
- @abstract      Initializes an AVPlaybackSpeed.
- */
-- (instancetype)initWithRate:(float)rate localizedName:(NSString *)localizedName;
-
-
-/*!
- @property      rate
- @abstract      The rate associated with this object. When this playback speed is selected this rate will be set in response to the play button being pressed.
- */
-@property (nonatomic, readonly) float rate;
-
-/*!
- @property      localizedName
- @abstract      A localized name for this playback speed.
- @discussion    This name will be used to represent this playback speed in playback UIs where more space is available.
- */
-@property (nonatomic, readonly) NSString *localizedName;
-
-/*!
- @property      localizedNumericName
- @abstract      A localized name for this playback speed used when space is limited.
- @discussion    This name will be used to represent this playback speed in playback UIs where limited space is available.
- */
-@property (nonatomic, readonly) NSString *localizedNumericName;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#else
-#import <AVKitCore/AVPlaybackSpeed.h>
-#endif
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerView.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerView.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerView.h	2022-08-05 12:39:59.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerView.h	2022-08-03 21:05:11.000000000 -0500
@@ -3,7 +3,7 @@
 	
 	Framework:  AVKit
 	
-	Copyright © 2013-2022 Apple Inc. All rights reserved.
+	Copyright © 2013-2017 Apple Inc. All rights reserved.
 	
  */
 
@@ -13,8 +13,6 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-@class AVPlaybackSpeed;
-
 @protocol AVPlayerViewDelegate;
 @protocol AVPlayerViewPictureInPictureDelegate;
 
@@ -98,61 +96,6 @@
  */
 @property (nonatomic, readwrite, nullable, weak) id<AVPlayerViewDelegate> delegate API_AVAILABLE(macos(12.0));
 
-/**
- @property		speeds
- @abstract		A list of user selectable playback speeds to be shown in the playback speed control.
- @discussion	By default this property will be set to the systemDefaultSpeeds class property. Setting this property to nil will hide the playback speed selection UI.
-	 
-				To set the currently selected playback speed programmatically, either set the defaultRate on the AVPlayer associated with this view controller or use the selectSpeed method on AVPlayerView.
- */
-@property (copy) NSArray<AVPlaybackSpeed *> *speeds API_AVAILABLE(macos(13.0));
-
-/*!
- @property		selectedSpeed
- @abstract		The currently selected playback speed.
- @discussion	Changes to the associated AVPlayer's defaultRate will be reflected in this property and vice versa. If the associated AVPlayer's defaultRate is set to a value that does not match a speed in the speeds list property, the selected speed will be nil.
- */
-@property (readonly, nullable) AVPlaybackSpeed *selectedSpeed API_AVAILABLE(macos(13.0));
-
-
-/*!
- @property		selectSpeed
- @param			speed
-				The playback speed to select.
- @abstract		Sets the input AVPlaybackSpeed as the selected speed.
- @discussion	Calls to selectSpeed with AVPlaybackSpeeds not contained within the speeds property array will be ignored.
- */
-- (void)selectSpeed:(AVPlaybackSpeed *)speed API_AVAILABLE(macos(13.0));
-
-/*!
-	@property	allowsVideoFrameAnalysis
-	@abstract	When set to YES, the AVPlayerView will try to find objects, text and people while the media is paused. When an object is found, the user will be able to interact with it selecting and right clicking to present a context menu. Default is YES.
- */
-@property (nonatomic) BOOL allowsVideoFrameAnalysis API_AVAILABLE(macos(13.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
-
-/*!
-	@property	allowsMagnification
-	@abstract	Whether the magnify gesture will change the video's view magnification.
-	@discussion	The default value is NO. This property only effects whether the magnify gesture triggers magnification. A client can still programmatically change magnification even when the value of this is NO. This behavior matches the behavior of NSScrollView.
- */
-@property (nonatomic, setter = setAllowsMagnification:) BOOL allowsMagnification API_AVAILABLE(macos(13.0));
-
-/*!
-	@property	magnification
-	@abstract	The factor by which the video's view is currently scaled.
-	@discussion	The default value is 1.0. The value cannot be smaller than 1.0 or larger 64.0. Nearest neighbor interpolation will be used once the content has been zoomed past a certain factor.
- */
-@property (nonatomic, setter = setMagnification:) CGFloat magnification API_AVAILABLE(macos(13.0));
-
-/*!
-	@method		setMagnification:centeredAtPoint:
-	@abstract	Scales the video's view by a specified factor and centers the result on a specified point.
-	@param		magnification The factor by which to scale the video's view.
-	@param		point The point (in view space) on which to center magnification.
-	@discussion	The magnification cannot be smaller than 1.0 or larger 64.0. Nearest neighbor interpolation will be used once the content has been zoomed past a certain factor.
- */
-- (void)setMagnification:(CGFloat)magnification centeredAtPoint:(CGPoint)point API_AVAILABLE(macos(13.0));
-
 @end
 
 
Clone this wiki locally