-
Notifications
You must be signed in to change notification settings - Fork 507
QuartzCore tvOS xcode13.1 rc
Manuel de la Pena edited this page Nov 2, 2021
·
5 revisions
#QuartzCore.framework https://github.com/xamarin/xamarin-macios/pull/13227
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h 2021-08-09 03:21:53.000000000 -0400
+++ /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h 2021-09-09 16:48:21.000000000 -0400
@@ -4,6 +4,7 @@
All rights reserved. */
#import <QuartzCore/CALayer.h>
+#import <QuartzCore/CAFrameRateRange.h>
#import <Foundation/NSObject.h>
@class NSArray, NSString, CAMediaTimingFunction, CAValueFunction;
@@ -53,6 +54,12 @@
@property(getter=isRemovedOnCompletion) BOOL removedOnCompletion;
+/* Defines the range of desired frame rate in frames-per-second for this
+ animation. The actual frame rate is dynamically adjusted to better align
+ with other animation sources. */
+
+@property CAFrameRateRange preferredFrameRateRange
+ API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
@end
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h 2021-08-07 08:50:44.000000000 -0400
+++ /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h 2021-09-10 05:42:14.000000000 -0400
@@ -4,6 +4,7 @@
All rights reserved. */
#import <QuartzCore/CABase.h>
+#import <QuartzCore/CAFrameRateRange.h>
#import <Foundation/NSObject.h>
@class NSString, NSRunLoop;
@@ -78,8 +79,19 @@
* best-effort attempt at issuing callbacks at the requested rate. */
@property(nonatomic) NSInteger preferredFramesPerSecond
- API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0));
+ API_DEPRECATED_WITH_REPLACEMENT ("preferredFrameRateRange",
+ ios(10.0, API_TO_BE_DEPRECATED),
+ watchos(3.0, API_TO_BE_DEPRECATED),
+ tvos(10.0, API_TO_BE_DEPRECATED));
+
+/* Defines the range of desired callback rate in frames-per-second for this
+ display link. If the range contains the same minimum and maximum frame rate,
+ this property is identical as preferredFramesPerSecond. Otherwise, the actual
+ callback rate will be dynamically adjusted to better align with other
+ animation sources. */
+@property(nonatomic) CAFrameRateRange preferredFrameRateRange
+ API_AVAILABLE(ios(15.0), watchos(8.0), tvos(15.0));
@end
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAFrameRateRange.h /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAFrameRateRange.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAFrameRateRange.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAFrameRateRange.h 2021-09-10 05:42:15.000000000 -0400
@@ -0,0 +1,42 @@
+/* CoreAnimation - CAFrameRateRange.h
+
+ Copyright (c) 2020-2021, Apple Inc.
+ All rights reserved. */
+
+#ifndef CAFRAMERATERANGE_H
+#define CAFRAMERATERANGE_H
+
+
+#include <QuartzCore/CABase.h>
+#include <stdbool.h>
+
+struct CAFrameRateRange {
+ float minimum;
+ float maximum;
+ float preferred CF_REFINED_FOR_SWIFT;
+} API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
+
+typedef struct CAFrameRateRange CAFrameRateRange
+ API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
+
+CA_EXTERN_C_BEGIN
+
+CA_EXTERN const CAFrameRateRange CAFrameRateRangeDefault
+ API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0))
+ CF_SWIFT_NAME(CAFrameRateRange.default);
+
+CA_EXTERN CAFrameRateRange CAFrameRateRangeMake(float minimum,
+ float maximum,
+ float preferred)
+ API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0))
+ CF_SWIFT_UNAVAILABLE("Use CAFrameRateRange.init(minimum:maximum:preferred) instead");
+
+CA_EXTERN bool CAFrameRateRangeIsEqualToRange(CAFrameRateRange range,
+ CAFrameRateRange other)
+ API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0))
+ CF_REFINED_FOR_SWIFT;
+
+CA_EXTERN_C_END
+
+
+#endif /* CAFRAMERATERANGE_H */
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h 2021-08-01 07:52:45.000000000 -0400
+++ /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h 2021-08-18 23:43:55.000000000 -0400
@@ -17,6 +17,7 @@
#import <QuartzCore/CAMetalLayer.h>
#import <QuartzCore/CAEmitterCell.h>
#import <QuartzCore/CAEmitterLayer.h>
+#import <QuartzCore/CAFrameRateRange.h>
#import <QuartzCore/CAGradientLayer.h>
#import <QuartzCore/CALayer.h>
#import <QuartzCore/CAMediaTiming.h>
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status