Skip to content

iTunesLibrary macOS xcode13.0 beta1

Rachel Kang edited this page Jun 29, 2021 · 3 revisions

#iTunesLibrary.framework https://github.com/xamarin/xamarin-macios/pull/12038

diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/iTunesLibrary.framework/Headers/ITLibPlaylist.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/iTunesLibrary.framework/Headers/ITLibPlaylist.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/iTunesLibrary.framework/Headers/ITLibPlaylist.h	2021-03-16 04:44:21.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/iTunesLibrary.framework/Headers/ITLibPlaylist.h	2021-06-02 11:06:29.000000000 -0400
@@ -1,6 +1,6 @@
 /*!
 	@file		ITLibPlaylist.h
-	@copyright	© 2012-2016 Apple Inc.
+	@copyright	© 2012-2021 Apple Inc.
  */
 
 #import <iTunesLibrary/ITLibMediaEntity.h>
@@ -123,8 +123,8 @@
 /*! @abstract The name or title of this playlist. */
 @property (readonly, nonatomic, copy) NSString* name;
 
-/*! @abstract Whether this playlist is a master playlist. */
-@property (readonly, nonatomic, assign, getter=isMaster) BOOL master;
+/*! @abstract Whether this playlist is the primary playlist. */
+@property (readonly, nonatomic, assign, getter=isPrimary) BOOL primary API_AVAILABLE(macos(12.0));
 
 /*! @abstract The unique identifier of this playlist' parent. */
 @property (readonly, nonatomic, retain, nullable) NSNumber* parentID;
@@ -144,6 +144,9 @@
 /*! @abstract The kind of this playlist. */
 @property (readonly, nonatomic, assign) ITLibPlaylistKind kind;
 
+/*! @abstract Whether this playlist is the primary playlist. */
+@property (readonly, nonatomic, assign, getter=isMaster) BOOL master API_DEPRECATED_WITH_REPLACEMENT("primary", macos(10.6, API_TO_BE_DEPRECATED));
+
 @end
 
 /*!
@@ -158,8 +161,8 @@
 /*! @constant ITLibPlaylistPropertyDistinguisedKind. */
 ITLIB_EXPORT ITLIB_EXTERN NSString * const ITLibPlaylistPropertyDistinguisedKind;
 
-/*! @constant ITLibPlaylistPropertyMaster. */
-ITLIB_EXPORT ITLIB_EXTERN NSString * const ITLibPlaylistPropertyMaster;
+/*! @constant ITLibPlaylistPropertyPrimary. */
+ITLIB_EXPORT ITLIB_EXTERN NSString * const ITLibPlaylistPropertyPrimary API_AVAILABLE(macos(12.0));
 
 /*! @constant ITLibPlaylistPropertyParentPersistentID. */
 ITLIB_EXPORT ITLIB_EXTERN NSString * const ITLibPlaylistPropertyParentPersistentID;
@@ -173,4 +176,7 @@
 /*! @constant ITLibPlaylistPropertyFolder. */
 ITLIB_EXPORT ITLIB_EXTERN NSString * const ITLibPlaylistPropertyKind;
 
+/*! @constant ITLibPlaylistPropertyMaster. */
+ITLIB_EXPORT ITLIB_EXTERN NSString * const ITLibPlaylistPropertyMaster API_DEPRECATED_WITH_REPLACEMENT("ITLibPlaylistPropertyPrimary", macos(10.6, API_TO_BE_DEPRECATED));
+
 NS_ASSUME_NONNULL_END
Clone this wiki locally