Skip to content

iTunesLibrary macOS xcode14.0 beta5

tj_devel709 edited this page Aug 18, 2022 · 3 revisions

#iTunesLibrary.framework ##TJ

diff -ruN /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/iTunesLibrary.framework/Headers/ITLibrary.h /Applications/Xcode_14.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/iTunesLibrary.framework/Headers/ITLibrary.h
--- /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/iTunesLibrary.framework/Headers/ITLibrary.h	2022-07-22 10:05:11.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/iTunesLibrary.framework/Headers/ITLibrary.h	2022-08-05 13:40:35.000000000 -0400
@@ -24,7 +24,7 @@
     @enum           ITLibExportFeature
     @abstract       These constants describe the features supported by a given iTunes library.
     @constant       ITLibExportFeatureNone
-                        No features are supported
+					No features are supported
 */
 typedef NS_ENUM( NSUInteger, ITLibExportFeature )
 {
@@ -33,11 +33,13 @@
 } API_UNAVAILABLE(ios);
 
 /*!
- @enum           ITLibInitOptions
- @abstract       These constants describe the options that can be passed supported by a given iTunes library.
- @constant       ITLibExportFeatureNone
- No features are supported
- */
+	@enum           ITLibInitOptions
+	@abstract       These constants describe the options that can be passed supported by a given iTunes library.
+	@constant       ITLibInitOptionNone
+					Load the library immediately on ITLibrary instance creation.
+	@constant		ITLibInitOptionLazyLoadData
+					Don't load the library until the first request for data.
+*/
 typedef NS_ENUM( NSUInteger, ITLibInitOptions )
 {
 	ITLibInitOptionNone = 0,
@@ -47,6 +49,14 @@
 
 } API_UNAVAILABLE(ios);
 
+/*!
+	@constant		ITLibraryDidChangeNotification
+	@abstract		This notification is sent to NSDistributedNotificationCenter when a change has occurred in the library.
+					The client should call [ITLibrary -reloadData] if it wants a new view of the library contents.
+	@note			This is not a fine-grained notification.  This API does not support per-object change notifications.
+*/
+ITLIB_EXPORT ITLIB_EXTERN NSNotificationName const ITLibraryDidChangeNotification API_AVAILABLE(macos(13.0));
+
 /*! 
 	@abstract A class representing an iTunes library whose metadata is being queried.
 */
Clone this wiki locally