CoreServices macOS 11.3 to 12.0 API Differences

../Frameworks/LaunchServices.framework/Headers/LSInfo.h
Modified LSCopyDefaultApplicationURLForURL()
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[NSWorkspace URLForApplicationToOpenURL:] instead.

Modified LSCopyDefaultApplicationURLForContentType()
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[NSWorkspace URLForApplicationToOpenContentType:] instead.

Modified LSCopyApplicationURLsForBundleIdentifier()
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[NSWorkspace URLsForApplicationsWithBundleIdentifier:] instead.

Modified LSCopyApplicationURLsForURL()
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[NSWorkspace URLsForApplicationsToOpenURL:] instead.

Modified LSCopyDefaultRoleHandlerForContentType()
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[NSWorkspace URLForApplicationToOpenContentType:] instead.

Modified LSCopyAllRoleHandlersForContentType()
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[NSWorkspace URLsForApplicationsToOpenContentType:] instead.

Modified LSSetDefaultRoleHandlerForContentType()
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[NSWorkspace setDefaultApplicationAtURL:toOpenContentType:completionHandler:] instead.

Modified LSSetDefaultHandlerForURLScheme()
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[NSWorkspace setDefaultApplicationAtURL:toOpenURLsWithScheme:completionHandler:] instead.

../Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h
Modified LSSharedFileListChangedProcPtr
Declaration
Fromtypedef void (*LSSharedFileListChangedProcPtr)(LSSharedFileListRef inList, void *context)
Totypedef void (*LSSharedFileListChangedProcPtr)(LSSharedFileListRef inList, void *context)

Modified LSSharedFileListCreate()
Declaration
FromLSSharedFileListRef LSSharedFileListCreate(CFAllocatorRef inAllocator, CFStringRef inListType, CFTypeRef listOptions)
ToLSSharedFileListRef LSSharedFileListCreate(CFAllocatorRef inAllocator, CFStringRef inListType, CFTypeRef listOptions)

Modified LSSharedFileListSetAuthorization()
Declaration
FromOSStatus LSSharedFileListSetAuthorization(LSSharedFileListRef inList, AuthorizationRef inAuthorization)
ToOSStatus LSSharedFileListSetAuthorization(LSSharedFileListRef inList, AuthorizationRef inAuthorization)

Modified LSSharedFileListAddObserver()
Declaration
Fromvoid LSSharedFileListAddObserver(LSSharedFileListRef inList, CFRunLoopRef inRunloop, CFStringRef inRunloopMode, LSSharedFileListChangedProcPtr callback, void *context)
Tovoid LSSharedFileListAddObserver(LSSharedFileListRef inList, CFRunLoopRef inRunloop, CFStringRef inRunloopMode, LSSharedFileListChangedProcPtr callback, void *context)

Modified LSSharedFileListRemoveObserver()
Declaration
Fromvoid LSSharedFileListRemoveObserver(LSSharedFileListRef inList, CFRunLoopRef inRunloop, CFStringRef inRunloopMode, LSSharedFileListChangedProcPtr callback, void *context)
Tovoid LSSharedFileListRemoveObserver(LSSharedFileListRef inList, CFRunLoopRef inRunloop, CFStringRef inRunloopMode, LSSharedFileListChangedProcPtr callback, void *context)

Modified LSSharedFileListGetSeedValue()
Declaration
FromUInt32 LSSharedFileListGetSeedValue(LSSharedFileListRef inList)
ToUInt32 LSSharedFileListGetSeedValue(LSSharedFileListRef inList)

Modified LSSharedFileListCopyProperty()
Declaration
FromCFTypeRef LSSharedFileListCopyProperty(LSSharedFileListRef inList, CFStringRef inPropertyName)
ToCFTypeRef LSSharedFileListCopyProperty(LSSharedFileListRef inList, CFStringRef inPropertyName)

Modified LSSharedFileListSetProperty()
Declaration
FromOSStatus LSSharedFileListSetProperty(LSSharedFileListRef inList, CFStringRef inPropertyName, CFTypeRef inPropertyData)
ToOSStatus LSSharedFileListSetProperty(LSSharedFileListRef inList, CFStringRef inPropertyName, CFTypeRef inPropertyData)

Modified LSSharedFileListCopySnapshot()
Declaration
FromCFArrayRef LSSharedFileListCopySnapshot(LSSharedFileListRef inList, UInt32 *outSnapshotSeed)
ToCFArrayRef LSSharedFileListCopySnapshot(LSSharedFileListRef inList, UInt32 *outSnapshotSeed)

