objcjs-types 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AVFAudio/AVAudioApplication.d.ts +3 -3
- package/dist/AVFAudio/AVAudioConverter.d.ts +1 -1
- package/dist/AVFAudio/AVAudioEngine.d.ts +5 -5
- package/dist/AVFAudio/AVAudioInputNode.d.ts +3 -2
- package/dist/AVFAudio/AVAudioNode.d.ts +2 -2
- package/dist/AVFAudio/AVAudioPCMBuffer.d.ts +1 -1
- package/dist/AVFAudio/AVAudioPlayerNode.d.ts +8 -9
- package/dist/AVFAudio/AVAudioRoutingArbiter.d.ts +2 -2
- package/dist/AVFAudio/AVAudioSequencer.d.ts +1 -1
- package/dist/AVFAudio/AVAudioSession.d.ts +3 -2
- package/dist/AVFAudio/AVAudioSinkNode.d.ts +1 -1
- package/dist/AVFAudio/AVAudioSourceNode.d.ts +2 -2
- package/dist/AVFAudio/AVAudioUnit.d.ts +2 -1
- package/dist/AVFAudio/AVAudioUnitComponentManager.d.ts +2 -1
- package/dist/AVFAudio/AVMIDIPlayer.d.ts +1 -1
- package/dist/AVFAudio/AVMusicTrack.d.ts +1 -1
- package/dist/AVFAudio/AVSpeechSynthesisProviderAudioUnit.d.ts +2 -3
- package/dist/AVFAudio/AVSpeechSynthesizer.d.ts +4 -4
- package/dist/AVFoundation/AVAsset.d.ts +9 -8
- package/dist/AVFoundation/AVAssetExportSession.d.ts +5 -6
- package/dist/AVFoundation/AVAssetImageGenerator.d.ts +4 -2
- package/dist/AVFoundation/AVAssetPlaybackAssistant.d.ts +2 -2
- package/dist/AVFoundation/AVAssetTrack.d.ts +5 -5
- package/dist/AVFoundation/AVAssetWriter.d.ts +1 -1
- package/dist/AVFoundation/AVAssetWriterInput.d.ts +2 -2
- package/dist/AVFoundation/AVAsynchronousKeyValueLoading.d.ts +1 -1
- package/dist/AVFoundation/AVCaptionConversionValidator.d.ts +2 -2
- package/dist/AVFoundation/AVCaptureDeskViewApplication.d.ts +3 -3
- package/dist/AVFoundation/AVCaptureDevice.d.ts +8 -7
- package/dist/AVFoundation/AVCaptureIndexPicker.d.ts +2 -3
- package/dist/AVFoundation/AVCapturePhotoOutput.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureSlider.d.ts +1 -2
- package/dist/AVFoundation/AVCaptureStillImageOutput.d.ts +5 -3
- package/dist/AVFoundation/AVCaptureSystemExposureBiasSlider.d.ts +1 -2
- package/dist/AVFoundation/AVCaptureSystemZoomSlider.d.ts +1 -2
- package/dist/AVFoundation/AVComposition.d.ts +3 -7
- package/dist/AVFoundation/AVContentKeyRequest.d.ts +1 -1
- package/dist/AVFoundation/AVContentKeySession.d.ts +4 -3
- package/dist/AVFoundation/AVError.d.ts +88 -0
- package/dist/AVFoundation/AVError.js +88 -0
- package/dist/AVFoundation/AVExternalStorageDevice.d.ts +1 -1
- package/dist/AVFoundation/AVFragmentedAsset.d.ts +3 -7
- package/dist/AVFoundation/AVFragmentedMovie.d.ts +3 -7
- package/dist/AVFoundation/AVMetadataItem.d.ts +3 -2
- package/dist/AVFoundation/AVMovie.d.ts +3 -6
- package/dist/AVFoundation/AVMutableComposition.d.ts +4 -7
- package/dist/AVFoundation/AVMutableMovie.d.ts +3 -6
- package/dist/AVFoundation/AVMutableVideoComposition.d.ts +4 -10
- package/dist/AVFoundation/AVPlaybackCoordinatorPlaybackControlDelegate.d.ts +4 -5
- package/dist/AVFoundation/AVPlayer.d.ts +6 -6
- package/dist/AVFoundation/AVPlayerItem.d.ts +4 -4
- package/dist/AVFoundation/AVPlayerItemIntegratedTimeline.d.ts +4 -5
- package/dist/AVFoundation/AVQueuedSampleBufferRendering.d.ts +1 -1
- package/dist/AVFoundation/AVSampleBufferAudioRenderer.d.ts +1 -2
- package/dist/AVFoundation/AVSampleBufferDisplayLayer.d.ts +1 -1
- package/dist/AVFoundation/AVSampleBufferGenerator.d.ts +2 -1
- package/dist/AVFoundation/AVSampleBufferGeneratorBatch.d.ts +2 -2
- package/dist/AVFoundation/AVSampleBufferRenderSynchronizer.d.ts +3 -3
- package/dist/AVFoundation/AVSampleBufferVideoRenderer.d.ts +3 -2
- package/dist/AVFoundation/AVURLAsset.d.ts +2 -2
- package/dist/AVFoundation/AVVideoComposition.d.ts +6 -4
- package/dist/AVFoundation/index.d.ts +1 -0
- package/dist/AVFoundation/index.js +1 -0
- package/dist/AVKit/AVPictureInPictureControllerDelegate.d.ts +1 -2
- package/dist/AVKit/AVPictureInPictureSampleBufferPlaybackDelegate.d.ts +1 -2
- package/dist/AVKit/AVPlayerView.d.ts +2 -2
- package/dist/AVKit/AVPlayerViewDelegate.d.ts +1 -2
- package/dist/AVKit/AVPlayerViewPictureInPictureDelegate.d.ts +1 -2
- package/dist/AVRouting/AVCustomRoutingControllerDelegate.d.ts +1 -2
- package/dist/Accessibility/AXBrailleMapRenderer.d.ts +3 -3
- package/dist/Accessibility/AXCustomContentProvider.d.ts +2 -3
- package/dist/Accessibility/AXNumericDataAxisDescriptor.d.ts +4 -5
- package/dist/Accessibility/functions.d.ts +2 -2
- package/dist/Accessibility/functions.js +1 -1
- package/dist/AccessorySetupKit/ASAccessorySession.d.ts +12 -10
- package/dist/AccessorySetupKit/ASErrorCode.d.ts +15 -0
- package/dist/AccessorySetupKit/ASErrorCode.js +15 -0
- package/dist/AccessorySetupKit/index.d.ts +1 -0
- package/dist/AccessorySetupKit/index.js +1 -0
- package/dist/Accounts/ACAccountStore.d.ts +7 -6
- package/dist/AdServices/AAAttributionErrorCode.d.ts +6 -0
- package/dist/AdServices/AAAttributionErrorCode.js +6 -0
- package/dist/AdServices/index.d.ts +1 -0
- package/dist/AdServices/index.js +1 -0
- package/dist/AppKit/NSAccessibilityCustomAction.d.ts +3 -4
- package/dist/AppKit/NSAlert.d.ts +1 -1
- package/dist/AppKit/NSAnimationContext.d.ts +4 -5
- package/dist/AppKit/NSAppearance.d.ts +1 -2
- package/dist/AppKit/NSApplication.d.ts +3 -2
- package/dist/AppKit/NSApplicationDelegate.d.ts +1 -1
- package/dist/AppKit/NSButton.d.ts +3 -2
- package/dist/AppKit/NSCandidateListTouchBarItem.d.ts +3 -2
- package/dist/AppKit/NSCell.d.ts +3 -2
- package/dist/AppKit/NSCollectionLayoutGroup.d.ts +2 -2
- package/dist/AppKit/NSCollectionLayoutSection.d.ts +4 -3
- package/dist/AppKit/NSCollectionView.d.ts +1 -1
- package/dist/AppKit/NSCollectionViewCompositionalLayout.d.ts +3 -3
- package/dist/AppKit/NSCollectionViewDiffableDataSource.d.ts +6 -3
- package/dist/AppKit/NSColor.d.ts +2 -1
- package/dist/AppKit/NSColorSampler.d.ts +2 -2
- package/dist/AppKit/NSControlStateValue.d.ts +6 -0
- package/dist/AppKit/NSControlStateValue.js +6 -0
- package/dist/AppKit/NSCursor.d.ts +2 -2
- package/dist/AppKit/NSCursorFrameResizePosition.d.ts +11 -0
- package/dist/AppKit/NSCursorFrameResizePosition.js +11 -0
- package/dist/AppKit/NSCustomImageRep.d.ts +3 -2
- package/dist/AppKit/NSDocument.d.ts +20 -20
- package/dist/AppKit/NSDocumentController.d.ts +4 -4
- package/dist/AppKit/NSDraggingInfo.d.ts +2 -1
- package/dist/AppKit/NSDraggingItem.d.ts +2 -2
- package/dist/AppKit/NSDraggingSession.d.ts +2 -1
- package/dist/AppKit/NSEvent.d.ts +3 -3
- package/dist/AppKit/NSFilePromiseProviderDelegate.d.ts +2 -2
- package/dist/AppKit/NSFilePromiseReceiver.d.ts +2 -2
- package/dist/AppKit/NSFontAssetRequest.d.ts +2 -2
- package/dist/AppKit/NSImage.d.ts +1 -1
- package/dist/AppKit/NSLayoutManager.d.ts +2 -2
- package/dist/AppKit/NSMenu.d.ts +2 -2
- package/dist/AppKit/NSMenuItem.d.ts +3 -2
- package/dist/AppKit/NSModalResponse.d.ts +11 -0
- package/dist/AppKit/NSModalResponse.js +11 -0
- package/dist/AppKit/NSPDFPanel.d.ts +1 -2
- package/dist/AppKit/NSPageLayout.d.ts +2 -1
- package/dist/AppKit/NSPasteboard.d.ts +4 -3
- package/dist/AppKit/NSPasteboardItem.d.ts +5 -3
- package/dist/AppKit/NSPrintPanel.d.ts +2 -1
- package/dist/AppKit/NSSavePanel.d.ts +2 -2
- package/dist/AppKit/NSScrubber.d.ts +1 -1
- package/dist/AppKit/NSSharingService.d.ts +1 -2
- package/dist/AppKit/NSSliderAccessoryBehavior.d.ts +1 -1
- package/dist/AppKit/NSSpellChecker.d.ts +3 -3
- package/dist/AppKit/NSStepperTouchBarItem.d.ts +2 -1
- package/dist/AppKit/NSStoryboard.d.ts +3 -2
- package/dist/AppKit/NSStoryboardSegue.d.ts +1 -1
- package/dist/AppKit/NSSwitch.d.ts +3 -2
- package/dist/AppKit/NSTableView.d.ts +1 -1
- package/dist/AppKit/NSTableViewDiffableDataSource.d.ts +9 -6
- package/dist/AppKit/NSTableViewRowAction.d.ts +1 -2
- package/dist/AppKit/NSTextContentManager.d.ts +3 -3
- package/dist/AppKit/NSTextElementProvider.d.ts +4 -3
- package/dist/AppKit/NSTextInsertionIndicator.d.ts +2 -3
- package/dist/AppKit/NSTextLayoutManager.d.ts +5 -5
- package/dist/AppKit/NSTextSelectionDataSource.d.ts +4 -3
- package/dist/AppKit/NSTextStorageObserving.d.ts +1 -2
- package/dist/AppKit/NSToolbarItem.d.ts +3 -2
- package/dist/AppKit/NSToolbarItemVisibilityPriority.d.ts +7 -0
- package/dist/AppKit/NSToolbarItemVisibilityPriority.js +7 -0
- package/dist/AppKit/NSUserInterfaceItemSearching.d.ts +1 -1
- package/dist/AppKit/NSView.d.ts +1 -1
- package/dist/AppKit/NSViewController.d.ts +1 -1
- package/dist/AppKit/NSWindow.d.ts +7 -6
- package/dist/AppKit/NSWindowLevel.d.ts +13 -0
- package/dist/AppKit/NSWindowLevel.js +13 -0
- package/dist/AppKit/NSWorkspace.d.ts +12 -10
- package/dist/AppKit/NSWritingToolsCoordinatorAnimationParameters.d.ts +4 -5
- package/dist/AppKit/NSWritingToolsCoordinatorDelegate.d.ts +16 -14
- package/dist/AppKit/index.d.ts +5 -0
- package/dist/AppKit/index.js +5 -0
- package/dist/AppTrackingTransparency/ATTrackingManager.d.ts +1 -2
- package/dist/AudioToolbox/AUAudioUnit.d.ts +20 -19
- package/dist/AudioToolbox/AUMessageChannel.d.ts +2 -3
- package/dist/AudioToolbox/AUParameterNode.d.ts +14 -13
- package/dist/AudioToolbox/functions.d.ts +11 -11
- package/dist/AudioToolbox/functions.js +11 -11
- package/dist/AudioVideoBridging/AVB17221ACMPInterface.d.ts +2 -1
- package/dist/AudioVideoBridging/AVB17221AECPInterface.d.ts +3 -2
- package/dist/AuthenticationServices/ASAccountAuthenticationModificationExtensionContext.d.ts +2 -2
- package/dist/AuthenticationServices/ASAuthorizationAppleIDProvider.d.ts +3 -2
- package/dist/AuthenticationServices/ASAuthorizationError.d.ts +14 -0
- package/dist/AuthenticationServices/ASAuthorizationError.js +14 -0
- package/dist/AuthenticationServices/ASAuthorizationProviderExtensionAuthorizationRequest.d.ts +1 -2
- package/dist/AuthenticationServices/ASAuthorizationProviderExtensionLoginConfiguration.d.ts +2 -1
- package/dist/AuthenticationServices/ASAuthorizationProviderExtensionLoginManager.d.ts +6 -4
- package/dist/AuthenticationServices/ASAuthorizationProviderExtensionRegistrationHandler.d.ts +8 -5
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialParameters.d.ts +3 -2
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserPublicKeyCredentialManager.d.ts +3 -3
- package/dist/AuthenticationServices/ASCOSEAlgorithmIdentifier.d.ts +4 -0
- package/dist/AuthenticationServices/ASCOSEAlgorithmIdentifier.js +4 -0
- package/dist/AuthenticationServices/ASCOSEEllipticCurveIdentifier.d.ts +4 -0
- package/dist/AuthenticationServices/ASCOSEEllipticCurveIdentifier.js +4 -0
- package/dist/AuthenticationServices/ASCredentialIdentityStore.d.ts +11 -10
- package/dist/AuthenticationServices/ASCredentialIdentityStoreErrorCode.d.ts +6 -0
- package/dist/AuthenticationServices/ASCredentialIdentityStoreErrorCode.js +6 -0
- package/dist/AuthenticationServices/ASCredentialProviderExtensionContext.d.ts +6 -7
- package/dist/AuthenticationServices/ASExtensionErrorCode.d.ts +8 -0
- package/dist/AuthenticationServices/ASExtensionErrorCode.js +8 -0
- package/dist/AuthenticationServices/ASSettingsHelper.d.ts +4 -4
- package/dist/AuthenticationServices/ASWebAuthenticationSession.d.ts +3 -3
- package/dist/AuthenticationServices/ASWebAuthenticationSessionErrorCode.d.ts +6 -0
- package/dist/AuthenticationServices/ASWebAuthenticationSessionErrorCode.js +6 -0
- package/dist/AuthenticationServices/index.d.ts +6 -0
- package/dist/AuthenticationServices/index.js +6 -0
- package/dist/AutomaticAssessmentConfiguration/AEAssessmentErrorCode.d.ts +8 -0
- package/dist/AutomaticAssessmentConfiguration/AEAssessmentErrorCode.js +8 -0
- package/dist/AutomaticAssessmentConfiguration/index.d.ts +1 -0
- package/dist/AutomaticAssessmentConfiguration/index.js +1 -0
- package/dist/BackgroundAssets/BAAssetPackManager.d.ts +9 -6
- package/dist/BackgroundAssets/BADownload.d.ts +2 -1
- package/dist/BackgroundAssets/BADownloadManager.d.ts +4 -3
- package/dist/BackgroundAssets/BADownloadManagerDelegate.d.ts +3 -2
- package/dist/BackgroundAssets/BADownloaderExtension.d.ts +3 -2
- package/dist/BackgroundAssets/BADownloaderPriority.d.ts +2 -0
- package/dist/BackgroundAssets/BADownloaderPriority.js +2 -0
- package/dist/BackgroundAssets/BAURLDownload.d.ts +3 -2
- package/dist/BackgroundAssets/index.d.ts +1 -0
- package/dist/BackgroundAssets/index.js +1 -0
- package/dist/BackgroundTasks/BGTask.d.ts +2 -3
- package/dist/BackgroundTasks/BGTaskScheduler.d.ts +4 -2
- package/dist/BackgroundTasks/BGTaskSchedulerErrorCode.d.ts +7 -0
- package/dist/BackgroundTasks/BGTaskSchedulerErrorCode.js +7 -0
- package/dist/BackgroundTasks/index.d.ts +1 -0
- package/dist/BackgroundTasks/index.js +1 -0
- package/dist/BrowserEngineKit/BEDownloadMonitor.d.ts +5 -4
- package/dist/BrowserEngineKit/BELayerHierarchyHandle.d.ts +1 -1
- package/dist/BrowserEngineKit/BELayerHierarchyHostingTransactionCoordinator.d.ts +1 -1
- package/dist/BrowserEngineKit/BENetworkingProcess.d.ts +4 -3
- package/dist/BrowserEngineKit/BERenderingProcess.d.ts +4 -3
- package/dist/BrowserEngineKit/BEWebContentFilter.d.ts +4 -3
- package/dist/BrowserEngineKit/BEWebContentProcess.d.ts +4 -3
- package/dist/CallKit/CXCallController.d.ts +4 -4
- package/dist/CallKit/CXCallDirectoryExtensionContext.d.ts +1 -2
- package/dist/CallKit/CXCallDirectoryManager.d.ts +5 -4
- package/dist/CallKit/CXErrorCode.d.ts +7 -0
- package/dist/CallKit/CXErrorCode.js +7 -0
- package/dist/CallKit/CXErrorCodeCallDirectoryManagerError.d.ts +12 -0
- package/dist/CallKit/CXErrorCodeCallDirectoryManagerError.js +12 -0
- package/dist/CallKit/CXErrorCodeIncomingCallError.d.ts +11 -0
- package/dist/CallKit/CXErrorCodeIncomingCallError.js +11 -0
- package/dist/CallKit/CXErrorCodeNotificationServiceExtensionError.d.ts +6 -0
- package/dist/CallKit/CXErrorCodeNotificationServiceExtensionError.js +6 -0
- package/dist/CallKit/CXErrorCodeRequestTransactionError.d.ts +12 -0
- package/dist/CallKit/CXErrorCodeRequestTransactionError.js +12 -0
- package/dist/CallKit/CXProvider.d.ts +3 -2
- package/dist/CallKit/index.d.ts +5 -0
- package/dist/CallKit/index.js +5 -0
- package/dist/Cinematic/CNAssetInfo.d.ts +3 -3
- package/dist/Cinematic/CNAssetSpatialAudioInfo.d.ts +3 -3
- package/dist/Cinematic/CNCinematicErrorCode.d.ts +10 -0
- package/dist/Cinematic/CNCinematicErrorCode.js +10 -0
- package/dist/Cinematic/CNRenderingSessionAttributes.d.ts +2 -2
- package/dist/Cinematic/CNScript.d.ts +2 -2
- package/dist/Cinematic/index.d.ts +1 -0
- package/dist/Cinematic/index.js +1 -0
- package/dist/ClassKit/CLSContext.d.ts +2 -1
- package/dist/ClassKit/CLSContextProvider.d.ts +2 -2
- package/dist/ClassKit/CLSDataStore.d.ts +5 -5
- package/dist/ClassKit/CLSErrorCode.d.ts +14 -0
- package/dist/ClassKit/CLSErrorCode.js +14 -0
- package/dist/ClassKit/index.d.ts +1 -0
- package/dist/ClassKit/index.js +1 -0
- package/dist/CloudKit/CKAcceptSharesOperation.d.ts +7 -5
- package/dist/CloudKit/CKContainer.d.ts +22 -16
- package/dist/CloudKit/CKDatabase.d.ts +14 -13
- package/dist/CloudKit/CKDiscoverAllUserIdentitiesOperation.d.ts +6 -5
- package/dist/CloudKit/CKDiscoverUserIdentitiesOperation.d.ts +7 -5
- package/dist/CloudKit/CKFetchDatabaseChangesOperation.d.ts +14 -13
- package/dist/CloudKit/CKFetchRecordChangesOperation.d.ts +10 -7
- package/dist/CloudKit/CKFetchRecordZoneChangesOperation.d.ts +19 -13
- package/dist/CloudKit/CKFetchRecordZonesOperation.d.ts +8 -5
- package/dist/CloudKit/CKFetchRecordsOperation.d.ts +10 -7
- package/dist/CloudKit/CKFetchShareMetadataOperation.d.ts +7 -5
- package/dist/CloudKit/CKFetchShareParticipantsOperation.d.ts +9 -7
- package/dist/CloudKit/CKFetchSubscriptionsOperation.d.ts +8 -5
- package/dist/CloudKit/CKFetchWebAuthTokenOperation.d.ts +3 -3
- package/dist/CloudKit/CKModifyRecordZonesOperation.d.ts +9 -7
- package/dist/CloudKit/CKModifyRecordsOperation.d.ts +13 -11
- package/dist/CloudKit/CKModifySubscriptionsOperation.d.ts +9 -7
- package/dist/CloudKit/CKOperation.d.ts +2 -3
- package/dist/CloudKit/CKQueryOperation.d.ts +9 -7
- package/dist/CloudKit/CKShareRequestAccessOperation.d.ts +6 -5
- package/dist/CloudKit/CKSyncEngine.d.ts +6 -6
- package/dist/CloudKit/CKSyncEngineRecordZoneChangeBatch.d.ts +3 -2
- package/dist/CloudKit/CKSystemSharingUIObserver.d.ts +7 -5
- package/dist/Collaboration/CBIdentityPicker.d.ts +1 -1
- package/dist/Contacts/CNContact.d.ts +1 -1
- package/dist/Contacts/CNContactStore.d.ts +3 -2
- package/dist/CoreAudio/functions.d.ts +3 -3
- package/dist/CoreAudio/functions.js +3 -3
- package/dist/CoreData/NSAsynchronousFetchRequest.d.ts +3 -3
- package/dist/CoreData/NSBatchInsertRequest.d.ts +12 -11
- package/dist/CoreData/NSCoreDataCoreSpotlightDelegate.d.ts +4 -4
- package/dist/CoreData/NSCustomMigrationStage.d.ts +5 -4
- package/dist/CoreData/NSManagedObjectContext.d.ts +2 -2
- package/dist/CoreData/NSPersistentCloudKitContainer.d.ts +8 -5
- package/dist/CoreData/NSPersistentContainer.d.ts +4 -3
- package/dist/CoreData/NSPersistentStoreCoordinator.d.ts +4 -3
- package/dist/CoreHaptics/CHHapticAdvancedPatternPlayer.d.ts +3 -2
- package/dist/CoreHaptics/CHHapticEngine.d.ts +10 -7
- package/dist/CoreHaptics/CHHapticErrorCode.d.ts +27 -0
- package/dist/CoreHaptics/CHHapticErrorCode.js +27 -0
- package/dist/CoreHaptics/index.d.ts +1 -0
- package/dist/CoreHaptics/index.js +1 -0
- package/dist/CoreImage/CIKernel.d.ts +1 -1
- package/dist/CoreImage/CIRenderDestination.d.ts +1 -1
- package/dist/CoreImage/CIWarpKernel.d.ts +1 -2
- package/dist/CoreLocation/CLBackgroundActivitySession.d.ts +2 -2
- package/dist/CoreLocation/CLGeocoder.d.ts +11 -9
- package/dist/CoreLocation/CLLocationManager.d.ts +6 -3
- package/dist/CoreLocation/CLLocationManagerDelegate.d.ts +2 -1
- package/dist/CoreLocation/CLLocationPushServiceError.d.ts +8 -0
- package/dist/CoreLocation/CLLocationPushServiceError.js +8 -0
- package/dist/CoreLocation/CLLocationPushServiceExtension.d.ts +1 -2
- package/dist/CoreLocation/CLLocationUpdater.d.ts +3 -3
- package/dist/CoreLocation/CLMonitor.d.ts +1 -2
- package/dist/CoreLocation/CLMonitorConfiguration.d.ts +4 -3
- package/dist/CoreLocation/CLRegionState.d.ts +6 -0
- package/dist/CoreLocation/CLRegionState.js +6 -0
- package/dist/CoreLocation/CLServiceSession.d.ts +3 -3
- package/dist/CoreLocation/index.d.ts +2 -0
- package/dist/CoreLocation/index.js +2 -0
- package/dist/CoreMIDI/MIDICIDiscoveryManager.d.ts +2 -2
- package/dist/CoreMIDI/MIDICISession.d.ts +6 -5
- package/dist/CoreMIDI/MIDIUMPMutableEndpoint.d.ts +1 -1
- package/dist/CoreMIDI/functions.d.ts +5 -5
- package/dist/CoreMIDI/functions.js +5 -5
- package/dist/CoreML/MLComputePlan.d.ts +3 -3
- package/dist/CoreML/MLModel.d.ts +7 -6
- package/dist/CoreML/MLModelAsset.d.ts +6 -3
- package/dist/CoreML/MLModelCollection.d.ts +3 -2
- package/dist/CoreML/MLModelStructure.d.ts +3 -3
- package/dist/CoreML/MLMultiArray.d.ts +3 -3
- package/dist/CoreML/MLState.d.ts +2 -2
- package/dist/CoreML/MLUpdateProgressHandlers.d.ts +2 -2
- package/dist/CoreML/MLUpdateTask.d.ts +3 -2
- package/dist/CoreMediaIO/CMIOExtensionStream.d.ts +2 -1
- package/dist/CoreMediaIO/functions.d.ts +2 -2
- package/dist/CoreMediaIO/functions.js +2 -2
- package/dist/CoreMotion/CMAltimeter.d.ts +5 -3
- package/dist/CoreMotion/CMBatchedSensorManager.d.ts +3 -3
- package/dist/CoreMotion/CMFallDetectionDelegate.d.ts +1 -2
- package/dist/CoreMotion/CMFallDetectionManager.d.ts +1 -2
- package/dist/CoreMotion/CMHeadphoneActivityManager.d.ts +5 -3
- package/dist/CoreMotion/CMHeadphoneMotionManager.d.ts +2 -2
- package/dist/CoreMotion/CMMotionActivityManager.d.ts +5 -3
- package/dist/CoreMotion/CMMotionManager.d.ts +7 -5
- package/dist/CoreMotion/CMMovementDisorderManager.d.ts +4 -3
- package/dist/CoreMotion/CMPedometer.d.ts +6 -4
- package/dist/CoreMotion/CMStepCounter.d.ts +3 -3
- package/dist/CoreSpotlight/CSSearchQuery.d.ts +5 -5
- package/dist/CoreSpotlight/CSSearchableIndex.d.ts +9 -9
- package/dist/CoreSpotlight/CSSearchableIndexDelegate.d.ts +3 -3
- package/dist/CoreSpotlight/CSUserQuery.d.ts +2 -3
- package/dist/CoreTelephony/CTCallCenter.d.ts +3 -2
- package/dist/CoreTelephony/CTCellularData.d.ts +2 -3
- package/dist/CoreTelephony/CTCellularPlanProvisioning.d.ts +5 -4
- package/dist/CoreTelephony/CTCellularPlanStatus.d.ts +3 -3
- package/dist/CoreTelephony/CTTelephonyNetworkInfo.d.ts +4 -5
- package/dist/CoreText/functions.d.ts +9 -9
- package/dist/CoreText/functions.js +9 -9
- package/dist/CryptoTokenKit/TKErrorCode.d.ts +15 -0
- package/dist/CryptoTokenKit/TKErrorCode.js +15 -0
- package/dist/CryptoTokenKit/TKSmartCard.d.ts +5 -4
- package/dist/CryptoTokenKit/TKSmartCardATR.d.ts +1 -2
- package/dist/CryptoTokenKit/TKSmartCardSlotManager.d.ts +4 -3
- package/dist/CryptoTokenKit/TKSmartCardUserInteraction.d.ts +2 -2
- package/dist/CryptoTokenKit/TKTokenWatcher.d.ts +3 -4
- package/dist/CryptoTokenKit/index.d.ts +1 -0
- package/dist/CryptoTokenKit/index.js +1 -0
- package/dist/DeviceCheck/DCAppAttestService.d.ts +4 -4
- package/dist/DeviceCheck/DCDevice.d.ts +3 -2
- package/dist/DeviceCheck/DCError.d.ts +8 -0
- package/dist/DeviceCheck/DCError.js +8 -0
- package/dist/DeviceCheck/index.d.ts +1 -0
- package/dist/DeviceCheck/index.js +1 -0
- package/dist/DeviceDiscoveryExtension/DDErrorCode.d.ts +12 -0
- package/dist/DeviceDiscoveryExtension/DDErrorCode.js +12 -0
- package/dist/DeviceDiscoveryExtension/index.d.ts +1 -0
- package/dist/DeviceDiscoveryExtension/index.js +1 -0
- package/dist/EventKit/EKEventStore.d.ts +7 -6
- package/dist/EventKit/EKVirtualConferenceProvider.d.ts +5 -3
- package/dist/ExecutionPolicy/EPDeveloperTool.d.ts +1 -2
- package/dist/ExecutionPolicy/EPError.d.ts +5 -0
- package/dist/ExecutionPolicy/EPError.js +5 -0
- package/dist/ExecutionPolicy/index.d.ts +1 -0
- package/dist/ExecutionPolicy/index.js +1 -0
- package/dist/ExternalAccessory/EAAccessoryManager.d.ts +2 -1
- package/dist/FSKit/FSBlockDeviceResource.d.ts +3 -2
- package/dist/FSKit/FSClient.d.ts +3 -2
- package/dist/FSKit/FSErrorCode.d.ts +10 -0
- package/dist/FSKit/FSErrorCode.js +10 -0
- package/dist/FSKit/FSFileSystemBase.d.ts +2 -2
- package/dist/FSKit/FSOperationID.d.ts +2 -0
- package/dist/FSKit/FSOperationID.js +2 -0
- package/dist/FSKit/FSTask.d.ts +2 -3
- package/dist/FSKit/FSUnaryFileSystemOperations.d.ts +6 -4
- package/dist/FSKit/FSVolumeAccessCheckOperations.d.ts +2 -2
- package/dist/FSKit/FSVolumeItemDeactivation.d.ts +2 -2
- package/dist/FSKit/FSVolumeKernelOffloadedIOOperations.d.ts +6 -5
- package/dist/FSKit/FSVolumeOpenCloseOperations.d.ts +3 -3
- package/dist/FSKit/FSVolumeOperations.d.ts +18 -17
- package/dist/FSKit/FSVolumePreallocateOperations.d.ts +2 -1
- package/dist/FSKit/FSVolumeReadWriteOperations.d.ts +3 -2
- package/dist/FSKit/FSVolumeRenameOperations.d.ts +2 -2
- package/dist/FSKit/FSVolumeXattrOperations.d.ts +4 -4
- package/dist/FSKit/index.d.ts +2 -0
- package/dist/FSKit/index.js +2 -0
- package/dist/FileProvider/NSFileProviderCustomAction.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderEnumerator.d.ts +1 -2
- package/dist/FileProvider/NSFileProviderErrorCode.d.ts +27 -0
- package/dist/FileProvider/NSFileProviderErrorCode.js +27 -0
- package/dist/FileProvider/NSFileProviderExtension.d.ts +14 -13
- package/dist/FileProvider/NSFileProviderExternalVolumeHandling.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderIncrementalContentFetching.d.ts +3 -2
- package/dist/FileProvider/NSFileProviderKnownFolderSupporting.d.ts +3 -2
- package/dist/FileProvider/NSFileProviderManager.d.ts +25 -23
- package/dist/FileProvider/NSFileProviderPartialContentFetching.d.ts +5 -2
- package/dist/FileProvider/NSFileProviderReplicatedExtension.d.ts +9 -9
- package/dist/FileProvider/NSFileProviderServicing.d.ts +3 -2
- package/dist/FileProvider/NSFileProviderThumbnailing.d.ts +4 -2
- package/dist/FileProvider/index.d.ts +1 -0
- package/dist/FileProvider/index.js +1 -0
- package/dist/FinderSync/FIFinderSync.d.ts +3 -1
- package/dist/FinderSync/FIFinderSyncController.d.ts +3 -3
- package/dist/Foundation/NSArray.d.ts +13 -13
- package/dist/Foundation/NSAttributedString.d.ts +2 -2
- package/dist/Foundation/NSBackgroundActivityScheduler.d.ts +2 -2
- package/dist/Foundation/NSBlockOperation.d.ts +3 -3
- package/dist/Foundation/NSBundleResourceRequest.d.ts +3 -3
- package/dist/Foundation/NSCalendar.d.ts +1 -1
- package/dist/Foundation/NSData.d.ts +2 -2
- package/dist/Foundation/NSDictionary.d.ts +6 -6
- package/dist/Foundation/NSError.d.ts +2 -2
- package/dist/Foundation/NSExpression.d.ts +2 -2
- package/dist/Foundation/NSExtensionContext.d.ts +2 -3
- package/dist/Foundation/NSFileCoordinator.d.ts +7 -6
- package/dist/Foundation/NSFileHandle.d.ts +4 -4
- package/dist/Foundation/NSFileManager.d.ts +9 -7
- package/dist/Foundation/NSFilePresenter.d.ts +7 -7
- package/dist/Foundation/NSFileProviderService.d.ts +3 -2
- package/dist/Foundation/NSFileVersion.d.ts +2 -1
- package/dist/Foundation/NSHTTPCookieStorage.d.ts +1 -2
- package/dist/Foundation/NSIndexSet.d.ts +12 -12
- package/dist/Foundation/NSItemProvider.d.ts +15 -12
- package/dist/Foundation/NSItemProviderWriting.d.ts +3 -2
- package/dist/Foundation/NSLinguisticTagger.d.ts +3 -3
- package/dist/Foundation/NSMetadataQuery.d.ts +2 -2
- package/dist/Foundation/NSMutableArray.d.ts +2 -2
- package/dist/Foundation/NSMutableOrderedSet.d.ts +3 -3
- package/dist/Foundation/NSNotificationCenter.d.ts +1 -1
- package/dist/Foundation/NSOperation.d.ts +2 -3
- package/dist/Foundation/NSOperationQueue.d.ts +2 -3
- package/dist/Foundation/NSOrderedCollectionDifference.d.ts +2 -2
- package/dist/Foundation/NSOrderedSet.d.ts +13 -13
- package/dist/Foundation/NSPredicate.d.ts +1 -1
- package/dist/Foundation/NSProcessInfo.d.ts +2 -3
- package/dist/Foundation/NSProgress.d.ts +8 -8
- package/dist/Foundation/NSRegularExpression.d.ts +2 -1
- package/dist/Foundation/NSRunLoop.d.ts +2 -2
- package/dist/Foundation/NSSet.d.ts +4 -4
- package/dist/Foundation/NSSortDescriptor.d.ts +3 -3
- package/dist/Foundation/NSString.d.ts +6 -5
- package/dist/Foundation/NSTask.d.ts +3 -3
- package/dist/Foundation/NSThread.d.ts +2 -2
- package/dist/Foundation/NSTimer.d.ts +3 -3
- package/dist/Foundation/NSURLCache.d.ts +1 -2
- package/dist/Foundation/NSURLConnection.d.ts +3 -1
- package/dist/Foundation/NSURLCredentialStorage.d.ts +2 -3
- package/dist/Foundation/NSURLSession.d.ts +14 -13
- package/dist/Foundation/NSURLSessionDataDelegate.d.ts +3 -3
- package/dist/Foundation/NSURLSessionDelegate.d.ts +3 -2
- package/dist/Foundation/NSURLSessionDownloadTask.d.ts +2 -2
- package/dist/Foundation/NSURLSessionStreamTask.d.ts +3 -3
- package/dist/Foundation/NSURLSessionTaskDelegate.d.ts +9 -6
- package/dist/Foundation/NSURLSessionUploadTask.d.ts +2 -2
- package/dist/Foundation/NSURLSessionWebSocketTask.d.ts +4 -4
- package/dist/Foundation/NSUndoManager.d.ts +1 -1
- package/dist/Foundation/NSUserActivity.d.ts +6 -4
- package/dist/Foundation/NSUserAppleScriptTask.d.ts +2 -2
- package/dist/Foundation/NSUserAutomatorTask.d.ts +2 -1
- package/dist/Foundation/NSUserScriptTask.d.ts +2 -1
- package/dist/Foundation/NSUserUnixTask.d.ts +2 -2
- package/dist/Foundation/NSXPCConnection.d.ts +8 -7
- package/dist/Foundation/NSXPCProxyCreating.d.ts +3 -2
- package/dist/GLKit/GLKTextureLoader.d.ts +9 -8
- package/dist/GameController/GCAxis2DInput.d.ts +3 -3
- package/dist/GameController/GCAxisInput.d.ts +3 -3
- package/dist/GameController/GCController.d.ts +3 -3
- package/dist/GameController/GCControllerAxisInput.d.ts +2 -3
- package/dist/GameController/GCControllerButtonInput.d.ts +6 -7
- package/dist/GameController/GCControllerDirectionPad.d.ts +2 -3
- package/dist/GameController/GCControllerTouchpad.d.ts +6 -7
- package/dist/GameController/GCDevicePhysicalInput.d.ts +5 -5
- package/dist/GameController/GCExtendedGamepad.d.ts +3 -3
- package/dist/GameController/GCGamepad.d.ts +3 -3
- package/dist/GameController/GCKeyboardInput.d.ts +2 -2
- package/dist/GameController/GCLinearInput.d.ts +3 -3
- package/dist/GameController/GCMicroGamepad.d.ts +3 -3
- package/dist/GameController/GCMotion.d.ts +2 -3
- package/dist/GameController/GCMouseInput.d.ts +2 -3
- package/dist/GameController/GCPhysicalInputProfile.d.ts +2 -3
- package/dist/GameController/GCPressedStateInput.d.ts +3 -3
- package/dist/GameController/GCRelativeInput.d.ts +3 -3
- package/dist/GameController/GCSwitchPositionInput.d.ts +3 -3
- package/dist/GameController/GCTouchedStateInput.d.ts +3 -3
- package/dist/GameKit/GKAccessPoint.d.ts +13 -14
- package/dist/GameKit/GKAchievement.d.ts +11 -11
- package/dist/GameKit/GKAchievementDescription.d.ts +4 -3
- package/dist/GameKit/GKChallenge.d.ts +3 -2
- package/dist/GameKit/GKChallengeDefinition.d.ts +5 -4
- package/dist/GameKit/GKCloudPlayer.d.ts +2 -2
- package/dist/GameKit/GKGameActivity.d.ts +5 -3
- package/dist/GameKit/GKGameActivityDefinition.d.ts +7 -6
- package/dist/GameKit/GKGameActivityListener.d.ts +1 -2
- package/dist/GameKit/GKGameSession.d.ts +13 -12
- package/dist/GameKit/GKLeaderboard.d.ts +14 -12
- package/dist/GameKit/GKLeaderboardEntry.d.ts +2 -3
- package/dist/GameKit/GKLeaderboardSet.d.ts +7 -5
- package/dist/GameKit/GKLocalPlayer.d.ts +24 -20
- package/dist/GameKit/GKMatch.d.ts +5 -3
- package/dist/GameKit/GKMatchRequest.d.ts +6 -4
- package/dist/GameKit/GKMatchmaker.d.ts +17 -15
- package/dist/GameKit/GKMatchmakerViewControllerDelegate.d.ts +1 -1
- package/dist/GameKit/GKNotificationBanner.d.ts +2 -3
- package/dist/GameKit/GKPlayer.d.ts +4 -3
- package/dist/GameKit/GKSavedGame.d.ts +3 -2
- package/dist/GameKit/GKScore.d.ts +8 -8
- package/dist/GameKit/GKTurnBasedExchange.d.ts +3 -3
- package/dist/GameKit/GKTurnBasedMatch.d.ts +22 -21
- package/dist/GameKit/GKVoiceChat.d.ts +5 -5
- package/dist/GameSave/GSSyncedDirectory.d.ts +3 -4
- package/dist/GameplayKit/GKRule.d.ts +1 -2
- package/dist/HealthKit/HKActivitySummaryQuery.d.ts +5 -4
- package/dist/HealthKit/HKAnchoredObjectQuery.d.ts +6 -6
- package/dist/HealthKit/HKAttachmentStore.d.ts +8 -6
- package/dist/HealthKit/HKCorrelationQuery.d.ts +3 -2
- package/dist/HealthKit/HKDocumentQuery.d.ts +2 -2
- package/dist/HealthKit/HKElectrocardiogramQuery.d.ts +3 -2
- package/dist/HealthKit/HKHealthStore.d.ts +25 -22
- package/dist/HealthKit/HKHeartbeatSeriesBuilder.d.ts +5 -4
- package/dist/HealthKit/HKHeartbeatSeriesQuery.d.ts +2 -2
- package/dist/HealthKit/HKObserverQuery.d.ts +4 -3
- package/dist/HealthKit/HKQuantitySeriesSampleBuilder.d.ts +4 -2
- package/dist/HealthKit/HKQuantitySeriesSampleQuery.d.ts +6 -3
- package/dist/HealthKit/HKSampleQuery.d.ts +4 -4
- package/dist/HealthKit/HKSourceQuery.d.ts +3 -2
- package/dist/HealthKit/HKStatisticsCollection.d.ts +1 -1
- package/dist/HealthKit/HKStatisticsCollectionQuery.d.ts +7 -5
- package/dist/HealthKit/HKStatisticsQuery.d.ts +3 -2
- package/dist/HealthKit/HKUserAnnotatedMedicationQuery.d.ts +3 -2
- package/dist/HealthKit/HKVerifiableClinicalRecordQuery.d.ts +3 -3
- package/dist/HealthKit/HKWorkoutBuilder.d.ts +11 -10
- package/dist/HealthKit/HKWorkoutEffortRelationshipQuery.d.ts +3 -2
- package/dist/HealthKit/HKWorkoutRouteBuilder.d.ts +5 -4
- package/dist/HealthKit/HKWorkoutRouteQuery.d.ts +4 -3
- package/dist/HealthKit/HKWorkoutSession.d.ts +4 -3
- package/dist/IOUSBHost/IOUSBHostControllerInterface.d.ts +1 -1
- package/dist/IOUSBHost/IOUSBHostInterface.d.ts +1 -1
- package/dist/IOUSBHost/IOUSBHostObject.d.ts +5 -5
- package/dist/IOUSBHost/IOUSBHostPipe.d.ts +6 -6
- package/dist/IOUSBHost/IOUSBHostStream.d.ts +1 -1
- package/dist/IdentityLookup/ILMessageFilterCapabilitiesQueryHandling.d.ts +2 -2
- package/dist/IdentityLookup/ILMessageFilterError.d.ts +8 -0
- package/dist/IdentityLookup/ILMessageFilterError.js +8 -0
- package/dist/IdentityLookup/ILMessageFilterExtensionContext.d.ts +3 -2
- package/dist/IdentityLookup/ILMessageFilterQueryHandling.d.ts +2 -2
- package/dist/IdentityLookup/index.d.ts +1 -0
- package/dist/IdentityLookup/index.js +1 -0
- package/dist/ImageCaptureCore/ICCameraDevice.d.ts +5 -4
- package/dist/ImageCaptureCore/ICCameraFile.d.ts +8 -6
- package/dist/ImageCaptureCore/ICDevice.d.ts +4 -3
- package/dist/ImageCaptureCore/ICDeviceBrowser.d.ts +5 -4
- package/dist/ImageCaptureCore/ICLegacyReturnCode.d.ts +25 -0
- package/dist/ImageCaptureCore/ICLegacyReturnCode.js +25 -0
- package/dist/ImageCaptureCore/ICReturnCode.d.ts +43 -0
- package/dist/ImageCaptureCore/ICReturnCode.js +43 -0
- package/dist/ImageCaptureCore/ICReturnConnectionErrorCode.d.ts +11 -0
- package/dist/ImageCaptureCore/ICReturnConnectionErrorCode.js +11 -0
- package/dist/ImageCaptureCore/ICReturnDownloadErrorCode.d.ts +5 -0
- package/dist/ImageCaptureCore/ICReturnDownloadErrorCode.js +5 -0
- package/dist/ImageCaptureCore/ICReturnMetadataErrorCode.d.ts +7 -0
- package/dist/ImageCaptureCore/ICReturnMetadataErrorCode.js +7 -0
- package/dist/ImageCaptureCore/ICReturnObjectErrorCode.d.ts +8 -0
- package/dist/ImageCaptureCore/ICReturnObjectErrorCode.js +8 -0
- package/dist/ImageCaptureCore/ICReturnPTPDeviceErrorCode.d.ts +5 -0
- package/dist/ImageCaptureCore/ICReturnPTPDeviceErrorCode.js +5 -0
- package/dist/ImageCaptureCore/ICReturnThumbnailErrorCode.d.ts +7 -0
- package/dist/ImageCaptureCore/ICReturnThumbnailErrorCode.js +7 -0
- package/dist/ImageCaptureCore/index.d.ts +8 -0
- package/dist/ImageCaptureCore/index.js +8 -0
- package/dist/Intents/INActivateCarSignalIntentHandling.d.ts +7 -5
- package/dist/Intents/INAddMediaIntentHandling.d.ts +7 -5
- package/dist/Intents/INAddTasksIntentHandling.d.ts +17 -10
- package/dist/Intents/INAnswerCallIntentHandling.d.ts +3 -3
- package/dist/Intents/INAppendToNoteIntentHandling.d.ts +7 -5
- package/dist/Intents/INBookRestaurantReservationIntentHandling.d.ts +13 -8
- package/dist/Intents/INCancelRideIntentHandling.d.ts +3 -3
- package/dist/Intents/INCancelWorkoutIntentHandling.d.ts +5 -4
- package/dist/Intents/INCreateNoteIntentHandling.d.ts +8 -6
- package/dist/Intents/INCreateTaskListIntentHandling.d.ts +8 -6
- package/dist/Intents/INDeleteTasksIntentHandling.d.ts +7 -5
- package/dist/Intents/INEditMessageIntentHandling.d.ts +5 -4
- package/dist/Intents/INEndWorkoutIntentHandling.d.ts +5 -4
- package/dist/Intents/INFocusStatusCenter.d.ts +1 -2
- package/dist/Intents/INGetAvailableRestaurantReservationBookingDefaultsIntentHandling.d.ts +5 -4
- package/dist/Intents/INGetAvailableRestaurantReservationBookingsIntentHandling.d.ts +9 -6
- package/dist/Intents/INGetCarLockStatusIntentHandling.d.ts +5 -4
- package/dist/Intents/INGetCarPowerLevelStatusIntentHandling.d.ts +5 -4
- package/dist/Intents/INGetRestaurantGuestIntentHandling.d.ts +3 -3
- package/dist/Intents/INGetRideStatusIntentHandling.d.ts +3 -3
- package/dist/Intents/INGetUserCurrentRestaurantReservationBookingsIntentHandling.d.ts +5 -4
- package/dist/Intents/INGetVisualCodeIntentHandling.d.ts +5 -4
- package/dist/Intents/INHangUpCallIntentHandling.d.ts +3 -3
- package/dist/Intents/INInteraction.d.ts +5 -4
- package/dist/Intents/INListCarsIntentHandling.d.ts +3 -3
- package/dist/Intents/INListRideOptionsIntentHandling.d.ts +6 -5
- package/dist/Intents/INPauseWorkoutIntentHandling.d.ts +5 -4
- package/dist/Intents/INPayBillIntentHandling.d.ts +16 -10
- package/dist/Intents/INPlayMediaIntentHandling.d.ts +14 -9
- package/dist/Intents/INPreferences.d.ts +1 -2
- package/dist/Intents/INRelevantShortcutStore.d.ts +2 -2
- package/dist/Intents/INRequestPaymentIntentHandling.d.ts +13 -8
- package/dist/Intents/INRequestRideIntentHandling.d.ts +12 -8
- package/dist/Intents/INResumeWorkoutIntentHandling.d.ts +5 -4
- package/dist/Intents/INSaveProfileInCarIntentHandling.d.ts +7 -5
- package/dist/Intents/INSearchCallHistoryIntentHandling.d.ts +13 -8
- package/dist/Intents/INSearchForAccountsIntentHandling.d.ts +10 -7
- package/dist/Intents/INSearchForBillsIntentHandling.d.ts +12 -8
- package/dist/Intents/INSearchForMediaIntentHandling.d.ts +5 -4
- package/dist/Intents/INSearchForMessagesIntentHandling.d.ts +12 -9
- package/dist/Intents/INSearchForNotebookItemsIntentHandling.d.ts +23 -13
- package/dist/Intents/INSearchForPhotosIntentHandling.d.ts +12 -8
- package/dist/Intents/INSendMessageIntentHandling.d.ts +13 -9
- package/dist/Intents/INSendPaymentIntentHandling.d.ts +13 -8
- package/dist/Intents/INSendRideFeedbackIntentHandling.d.ts +3 -3
- package/dist/Intents/INSetAudioSourceInCarIntentHandling.d.ts +7 -5
- package/dist/Intents/INSetCarLockStatusIntentHandling.d.ts +7 -5
- package/dist/Intents/INSetClimateSettingsInCarIntentHandling.d.ts +23 -15
- package/dist/Intents/INSetDefrosterSettingsInCarIntentHandling.d.ts +9 -6
- package/dist/Intents/INSetMessageAttributeIntentHandling.d.ts +5 -4
- package/dist/Intents/INSetProfileInCarIntentHandling.d.ts +11 -7
- package/dist/Intents/INSetRadioStationIntentHandling.d.ts +12 -8
- package/dist/Intents/INSetSeatSettingsInCarIntentHandling.d.ts +15 -10
- package/dist/Intents/INSetTaskAttributeIntentHandling.d.ts +17 -10
- package/dist/Intents/INShareFocusStatusIntentHandling.d.ts +3 -3
- package/dist/Intents/INSnoozeTasksIntentHandling.d.ts +7 -5
- package/dist/Intents/INStartAudioCallIntentHandling.d.ts +7 -5
- package/dist/Intents/INStartCallIntentHandling.d.ts +11 -7
- package/dist/Intents/INStartPhotoPlaybackIntentHandling.d.ts +11 -7
- package/dist/Intents/INStartVideoCallIntentHandling.d.ts +5 -4
- package/dist/Intents/INStartWorkoutIntentHandling.d.ts +13 -8
- package/dist/Intents/INTransferMoneyIntentHandling.d.ts +12 -8
- package/dist/Intents/INUnsendMessagesIntentHandling.d.ts +3 -3
- package/dist/Intents/INUpdateMediaAffinityIntentHandling.d.ts +7 -5
- package/dist/Intents/INVoiceShortcutCenter.d.ts +4 -3
- package/dist/JavaScriptCore/JSContext.d.ts +2 -2
- package/dist/JavaScriptCore/JSValue.d.ts +1 -1
- package/dist/LinkPresentation/LPErrorCode.d.ts +8 -0
- package/dist/LinkPresentation/LPErrorCode.js +8 -0
- package/dist/LinkPresentation/LPMetadataProvider.d.ts +4 -3
- package/dist/LinkPresentation/index.d.ts +1 -0
- package/dist/LinkPresentation/index.js +1 -0
- package/dist/LocalAuthentication/LAContext.d.ts +3 -2
- package/dist/LocalAuthentication/LAPrivateKey.d.ts +4 -3
- package/dist/LocalAuthentication/LAPublicKey.d.ts +4 -3
- package/dist/LocalAuthentication/LARight.d.ts +4 -4
- package/dist/LocalAuthentication/LARightStore.d.ts +7 -7
- package/dist/LocalAuthentication/LASecret.d.ts +3 -2
- package/dist/MLCompute/MLCInferenceGraph.d.ts +6 -5
- package/dist/MLCompute/MLCTensorData.d.ts +1 -1
- package/dist/MLCompute/MLCTrainingGraph.d.ts +8 -8
- package/dist/MailKit/MEComposeSessionErrorCode.d.ts +6 -0
- package/dist/MailKit/MEComposeSessionErrorCode.js +6 -0
- package/dist/MailKit/MEComposeSessionHandler.d.ts +3 -3
- package/dist/MailKit/MEExtensionManager.d.ts +3 -3
- package/dist/MailKit/MEMessageActionHandler.d.ts +2 -2
- package/dist/MailKit/MEMessageEncoder.d.ts +4 -3
- package/dist/MailKit/MEMessageSecurityErrorCode.d.ts +5 -0
- package/dist/MailKit/MEMessageSecurityErrorCode.js +5 -0
- package/dist/MailKit/MEMessageSecurityHandler.d.ts +1 -2
- package/dist/MailKit/index.d.ts +2 -0
- package/dist/MailKit/index.js +2 -0
- package/dist/MapKit/MKDirections.d.ts +5 -3
- package/dist/MapKit/MKGeocodingRequest.d.ts +3 -2
- package/dist/MapKit/MKLocalSearch.d.ts +3 -2
- package/dist/MapKit/MKLookAroundSceneRequest.d.ts +3 -2
- package/dist/MapKit/MKLookAroundSnapshotter.d.ts +3 -2
- package/dist/MapKit/MKMapItem.d.ts +2 -2
- package/dist/MapKit/MKMapItemRequest.d.ts +3 -1
- package/dist/MapKit/MKMapSnapshotter.d.ts +4 -3
- package/dist/MapKit/MKReverseGeocodingRequest.d.ts +3 -1
- package/dist/MapKit/MKTileOverlay.d.ts +3 -2
- package/dist/Matter/MTRAsyncCallbackQueueWorkItem.d.ts +4 -4
- package/dist/Matter/MTRAttributeCacheContainer.d.ts +3 -2
- package/dist/Matter/MTRBaseClusterAccessControl.d.ts +77 -76
- package/dist/Matter/MTRBaseClusterAccountLogin.d.ts +41 -39
- package/dist/Matter/MTRBaseClusterActions.d.ts +75 -73
- package/dist/Matter/MTRBaseClusterActivatedCarbonFilterMonitoring.d.ts +39 -38
- package/dist/Matter/MTRBaseClusterAdministratorCommissioning.d.ts +58 -57
- package/dist/Matter/MTRBaseClusterAirQuality.d.ts +20 -19
- package/dist/Matter/MTRBaseClusterApplicationBasic.d.ts +83 -79
- package/dist/Matter/MTRBaseClusterApplicationLauncher.d.ts +58 -56
- package/dist/Matter/MTRBaseClusterAudioOutput.d.ts +48 -47
- package/dist/Matter/MTRBaseClusterBallastConfiguration.d.ts +156 -155
- package/dist/Matter/MTRBaseClusterBarrierControl.d.ts +122 -121
- package/dist/Matter/MTRBaseClusterBasic.d.ts +86 -84
- package/dist/Matter/MTRBaseClusterBasicInformation.d.ts +94 -91
- package/dist/Matter/MTRBaseClusterBinaryInputBasic.d.ts +110 -109
- package/dist/Matter/MTRBaseClusterBinding.d.ts +41 -41
- package/dist/Matter/MTRBaseClusterBooleanState.d.ts +38 -37
- package/dist/Matter/MTRBaseClusterBooleanStateConfiguration.d.ts +45 -44
- package/dist/Matter/MTRBaseClusterBridgedDeviceBasic.d.ts +64 -63
- package/dist/Matter/MTRBaseClusterBridgedDeviceBasicInformation.d.ts +72 -70
- package/dist/Matter/MTRBaseClusterCarbonDioxideConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterCarbonMonoxideConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterChannel.d.ts +66 -59
- package/dist/Matter/MTRBaseClusterColorControl.d.ts +435 -433
- package/dist/Matter/MTRBaseClusterCommissionerControl.d.ts +23 -21
- package/dist/Matter/MTRBaseClusterContentAppObserver.d.ts +19 -17
- package/dist/Matter/MTRBaseClusterContentLauncher.d.ts +54 -51
- package/dist/Matter/MTRBaseClusterDescriptor.d.ts +56 -55
- package/dist/Matter/MTRBaseClusterDeviceEnergyManagement.d.ts +54 -51
- package/dist/Matter/MTRBaseClusterDeviceEnergyManagementMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterDiagnosticLogs.d.ts +35 -33
- package/dist/Matter/MTRBaseClusterDishwasherAlarm.d.ts +31 -30
- package/dist/Matter/MTRBaseClusterDishwasherMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterDoorLock.d.ts +397 -389
- package/dist/Matter/MTRBaseClusterElectricalEnergyMeasurement.d.ts +38 -34
- package/dist/Matter/MTRBaseClusterElectricalMeasurement.d.ts +838 -837
- package/dist/Matter/MTRBaseClusterElectricalPowerMeasurement.d.ts +74 -73
- package/dist/Matter/MTRBaseClusterEnergyEVSE.d.ts +85 -83
- package/dist/Matter/MTRBaseClusterEnergyEVSEMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterEthernetNetworkDiagnostics.d.ts +90 -89
- package/dist/Matter/MTRBaseClusterFanControl.d.ts +128 -127
- package/dist/Matter/MTRBaseClusterFixedLabel.d.ts +38 -37
- package/dist/Matter/MTRBaseClusterFlowMeasurement.d.ts +56 -55
- package/dist/Matter/MTRBaseClusterFormaldehydeConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterGeneralCommissioning.d.ts +78 -73
- package/dist/Matter/MTRBaseClusterGeneralDiagnostics.d.ts +93 -90
- package/dist/Matter/MTRBaseClusterGroupKeyManagement.d.ts +70 -68
- package/dist/Matter/MTRBaseClusterGroups.d.ts +56 -51
- package/dist/Matter/MTRBaseClusterHEPAFilterMonitoring.d.ts +39 -38
- package/dist/Matter/MTRBaseClusterICDManagement.d.ts +53 -49
- package/dist/Matter/MTRBaseClusterIdentify.d.ts +52 -51
- package/dist/Matter/MTRBaseClusterIlluminanceMeasurement.d.ts +62 -61
- package/dist/Matter/MTRBaseClusterKeypadInput.d.ts +35 -33
- package/dist/Matter/MTRBaseClusterLaundryDryerControls.d.ts +25 -24
- package/dist/Matter/MTRBaseClusterLaundryWasherControls.d.ts +33 -32
- package/dist/Matter/MTRBaseClusterLaundryWasherMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterLevelControl.d.ts +162 -161
- package/dist/Matter/MTRBaseClusterLocalizationConfiguration.d.ts +48 -47
- package/dist/Matter/MTRBaseClusterLowPower.d.ts +36 -35
- package/dist/Matter/MTRBaseClusterMediaInput.d.ts +56 -55
- package/dist/Matter/MTRBaseClusterMediaPlayback.d.ts +119 -115
- package/dist/Matter/MTRBaseClusterMessages.d.ts +25 -24
- package/dist/Matter/MTRBaseClusterMicrowaveOvenControl.d.ts +41 -40
- package/dist/Matter/MTRBaseClusterMicrowaveOvenMode.d.ts +23 -22
- package/dist/Matter/MTRBaseClusterModeSelect.d.ts +79 -77
- package/dist/Matter/MTRBaseClusterNetworkCommissioning.d.ts +110 -105
- package/dist/Matter/MTRBaseClusterNitrogenDioxideConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterOccupancySensing.d.ts +149 -147
- package/dist/Matter/MTRBaseClusterOnOff.d.ts +94 -93
- package/dist/Matter/MTRBaseClusterOnOffSwitchConfiguration.d.ts +48 -47
- package/dist/Matter/MTRBaseClusterOperationalCredentials.d.ts +88 -83
- package/dist/Matter/MTRBaseClusterOperationalState.d.ts +45 -42
- package/dist/Matter/MTRBaseClusterOtaSoftwareUpdateProvider.d.ts +40 -37
- package/dist/Matter/MTRBaseClusterOtaSoftwareUpdateRequestor.d.ts +61 -61
- package/dist/Matter/MTRBaseClusterOvenCavityOperationalState.d.ts +41 -38
- package/dist/Matter/MTRBaseClusterOvenMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterOzoneConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterPM10ConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterPM1ConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterPM25ConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterPowerSource.d.ts +222 -220
- package/dist/Matter/MTRBaseClusterPowerSourceConfiguration.d.ts +38 -37
- package/dist/Matter/MTRBaseClusterPowerTopology.d.ts +23 -22
- package/dist/Matter/MTRBaseClusterPressureMeasurement.d.ts +86 -85
- package/dist/Matter/MTRBaseClusterPumpConfigurationAndControl.d.ts +186 -185
- package/dist/Matter/MTRBaseClusterRVCCleanMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterRVCOperationalState.d.ts +43 -40
- package/dist/Matter/MTRBaseClusterRVCRunMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterRadonConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterRefrigeratorAlarm.d.ts +26 -25
- package/dist/Matter/MTRBaseClusterRefrigeratorAndTemperatureControlledCabinetMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterRelativeHumidityMeasurement.d.ts +56 -55
- package/dist/Matter/MTRBaseClusterServiceArea.d.ts +39 -36
- package/dist/Matter/MTRBaseClusterSmokeCOAlarm.d.ts +60 -59
- package/dist/Matter/MTRBaseClusterSoftwareDiagnostics.d.ts +60 -59
- package/dist/Matter/MTRBaseClusterSwitch.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterTargetNavigator.d.ts +47 -45
- package/dist/Matter/MTRBaseClusterTemperatureControl.d.ts +37 -36
- package/dist/Matter/MTRBaseClusterTemperatureMeasurement.d.ts +56 -55
- package/dist/Matter/MTRBaseClusterTestCluster.d.ts +467 -455
- package/dist/Matter/MTRBaseClusterThermostat.d.ts +486 -483
- package/dist/Matter/MTRBaseClusterThermostatUserInterfaceConfiguration.d.ts +62 -61
- package/dist/Matter/MTRBaseClusterThreadBorderRouterManagement.d.ts +44 -40
- package/dist/Matter/MTRBaseClusterThreadNetworkDiagnostics.d.ts +418 -413
- package/dist/Matter/MTRBaseClusterThreadNetworkDirectory.d.ts +32 -30
- package/dist/Matter/MTRBaseClusterTimeFormatLocalization.d.ts +58 -57
- package/dist/Matter/MTRBaseClusterTimeSynchronization.d.ts +64 -60
- package/dist/Matter/MTRBaseClusterTotalVolatileOrganicCompoundsConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterUnitLocalization.d.ts +42 -41
- package/dist/Matter/MTRBaseClusterUnitTesting.d.ts +467 -455
- package/dist/Matter/MTRBaseClusterUserLabel.d.ts +41 -41
- package/dist/Matter/MTRBaseClusterValveConfigurationAndControl.d.ts +58 -57
- package/dist/Matter/MTRBaseClusterWakeOnLan.d.ts +43 -40
- package/dist/Matter/MTRBaseClusterWaterHeaterManagement.d.ts +38 -37
- package/dist/Matter/MTRBaseClusterWaterHeaterMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterWiFiNetworkDiagnostics.d.ts +115 -113
- package/dist/Matter/MTRBaseClusterWiFiNetworkManagement.d.ts +27 -24
- package/dist/Matter/MTRBaseClusterWindowCovering.d.ts +188 -187
- package/dist/Matter/MTRBaseDevice.d.ts +22 -19
- package/dist/Matter/MTRClusterAccessControl.d.ts +3 -2
- package/dist/Matter/MTRClusterAccountLogin.d.ts +10 -9
- package/dist/Matter/MTRClusterActions.d.ts +25 -25
- package/dist/Matter/MTRClusterActivatedCarbonFilterMonitoring.d.ts +3 -3
- package/dist/Matter/MTRClusterAdministratorCommissioning.d.ts +9 -9
- package/dist/Matter/MTRClusterApplicationLauncher.d.ts +11 -10
- package/dist/Matter/MTRClusterAudioOutput.d.ts +5 -5
- package/dist/Matter/MTRClusterBarrierControl.d.ts +7 -7
- package/dist/Matter/MTRClusterBasic.d.ts +3 -3
- package/dist/Matter/MTRClusterBooleanStateConfiguration.d.ts +3 -3
- package/dist/Matter/MTRClusterBridgedDeviceBasicInformation.d.ts +2 -2
- package/dist/Matter/MTRClusterChannel.d.ts +13 -11
- package/dist/Matter/MTRClusterColorControl.d.ts +39 -39
- package/dist/Matter/MTRClusterCommissionerControl.d.ts +4 -3
- package/dist/Matter/MTRClusterContentAppObserver.d.ts +3 -2
- package/dist/Matter/MTRClusterContentLauncher.d.ts +7 -5
- package/dist/Matter/MTRClusterDeviceEnergyManagement.d.ts +12 -12
- package/dist/Matter/MTRClusterDeviceEnergyManagementMode.d.ts +3 -2
- package/dist/Matter/MTRClusterDiagnosticLogs.d.ts +4 -3
- package/dist/Matter/MTRClusterDishwasherAlarm.d.ts +3 -3
- package/dist/Matter/MTRClusterDishwasherMode.d.ts +3 -2
- package/dist/Matter/MTRClusterDoorLock.d.ts +50 -44
- package/dist/Matter/MTRClusterElectricalMeasurement.d.ts +7 -7
- package/dist/Matter/MTRClusterEnergyEVSE.d.ts +12 -11
- package/dist/Matter/MTRClusterEnergyEVSEMode.d.ts +3 -2
- package/dist/Matter/MTRClusterEthernetNetworkDiagnostics.d.ts +5 -5
- package/dist/Matter/MTRClusterFanControl.d.ts +2 -2
- package/dist/Matter/MTRClusterGeneralCommissioning.d.ts +12 -9
- package/dist/Matter/MTRClusterGeneralDiagnostics.d.ts +8 -6
- package/dist/Matter/MTRClusterGroupKeyManagement.d.ts +12 -10
- package/dist/Matter/MTRClusterGroups.d.ts +19 -15
- package/dist/Matter/MTRClusterHEPAFilterMonitoring.d.ts +3 -3
- package/dist/Matter/MTRClusterICDManagement.d.ts +6 -4
- package/dist/Matter/MTRClusterIdentify.d.ts +5 -5
- package/dist/Matter/MTRClusterKeypadInput.d.ts +4 -3
- package/dist/Matter/MTRClusterLaundryWasherMode.d.ts +3 -2
- package/dist/Matter/MTRClusterLevelControl.d.ts +19 -19
- package/dist/Matter/MTRClusterLowPower.d.ts +5 -5
- package/dist/Matter/MTRClusterMediaInput.d.ts +13 -13
- package/dist/Matter/MTRClusterMediaPlayback.d.ts +44 -43
- package/dist/Matter/MTRClusterMessages.d.ts +3 -3
- package/dist/Matter/MTRClusterMicrowaveOvenControl.d.ts +4 -4
- package/dist/Matter/MTRClusterModeSelect.d.ts +3 -3
- package/dist/Matter/MTRClusterNetworkCommissioning.d.ts +17 -14
- package/dist/Matter/MTRClusterOnOff.d.ts +21 -21
- package/dist/Matter/MTRClusterOperationalCredentials.d.ts +21 -17
- package/dist/Matter/MTRClusterOperationalState.d.ts +10 -9
- package/dist/Matter/MTRClusterOtaSoftwareUpdateProvider.d.ts +9 -7
- package/dist/Matter/MTRClusterOtaSoftwareUpdateRequestor.d.ts +3 -3
- package/dist/Matter/MTRClusterOvenCavityOperationalState.d.ts +6 -5
- package/dist/Matter/MTRClusterOvenMode.d.ts +3 -2
- package/dist/Matter/MTRClusterRVCCleanMode.d.ts +3 -2
- package/dist/Matter/MTRClusterRVCOperationalState.d.ts +8 -7
- package/dist/Matter/MTRClusterRVCRunMode.d.ts +3 -2
- package/dist/Matter/MTRClusterRefrigeratorAndTemperatureControlledCabinetMode.d.ts +3 -2
- package/dist/Matter/MTRClusterServiceArea.d.ts +5 -3
- package/dist/Matter/MTRClusterSmokeCOAlarm.d.ts +3 -3
- package/dist/Matter/MTRClusterSoftwareDiagnostics.d.ts +5 -5
- package/dist/Matter/MTRClusterStateCacheContainer.d.ts +3 -2
- package/dist/Matter/MTRClusterTargetNavigator.d.ts +4 -3
- package/dist/Matter/MTRClusterTemperatureControl.d.ts +3 -3
- package/dist/Matter/MTRClusterTestCluster.d.ts +42 -30
- package/dist/Matter/MTRClusterThermostat.d.ts +16 -14
- package/dist/Matter/MTRClusterThreadBorderRouterManagement.d.ts +8 -7
- package/dist/Matter/MTRClusterThreadNetworkDiagnostics.d.ts +5 -5
- package/dist/Matter/MTRClusterThreadNetworkDirectory.d.ts +5 -4
- package/dist/Matter/MTRClusterTimeSynchronization.d.ts +7 -6
- package/dist/Matter/MTRClusterUnitTesting.d.ts +42 -30
- package/dist/Matter/MTRClusterValveConfigurationAndControl.d.ts +5 -5
- package/dist/Matter/MTRClusterWaterHeaterManagement.d.ts +4 -4
- package/dist/Matter/MTRClusterWaterHeaterMode.d.ts +3 -2
- package/dist/Matter/MTRClusterWiFiNetworkDiagnostics.d.ts +5 -5
- package/dist/Matter/MTRClusterWiFiNetworkManagement.d.ts +4 -3
- package/dist/Matter/MTRClusterWindowCovering.d.ts +21 -21
- package/dist/Matter/MTRCommissioningDelegate.d.ts +4 -4
- package/dist/Matter/MTRDevice.d.ts +11 -8
- package/dist/Matter/MTRDeviceController.d.ts +6 -4
- package/dist/Matter/MTRDeviceControllerServerProtocol.d.ts +12 -10
- package/dist/Matter/MTRErrorCode.d.ts +22 -0
- package/dist/Matter/MTRErrorCode.js +22 -0
- package/dist/Matter/MTRInteractionErrorCode.d.ts +33 -0
- package/dist/Matter/MTRInteractionErrorCode.js +33 -0
- package/dist/Matter/MTRNOCChainIssuer.d.ts +3 -1
- package/dist/Matter/MTROTAProviderDelegate.d.ts +13 -11
- package/dist/Matter/MTROperationalCertificateIssuer.d.ts +3 -2
- package/dist/Matter/MTRXPCDeviceControllerParameters.d.ts +4 -4
- package/dist/Matter/MTRXPCServerProtocol_MTRDevice.d.ts +17 -11
- package/dist/Matter/MTRXPCServerProtocol_MTRDeviceController.d.ts +2 -2
- package/dist/Matter/functions.d.ts +1 -2
- package/dist/Matter/functions.js +1 -1
- package/dist/Matter/index.d.ts +2 -0
- package/dist/Matter/index.js +2 -0
- package/dist/MediaAccessibility/MAMusicHapticsManager.d.ts +2 -3
- package/dist/MediaAccessibility/functions.d.ts +1 -1
- package/dist/MediaAccessibility/functions.js +1 -1
- package/dist/MediaExtension/MEByteSource.d.ts +4 -2
- package/dist/MediaExtension/MEError.d.ts +15 -0
- package/dist/MediaExtension/MEError.js +15 -0
- package/dist/MediaExtension/MEFormatReader.d.ts +8 -5
- package/dist/MediaExtension/MERAWProcessor.d.ts +2 -1
- package/dist/MediaExtension/MESampleCursor.d.ts +9 -7
- package/dist/MediaExtension/METrackReader.d.ts +12 -9
- package/dist/MediaExtension/MEVideoDecoder.d.ts +3 -1
- package/dist/MediaExtension/index.d.ts +1 -0
- package/dist/MediaExtension/index.js +1 -0
- package/dist/MediaPlayer/MPMediaEntity.d.ts +1 -1
- package/dist/MediaPlayer/MPMediaItemAnimatedArtwork.d.ts +4 -2
- package/dist/MediaPlayer/MPMediaItemArtwork.d.ts +1 -2
- package/dist/MediaPlayer/MPMediaLibrary.d.ts +6 -4
- package/dist/MediaPlayer/MPMediaPlaylist.d.ts +3 -3
- package/dist/MediaPlayer/MPMusicPlayerApplicationController.d.ts +4 -2
- package/dist/MediaPlayer/MPMusicPlayerController.d.ts +2 -1
- package/dist/MediaPlayer/MPNowPlayingSession.d.ts +1 -2
- package/dist/MediaPlayer/MPPlayableContentDataSource.d.ts +3 -3
- package/dist/MediaPlayer/MPPlayableContentDelegate.d.ts +4 -4
- package/dist/MediaPlayer/MPRemoteCommand.d.ts +3 -1
- package/dist/Metal/MTL4CommitOptions.d.ts +2 -2
- package/dist/Metal/MTL4Compiler.d.ts +11 -10
- package/dist/Metal/MTLCommandBuffer.d.ts +2 -2
- package/dist/Metal/MTLDevice.d.ts +13 -10
- package/dist/Metal/MTLDrawable.d.ts +1 -2
- package/dist/Metal/MTLIOCommandBuffer.d.ts +1 -2
- package/dist/Metal/MTLIOError.d.ts +5 -0
- package/dist/Metal/MTLIOError.js +5 -0
- package/dist/Metal/MTLLibrary.d.ts +4 -3
- package/dist/Metal/MTLLogState.d.ts +3 -2
- package/dist/Metal/MTLSharedEvent.d.ts +1 -2
- package/dist/Metal/NSDeviceCertification.d.ts +2 -0
- package/dist/Metal/NSDeviceCertification.js +2 -0
- package/dist/Metal/NSProcessPerformanceProfile.d.ts +2 -0
- package/dist/Metal/NSProcessPerformanceProfile.js +2 -0
- package/dist/Metal/functions.d.ts +2 -1
- package/dist/Metal/functions.js +1 -1
- package/dist/Metal/index.d.ts +3 -0
- package/dist/Metal/index.js +3 -0
- package/dist/MetalKit/MTKTextureLoader.d.ts +10 -9
- package/dist/MetalPerformanceShadersGraph/MPSGraph.d.ts +6 -5
- package/dist/MetalPerformanceShadersGraph/MPSGraphCompilationDescriptor.d.ts +4 -2
- package/dist/MetalPerformanceShadersGraph/MPSGraphExecutableExecutionDescriptor.d.ts +6 -5
- package/dist/MetalPerformanceShadersGraph/MPSGraphExecutionDescriptor.d.ts +5 -4
- package/dist/MetricKit/MXErrorCode.d.ts +9 -0
- package/dist/MetricKit/MXErrorCode.js +9 -0
- package/dist/MetricKit/index.d.ts +1 -0
- package/dist/MetricKit/index.js +1 -0
- package/dist/ModelIO/MDLMaterialPropertyNode.d.ts +3 -4
- package/dist/ModelIO/MDLMeshBufferMap.d.ts +1 -1
- package/dist/ModelIO/MDLObject.d.ts +1 -1
- package/dist/MultipeerConnectivity/MCNearbyServiceAdvertiserDelegate.d.ts +2 -2
- package/dist/MultipeerConnectivity/MCSession.d.ts +3 -2
- package/dist/MultipeerConnectivity/MCSessionDelegate.d.ts +1 -2
- package/dist/NaturalLanguage/NLContextualEmbedding.d.ts +3 -1
- package/dist/NaturalLanguage/NLContextualEmbeddingResult.d.ts +1 -1
- package/dist/NaturalLanguage/NLEmbedding.d.ts +4 -4
- package/dist/NaturalLanguage/NLTagger.d.ts +4 -2
- package/dist/NaturalLanguage/NLTokenizer.d.ts +2 -1
- package/dist/NearbyInteraction/NIErrorCode.d.ts +13 -0
- package/dist/NearbyInteraction/NIErrorCode.js +13 -0
- package/dist/NearbyInteraction/index.d.ts +1 -0
- package/dist/NearbyInteraction/index.js +1 -0
- package/dist/NetworkExtension/NEAppProxyFlow.d.ts +2 -3
- package/dist/NetworkExtension/NEAppProxyProvider.d.ts +2 -3
- package/dist/NetworkExtension/NEAppProxyProviderManager.d.ts +3 -2
- package/dist/NetworkExtension/NEAppProxyTCPFlow.d.ts +3 -3
- package/dist/NetworkExtension/NEAppProxyUDPFlow.d.ts +5 -4
- package/dist/NetworkExtension/NEAppPushManager.d.ts +5 -5
- package/dist/NetworkExtension/NEAppPushManagerError.d.ts +7 -0
- package/dist/NetworkExtension/NEAppPushManagerError.js +7 -0
- package/dist/NetworkExtension/NEAppPushProvider.d.ts +3 -3
- package/dist/NetworkExtension/NEDNSProxyManager.d.ts +4 -4
- package/dist/NetworkExtension/NEDNSProxyProvider.d.ts +2 -2
- package/dist/NetworkExtension/NEDNSSettingsManager.d.ts +4 -4
- package/dist/NetworkExtension/NEFilterControlProvider.d.ts +3 -3
- package/dist/NetworkExtension/NEFilterDataProvider.d.ts +2 -2
- package/dist/NetworkExtension/NEFilterManager.d.ts +4 -4
- package/dist/NetworkExtension/NEFilterPacketProvider.d.ts +5 -2
- package/dist/NetworkExtension/NEFilterProvider.d.ts +3 -3
- package/dist/NetworkExtension/NEHotspotConfigurationManager.d.ts +6 -5
- package/dist/NetworkExtension/NEHotspotHelper.d.ts +2 -2
- package/dist/NetworkExtension/NEHotspotNetwork.d.ts +1 -2
- package/dist/NetworkExtension/NEPacketTunnelFlow.d.ts +2 -3
- package/dist/NetworkExtension/NEPacketTunnelProvider.d.ts +2 -2
- package/dist/NetworkExtension/NEProvider.d.ts +2 -2
- package/dist/NetworkExtension/NERelayManager.d.ts +6 -6
- package/dist/NetworkExtension/NETransparentProxyManager.d.ts +3 -2
- package/dist/NetworkExtension/NETunnelProvider.d.ts +3 -3
- package/dist/NetworkExtension/NETunnelProviderManager.d.ts +2 -2
- package/dist/NetworkExtension/NETunnelProviderSession.d.ts +1 -1
- package/dist/NetworkExtension/NEURLFilter.d.ts +2 -2
- package/dist/NetworkExtension/NEVPNConnection.d.ts +2 -1
- package/dist/NetworkExtension/NEVPNManager.d.ts +4 -3
- package/dist/NetworkExtension/NWTCPConnection.d.ts +3 -4
- package/dist/NetworkExtension/NWTCPConnectionAuthenticationDelegate.d.ts +2 -2
- package/dist/NetworkExtension/NWUDPSession.d.ts +4 -4
- package/dist/NetworkExtension/index.d.ts +1 -0
- package/dist/NetworkExtension/index.js +1 -0
- package/dist/NotificationCenter/NCWidgetProviding.d.ts +2 -2
- package/dist/PHASE/PHASEAssetError.d.ts +9 -0
- package/dist/PHASE/PHASEAssetError.js +9 -0
- package/dist/PHASE/PHASEAssetRegistry.d.ts +1 -1
- package/dist/PHASE/PHASEError.d.ts +5 -0
- package/dist/PHASE/PHASEError.js +5 -0
- package/dist/PHASE/PHASEPullStreamNode.d.ts +2 -2
- package/dist/PHASE/PHASEPushStreamNode.d.ts +2 -3
- package/dist/PHASE/PHASESoundEvent.d.ts +8 -5
- package/dist/PHASE/PHASESoundEventError.d.ts +9 -0
- package/dist/PHASE/PHASESoundEventError.js +9 -0
- package/dist/PHASE/index.d.ts +3 -0
- package/dist/PHASE/index.js +3 -0
- package/dist/ParavirtualizedGraphics/PGDeviceDescriptor.d.ts +16 -16
- package/dist/ParavirtualizedGraphics/PGDisplay.d.ts +6 -6
- package/dist/ParavirtualizedGraphics/PGDisplayDescriptor.d.ts +12 -11
- package/dist/PassKit/PKAddIdentityDocumentConfiguration.d.ts +2 -2
- package/dist/PassKit/PKAddSecureElementPassErrorCode.d.ts +11 -0
- package/dist/PassKit/PKAddSecureElementPassErrorCode.js +11 -0
- package/dist/PassKit/PKAddShareablePassConfiguration.d.ts +3 -3
- package/dist/PassKit/PKDisbursementErrorCode.d.ts +6 -0
- package/dist/PassKit/PKDisbursementErrorCode.js +6 -0
- package/dist/PassKit/PKIdentityAuthorizationController.d.ts +4 -3
- package/dist/PassKit/PKIdentityError.d.ts +12 -0
- package/dist/PassKit/PKIdentityError.js +12 -0
- package/dist/PassKit/PKIssuerProvisioningExtensionAuthorizationProviding.d.ts +3 -3
- package/dist/PassKit/PKIssuerProvisioningExtensionHandler.d.ts +6 -5
- package/dist/PassKit/PKPassKitErrorCode.d.ts +8 -0
- package/dist/PassKit/PKPassKitErrorCode.js +8 -0
- package/dist/PassKit/PKPassLibrary.d.ts +13 -10
- package/dist/PassKit/PKPaymentAuthorizationController.d.ts +2 -3
- package/dist/PassKit/PKPaymentAuthorizationControllerDelegate.d.ts +18 -11
- package/dist/PassKit/PKPaymentAuthorizationViewControllerDelegate.d.ts +18 -11
- package/dist/PassKit/PKPaymentErrorCode.d.ts +9 -0
- package/dist/PassKit/PKPaymentErrorCode.js +9 -0
- package/dist/PassKit/PKPaymentInformationRequestHandling.d.ts +5 -4
- package/dist/PassKit/PKShareSecureElementPassErrorCode.d.ts +5 -0
- package/dist/PassKit/PKShareSecureElementPassErrorCode.js +5 -0
- package/dist/PassKit/PKVehicleConnectionSession.d.ts +2 -1
- package/dist/PassKit/index.d.ts +6 -0
- package/dist/PassKit/index.js +6 -0
- package/dist/PencilKit/PKStrokePath.d.ts +3 -3
- package/dist/Photos/PHAsset.d.ts +3 -1
- package/dist/Photos/PHAssetResourceManager.d.ts +4 -3
- package/dist/Photos/PHAssetResourceRequestOptions.d.ts +2 -3
- package/dist/Photos/PHContentEditingInputRequestOptions.d.ts +5 -4
- package/dist/Photos/PHFetchResult.d.ts +3 -3
- package/dist/Photos/PHFetchResultChangeDetails.d.ts +1 -2
- package/dist/Photos/PHImageManager.d.ts +16 -7
- package/dist/Photos/PHImageRequestOptions.d.ts +4 -2
- package/dist/Photos/PHLivePhoto.d.ts +2 -2
- package/dist/Photos/PHLivePhotoEditingContext.d.ts +7 -4
- package/dist/Photos/PHLivePhotoRequestOptions.d.ts +4 -2
- package/dist/Photos/PHPersistentChangeFetchResult.d.ts +2 -1
- package/dist/Photos/PHPhotoLibrary.d.ts +4 -4
- package/dist/Photos/PHPhotosError.d.ts +25 -0
- package/dist/Photos/PHPhotosError.js +25 -0
- package/dist/Photos/PHVideoRequestOptions.d.ts +4 -2
- package/dist/Photos/index.d.ts +1 -0
- package/dist/Photos/index.js +1 -0
- package/dist/PhotosUI/PHContentEditingController.d.ts +2 -2
- package/dist/PhotosUI/PHProjectExtensionContext.d.ts +1 -2
- package/dist/PhotosUI/PHProjectExtensionController.d.ts +4 -4
- package/dist/PushKit/PKPushRegistryDelegate.d.ts +1 -2
- package/dist/QuartzCore/CATransaction.d.ts +2 -2
- package/dist/QuickLookThumbnailing/QLThumbnailError.d.ts +9 -0
- package/dist/QuickLookThumbnailing/QLThumbnailError.js +9 -0
- package/dist/QuickLookThumbnailing/QLThumbnailGenerator.d.ts +7 -5
- package/dist/QuickLookThumbnailing/QLThumbnailProvider.d.ts +3 -2
- package/dist/QuickLookThumbnailing/QLThumbnailReply.d.ts +2 -2
- package/dist/QuickLookThumbnailing/index.d.ts +1 -0
- package/dist/QuickLookThumbnailing/index.js +1 -0
- package/dist/QuickLookUI/QLPreviewReply.d.ts +5 -3
- package/dist/QuickLookUI/QLPreviewingController.d.ts +5 -4
- package/dist/ReplayKit/RPBroadcastActivityController.d.ts +2 -2
- package/dist/ReplayKit/RPBroadcastController.d.ts +3 -3
- package/dist/ReplayKit/RPScreenRecorder.d.ts +13 -10
- package/dist/SafariServices/SFContentBlockerManager.d.ts +4 -3
- package/dist/SafariServices/SFSafariApplication.d.ts +10 -7
- package/dist/SafariServices/SFSafariExtension.d.ts +2 -2
- package/dist/SafariServices/SFSafariExtensionHandling.d.ts +3 -4
- package/dist/SafariServices/SFSafariExtensionManager.d.ts +3 -2
- package/dist/SafariServices/SFSafariPage.d.ts +6 -4
- package/dist/SafariServices/SFSafariTab.d.ts +7 -5
- package/dist/SafariServices/SFSafariWindow.d.ts +7 -5
- package/dist/SafetyKit/SACrashDetectionManager.d.ts +2 -2
- package/dist/SafetyKit/SAEmergencyResponseManager.d.ts +2 -2
- package/dist/SafetyKit/SAErrorCode.d.ts +7 -0
- package/dist/SafetyKit/SAErrorCode.js +7 -0
- package/dist/SafetyKit/index.d.ts +1 -0
- package/dist/SafetyKit/index.js +1 -0
- package/dist/SceneKit/SCNAction.d.ts +6 -6
- package/dist/SceneKit/SCNActionable.d.ts +2 -3
- package/dist/SceneKit/SCNAnimation.d.ts +5 -5
- package/dist/SceneKit/SCNAnimationEvent.d.ts +2 -1
- package/dist/SceneKit/SCNAudioPlayer.d.ts +4 -5
- package/dist/SceneKit/SCNNode.d.ts +3 -3
- package/dist/SceneKit/SCNParticleSystem.d.ts +2 -2
- package/dist/SceneKit/SCNPhysicsField.d.ts +1 -2
- package/dist/SceneKit/SCNProgram.d.ts +5 -2
- package/dist/SceneKit/SCNScene.d.ts +2 -1
- package/dist/SceneKit/SCNSceneRenderer.d.ts +3 -3
- package/dist/SceneKit/SCNSceneSource.d.ts +4 -2
- package/dist/SceneKit/SCNShadable.d.ts +4 -3
- package/dist/SceneKit/SCNTechnique.d.ts +3 -1
- package/dist/SceneKit/SCNTransaction.d.ts +2 -2
- package/dist/SceneKit/SCNTransformConstraint.d.ts +7 -4
- package/dist/ScreenCaptureKit/SCScreenshotManager.d.ts +7 -5
- package/dist/ScreenCaptureKit/SCShareableContent.d.ts +6 -6
- package/dist/ScreenCaptureKit/SCStream.d.ts +5 -4
- package/dist/ScreenCaptureKit/SCStreamErrorCode.d.ts +24 -0
- package/dist/ScreenCaptureKit/SCStreamErrorCode.js +24 -0
- package/dist/ScreenCaptureKit/index.d.ts +1 -0
- package/dist/ScreenCaptureKit/index.js +1 -0
- package/dist/ScreenTime/STWebHistory.d.ts +4 -2
- package/dist/SecurityUI/SFCertificatePresentation.d.ts +1 -1
- package/dist/SensitiveContentAnalysis/SCSensitivityAnalyzer.d.ts +5 -4
- package/dist/SensitiveContentAnalysis/SCVideoStreamAnalyzer.d.ts +3 -2
- package/dist/SensorKit/SRErrorCode.d.ts +8 -0
- package/dist/SensorKit/SRErrorCode.js +8 -0
- package/dist/SensorKit/SRSensorReader.d.ts +2 -2
- package/dist/SensorKit/index.d.ts +1 -0
- package/dist/SensorKit/index.js +1 -0
- package/dist/ServiceManagement/SMAppService.d.ts +2 -1
- package/dist/SharedWithYou/SWCollaborationView.d.ts +1 -2
- package/dist/SharedWithYou/SWHighlightCenter.d.ts +6 -3
- package/dist/ShazamKit/SHErrorCode.d.ts +13 -0
- package/dist/ShazamKit/SHErrorCode.js +13 -0
- package/dist/ShazamKit/SHMediaItem.d.ts +2 -1
- package/dist/ShazamKit/SHMediaLibrary.d.ts +2 -2
- package/dist/ShazamKit/SHSignatureGenerator.d.ts +2 -1
- package/dist/ShazamKit/index.d.ts +1 -0
- package/dist/ShazamKit/index.js +1 -0
- package/dist/Social/SLRequest.d.ts +3 -2
- package/dist/SoundAnalysis/SNAudioFileAnalyzer.d.ts +1 -1
- package/dist/SoundAnalysis/SNErrorCode.d.ts +8 -0
- package/dist/SoundAnalysis/SNErrorCode.js +8 -0
- package/dist/SoundAnalysis/index.d.ts +1 -0
- package/dist/SoundAnalysis/index.js +1 -0
- package/dist/Speech/SFSpeechErrorCode.d.ts +9 -0
- package/dist/Speech/SFSpeechErrorCode.js +9 -0
- package/dist/Speech/SFSpeechLanguageModel.d.ts +5 -5
- package/dist/Speech/SFSpeechRecognizer.d.ts +4 -3
- package/dist/Speech/index.d.ts +1 -0
- package/dist/Speech/index.js +1 -0
- package/dist/SpriteKit/SKAction.d.ts +5 -5
- package/dist/SpriteKit/SKFieldNode.d.ts +1 -1
- package/dist/SpriteKit/SKMutableTexture.d.ts +1 -1
- package/dist/SpriteKit/SKNode.d.ts +2 -2
- package/dist/SpriteKit/SKPhysicsWorld.d.ts +3 -3
- package/dist/SpriteKit/SKTexture.d.ts +2 -2
- package/dist/SpriteKit/SKTextureAtlas.d.ts +4 -4
- package/dist/StoreKit/SKANError.d.ts +15 -0
- package/dist/StoreKit/SKANError.js +15 -0
- package/dist/StoreKit/SKAdNetwork.d.ts +6 -6
- package/dist/StoreKit/SKArcadeService.d.ts +3 -3
- package/dist/StoreKit/SKCloudServiceController.d.ts +8 -7
- package/dist/StoreKit/SKCloudServiceSetupViewController.d.ts +2 -2
- package/dist/StoreKit/SKDownload.d.ts +3 -3
- package/dist/StoreKit/SKDownloadState.d.ts +9 -0
- package/dist/StoreKit/SKDownloadState.js +9 -0
- package/dist/StoreKit/SKOverlayTransitionContext.d.ts +1 -2
- package/dist/StoreKit/SKProductStorePromotionController.d.ts +6 -5
- package/dist/StoreKit/SKProductStorePromotionVisibility.d.ts +6 -0
- package/dist/StoreKit/SKProductStorePromotionVisibility.js +6 -0
- package/dist/StoreKit/SKStoreProductViewController.d.ts +3 -3
- package/dist/StoreKit/index.d.ts +3 -0
- package/dist/StoreKit/index.js +3 -0
- package/dist/SystemExtensions/OSSystemExtensionErrorCode.d.ts +16 -0
- package/dist/SystemExtensions/OSSystemExtensionErrorCode.js +16 -0
- package/dist/SystemExtensions/index.d.ts +1 -0
- package/dist/SystemExtensions/index.js +1 -0
- package/dist/ThreadNetwork/THClient.d.ts +12 -10
- package/dist/UserNotifications/UNNotificationServiceExtension.d.ts +2 -2
- package/dist/UserNotifications/UNUserNotificationCenter.d.ts +9 -8
- package/dist/UserNotifications/UNUserNotificationCenterDelegate.d.ts +3 -3
- package/dist/UserNotificationsUI/UNNotificationContentExtension.d.ts +2 -2
- package/dist/VideoSubscriberAccount/VSAccountManager.d.ts +5 -3
- package/dist/VideoSubscriberAccount/VSUserAccountManager.d.ts +7 -5
- package/dist/VideoToolbox/VTFrameProcessor.d.ts +4 -2
- package/dist/VideoToolbox/VTFrameProcessorError.d.ts +17 -0
- package/dist/VideoToolbox/VTFrameProcessorError.js +17 -0
- package/dist/VideoToolbox/VTSuperResolutionScalerConfiguration.d.ts +2 -2
- package/dist/VideoToolbox/functions.d.ts +10 -10
- package/dist/VideoToolbox/functions.js +10 -10
- package/dist/VideoToolbox/index.d.ts +1 -0
- package/dist/VideoToolbox/index.js +1 -0
- package/dist/Virtualization/VZErrorCode.d.ts +28 -0
- package/dist/Virtualization/VZErrorCode.js +28 -0
- package/dist/Virtualization/VZLinuxRosettaDirectoryShare.d.ts +2 -1
- package/dist/Virtualization/VZMacOSInstaller.d.ts +2 -2
- package/dist/Virtualization/VZMacOSRestoreImage.d.ts +3 -3
- package/dist/Virtualization/VZUSBController.d.ts +3 -3
- package/dist/Virtualization/VZVirtioSocketDevice.d.ts +3 -2
- package/dist/Virtualization/VZVirtualMachine.d.ts +8 -7
- package/dist/Virtualization/index.d.ts +1 -0
- package/dist/Virtualization/index.js +1 -0
- package/dist/Vision/VNBarcodeCompositeType.d.ts +8 -0
- package/dist/Vision/VNBarcodeCompositeType.js +8 -0
- package/dist/Vision/VNBarcodeObservation.d.ts +2 -2
- package/dist/Vision/VNChirality.d.ts +6 -0
- package/dist/Vision/VNChirality.js +6 -0
- package/dist/Vision/VNCoreMLRequest.d.ts +3 -2
- package/dist/Vision/VNDetectHumanBodyPose3DRequest.d.ts +3 -1
- package/dist/Vision/VNDetectTrajectoriesRequest.d.ts +3 -2
- package/dist/Vision/VNFaceLandmarkRegion2D.d.ts +2 -1
- package/dist/Vision/VNGeneratePersonSegmentationRequest.d.ts +3 -1
- package/dist/Vision/VNHumanHandPoseObservation.d.ts +2 -1
- package/dist/Vision/VNPointsClassification.d.ts +6 -0
- package/dist/Vision/VNPointsClassification.js +6 -0
- package/dist/Vision/VNRequest.d.ts +3 -2
- package/dist/Vision/VNRequestProgressProviding.d.ts +4 -3
- package/dist/Vision/VNStatefulRequest.d.ts +3 -2
- package/dist/Vision/VNTargetedImageRequest.d.ts +14 -12
- package/dist/Vision/VNTrackHomographicImageRegistrationRequest.d.ts +3 -2
- package/dist/Vision/VNTrackObjectRequest.d.ts +3 -2
- package/dist/Vision/VNTrackOpticalFlowRequest.d.ts +3 -2
- package/dist/Vision/VNTrackRectangleRequest.d.ts +3 -2
- package/dist/Vision/VNTrackTranslationalImageRegistrationRequest.d.ts +3 -2
- package/dist/Vision/index.d.ts +3 -0
- package/dist/Vision/index.js +3 -0
- package/dist/WebKit/WKContentRuleListStore.d.ts +7 -5
- package/dist/WebKit/WKDownload.d.ts +2 -1
- package/dist/WebKit/WKDownloadDelegate.d.ts +9 -5
- package/dist/WebKit/WKHTTPCookieStore.d.ts +6 -6
- package/dist/WebKit/WKNavigationDelegate.d.ts +10 -6
- package/dist/WebKit/WKScriptMessageHandlerWithReply.d.ts +2 -1
- package/dist/WebKit/WKUIDelegate.d.ts +8 -6
- package/dist/WebKit/WKWebExtension.d.ts +3 -3
- package/dist/WebKit/WKWebExtensionContext.d.ts +2 -2
- package/dist/WebKit/WKWebExtensionContextError.d.ts +9 -0
- package/dist/WebKit/WKWebExtensionContextError.js +9 -0
- package/dist/WebKit/WKWebExtensionController.d.ts +4 -3
- package/dist/WebKit/WKWebExtensionControllerDelegate.d.ts +11 -9
- package/dist/WebKit/WKWebExtensionDataRecordError.d.ts +7 -0
- package/dist/WebKit/WKWebExtensionDataRecordError.js +7 -0
- package/dist/WebKit/WKWebExtensionError.d.ts +12 -0
- package/dist/WebKit/WKWebExtensionError.js +12 -0
- package/dist/WebKit/WKWebExtensionMatchPatternError.d.ts +7 -0
- package/dist/WebKit/WKWebExtensionMatchPatternError.js +7 -0
- package/dist/WebKit/WKWebExtensionMessagePort.d.ts +5 -5
- package/dist/WebKit/WKWebExtensionMessagePortError.d.ts +6 -0
- package/dist/WebKit/WKWebExtensionMessagePortError.js +6 -0
- package/dist/WebKit/WKWebExtensionTab.d.ts +18 -16
- package/dist/WebKit/WKWebExtensionWindow.d.ts +5 -5
- package/dist/WebKit/WKWebView.d.ts +26 -21
- package/dist/WebKit/WKWebsiteDataStore.d.ts +8 -7
- package/dist/WebKit/index.d.ts +5 -0
- package/dist/WebKit/index.js +5 -0
- package/dist/iTunesLibrary/ITLibMediaEntity.d.ts +2 -2
- package/generator/ast-parser.ts +371 -5
- package/generator/custom.ts +6 -0
- package/generator/discover.ts +39 -2
- package/generator/emitter.ts +41 -33
- package/generator/parse-worker.ts +28 -0
- package/generator/type-mapper.ts +276 -15
- package/package.json +2 -2
package/dist/AdServices/index.js
CHANGED
|
@@ -3,3 +3,4 @@ import { NobjcLibrary } from "objc-js";
|
|
|
3
3
|
import { _bindClass } from "../bind.js";
|
|
4
4
|
export const AdServices = new NobjcLibrary("/System/Library/Frameworks/AdServices.framework/AdServices");
|
|
5
5
|
export const AAAttribution = _bindClass(AdServices, "AAAttribution");
|
|
6
|
+
export { AAAttributionErrorCode } from "./AAAttributionErrorCode.js";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { NobjcObject } from "objc-js";
|
|
2
1
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
3
2
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
4
3
|
export declare class _NSAccessibilityCustomAction extends _NSObject {
|
|
@@ -8,7 +7,7 @@ export declare class _NSAccessibilityCustomAction extends _NSObject {
|
|
|
8
7
|
/**
|
|
9
8
|
* Creates a custom action that performs the action via a block handler. The block should return whether the action was executed successfully or not. The return status will help accessibility clients know what to communicate back to the user.
|
|
10
9
|
*/
|
|
11
|
-
initWithName$handler$(name: _NSString, handler:
|
|
10
|
+
initWithName$handler$(name: _NSString, handler: (() => boolean) | null): _NSAccessibilityCustomAction;
|
|
12
11
|
/**
|
|
13
12
|
* Creates a custom action that performs the action via selector/target. The selector should have a signature that returns a BOOL for the success status of the execution.
|
|
14
13
|
*/
|
|
@@ -19,8 +18,8 @@ export declare class _NSAccessibilityCustomAction extends _NSObject {
|
|
|
19
18
|
name(): _NSString;
|
|
20
19
|
setName$(value: _NSString): void;
|
|
21
20
|
/** The block that handles the execution of the action */
|
|
22
|
-
handler():
|
|
23
|
-
setHandler$(value:
|
|
21
|
+
handler(): (() => boolean) | null;
|
|
22
|
+
setHandler$(value: (() => boolean) | null): void;
|
|
24
23
|
/** The object that will perform the action via selector */
|
|
25
24
|
target(): _NSObject | null;
|
|
26
25
|
setTarget$(value: _NSObject | null): void;
|
package/dist/AppKit/NSAlert.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export declare class _NSAlert extends _NSObject {
|
|
|
37
37
|
/**
|
|
38
38
|
* Runs the alert modally as a sheet attached to the specified window. - Parameters: - sheetWindow: The window on which to display the sheet. - handler: The completion handler that gets called when the sheet’s modal session ends. This method uses the `NSWindow` sheet methods to display the alert. If the alert has an alert style of `NSCriticalAlertStyle`, it is presented as a critical sheet, which means that it can display on top of other sheets that might already be attached to the window. Otherwise, it is presented--or queued for presentation--as a standard sheet. Note that `-orderOut:` no longer needs to be called in the completion handler. If the alert isn’t don’t dismiss the alert, it will be done for you after the completion handler finishes.
|
|
39
39
|
*/
|
|
40
|
-
beginSheetModalForWindow$completionHandler$(sheetWindow: _NSWindow, handler:
|
|
40
|
+
beginSheetModalForWindow$completionHandler$(sheetWindow: _NSWindow, handler: ((returnCode: number) => void) | null): void;
|
|
41
41
|
/** @deprecated Use -beginSheetModalForWindow:completionHandler: instead */
|
|
42
42
|
beginSheetModalForWindow$modalDelegate$didEndSelector$contextInfo$(window: _NSWindow, delegate: NobjcObject | null, didEndSelector: string | null, contextInfo: Uint8Array | null): void;
|
|
43
43
|
/**
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import type { NobjcObject } from "objc-js";
|
|
2
1
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
3
2
|
import type { _CAMediaTimingFunction } from "../QuartzCore/CAMediaTimingFunction.js";
|
|
4
3
|
export declare class _NSAnimationContext extends _NSObject {
|
|
5
4
|
static alloc(): _NSAnimationContext;
|
|
6
5
|
static new(): _NSAnimationContext;
|
|
7
6
|
init(): _NSAnimationContext;
|
|
8
|
-
static runAnimationGroup$completionHandler$(changes:
|
|
9
|
-
static runAnimationGroup$(changes:
|
|
7
|
+
static runAnimationGroup$completionHandler$(changes: (context: _NSAnimationContext) => void, completionHandler: (() => void) | null): void;
|
|
8
|
+
static runAnimationGroup$(changes: (context: _NSAnimationContext) => void): void;
|
|
10
9
|
static beginGrouping(): void;
|
|
11
10
|
static endGrouping(): void;
|
|
12
11
|
static currentContext(): _NSAnimationContext;
|
|
@@ -14,8 +13,8 @@ export declare class _NSAnimationContext extends _NSObject {
|
|
|
14
13
|
setDuration$(value: number): void;
|
|
15
14
|
timingFunction(): _CAMediaTimingFunction;
|
|
16
15
|
setTimingFunction$(value: _CAMediaTimingFunction): void;
|
|
17
|
-
completionHandler():
|
|
18
|
-
setCompletionHandler$(value:
|
|
16
|
+
completionHandler(): () => void;
|
|
17
|
+
setCompletionHandler$(value: () => void): void;
|
|
19
18
|
/**
|
|
20
19
|
* Determine if animations are enabled or not. Using the -animator proxy will automatically set allowsImplicitAnimation to YES. When YES, other properties can implicitly animate along with the initially changed property. For instance, calling [[view animator] setFrame:frame] will allow subviews to also animate their frame positions. This is only applicable when layer backed on Mac OS 10.8 and later. The default value is NO.
|
|
21
20
|
*/
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { NobjcObject } from "objc-js";
|
|
2
1
|
import type { _NSArray } from "../Foundation/NSArray.js";
|
|
3
2
|
import type { _NSBundle } from "../Foundation/NSBundle.js";
|
|
4
3
|
import type { _NSCoder } from "../Foundation/NSCoder.js";
|
|
@@ -25,7 +24,7 @@ export declare class _NSAppearance extends _NSObject {
|
|
|
25
24
|
/**
|
|
26
25
|
* Make the receiver the active drawing appearance and perform the block. Saves and restores the previous current appearance.
|
|
27
26
|
*/
|
|
28
|
-
performAsCurrentDrawingAppearance$(block:
|
|
27
|
+
performAsCurrentDrawingAppearance$(block: () => void): void;
|
|
29
28
|
/**
|
|
30
29
|
* Creates an NSAppearance by searching the specified bundle for a file with the specified name (without path extension). If bundle is nil, the main bundle is assumed.
|
|
31
30
|
*/
|
|
@@ -17,6 +17,7 @@ import type { _NSArray } from "../Foundation/NSArray.js";
|
|
|
17
17
|
import type { _NSCoder } from "../Foundation/NSCoder.js";
|
|
18
18
|
import type { _NSDate } from "../Foundation/NSDate.js";
|
|
19
19
|
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
|
|
20
|
+
import type { _NSError } from "../Foundation/NSError.js";
|
|
20
21
|
import type { _NSException } from "../Foundation/NSException.js";
|
|
21
22
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
22
23
|
import type { NSRange } from "../structs/NSRange.js";
|
|
@@ -80,7 +81,7 @@ export declare class _NSApplication extends _NSResponder {
|
|
|
80
81
|
/**
|
|
81
82
|
* Execute a block for each of the app's windows. Set `*stop = YES` if desired, to halt the enumeration early.
|
|
82
83
|
*/
|
|
83
|
-
enumerateWindowsWithOptions$usingBlock$(options: NSWindowListOptions, block: NobjcObject): void;
|
|
84
|
+
enumerateWindowsWithOptions$usingBlock$(options: NSWindowListOptions, block: (window: _NSWindow, stop: NobjcObject) => void): void;
|
|
84
85
|
preventWindowOrdering(): void;
|
|
85
86
|
setWindowsNeedUpdate$(needUpdate: boolean): void;
|
|
86
87
|
updateWindows(): void;
|
|
@@ -181,7 +182,7 @@ export declare class _NSApplication extends _NSResponder {
|
|
|
181
182
|
/**
|
|
182
183
|
* The following message is the funnel point for all window restoration. The default behavior is to "demux:" decode the restoration class and send it the class method restoreWindowWithIdentifier:state:completionHandler: above. You should not call this method, but you may override it. Generally it is not necessary to override this method: it is better to set a restoration class on each window and implement the class method above. However, if some version of an app removes a class that is set as the restoration class of a window, you can override this method to detect that case and restore the window differently. Thus this method can be used to "patch up" old persistent state across changes in the class hierarchy. Unlike the class-level counterpart, this method returns BOOL. A YES return means that the window is recognized and that the completion handler will be called (or has already been called). A NO return means that the window was not recognized and the completion handler will not be called. If you override this and return YES, it is important that the completion handler be called, even if the window you pass to it is nil; otherwise the app will never finish restoring its state.
|
|
183
184
|
*/
|
|
184
|
-
restoreWindowWithIdentifier$state$completionHandler$(identifier: _NSString, state: _NSCoder, completionHandler:
|
|
185
|
+
restoreWindowWithIdentifier$state$completionHandler$(identifier: _NSString, state: _NSCoder, completionHandler: ((arg0: _NSWindow, arg1: _NSError) => void) | null): boolean;
|
|
185
186
|
/**
|
|
186
187
|
* These methods allow the app to extend the period of state restoration. If the app crashes before state restoration is complete, then it may offer to discard restorable state on the next launch. If a window has some state that may take a long time to restore, such as a web page, you may use the following methods to extend the period of this crash protection beyond the default. Typically you would call -extendStateRestoration within your implementation of +restoreWindowWithIdentifier:state:completionHandler:. You would then call -completeStateRestoration some time after the window is fully restored (e.g. the web page has loaded). If the app crashes in the interim, then it may offer to discard restorable state on the next launch. These methods act as a counter. Each call to -extend increments the counter, and must be matched with a corresponding call to -complete which decrements it. When the counter reaches zero, the app is considered to have been fully restored, and any further calls are silently ignored. These methods are thread safe.
|
|
187
188
|
*/
|
|
@@ -58,7 +58,7 @@ export interface _NSApplicationDelegate {
|
|
|
58
58
|
/**
|
|
59
59
|
* This will be called on the main thread after the @c NSUserActivity object is available. Use the data you stored in the NSUserActivity object to re-create what the user was doing. @return @c YES to indicate that the activity was handled. Return @c NO (or leave it unimplemented) and AppKit will attempt to continue the user activity. You should create/fetch any restorable objects associated with the user activity, and pass them to the restorationHandler. They will then get the above `-restoreUserActivityState:` method invoked with the user activity. Invoking the @c restorationHandler is optional. It may be copied and invoked later, but must be invoked on the main thread. If this user activity was created automatically by having @c NSUbiquitousDocumentUserActivityType in a @c CFBundleDocumentTypes entry, AppKit can automatically restore the NSUserActivity on OS X if NO is returned, or this method is unimplemented. It will do so by creating a document of the appropriate type using the URL stored in the userInfo under the @c NSUserActivityDocumentURLKey. The document will have `-restoreUserActivity:` called on it.
|
|
60
60
|
*/
|
|
61
|
-
application$continueUserActivity$restorationHandler$?(application: _NSApplication, userActivity: _NSUserActivity, restorationHandler:
|
|
61
|
+
application$continueUserActivity$restorationHandler$?(application: _NSApplication, userActivity: _NSUserActivity, restorationHandler: (restorableObjects: _NSArray) => void): boolean;
|
|
62
62
|
/**
|
|
63
63
|
* There are instances where continuing a @c NSUserActivity may fail. This will get called on the main thread if it does so. If it is unimplemented, AppKit will present the error.
|
|
64
64
|
*/
|
|
@@ -15,6 +15,7 @@ import type { NSBezelStyle } from "./NSBezelStyle.js";
|
|
|
15
15
|
import type { NSButtonType } from "./NSButtonType.js";
|
|
16
16
|
import type { NSCellImagePosition } from "./NSCellImagePosition.js";
|
|
17
17
|
import type { NSControlBorderShape } from "./NSControlBorderShape.js";
|
|
18
|
+
import type { NSControlStateValue } from "./NSControlStateValue.js";
|
|
18
19
|
import type { NSEventModifierFlags } from "./NSEventModifierFlags.js";
|
|
19
20
|
import type { NSImageScaling } from "./NSImageScaling.js";
|
|
20
21
|
import type { NSTintProminence } from "./NSTintProminence.js";
|
|
@@ -171,8 +172,8 @@ export declare class _NSButton extends _NSControl {
|
|
|
171
172
|
/**
|
|
172
173
|
* The button's state. Buttons support the off and on states, and an additional mixed state depending on the value of the `allowsMixedState` property.
|
|
173
174
|
*/
|
|
174
|
-
state():
|
|
175
|
-
setState$(value:
|
|
175
|
+
state(): NSControlStateValue;
|
|
176
|
+
setState$(value: NSControlStateValue): void;
|
|
176
177
|
/**
|
|
177
178
|
* A Boolean value that indicates whether the button allows a mixed state. If NO, the button has two states (on and off), and if YES, the button has three states (on, off, and mixed). The mixed state is commonly used with checkboxes and radio buttons to indicate a value which is partially on.
|
|
178
179
|
*/
|
|
@@ -4,6 +4,7 @@ import type { _NSTextView } from "./NSTextView.js";
|
|
|
4
4
|
import type { _NSTouchBarItem } from "./NSTouchBarItem.js";
|
|
5
5
|
import type { _NSView } from "./NSView.js";
|
|
6
6
|
import type { _NSArray } from "../Foundation/NSArray.js";
|
|
7
|
+
import type { _NSAttributedString } from "../Foundation/NSAttributedString.js";
|
|
7
8
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
8
9
|
import type { NSRange } from "../structs/NSRange.js";
|
|
9
10
|
export declare class _NSCandidateListTouchBarItem extends _NSTouchBarItem {
|
|
@@ -41,8 +42,8 @@ export declare class _NSCandidateListTouchBarItem extends _NSTouchBarItem {
|
|
|
41
42
|
/**
|
|
42
43
|
* A block function for converting a candidate object into an NSAttributedString that will be displayed in the candidate bar. nil by default. Not required for displaying NSString, NSAttributedString, and NSTextCheckingResult candidates. In absence of NSFontAttributeName and NSForegroundColorAttributeName in the returned string, the standard bar appearance font and color are used instead of Helvetica 12.0 and +[NSColor blackColor].
|
|
43
44
|
*/
|
|
44
|
-
attributedStringForCandidate(): NobjcObject;
|
|
45
|
-
setAttributedStringForCandidate$(value: NobjcObject): void;
|
|
45
|
+
attributedStringForCandidate(): (arg0: NobjcObject, arg1: number) => _NSAttributedString;
|
|
46
|
+
setAttributedStringForCandidate$(value: (arg0: NobjcObject, arg1: number) => _NSAttributedString): void;
|
|
46
47
|
/**
|
|
47
48
|
* Returns an array of candidate objects previously set via -setCandidates:forSelectedRange:inString:view:
|
|
48
49
|
*/
|
package/dist/AppKit/NSCell.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ import type { NSCellAttribute } from "./NSCellAttribute.js";
|
|
|
24
24
|
import type { NSCellHitResult } from "./NSCellHitResult.js";
|
|
25
25
|
import type { NSCellType } from "./NSCellType.js";
|
|
26
26
|
import type { NSControlSize } from "./NSControlSize.js";
|
|
27
|
+
import type { NSControlStateValue } from "./NSControlStateValue.js";
|
|
27
28
|
import type { NSControlTint } from "./NSControlTint.js";
|
|
28
29
|
import type { NSFocusRingType } from "./NSFocusRingType.js";
|
|
29
30
|
import type { NSLineBreakMode } from "./NSLineBreakMode.js";
|
|
@@ -123,8 +124,8 @@ export declare class _NSCell extends _NSObject {
|
|
|
123
124
|
setControlView$(value: _NSView | null): void;
|
|
124
125
|
type(): NSCellType;
|
|
125
126
|
setType$(value: NSCellType): void;
|
|
126
|
-
state():
|
|
127
|
-
setState$(value:
|
|
127
|
+
state(): NSControlStateValue;
|
|
128
|
+
setState$(value: NSControlStateValue): void;
|
|
128
129
|
/**
|
|
129
130
|
* Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign'.
|
|
130
131
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { _NSCollectionLayoutEnvironment } from "./NSCollectionLayoutEnvironment.js";
|
|
2
2
|
import type { _NSCollectionLayoutItem } from "./NSCollectionLayoutItem.js";
|
|
3
3
|
import type { _NSCollectionLayoutSize } from "./NSCollectionLayoutSize.js";
|
|
4
4
|
import type { _NSCollectionLayoutSpacing } from "./NSCollectionLayoutSpacing.js";
|
|
@@ -28,7 +28,7 @@ export declare class _NSCollectionLayoutGroup extends _NSCollectionLayoutItem {
|
|
|
28
28
|
/**
|
|
29
29
|
* Specifies a custom group with client-specified frames. During layout, the itemProvider will be called with the group's current geometry provided via the NSCollectionLayoutEnvironment supplied. The coordinate space for returned frames should be {0,0} relative to this group's geometry. Custom groups can be nested arbitrarily inside other groups.
|
|
30
30
|
*/
|
|
31
|
-
static customGroupWithLayoutSize$itemProvider$(layoutSize: _NSCollectionLayoutSize, itemProvider:
|
|
31
|
+
static customGroupWithLayoutSize$itemProvider$(layoutSize: _NSCollectionLayoutSize, itemProvider: (arg0: _NSCollectionLayoutEnvironment) => _NSArray): _NSCollectionLayoutGroup;
|
|
32
32
|
/** for visual debugging; will print an ASCII art rendering to console */
|
|
33
33
|
visualDescription(): _NSString;
|
|
34
34
|
/** Supplementary items are "anchored" to the group's geometry. */
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { NobjcObject } from "objc-js";
|
|
2
1
|
import type { _NSArray } from "../Foundation/NSArray.js";
|
|
3
2
|
import type { _NSCopying } from "../Foundation/NSCopying.js";
|
|
4
3
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
4
|
+
import type { _NSCollectionLayoutEnvironment } from "./NSCollectionLayoutEnvironment.js";
|
|
5
5
|
import type { _NSCollectionLayoutGroup } from "./NSCollectionLayoutGroup.js";
|
|
6
|
+
import type { CGPoint } from "../structs/CGPoint.js";
|
|
6
7
|
import type { NSDirectionalEdgeInsets } from "../structs/NSDirectionalEdgeInsets.js";
|
|
7
8
|
import type { NSCollectionLayoutSectionOrthogonalScrollingBehavior } from "./NSCollectionLayoutSectionOrthogonalScrollingBehavior.js";
|
|
8
9
|
export declare class _NSCollectionLayoutSection extends _NSObject {
|
|
@@ -28,8 +29,8 @@ export declare class _NSCollectionLayoutSection extends _NSObject {
|
|
|
28
29
|
/**
|
|
29
30
|
* Called for each layout pass to allow modification of item properties right before they are displayed.
|
|
30
31
|
*/
|
|
31
|
-
visibleItemsInvalidationHandler():
|
|
32
|
-
setVisibleItemsInvalidationHandler$(value:
|
|
32
|
+
visibleItemsInvalidationHandler(): ((arg0: _NSArray, arg1: CGPoint, arg2: _NSCollectionLayoutEnvironment) => void) | null;
|
|
33
|
+
setVisibleItemsInvalidationHandler$(value: ((arg0: _NSArray, arg1: CGPoint, arg2: _NSCollectionLayoutEnvironment) => void) | null): void;
|
|
33
34
|
/**
|
|
34
35
|
* decoration views anchored to the section's geometry (e.g. background decoration view)
|
|
35
36
|
*/
|
|
@@ -153,7 +153,7 @@ export declare class _NSCollectionView extends _NSView {
|
|
|
153
153
|
/**
|
|
154
154
|
* Animates multiple insert, delete, reload, and move operations as a group. You can use this method in cases where you want to make multiple changes to the collection view in one single animated operation, as opposed to in several separate animations. You might use this method to insert, delete, reload or move items or use it to change the layout parameters associated with one or more items. Use the block passed in the "updates" parameter to specify all of the operations you want to perform. Deletes are processed before inserts in batch operations. This means the indexes for the insertions are processed relative to the indexes of the state before the batch operation, and the indexes for the deletions are processed relative to the indexes of the state after all the insertions in the batch operation. Invocations of this method can be nested.
|
|
155
155
|
*/
|
|
156
|
-
performBatchUpdates$completionHandler$(updates:
|
|
156
|
+
performBatchUpdates$completionHandler$(updates: (() => void) | null, completionHandler: ((finished: boolean) => void) | null): void;
|
|
157
157
|
/**
|
|
158
158
|
* Toggles collapse of the CollectionView section that the sender resides in. Typically you'll wire this action from a section header view's "sectionCollapse" button. (See the NSCollectionViewSectionHeaderView protocol.)
|
|
159
159
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { _NSCollectionLayoutEnvironment } from "./NSCollectionLayoutEnvironment.js";
|
|
2
2
|
import type { _NSCollectionLayoutSection } from "./NSCollectionLayoutSection.js";
|
|
3
3
|
import type { _NSCollectionViewCompositionalLayoutConfiguration } from "./NSCollectionViewCompositionalLayoutConfiguration.js";
|
|
4
4
|
import type { _NSCollectionViewLayout } from "./NSCollectionViewLayout.js";
|
|
@@ -8,8 +8,8 @@ export declare class _NSCollectionViewCompositionalLayout extends _NSCollectionV
|
|
|
8
8
|
init(): _NSCollectionViewCompositionalLayout;
|
|
9
9
|
initWithSection$(section: _NSCollectionLayoutSection): _NSCollectionViewCompositionalLayout;
|
|
10
10
|
initWithSection$configuration$(section: _NSCollectionLayoutSection, configuration: _NSCollectionViewCompositionalLayoutConfiguration): _NSCollectionViewCompositionalLayout;
|
|
11
|
-
initWithSectionProvider$(sectionProvider:
|
|
12
|
-
initWithSectionProvider$configuration$(sectionProvider:
|
|
11
|
+
initWithSectionProvider$(sectionProvider: (arg0: number, arg1: _NSCollectionLayoutEnvironment) => _NSCollectionLayoutSection): _NSCollectionViewCompositionalLayout;
|
|
12
|
+
initWithSectionProvider$configuration$(sectionProvider: (arg0: number, arg1: _NSCollectionLayoutEnvironment) => _NSCollectionLayoutSection, configuration: _NSCollectionViewCompositionalLayoutConfiguration): _NSCollectionViewCompositionalLayout;
|
|
13
13
|
/**
|
|
14
14
|
* Setting this property will invalidate the layout immediately to affect any changes Note: any changes made to properites directly will have no effect.
|
|
15
15
|
*/
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { NobjcObject } from "objc-js";
|
|
2
2
|
import type { _NSIndexPath } from "../Foundation/NSIndexPath.js";
|
|
3
3
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
4
|
+
import type { _NSString } from "../Foundation/NSString.js";
|
|
4
5
|
import type { _NSCollectionView } from "./NSCollectionView.js";
|
|
5
6
|
import type { _NSCollectionViewDataSource } from "./NSCollectionViewDataSource.js";
|
|
7
|
+
import type { _NSCollectionViewItem } from "./NSCollectionViewItem.js";
|
|
6
8
|
import type { _NSDiffableDataSourceSnapshot } from "./NSDiffableDataSourceSnapshot.js";
|
|
9
|
+
import type { _NSView } from "./NSView.js";
|
|
7
10
|
export declare class _NSCollectionViewDiffableDataSource extends _NSObject {
|
|
8
11
|
static alloc(): _NSCollectionViewDiffableDataSource;
|
|
9
12
|
static new(): _NSCollectionViewDiffableDataSource;
|
|
@@ -11,7 +14,7 @@ export declare class _NSCollectionViewDiffableDataSource extends _NSObject {
|
|
|
11
14
|
/**
|
|
12
15
|
* Creates a new NSCollectionViewDiffableDataSource that automatically wires itself up as the given `collectionView`'s `dataSource`. The data source is initially empty. To put items into the `collectionView`, you must create an NSDiffableDataSourceSnapshot, add the desired section and item identifiers to the snapshot, and apply the snapshot to the diffable data source. The required `itemProvider` closure serves the same purpose as NSCollectionViewDataSource `-collectionView:itemForRepresentedObjectAtIndexPath:` method: Its job is to ask the `collectionView` to make an item of the desired type, configure its content and appearance to represent the model object specified by the given identifier and NSIndexPath, and return the configured item.
|
|
13
16
|
*/
|
|
14
|
-
initWithCollectionView$itemProvider$(collectionView: _NSCollectionView, itemProvider: NobjcObject): _NSCollectionViewDiffableDataSource;
|
|
17
|
+
initWithCollectionView$itemProvider$(collectionView: _NSCollectionView, itemProvider: (arg0: _NSCollectionView, arg1: _NSIndexPath, arg2: NobjcObject) => _NSCollectionViewItem): _NSCollectionViewDiffableDataSource;
|
|
15
18
|
/**
|
|
16
19
|
* Create a mutable "snapshot" of the data source state. This can be mutated via transactional updates which, when completed, can be "applied" back to a connected data source
|
|
17
20
|
*/
|
|
@@ -23,8 +26,8 @@ export declare class _NSCollectionViewDiffableDataSource extends _NSObject {
|
|
|
23
26
|
/** IndexPath <-> item identifier conversion */
|
|
24
27
|
itemIdentifierForIndexPath$(indexPath: _NSIndexPath): NobjcObject | null;
|
|
25
28
|
indexPathForItemIdentifier$(identifier: NobjcObject): _NSIndexPath | null;
|
|
26
|
-
supplementaryViewProvider():
|
|
27
|
-
setSupplementaryViewProvider$(value:
|
|
29
|
+
supplementaryViewProvider(): ((arg0: _NSCollectionView, arg1: _NSString, arg2: _NSIndexPath) => _NSView) | null;
|
|
30
|
+
setSupplementaryViewProvider$(value: ((arg0: _NSCollectionView, arg1: _NSString, arg2: _NSIndexPath) => _NSView) | null): void;
|
|
28
31
|
}
|
|
29
32
|
export interface _NSCollectionViewDiffableDataSource extends _NSCollectionViewDataSource {
|
|
30
33
|
}
|
package/dist/AppKit/NSColor.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import type { _NSDictionary } from "../Foundation/NSDictionary.js";
|
|
|
7
7
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
8
8
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
9
9
|
import type { _NSAccessibilityColor } from "./NSAccessibilityColor.js";
|
|
10
|
+
import type { _NSAppearance } from "./NSAppearance.js";
|
|
10
11
|
import type { _NSColorSpace } from "./NSColorSpace.js";
|
|
11
12
|
import type { _NSImage } from "./NSImage.js";
|
|
12
13
|
import type { _NSPasteboard } from "./NSPasteboard.js";
|
|
@@ -53,7 +54,7 @@ export declare class _NSColor extends _NSObject {
|
|
|
53
54
|
/**
|
|
54
55
|
* Create a dynamic catalog color with a provider that is used to lazily resolve the exact color value. When methods are called on this color that need color component values, the provider is called with +NSAppearance.currentAppearance. The provider can use the appearance to return another color to be used for drawing. As much as possible, use the given appearance to make that decision, not other state. The `colorName` should be universally unique and equates to the identity of the color, if nil is provided a unique name will be generated. The name and the Aqua appearance color fallback will be encoded as part of the color. The decoded color is also able to 'join' to a color that gets registered with the same name and become dynamic again.
|
|
55
56
|
*/
|
|
56
|
-
static colorWithName$dynamicProvider$(colorName: _NSString | null, dynamicProvider:
|
|
57
|
+
static colorWithName$dynamicProvider$(colorName: _NSString | null, dynamicProvider: (arg0: _NSAppearance) => _NSColor): _NSColor;
|
|
57
58
|
/** Create component-based colors in various device color spaces. */
|
|
58
59
|
static colorWithDeviceWhite$alpha$(white: number, alpha: number): _NSColor;
|
|
59
60
|
static colorWithDeviceRed$green$blue$alpha$(red: number, green: number, blue: number, alpha: number): _NSColor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { NobjcObject } from "objc-js";
|
|
2
1
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
2
|
+
import type { _NSColor } from "./NSColor.js";
|
|
3
3
|
export declare class _NSColorSampler extends _NSObject {
|
|
4
4
|
static alloc(): _NSColorSampler;
|
|
5
5
|
static new(): _NSColorSampler;
|
|
@@ -7,5 +7,5 @@ export declare class _NSColorSampler extends _NSObject {
|
|
|
7
7
|
/**
|
|
8
8
|
* The primary method for NSColorSampler. Begins or attaches to an existing color sampling session which presents UI to the user for selecting a color from their screen. The handler will be called on the main thread when the user completes the session (either by selection, or cancelation). In the event of user-cancellation, `colorSelectionHandler` will be called with `nil`. The calling NSColorSampler instance is retained until the sampling session is completed.
|
|
9
9
|
*/
|
|
10
|
-
showSamplerWithSelectionHandler$(selectionHandler:
|
|
10
|
+
showSamplerWithSelectionHandler$(selectionHandler: ((selectedColor: _NSColor) => void) | null): void;
|
|
11
11
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { NobjcObject } from "objc-js";
|
|
2
1
|
import type { _NSCoder } from "../Foundation/NSCoder.js";
|
|
3
2
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
4
3
|
import type { _NSColor } from "./NSColor.js";
|
|
@@ -6,6 +5,7 @@ import type { _NSEvent } from "./NSEvent.js";
|
|
|
6
5
|
import type { _NSImage } from "./NSImage.js";
|
|
7
6
|
import type { CGPoint } from "../structs/CGPoint.js";
|
|
8
7
|
import type { NSCursorFrameResizeDirections } from "./NSCursorFrameResizeDirections.js";
|
|
8
|
+
import type { NSCursorFrameResizePosition } from "./NSCursorFrameResizePosition.js";
|
|
9
9
|
import type { NSHorizontalDirections } from "./NSHorizontalDirections.js";
|
|
10
10
|
import type { NSVerticalDirections } from "./NSVerticalDirections.js";
|
|
11
11
|
export declare class _NSCursor extends _NSObject {
|
|
@@ -28,7 +28,7 @@ export declare class _NSCursor extends _NSObject {
|
|
|
28
28
|
/**
|
|
29
29
|
* Returns the cursor for resizing a rectangular frame from the specified edge or corner. - Parameters: - position: The position along the perimeter of a rectangular frame (its edges and corners) from which it’s resized. - directions: The directions in which a rectangular frame can be resized.
|
|
30
30
|
*/
|
|
31
|
-
static frameResizeCursorFromPosition$inDirections$(position:
|
|
31
|
+
static frameResizeCursorFromPosition$inDirections$(position: NSCursorFrameResizePosition, directions: NSCursorFrameResizeDirections): _NSCursor;
|
|
32
32
|
/**
|
|
33
33
|
* Returns the application’s current cursor. - Note: This isn’t necessarily the cursor that is currently being displayed, as the system may be showing the cursor for another running application.
|
|
34
34
|
*/
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const NSCursorFrameResizePosition: {
|
|
2
|
+
readonly Top: 1;
|
|
3
|
+
readonly Left: 2;
|
|
4
|
+
readonly Bottom: 4;
|
|
5
|
+
readonly Right: 8;
|
|
6
|
+
readonly TopLeft: 3;
|
|
7
|
+
readonly TopRight: 9;
|
|
8
|
+
readonly BottomLeft: 6;
|
|
9
|
+
readonly BottomRight: 12;
|
|
10
|
+
};
|
|
11
|
+
export type NSCursorFrameResizePosition = typeof NSCursorFrameResizePosition[keyof typeof NSCursorFrameResizePosition];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { NobjcObject } from "objc-js";
|
|
2
2
|
import type { _NSImageRep } from "./NSImageRep.js";
|
|
3
|
+
import type { CGRect } from "../structs/CGRect.js";
|
|
3
4
|
import type { CGSize } from "../structs/CGSize.js";
|
|
4
5
|
export declare class _NSCustomImageRep extends _NSImageRep {
|
|
5
6
|
static alloc(): _NSCustomImageRep;
|
|
@@ -8,9 +9,9 @@ export declare class _NSCustomImageRep extends _NSImageRep {
|
|
|
8
9
|
/**
|
|
9
10
|
* Note that the block passed to the below method may be invoked whenever and on whatever thread the image itself is drawn on. Care should be taken to ensure that all state accessed within the drawingHandler block is done so in a thread safe manner.
|
|
10
11
|
*/
|
|
11
|
-
initWithSize$flipped$drawingHandler$(size: CGSize, drawingHandlerShouldBeCalledWithFlippedContext: boolean, drawingHandler:
|
|
12
|
+
initWithSize$flipped$drawingHandler$(size: CGSize, drawingHandlerShouldBeCalledWithFlippedContext: boolean, drawingHandler: (dstRect: CGRect) => boolean): _NSCustomImageRep;
|
|
12
13
|
initWithDrawSelector$delegate$(selector: string, delegate: NobjcObject): _NSCustomImageRep;
|
|
13
|
-
drawingHandler():
|
|
14
|
+
drawingHandler(): (arg0: CGRect) => boolean;
|
|
14
15
|
drawSelector(): string | null;
|
|
15
16
|
delegate(): NobjcObject | null;
|
|
16
17
|
}
|
|
@@ -87,23 +87,23 @@ export declare class _NSDocument extends _NSObject {
|
|
|
87
87
|
/**
|
|
88
88
|
* Given a block that will perform work that might result in the presentation of modal UI, wait for any work scheduled by previous invocations of this method to be completed, and then invoke the block. The block is passed another block, the activity completion handler, which must be invoked when the activity is complete. There are two kinds of waiting possible, synchronous and asynchronous. Which one is used is controlled by the waitSynchronously parameter. If the value for that parameter is YES then this method does not return until previous activities are complete and the passed-in block has been invoked. If it is NO then the passed-in block might not be invoked before this method has returned. It might instead be invoked later, on the main thread, after previous activities are complete. This method's primary use is to wait for asynchronous saving, a new feature that was introduced in Mac OS 10.7. With asynchronous saving it is possible for the user to instigate a user interface action that might present modal UI, a sheet for example, when asynchronous saving is about to fail and present an error alert sheet of its own, which would not work. This method solves that problem. If your NSDocument subclass supports asynchronous saving you should invoke this method around the performance of any work that might cause the presentation of modal UI, regardless of whether that work is performed synchronously or asynchronously. Here is a list of NSDocument methods whose default implementations invoke this method because they might present sheets, either to ask the user what to do as they begin their work or because they may fail and present errors to user: -revertDocumentToSaved: -saveDocumentWithDelegate:didSaveSelector:contextInfo: -runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo: -saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo: -canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo: -duplicateDocumentWithDelegate:didDuplicateSelector:contextInfo: -runModalPageLayoutWithPrintInfo:delegate:didRunSelector:contextInfo: -printDocumentWithSettings:showPrintPanel:delegate:didPrintSelector:contextInfo: -runModalPrintOperation:delegate:didRunSelector:contextInfo: More uses of this method may be added to NSDocument in the future. This method must be invoked on the main thread. If it is passed YES for waitSynchronously it waits on the main thread, blocking further user interaction with the document. The purpose of blocking the main thread is so the user cannot continue to change the document while an activity is pending. This prevents for example the strange situation where the user chooses to revert the document, reverting does not happen immediately because asynchronous saving is still in progress, the user is able to continue to make changes to the document, and then those changes are immediately discarded when the asynchronous saving is complete and the document is reverted. All of the NSDocument methods listed above pass YES for waitSynchronously. You pass NO for waitSynchronously when the work that is to be done is instigated by the user so indirectly that the work might begin when modal UI is already being presented. For example, here is another method whose default implementation invokes this method, this time passing NO for waitSynchronously: -autosaveDocumentWithDelegate:didAutosaveSelector:contextInfo: This method might present an error alert but it is typically invoked by a timer. If it passed YES for waitSynchronously, and the timer fired while the user was looking at a sheet presented by a previous activity, blocking of the main thread would prevent the handling of the user interface events necessary to dismiss that sheet and complete that previous activity. Deadlock would result. Whether you make this method wait synchronously or asynchronously to do your work is separate from whether your work is done synchronously or asynchronously. For example, as mentioned above -saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo: passes YES for waitSynchronously when it uses this method, even though the majority of the work it does may be done asynchronously. You should not invoke this method during the invocation of the block passed to -performSynchronousFileAccessUsingBlock:, mentioned down below, or in between the time -performAsynchronousFileAccessUsingBlock:, also mentioned down below, invokes the block passed to it and the time at which the corresponding file access completion handler is invoked. If you do then deadlock can result. In other words, you cannot begin a new activity as part of file access. You can on the other hand invoke -performSynchronousFileAccessUsingBlock: or -performAsynchronousFileAccessUsingBlock: as part of an activity. Some asynchronous activities, like saving, need to do work on the main thread as they are completing. A deadlock would be inevitable if there were no way to interrupt this method's blocking of the main thread. See -continueAsynchronousWorkOnMainThreadUsingBlock: to find out how to interrupt this method's blocking of the main thread.
|
|
89
89
|
*/
|
|
90
|
-
performActivityWithSynchronousWaiting$usingBlock$(waitSynchronously: boolean, block:
|
|
90
|
+
performActivityWithSynchronousWaiting$usingBlock$(waitSynchronously: boolean, block: (arg0: () => void) => void): void;
|
|
91
91
|
/**
|
|
92
92
|
* If a block that was passed to -performActivityWithSynchronousWaiting:usingBlock: is being invoked, invoke the passed-in block, having recorded state that makes inner invocations of -performActivityWithSynchronousWaiting:usingBlock: not wait. If this method is invoked outside of an invocation of a block passed to -performActivityWithSynchronousWaiting:usingBlock:, simply invoke the passed-in block. This method is useful when code executed in a block passed to -performActivityWithSynchronousWaiting:usingBlock: may also invoke that method. For example, -saveDocumentWithDelegate:didSaveSelector:contextInfo:, which uses -performActivityWithSynchronousWaiting:usingBlock:, uses this around its invocation of -runModalSavePanelForSaveOperation:delegate:didSaveSelector: or -saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo: because both of those methods also use -performActivityWithSynchronousWaiting:usingBlock:. Without the use of this method that inner invocation of -performActivityWithSynchronousWaiting:usingBlock: would wait forever.
|
|
93
93
|
*/
|
|
94
|
-
continueActivityUsingBlock$(block:
|
|
94
|
+
continueActivityUsingBlock$(block: () => void): void;
|
|
95
95
|
/**
|
|
96
96
|
* Invoke the block on the main thread. If the main thread is blocked by an invocation of -performActivityWithSynchronousWaiting:usingBlock: or -performSynchronousFileAccessUsingBlock:, interrupt that blocking to invoke the block, and then resume blocking when the invocation of the block has returned. Invocations of this method always return before the passed-in block is invoked. You can invoke this method when work is being done on a non-main thread and part of the work must be continued on the main thread. For example, -saveToURL:ofType:forSaveOperation:completionHandler: uses this method when it has just completed the actual writing of the file during asynchronous saving and, to finish the saving operation, must invoke -updateChangeCountWithToken:forSaveOperation: and other methods on the main thread. This method can of course be invoked on any thread.
|
|
97
97
|
*/
|
|
98
|
-
continueAsynchronousWorkOnMainThreadUsingBlock$(block:
|
|
98
|
+
continueAsynchronousWorkOnMainThreadUsingBlock$(block: () => void): void;
|
|
99
99
|
/**
|
|
100
100
|
* Given a block that will perform file access, wait for any file access scheduled by previous invocations of this method or -performAsynchronousFileAccessUsingBlock: to be complete, and then invoke the block. When the block invocation returns allow the next scheduled file access to to be performed, if any. Like -performActivityWithSynchronousWaiting:usingBlock: this method's primary use is to wait for asynchronous saving, but in contrast with that method it is only for use to wait for the part of an asynchronous saving operation that actually touches the document's file or values in memory that are in some way relative to the document's file. See the comment for -performAsynchronousFileAccessUsingBlock: for an explanation of why this distinction is important. In general you should use this method or -performAsynchronousFileAccessUsingBlock: around code that gets or sets values in memory that only make sense in the context of the document file's current state. For example, NSDocument itself consistently uses this mechanism around invocations of these methods: - -fileType, -fileURL, -fileModificationDate, -autosavedContentsFileURL:, and -isDraft, because you can't reliably make decisions based on a file's location, type, modification date, or draft status when it might be being asynchronously moved, renamed, or changed at that moment. - -setFileType:, -setFileURL:, -setFileModificationDate:, -setAutosavedContentsFileURL:, and -setDraft:, to make using this mechanism when invoking the previous list of methods meaningful. - -isDocumentEdited and -hasUnautosavedChanges, because you can't reliably make decisions based on whether the document's contents in memory have been saved to a file when it might be being asynchronously saved at that moment. - -updateChangeCountWithToken:forSaveOperation: and, sometimes, updateChangeCount:, to make using this mechanism when invoking -isDocumentEdited and -hasUnautosavedChanges meaningful. - -backupFileURL, since it depends on -fileURL.
|
|
101
101
|
*/
|
|
102
|
-
performSynchronousFileAccessUsingBlock$(block:
|
|
102
|
+
performSynchronousFileAccessUsingBlock$(block: () => void): void;
|
|
103
103
|
/**
|
|
104
104
|
* Do the same sort of thing as -performSynchronousFileAccessUsingBlock:, but without ever blocking the main thread, and perhaps not invoking the block until after the method invocation has returned, though still always on the same thread as the method invocation. The block is passed another block, the file access completion handler, which must be invoked when the file access is complete, though it can be invoked from any thread. This method is for use with file access that might begin on one thread but continue on another before it is complete. saveToURL:ofType:forSaveOperation:completionHandler: for for example uses this method instead of -performSynchronousFileAccessUsingBlock: because if it does asynchronous saving then there is no way for it to actually complete all of its file access before returning from the file access block. The distinction between entire activities and the file accessing part of activities established by having both activity performing methods and file access performing methods is worthwhile because sometimes it is valuable to perform file access without any risk of waiting for the user to dismiss a modal panel. For example, NSDocument's implementation of -[NSFilePresenter relinquishPresentedItemToWriter:] uses -performAsynchronousFileAccessUsingBlock: to ensure that the uses of -performSynchronousFileAccessUsingBlock: described above wait while another process is moving, renaming, or changing the file. Using -performActivityWithSynchronousWaiting:usingBlock: instead would not be appropriate because that would introduce the possibility of the other process' writing being blocked until the user has dismissed a sheet that is being presented as part of a previously scheduled activity.
|
|
105
105
|
*/
|
|
106
|
-
performAsynchronousFileAccessUsingBlock$(block:
|
|
106
|
+
performAsynchronousFileAccessUsingBlock$(block: (arg0: () => void) => void): void;
|
|
107
107
|
/**
|
|
108
108
|
* The action of the File menu's Revert to Saved item in a document-based application. The default implementation of this method presents a panel giving the user the opportunity to cancel the operation and, and if the user chooses to continue, makes sure that any editor registered using Cocoa Bindings' NSEditorRegistration protocol has discarded its changes and then invokes [self revertToContentsOfURL:[self url] ofType:[self fileType] error:outError]. If that returns NO, it presents the error to the user in an document-modal alert panel. If +autosavesInPlace returns YES and +preservesVersions returns NO, this method throws an exception.
|
|
109
109
|
*/
|
|
@@ -183,7 +183,7 @@ export declare class _NSDocument extends _NSObject {
|
|
|
183
183
|
/**
|
|
184
184
|
* Save the contents of the document to a file or file package located by a URL, formatted to a specified type, for a particular kind of save operation, and invoke the passed-in completion handler at some point in the future, perhaps after the method invocation has returned. The completion handler must be invoked on the main thread. If successful, pass a nil error. If not successful, pass an NSError that encapsulates the reason why the document could not be saved. The default implementation of this method invokes [self canAsynchronouslyWriteToURL:url ofType:typeName forSaveOperation:saveOperation]. If writing can't be done concurrently, it invokes [self writeSafelyToURL:url ofType:typeName forSaveOperation:saveOperation error:&anError] on the main thread thread. If writing can be done concurrently, it invokes that method on a different thread, but blocking the main thread until something invokes -unblockUserInteraction. Either way, if -writeSafelyToURL:ofType:forSaveOperation:error: returns YES, it also invokes some combination of -setFileModificationDate:, -setFileType:, -setFileURL:, -updateChangeCount:, and -setAutosavedContentsFileURL:, as appropriate for the kind of save operation, on the main thread. It also updates information that -saveDocumentWithDelegate:didSaveSelector:contextInfo: uses to check for modification, renaming, moving, deleting, and trashing of open documents, and deletes autosaved contents files when they have become obsolete. You can override this method to do things that need to be done before or after any save operation but, because this method does several different things, and because the things are likely to change in future releases of Mac OS X, it's probably not a good idea to override this method without invoking super. For backward binary compatibility with Mac OS 10.6 and earlier, the default implementation of this method instead invokes [self saveToURL:url ofType:typeName forSaveOperation:saveOperation error:&anError] if that method is overridden and this one is not, and passes any error to the completion handler.
|
|
185
185
|
*/
|
|
186
|
-
saveToURL$ofType$forSaveOperation$completionHandler$(url: _NSURL, typeName: _NSString, saveOperation: NSSaveOperationType, completionHandler:
|
|
186
|
+
saveToURL$ofType$forSaveOperation$completionHandler$(url: _NSURL, typeName: _NSString, saveOperation: NSSaveOperationType, completionHandler: ((errorOrNil: _NSError) => void) | null): void;
|
|
187
187
|
/**
|
|
188
188
|
* Return whether the receiver can concurrently write to a file or file package located by a URL, formatted for a specific type, for a specific kind of save operation. The default implementation of this method returns NO. You are strongly encouraged to override it and make it return YES, after making sure your overrides of -write... methods can be safely invoked on a non-main thread, and making sure that -unblockUserInteraction will be invoked at some appropriate time during writing.
|
|
189
189
|
*/
|
|
@@ -203,7 +203,7 @@ export declare class _NSDocument extends _NSObject {
|
|
|
203
203
|
/**
|
|
204
204
|
* Autosave the document's contents at an appropriate location if it needs autosaving, and invoke the passed-in completion handler at some point in the future, perhaps after the method invocation has returned. The completion handler must be invoked on the main thread. If successful, pass a nil error. If not successful, pass an NSError that encapsulates the reason why the document could not be autosaved. autosavingIsImplicitlyCancellable becomes what -autosavingIsImplicitlyCancellable returns while the autosaving is happening. The default implementation of this method invokes [self hasUnautosavedChanges] and, if that returns YES, figures out where the autosaved document contents should go and invokes [self saveToURL:autosavedDocumentContentsURL ofType:[self autosavingFileType] forSaveOperation:oneOfTheAutosaveOperations completionHandler:aCompletionHandler]. oneOfTheAutosaveOperations will be NSAutosaveAsOperation if the document has been changed with NSChangeDone and the current document should be turned into a draft, NSAutosaveInPlaceOperation if [[self class] autosavesInPlace] returns YES and [self fileURL] returns non-nil, or NSAutosaveElsewhereOperation otherwise. The check of [self fileURL] is because there's no such thing as autosaving "in place" when the document does not yet have a permanent place.
|
|
205
205
|
*/
|
|
206
|
-
autosaveWithImplicitCancellability$completionHandler$(autosavingIsImplicitlyCancellable: boolean, completionHandler:
|
|
206
|
+
autosaveWithImplicitCancellability$completionHandler$(autosavingIsImplicitlyCancellable: boolean, completionHandler: ((errorOrNil: _NSError) => void) | null): void;
|
|
207
207
|
/**
|
|
208
208
|
* The action of the Browse Saved Versions menu item in a document-based application. The default implementation causes the document's main window, specified by [self windowForSheet], to enter the Versions browser.
|
|
209
209
|
*/
|
|
@@ -211,7 +211,7 @@ export declare class _NSDocument extends _NSObject {
|
|
|
211
211
|
/**
|
|
212
212
|
* If the receiver is currently displaying the Versions browser, cleanly stop browsing versions (which includes waiting for any animations to complete). Then invoke the completion handler on the main thread.
|
|
213
213
|
*/
|
|
214
|
-
stopBrowsingVersionsWithCompletionHandler$(completionHandler:
|
|
214
|
+
stopBrowsingVersionsWithCompletionHandler$(completionHandler: (() => void) | null): void;
|
|
215
215
|
/**
|
|
216
216
|
* If there are changes that have not yet been saved to the document's file and saving cannot be done without asking the user first, present a panel to the user informing them that the document is modified and asking if it should be saved. If the user indicates that it should be, then try to save it. When saving is completed, regardless of success or failure, or has been rejected one way or another by the user, send the message selected by shouldCloseSelector to the delegate, with the contextInfo as the last argument. If the document is not modified then just send the message selected by shouldCloseSelector right away. The method selected by shouldCloseSelector must have the same signature as: - (void)document:(NSDocument *)document shouldClose:(BOOL)shouldClose contextInfo:(void *)contextInfo; The default implementation of this method has two rather different behaviors. If [[self class] autosavesInPlace] returns YES and [self fileURL] returns non-nil then it simply invokes [self autosaveWithImplicitCancellability:NO completionHandler:aCompletionHandler] if [self hasUnautosavedChanges] returns YES after making sure that any editor registered using Cocoa Bindings' NSEditorRegistration protocol has committed its changes. Otherwise it presents a panel giving the user the choice of canceling, discarding changes, or saving. In that case the shouldClose value passed to the delegate will be YES if the document was not modified in the first place, or the user chose to discard modifications, or chose to save and the saving was successful. NO will be passed if the user chose to cancel the operation or saving was unsuccessful. Because -saveDocumentWithDelegate:didSaveSelector:contextInfo: is used, an alert panel will be presented before the delegate is messaged if saving is attempted but does not succeed.
|
|
217
217
|
*/
|
|
@@ -247,11 +247,11 @@ export declare class _NSDocument extends _NSObject {
|
|
|
247
247
|
/**
|
|
248
248
|
* Present a move panel to the user, then try to save the document if the user OKs the panel. When moving is completed, regardless of success, failure, or cancellation, invoke the given block. The default implementation of this method first makes sure that any editor registered using Cocoa Binding's NSEditorRegistration protocol has committed its changes if necessary. Then, if [self fileURL] is non-nil, it creates and presents a move panel. If the user OKs the panel, -moveToURL:completionHandler: is invoked. If a file already exists at the location the user chooses, the user will be asked to choose between replacing that file, renaming the current document, or canceling. If [self fileURL] is nil, then this method will instead invoke [self runModalSavePanelForSaveOperation:NSSaveAsOperation delegate:didSaveSelector:contextInfo:].
|
|
249
249
|
*/
|
|
250
|
-
moveDocumentWithCompletionHandler$(completionHandler:
|
|
250
|
+
moveDocumentWithCompletionHandler$(completionHandler: ((didMove: boolean) => void) | null): void;
|
|
251
251
|
/**
|
|
252
252
|
* Move the document's file to the given URL and invoke the passed-in completion handler at some point in the future, perhaps after the method invocation has returned. The completion handler must be invoked on the main thread. If successful, pass a nil error. If not successful, pass an NSError that encapsulates the reason why the document could not be moved. The default implementation of this method does a coordinated move of the file at [self fileURL] to the given URL, replacing any file that may currently exist at that URL, and invokes -setFileURL: if the operation is successful. If [self fileURL] is nil, then this method will instead invoke [self saveToURL:url ofType:[self fileType] forSaveOperation:NSSaveAsOperation completionHandler:aCompletionHandler].
|
|
253
253
|
*/
|
|
254
|
-
moveToURL$completionHandler$(url: _NSURL, completionHandler:
|
|
254
|
+
moveToURL$completionHandler$(url: _NSURL, completionHandler: ((arg0: _NSError) => void) | null): void;
|
|
255
255
|
/**
|
|
256
256
|
* The actions of the Lock and Unlock menu items in a document-based application. The default implementations of these method invoke -lockDocumentWithCompletionHandler: and -unlockDocumentWithCompletionHandler: respectively.
|
|
257
257
|
*/
|
|
@@ -260,19 +260,19 @@ export declare class _NSDocument extends _NSObject {
|
|
|
260
260
|
/**
|
|
261
261
|
* Lock the document to prevent the user from making further modifications. When locking is completed, regardless of success or failure, invoke the given block. The default implementation of this method first makes sure that any editor registered using Cocoa Binding's NSEditorRegistration protocol has committed its changes and immediately autosaves the document. If the autosave completes successfully or isn't necessary, this method invokes [self lockWithCompletionHandler:]. When locking succeeds, -isLocked will begin returning YES. Documents that return nil from [self fileURL] cannot be locked.
|
|
262
262
|
*/
|
|
263
|
-
lockDocumentWithCompletionHandler$(completionHandler:
|
|
263
|
+
lockDocumentWithCompletionHandler$(completionHandler: ((didLock: boolean) => void) | null): void;
|
|
264
264
|
/**
|
|
265
265
|
* Lock the file at [self fileURL] to prevent further modifications. When locking is completed regardless of success or failure, invoke the given block. The default implementation of this method enables the "user immutable" flag on the file at [self fileURL].
|
|
266
266
|
*/
|
|
267
|
-
lockWithCompletionHandler$(completionHandler:
|
|
267
|
+
lockWithCompletionHandler$(completionHandler: ((arg0: _NSError) => void) | null): void;
|
|
268
268
|
/**
|
|
269
269
|
* Unlock the document and allow the user to make modifications to the document. When unlocking is completed, regardless of success or failure, invoke the given block. The default implementation of this method invokes [self unlockWithCompletionHandler:]. This method also disables autosaving safety checking, meaning that -checkAutosavingSafetyAndReturnError: will no longer be invoked on this document. When unlocking succeeds, -isLocked will being returning NO.
|
|
270
270
|
*/
|
|
271
|
-
unlockDocumentWithCompletionHandler$(completionHandler:
|
|
271
|
+
unlockDocumentWithCompletionHandler$(completionHandler: ((didUnlock: boolean) => void) | null): void;
|
|
272
272
|
/**
|
|
273
273
|
* Unlock the file at [self fileURL] to allow modifications. When unlocking is completed, regardless of success of failure, invoke the given block. The default implementation of this method tries to clear the "user immutable" flag and add write permissions (if necessary) to the file at [self fileURL].
|
|
274
274
|
*/
|
|
275
|
-
unlockWithCompletionHandler$(completionHandler:
|
|
275
|
+
unlockWithCompletionHandler$(completionHandler: ((arg0: _NSError) => void) | null): void;
|
|
276
276
|
/**
|
|
277
277
|
* The action of the File menu's Page Setup... item in a document-based application. The default implementation of this method invokes [self printInfo], makes a copy of the print info object, and invokes [self runModalPageLayoutWithPrintInfo:printInfoCopy delegate:aPrivateDelegate didRunSelector:aSelectorForAPrivateMethod contextInfo:privateContextInfo]. If the user OKs the page layout panel, [self shouldChangePrintInfo:printInfoCopy] is invoked. If that returns YES, [self setPrintInfo:printInfoCopy] is invoked.
|
|
278
278
|
*/
|
|
@@ -312,7 +312,7 @@ export declare class _NSDocument extends _NSObject {
|
|
|
312
312
|
/**
|
|
313
313
|
* Share the document's file using the given NSSharingService. First, ensure the document is in a state where it can be properly shared by the given service by saving or relocating the receiver's file, if necessary. Then perform the given sharing service with 'self.fileURL' as the only item. When sharing is complete or fails, invoke the completion handler indicating whether the operation was successful. The default implementation of this method first ensures the document is saved by autosaving the document if possible, or else presenting the user with a save panel. If the given sharing service has the name NSSharingServiceNameCloudSharing, then it also ensures that file is located in an appropriate container for sharing (e.g. iCloud Drive). When the sharing service finishes, it displays an errors returned by the NSSharingService, then invokes the completion handler, passing a boolean indicating whether sharing succeeded or not. If the given sharing service had a delegate already set, the default implementation replaces it with its own delegate in order to get completion notifications. However, all NSSharingServiceDelegate methods will be forwarded to the original delegate as well. When an NSDocument is the only item being used with NSSharingServicePicker or NSSharingServicePickerTouchBarItem, it will invoke this method instead of calling -[NSSharingService performWithItems:] directly.
|
|
314
314
|
*/
|
|
315
|
-
shareDocumentWithSharingService$completionHandler$(sharingService: _NSSharingService, completionHandler:
|
|
315
|
+
shareDocumentWithSharingService$completionHandler$(sharingService: _NSSharingService, completionHandler: ((success: boolean) => void) | null): void;
|
|
316
316
|
/**
|
|
317
317
|
* Given the NSSharingServicePicker used by an NSDocumentController-owned Share menu (either an automatically inserted one, or one returned by +[NSDocumentController standardShareMenuItem]), make any final changes before that menu is presented. Specifically, you may choose to set a custom NSSharingServicePickerDelegate to customize the construction of the resulting menu, or provide a custom NSSharingServiceDelegate for the chosen service.
|
|
318
318
|
*/
|
|
@@ -385,10 +385,10 @@ export declare class _NSDocument extends _NSObject {
|
|
|
385
385
|
* Conformance to the NSUserInterfaceValidations protocol. NSDocument's implementation of this method conditionally enables menu items for all of the action methods listed in this header file.
|
|
386
386
|
*/
|
|
387
387
|
validateUserInterfaceItem$(item: _NSValidatedUserInterfaceItem): boolean;
|
|
388
|
-
relinquishPresentedItemToReader$(reader:
|
|
389
|
-
relinquishPresentedItemToWriter$(writer:
|
|
390
|
-
savePresentedItemChangesWithCompletionHandler$(completionHandler:
|
|
391
|
-
accommodatePresentedItemDeletionWithCompletionHandler$(completionHandler:
|
|
388
|
+
relinquishPresentedItemToReader$(reader: ((arg0: () => void) => void) | null): void;
|
|
389
|
+
relinquishPresentedItemToWriter$(writer: ((arg0: () => void) => void) | null): void;
|
|
390
|
+
savePresentedItemChangesWithCompletionHandler$(completionHandler: ((errorOrNil: _NSError) => void) | null): void;
|
|
391
|
+
accommodatePresentedItemDeletionWithCompletionHandler$(completionHandler: ((errorOrNil: _NSError) => void) | null): void;
|
|
392
392
|
presentedItemDidMoveToURL$(newURL: _NSURL): void;
|
|
393
393
|
presentedItemDidChange(): void;
|
|
394
394
|
presentedItemDidChangeUbiquityAttributes$(attributes: _NSSet): void;
|
|
@@ -453,7 +453,7 @@ export declare class _NSDocument extends _NSObject {
|
|
|
453
453
|
/**
|
|
454
454
|
* The following method is called by the default implementation of +[NSDocumentController restoreWindowWithIdentifier:state:completionHandler:] to restore a window that was associated with a document, after that document has been reopened. The default implementation first checks if the document has window controllers, and if not, it calls -makeWindowControllers. If there is then exactly one window controller, it invokes the completion handler with its window. If there is more than one, it searches the receiver's window controllers for a window that matches the given identifier, and then calls the completionHandler with it. If no window could be found, it invokes the completion handler with a nil window. If your document has variable or optional windows, you may override this to create the requested window, and then call the completion handler with it. This allows you to use the default document reopening behavior, but intervene at the point of creating the windows. The parameters are the same as in the class method +restoreWindowWithIdentifier:state:completionHandler:.
|
|
455
455
|
*/
|
|
456
|
-
restoreDocumentWindowWithIdentifier$state$completionHandler$(identifier: _NSString, state: _NSCoder, completionHandler:
|
|
456
|
+
restoreDocumentWindowWithIdentifier$state$completionHandler$(identifier: _NSString, state: _NSCoder, completionHandler: ((arg0: _NSWindow, arg1: _NSError) => void) | null): void;
|
|
457
457
|
/**
|
|
458
458
|
* NSDocument implements the NSRestorableState methods, even though it itself is not an NSResponder.
|
|
459
459
|
*/
|