Modified LSSharedFileListInsertItemURL()
Declaration
FromLSSharedFileListItemRef LSSharedFileListInsertItemURL(LSSharedFileListRef inList, LSSharedFileListItemRef insertAfterThisItem, CFStringRef inDisplayName, IconRef inIconRef, CFURLRef inURL, CFDictionaryRef inPropertiesToSet, CFArrayRef inPropertiesToClear)
ToLSSharedFileListItemRef LSSharedFileListInsertItemURL(LSSharedFileListRef inList, LSSharedFileListItemRef insertAfterThisItem, CFStringRef inDisplayName, IconRef inIconRef, CFURLRef inURL, CFDictionaryRef inPropertiesToSet, CFArrayRef inPropertiesToClear)

Modified LSSharedFileListInsertItemFSRef()
Declaration
FromLSSharedFileListItemRef LSSharedFileListInsertItemFSRef(LSSharedFileListRef inList, LSSharedFileListItemRef insertAfterThisItem, CFStringRef inDisplayName, IconRef inIconRef, const FSRef *inFSRef, CFDictionaryRef inPropertiesToSet, CFArrayRef inPropertiesToClear)
ToLSSharedFileListItemRef LSSharedFileListInsertItemFSRef(LSSharedFileListRef inList, LSSharedFileListItemRef insertAfterThisItem, CFStringRef inDisplayName, IconRef inIconRef, const FSRef *inFSRef, CFDictionaryRef inPropertiesToSet, CFArrayRef inPropertiesToClear)

Modified LSSharedFileListItemMove()
Declaration
FromOSStatus LSSharedFileListItemMove(LSSharedFileListRef inList, LSSharedFileListItemRef inItem, LSSharedFileListItemRef inMoveAfterItem)
ToOSStatus LSSharedFileListItemMove(LSSharedFileListRef inList, LSSharedFileListItemRef inItem, LSSharedFileListItemRef inMoveAfterItem)

Modified LSSharedFileListItemRemove()
Declaration
FromOSStatus LSSharedFileListItemRemove(LSSharedFileListRef inList, LSSharedFileListItemRef inItem)
ToOSStatus LSSharedFileListItemRemove(LSSharedFileListRef inList, LSSharedFileListItemRef inItem)

Modified LSSharedFileListRemoveAllItems()
Declaration
FromOSStatus LSSharedFileListRemoveAllItems(LSSharedFileListRef inList)
ToOSStatus LSSharedFileListRemoveAllItems(LSSharedFileListRef inList)

Modified LSSharedFileListItemGetID()
Declaration
FromUInt32 LSSharedFileListItemGetID(LSSharedFileListItemRef inItem)
ToUInt32 LSSharedFileListItemGetID(LSSharedFileListItemRef inItem)

Modified LSSharedFileListItemCopyIconRef()
Declaration
FromIconRef LSSharedFileListItemCopyIconRef(LSSharedFileListItemRef inItem)
ToIconRef LSSharedFileListItemCopyIconRef(LSSharedFileListItemRef inItem)

Modified LSSharedFileListItemCopyDisplayName()
Declaration
FromCFStringRef LSSharedFileListItemCopyDisplayName(LSSharedFileListItemRef inItem)
ToCFStringRef LSSharedFileListItemCopyDisplayName(LSSharedFileListItemRef inItem)

Modified LSSharedFileListItemResolve()
Declaration
FromOSStatus LSSharedFileListItemResolve(LSSharedFileListItemRef inItem, LSSharedFileListResolutionFlags inFlags, CFURLRef *outURL, FSRef *outRef)
ToOSStatus LSSharedFileListItemResolve(LSSharedFileListItemRef inItem, LSSharedFileListResolutionFlags inFlags, CFURLRef _Nullable *outURL, FSRef *outRef)

Modified LSSharedFileListItemCopyResolvedURL()
Declaration
FromCFURLRef LSSharedFileListItemCopyResolvedURL(LSSharedFileListItemRef inItem, LSSharedFileListResolutionFlags inFlags, CFErrorRef *outError)
ToCFURLRef LSSharedFileListItemCopyResolvedURL(LSSharedFileListItemRef inItem, LSSharedFileListResolutionFlags inFlags, CFErrorRef _Nullable *outError)

Modified LSSharedFileListItemCopyProperty()
Declaration
FromCFTypeRef LSSharedFileListItemCopyProperty(LSSharedFileListItemRef inItem, CFStringRef inPropertyName)
ToCFTypeRef LSSharedFileListItemCopyProperty(LSSharedFileListItemRef inItem, CFStringRef inPropertyName)

Modified LSSharedFileListItemSetProperty()
Declaration
FromOSStatus LSSharedFileListItemSetProperty(LSSharedFileListItemRef inItem, CFStringRef inPropertyName, CFTypeRef inPropertyData)
ToOSStatus LSSharedFileListItemSetProperty(LSSharedFileListItemRef inItem, CFStringRef inPropertyName, CFTypeRef inPropertyData)