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
|
@@ -64,15 +64,15 @@ export declare class _NSDocumentController extends _NSObject {
|
|
|
64
64
|
/**
|
|
65
65
|
* Present an open panel, which may or may not be application-modal, to the user and, if the user selects one or more files and indicates that they are to be opened, invoke the completion handler with an array of those files' URLs. Invoke the completion handler with nil otherwise. The default implementation of this method invokes -beginOpenPanel:forTypes:completionHandler:. However, for backward binary compatibility, it invokes -runModalOpenPanel:forTypes: instead if you override it in a subclass and not -beginOpenPanel:forTypes:completionHandler:. If you override -[NSDocumentController openDocument:], you would typically want to invoke this method instead of -beginOpenPanel:forTypes:completionHandler: or -URLsFromRunningOpenPanel directly. You typically would not override this method without calling super.
|
|
66
66
|
*/
|
|
67
|
-
beginOpenPanelWithCompletionHandler$(completionHandler:
|
|
67
|
+
beginOpenPanelWithCompletionHandler$(completionHandler: ((arg0: _NSArray) => void) | null): void;
|
|
68
68
|
/**
|
|
69
69
|
* Present an open panel, which will always be non-modal, to the user, specifying a list of UTIs for openable files. Invoke the completion handler with NSOKButton or NSCancelButton depending on how the user dismisses the panel. You typically would not invoke this method directly. You can override it though if you need to customize the open panel before it gets displayed.
|
|
70
70
|
*/
|
|
71
|
-
beginOpenPanel$forTypes$completionHandler$(openPanel: _NSOpenPanel, inTypes: _NSArray | null, completionHandler:
|
|
71
|
+
beginOpenPanel$forTypes$completionHandler$(openPanel: _NSOpenPanel, inTypes: _NSArray | null, completionHandler: (result: number) => void): void;
|
|
72
72
|
/**
|
|
73
73
|
* Open a document located by a URL, present its user interface if displayDocument is YES, 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 the document to the completion handler, and also whether the document was already open or being opened before this method was invoked. If not successful, pass a nil document and an NSError that encapsulates the reason why the document could not be opened. The default implementation of this method checks to see if the document is already open or being opened, and if it is not determines the type of the document, invokes -makeDocumentWithContentsOfURL:ofType:error: to instantiate it, invokes -addDocument: to record its opening, and sends the document -makeWindowControllers and -showWindows messages if displayDocument is YES. If the document is already open it is just sent a -showWindows message if displayDocument is YES. If the relevant document class returns YES when sent +canConcurrentlyReadDocumentsOfType: then the invocation of -makeDocumentWithContentsOfURL:ofType:error: is done on a thread other than the main one and when that has returned the rest of the operation is done on the main thread. The default implementation of this method uses the file coordination mechanism that was added to the Foundation framework in Mac OS 10.7. All of the work it does is one big coordinated read, and it passes the document to +[NSFileCoordinator addFilePresenter:] right after -addDocument: is invoked. (The balancing invocation of +[NSFileCoordinator removeFilePresenter:] is in -[NSDocument close]). You can override this method to customize how documents are opened. Its implemention however is somewhat complex so unless your customization is to do additional work before invoking super, or to invoke super with a completion handler that does additional work before invoking the original completion handler, you should investigate overriding one of the methods that it invokes instead. If you do override this method you should investigate whether you should also override -reopenDocumentForURL:withContentsOfURL:display:completionHandler: to apply the same customization. In either cause take care to always invoke the completion handler on the main thread. You can of course invoke this method to open a document. For backward binary compatibility with Mac OS 10.6 and earlier, the default implementation of this method invokes [self openDocumentWithContentsOfURL:url display:displayDocument error:&anError] if that method or the even older -openDocumentWithContentsOfFile:display: method is overridden and this one is not, instead of invoking -makeDocumentWithContentsOfURL:ofType:error: and all the rest.
|
|
74
74
|
*/
|
|
75
|
-
openDocumentWithContentsOfURL$display$completionHandler$(url: _NSURL, displayDocument: boolean, completionHandler:
|
|
75
|
+
openDocumentWithContentsOfURL$display$completionHandler$(url: _NSURL, displayDocument: boolean, completionHandler: ((document: _NSDocument, documentWasAlreadyOpen: boolean, error: _NSError) => void) | null): void;
|
|
76
76
|
/**
|
|
77
77
|
* Instantiate a document located by a URL, of a specified type, and return it if successful. If not successful, return nil after setting *outError to an NSError that encapsulates the reason why the document could not be instantiated. The default implementation of this method invokes -documentClassForType: to find out the class of document to instantiate, allocates a document object, and initializes it by sending it an -initWithContentsOfURL:ofType:error: message. For backward binary compatibility with Mac OS 10.3 and earlier, the default implementation of this method instead invokes [self makeDocumentWithContentsOfFile:[url path] ofType:typeName] if -makeDocumentWithContentsOfFile:ofType: is overridden and the URL uses the "file:" scheme.
|
|
78
78
|
*/
|
|
@@ -80,7 +80,7 @@ export declare class _NSDocumentController extends _NSObject {
|
|
|
80
80
|
/**
|
|
81
81
|
* Reopen a document, perhaps located by a URL, perhaps not, by reading the contents for the document from another URL, which may or may not be a different URL, present its user interface if displayDocument is YES, 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 the document to the completion handler, and also whether the document was already open or being opened before this method was invoked. If not successful, pass a nil document and an NSError that encapsulates the reason why the document could not be opened. A nil URL indicates that the opened document is to have no fileURL, much like an untitled document has. The default implementation of this method is very similar to -openDocumentWithContentsOfURL:display:completionHandler:'s, the primary difference being that it invokes -makeDocumentForURL:withContentsOfURL:ofType:error: instead of -makeDocumentWithContentsOfURL:ofType:error:. You can override this method to customize how documents are reopened during application launching by the restorable state mechanism that was added to the AppKit framework in Mac OS 10.7. Its implemention however is somewhat complex so unless your customization is to do additional work before invoking super, or to invoke super with a completion handler that does additional work before invoking the original completion handler, you should investigate overriding one of the methods that it invokes instead. We don't anticipate any uses for an application to invoke this method directly, but you may discover one. For backward binary compatibility with Mac OS 10.6 and earlier, the default implementation of this method invokes [self reopenDocumentForURL:url withContentsOfURLcontentsURL error:&anError] if that method is overridden and this one is not, instead of invoking -makeDocumentForURL:withContentsOfURL:ofType:error: and all the rest.
|
|
82
82
|
*/
|
|
83
|
-
reopenDocumentForURL$withContentsOfURL$display$completionHandler$(urlOrNil: _NSURL | null, contentsURL: _NSURL, displayDocument: boolean, completionHandler:
|
|
83
|
+
reopenDocumentForURL$withContentsOfURL$display$completionHandler$(urlOrNil: _NSURL | null, contentsURL: _NSURL, displayDocument: boolean, completionHandler: ((document: _NSDocument, documentWasAlreadyOpen: boolean, error: _NSError) => void) | null): void;
|
|
84
84
|
/**
|
|
85
85
|
* Instantiate a document, perhaps located by a URL, perhaps not, by reading the contents for the document from another URL, which may or may not be a different URL, and return it if successful. If not successful, return nil after setting *outError to an NSError that encapsulates the reason why the document could not be instantiated. The default implementation of this method invokes -documentClassForType: to find out the class of document to instantiate, allocates a document object, and initializes it by sending it an -initForURL:withContentsOfURL:ofType:error: message.
|
|
86
86
|
*/
|
|
@@ -2,6 +2,7 @@ import type { NobjcObject } from "objc-js";
|
|
|
2
2
|
import type { _NSArray } from "../Foundation/NSArray.js";
|
|
3
3
|
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
|
|
4
4
|
import type { _NSURL } from "../Foundation/NSURL.js";
|
|
5
|
+
import type { _NSDraggingItem } from "./NSDraggingItem.js";
|
|
5
6
|
import type { _NSImage } from "./NSImage.js";
|
|
6
7
|
import type { _NSPasteboard } from "./NSPasteboard.js";
|
|
7
8
|
import type { _NSView } from "./NSView.js";
|
|
@@ -19,7 +20,7 @@ export interface _NSDraggingInfo {
|
|
|
19
20
|
/**
|
|
20
21
|
* Enumerate through each dragging item. Any changes made to the properties of the draggingItem are reflected in the drag and are automatically removed when the drag exits. Classes in the provided array must implement the NSPasteboardReading protocol. Cocoa classes that implement this protocol include NSImage, NSString, NSURL, NSColor, NSAttributedString, and NSPasteboardItem. For every item on the pasteboard, each class in the provided array will be queried for the types it can read using -readableTypesForPasteboard:. An instance will be created of the first class found in the provided array whose readable types match a conforming type contained in that pasteboard item. If an Instance is created from the pasteboard item data, it is placed into an NSDraggingItem along with the dragging properties of that item such as the dragging image. The NSDraggingItem is then passed as a parameter to the provided block. Additional search options, such as restricting the search to file URLs with particular content types, can be specified with a search options dictionary. See the comments for the Pasteboard Reading Options keys in NSPasteboard.h for a full description. Note: all coordinate properties in the NSDraggingItem are in the coordinate system of view. If view is nil, the screen coordinate space is used.
|
|
21
22
|
*/
|
|
22
|
-
enumerateDraggingItemsWithOptions$forView$classes$searchOptions$usingBlock$?(enumOpts: NSDraggingItemEnumerationOptions, view: _NSView | null, classArray: _NSArray, searchOptions: _NSDictionary, block: NobjcObject): void;
|
|
23
|
+
enumerateDraggingItemsWithOptions$forView$classes$searchOptions$usingBlock$?(enumOpts: NSDraggingItemEnumerationOptions, view: _NSView | null, classArray: _NSArray, searchOptions: _NSDictionary, block: (draggingItem: _NSDraggingItem, idx: number, stop: NobjcObject) => void): void;
|
|
23
24
|
/**
|
|
24
25
|
* Used when the drag crosses two distinct but valid spring loading regions within the same destination. The hover timer is reset and if the user is currently in a force click, they must release and re-force click to highlight the new region.
|
|
25
26
|
*/
|
|
@@ -27,8 +27,8 @@ export declare class _NSDraggingItem extends _NSObject {
|
|
|
27
27
|
/**
|
|
28
28
|
* The dragging image is the composite of an array of NSDraggingImageComponents. The dragging image components may not be set directly. Instead, provide a block to generate the components and the block will be called if necessary. The block may be set to nil, meaning that this drag item has no image. Generally, only dragging destinations do this, and only if there is at least one valid item in the drop, and this is not it. The components are composited in painting order. That is, each component in the array is painted on top of the previous components in the array.
|
|
29
29
|
*/
|
|
30
|
-
imageComponentsProvider():
|
|
31
|
-
setImageComponentsProvider$(value:
|
|
30
|
+
imageComponentsProvider(): (() => _NSArray) | null;
|
|
31
|
+
setImageComponentsProvider$(value: (() => _NSArray) | null): void;
|
|
32
32
|
/**
|
|
33
33
|
* An array of NSDraggingImageComponents that are used to create the drag image. Note: the array contains copies of the components. Changes made to these copies are not reflected in the drag. If needed, the imageComponentsProvider block is called to generate the image components.
|
|
34
34
|
*/
|
|
@@ -2,6 +2,7 @@ import type { NobjcObject } from "objc-js";
|
|
|
2
2
|
import type { _NSArray } from "../Foundation/NSArray.js";
|
|
3
3
|
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
|
|
4
4
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
5
|
+
import type { _NSDraggingItem } from "./NSDraggingItem.js";
|
|
5
6
|
import type { _NSPasteboard } from "./NSPasteboard.js";
|
|
6
7
|
import type { _NSView } from "./NSView.js";
|
|
7
8
|
import type { CGPoint } from "../structs/CGPoint.js";
|
|
@@ -14,7 +15,7 @@ export declare class _NSDraggingSession extends _NSObject {
|
|
|
14
15
|
/**
|
|
15
16
|
* Enumerate through each dragging item. Any changes made to the properties of the draggingItem are reflected in the drag when the destination is not overriding them. Classes in the provided array must implement the NSPasteboardReading protocol. Cocoa classes that implement this protocol include NSImage, NSString, NSURL, NSColor, NSAttributedString, and NSPasteboardItem. For every item on the pasteboard, each class in the provided array will be queried for the types it can read using -readableTypesForPasteboard:. An instance will be created of the first class found in the provided array whose readable types match a conforming type contained in that pasteboard item. If an Instance is created from the pasteboard item data, it is placed into an NSDraggingItem along with the dragging properties of that item such as the drag image. The NSDraggingItem is then passed as a parameter to the provided block. Additional search options, such as restricting the search to file URLs with particular content types, can be specified with a search options dictionary. See the comments for the Pasteboard Reading Options keys in NSPasteboard.h for a full description. Note: all coordinate properties in the NSDraggingItem are in the coordinate system of view. If view is nil, the screen coordinate space is used.
|
|
16
17
|
*/
|
|
17
|
-
enumerateDraggingItemsWithOptions$forView$classes$searchOptions$usingBlock$(enumOpts: NSDraggingItemEnumerationOptions, view: _NSView | null, classArray: _NSArray, searchOptions: _NSDictionary, block: NobjcObject): void;
|
|
18
|
+
enumerateDraggingItemsWithOptions$forView$classes$searchOptions$usingBlock$(enumOpts: NSDraggingItemEnumerationOptions, view: _NSView | null, classArray: _NSArray, searchOptions: _NSDictionary, block: (draggingItem: _NSDraggingItem, idx: number, stop: NobjcObject) => void): void;
|
|
18
19
|
/**
|
|
19
20
|
* Controls the dragging formation when the drag is over the source. The default value is NSDraggingFormationNone.
|
|
20
21
|
*/
|
package/dist/AppKit/NSEvent.d.ts
CHANGED
|
@@ -43,8 +43,8 @@ export declare class _NSEvent extends _NSObject {
|
|
|
43
43
|
/**
|
|
44
44
|
* API for monitoring events in other processes, or in your own process. For either +addGlobal or +addLocal, pass an event mask specifying which events you wish to monitor, and a block that will be called with the event to monitor. Use +addGlobal to install an event monitor that receives copies of events posted to other applications. Events are delivered asynchronously to your app and you can only observe the event; you cannot modify or otherwise prevent the event from being delivered to its original target application. Key-related events may only be monitored if accessibility is enabled or if your application is trusted for accessibility access (see AXIsProcessTrusted in AXUIElement.h). Note that your handler will not be called for events that are sent to your own application. Use +addLocal to install an event monitor that receives events before they are dispatched by -[NSApplication sendEvent:]. In this case, your block should either return a valid NSEvent (which may be the same as the incoming NSEvent, or may be a newly created NSEvent) to cause the event to be dispatched, or it may return nil to stop dispatching of the event. Note that your handler will not be called for events that are consumed by nested event-tracking loops such as control tracking, menu tracking, or window dragging; only events that are dispatched through -[NSApplication sendEvent:] will be passed to your handler. In either case, the return value of the API is a retained NSObject. You typically do not need to retain and release the event monitor yourself, since the implementation will retain it while needed. To remove the event monitor, under both garbage collection and non-GC, pass the return value from the +add API to +removeMonitor.
|
|
45
45
|
*/
|
|
46
|
-
static addGlobalMonitorForEventsMatchingMask$handler$(mask: NobjcObject, block:
|
|
47
|
-
static addLocalMonitorForEventsMatchingMask$handler$(mask: NobjcObject, block:
|
|
46
|
+
static addGlobalMonitorForEventsMatchingMask$handler$(mask: NobjcObject, block: (event: _NSEvent) => void): NobjcObject | null;
|
|
47
|
+
static addLocalMonitorForEventsMatchingMask$handler$(mask: NobjcObject, block: ((event: _NSEvent) => _NSEvent) | null): NobjcObject | null;
|
|
48
48
|
static removeMonitor$(eventMonitor: NobjcObject): void;
|
|
49
49
|
/**
|
|
50
50
|
* Enable or disable coalescing of mouse movement events, including mouse moved, mouse dragged, and tablet events. Coalescing is enabled by default.
|
|
@@ -93,7 +93,7 @@ export declare class _NSEvent extends _NSObject {
|
|
|
93
93
|
/**
|
|
94
94
|
* This method allows easy tracking and UI feedback of scroll events as fluid swipes. Fluid swipes are tracked not only to the end of the physical gesture phase by the user, but also to the completion of any UI animation that should be performed. Using this method allows your implementation to maintain a consistent fluid feel with other applications. Any gesture amount outside of the supplied minimum and maximum dampen amount is pre-dampened for you to provide an elastic feel. The trackingHandler has the following parameters: gestureAmount: the amount of gesture that you should display in the UI. This may be a fractional amount. Note: Upon completion, the gesture amount will animate to one of the following values: -1, 0, 1. phase: the phase of the physical gesture as performed by the user. When the phase is either NSPhaseEnded, or NSPhaseCancelled, the use has physically ended the gesture successfully or not, respectively. Your handler will continue to be called with updated progress values to complete the fluid swipe animation with a phase of NSPhaseNone. isComplete: Signifies the swipe and animation are complete and you should tear down any temporary animation objects. The trackingHandler is released and will not be called further. stop: A pointer to a BOOL allowing you to cancel further use of this trackingHandler by setting its value to YES. The trackingHandler is released appropriately. Note: This method returns immediately and tracking is performed asynchronously. Valid for Scroll events with a phase of NSEventPhaseBegan or NSEventPhaseChanged
|
|
95
95
|
*/
|
|
96
|
-
trackSwipeEventWithOptions$dampenAmountThresholdMin$max$usingHandler$(options: NSEventSwipeTrackingOptions, minDampenThreshold: number, maxDampenThreshold: number, trackingHandler: NobjcObject): void;
|
|
96
|
+
trackSwipeEventWithOptions$dampenAmountThresholdMin$max$usingHandler$(options: NSEventSwipeTrackingOptions, minDampenThreshold: number, maxDampenThreshold: number, trackingHandler: (gestureAmount: number, phase: NSEventPhase, isComplete: boolean, stop: NobjcObject) => void): void;
|
|
97
97
|
/**
|
|
98
98
|
* these messages are valid for all events
|
|
99
99
|
* @deprecated This method always returns nil. If you need access to the current drawing context, use [NSGraphicsContext currentContext] inside of a draw operation.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { _NSError } from "../Foundation/NSError.js";
|
|
2
2
|
import type { _NSOperationQueue } from "../Foundation/NSOperationQueue.js";
|
|
3
3
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
4
4
|
import type { _NSURL } from "../Foundation/NSURL.js";
|
|
@@ -11,7 +11,7 @@ export interface _NSFilePromiseProviderDelegate {
|
|
|
11
11
|
/**
|
|
12
12
|
* Write the contents of this promise item to the provided URL and call completionHandler when done. NSFilePromiseReceiver automatically wraps this message with NSFileCoordinator when the promise destination is an NSFilePromiseReceiver. Always use the supplied URL. Note: This request shall occur on the NSOperationQueue supplied by -promiseOperationQueue.
|
|
13
13
|
*/
|
|
14
|
-
filePromiseProvider$writePromiseToURL$completionHandler$?(filePromiseProvider: _NSFilePromiseProvider, url: _NSURL, completionHandler:
|
|
14
|
+
filePromiseProvider$writePromiseToURL$completionHandler$?(filePromiseProvider: _NSFilePromiseProvider, url: _NSURL, completionHandler: ((errorOrNil: _NSError) => void) | null): void;
|
|
15
15
|
/**
|
|
16
16
|
* The operation queue that the write request will be issued from. If this method is not implemented, the mainOperationQueue is used.
|
|
17
17
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { NobjcObject } from "objc-js";
|
|
2
1
|
import type { _NSArray } from "../Foundation/NSArray.js";
|
|
3
2
|
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
|
|
3
|
+
import type { _NSError } from "../Foundation/NSError.js";
|
|
4
4
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
5
5
|
import type { _NSOperationQueue } from "../Foundation/NSOperationQueue.js";
|
|
6
6
|
import type { _NSURL } from "../Foundation/NSURL.js";
|
|
@@ -16,7 +16,7 @@ export declare class _NSFilePromiseReceiver extends _NSObject {
|
|
|
16
16
|
/**
|
|
17
17
|
* This effectively calls in the promises. Therefore, only call once you are accepting the file promise. All file promisesReceiver's in a drag must specify the same destination location. This is an array, because legacy promises are an array of files on one pasteboard item. The reader block is called on the supplied operationQueue when the promised file is ready to be read. When the source is an NSFilePromiseProvider, the readerBlock call is wrapped in an NSFileCoordination read. Otherwise, a heuristic is used to determine when the promised file is ready to be read. The options dictionary is ignored for now. Note: Writing of the promised file may be cancelled or fail. When either occurs, the readerBlock is still called, but with a non-nil NSError. When NSError is non-nil, fileURL should be ignored.
|
|
18
18
|
*/
|
|
19
|
-
receivePromisedFilesAtDestination$options$operationQueue$reader$(destinationDir: _NSURL, options: _NSDictionary, operationQueue: _NSOperationQueue, reader:
|
|
19
|
+
receivePromisedFilesAtDestination$options$operationQueue$reader$(destinationDir: _NSURL, options: _NSDictionary, operationQueue: _NSOperationQueue, reader: ((fileURL: _NSURL, errorOrNil: _NSError) => void) | null): void;
|
|
20
20
|
/**
|
|
21
21
|
* The UTI of the file types promised (Note: The count of fileTypes should tell you the number of promised files, however, that is not guaranteed. Historically, some legacy file promisers only list each unique fileType once and write one or more files per type.
|
|
22
22
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { NobjcObject } from "objc-js";
|
|
2
1
|
import type { _NSArray } from "../Foundation/NSArray.js";
|
|
2
|
+
import type { _NSError } from "../Foundation/NSError.js";
|
|
3
3
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
4
4
|
import type { _NSProgress } from "../Foundation/NSProgress.js";
|
|
5
5
|
import type { NSFontAssetRequestOptions } from "./NSFontAssetRequestOptions.js";
|
|
@@ -14,7 +14,7 @@ export declare class _NSFontAssetRequest extends _NSObject {
|
|
|
14
14
|
/**
|
|
15
15
|
* Start the download process. completionHandler will be called whenever encounters any error, or when all download has been completed without error. completionHandler should return NO if you wish to stop downloading from that point, or YES if you wish to continue trying downloading the next font.
|
|
16
16
|
*/
|
|
17
|
-
downloadFontAssetsWithCompletionHandler$(completionHandler:
|
|
17
|
+
downloadFontAssetsWithCompletionHandler$(completionHandler: ((error: _NSError) => boolean) | null): void;
|
|
18
18
|
/** The downloaded font descriptors up to this point. */
|
|
19
19
|
downloadedFontDescriptors(): _NSArray;
|
|
20
20
|
/**
|
package/dist/AppKit/NSImage.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export declare class _NSImage extends _NSObject {
|
|
|
52
52
|
/**
|
|
53
53
|
* 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.
|
|
54
54
|
*/
|
|
55
|
-
static imageWithSize$flipped$drawingHandler$(size: CGSize, drawingHandlerShouldBeCalledWithFlippedContext: boolean, drawingHandler:
|
|
55
|
+
static imageWithSize$flipped$drawingHandler$(size: CGSize, drawingHandlerShouldBeCalledWithFlippedContext: boolean, drawingHandler: (dstRect: CGRect) => boolean): _NSImage;
|
|
56
56
|
static canInitWithPasteboard$(pasteboard: _NSPasteboard): boolean;
|
|
57
57
|
/**
|
|
58
58
|
* These return union of all the types registered with NSImageRep.
|
|
@@ -227,11 +227,11 @@ export declare class _NSLayoutManager extends _NSObject {
|
|
|
227
227
|
*/
|
|
228
228
|
getLineFragmentInsertionPointsForCharacterAtIndex$alternatePositions$inDisplayOrder$positions$characterIndexes$(charIndex: number, aFlag: boolean, dFlag: boolean, positions: NobjcObject | null, charIndexes: NobjcObject | null): number;
|
|
229
229
|
/** Enumerates line fragments intersecting with glyphRange. */
|
|
230
|
-
enumerateLineFragmentsForGlyphRange$usingBlock$(glyphRange: NSRange, block: NobjcObject): void;
|
|
230
|
+
enumerateLineFragmentsForGlyphRange$usingBlock$(glyphRange: NSRange, block: (rect: CGRect, usedRect: CGRect, textContainer: _NSTextContainer, glyphRange: NSRange, stop: NobjcObject) => void): void;
|
|
231
231
|
/**
|
|
232
232
|
* Enumerates enclosing rects for glyphRange in textContainer. If a selected range is given in the second argument, the rectangles returned will be correct for drawing the selection. Selection rectangles are generally more complicated than enclosing rectangles and supplying a selected range is the clue these methods use to determine whether to go to the trouble of doing this special work. If the caller is interested in this more from an enclosing point of view rather than a selection point of view, pass {NSNotFound, 0} as the selected range. This method will do the minimum amount of work required to answer the question.
|
|
233
233
|
*/
|
|
234
|
-
enumerateEnclosingRectsForGlyphRange$withinSelectedGlyphRange$inTextContainer$usingBlock$(glyphRange: NSRange, selectedRange: NSRange, textContainer: _NSTextContainer, block: NobjcObject): void;
|
|
234
|
+
enumerateEnclosingRectsForGlyphRange$withinSelectedGlyphRange$inTextContainer$usingBlock$(glyphRange: NSRange, selectedRange: NSRange, textContainer: _NSTextContainer, block: (rect: CGRect, stop: NobjcObject) => void): void;
|
|
235
235
|
/**
|
|
236
236
|
* These methods are primitives for drawing. You can override these to perform additional drawing, or to replace text drawing entirely, but not to change layout. You can call them if you want, but focus must already be locked on the destination view or image. -drawBackgroundForGlyphRange:atPoint: draws the background color and selection and marked range aspects of the text display, along with block decoration such as table backgrounds and borders. -drawGlyphsForGlyphRange:atPoint: draws the actual glyphs, including attachments, as well as any underlines or strikethroughs. In either case all of the specified glyphs must lie in a single container.
|
|
237
237
|
*/
|
package/dist/AppKit/NSMenu.d.ts
CHANGED
|
@@ -37,11 +37,11 @@ export declare class _NSMenu extends _NSObject {
|
|
|
37
37
|
/**
|
|
38
38
|
* Creates a palette menu displaying user-selectable color tags using the provided array of colors and optional titles. Note that the palette menu is configured for display as an inline menu; you must set it as the submenu of another menu item, contained in a standard menu. The palette menu cannot be used to invoke the `popUpMenuPositioningItem` method, or attached directly to a popup button or toolbar item. @return An autoconfigured palette menu.
|
|
39
39
|
*/
|
|
40
|
-
static paletteMenuWithColors$titles$selectionHandler$(colors: _NSArray, itemTitles: _NSArray, onSelectionChange:
|
|
40
|
+
static paletteMenuWithColors$titles$selectionHandler$(colors: _NSArray, itemTitles: _NSArray, onSelectionChange: ((arg0: _NSMenu) => void) | null): _NSMenu;
|
|
41
41
|
/**
|
|
42
42
|
* Creates a palette menu displaying user-selectable color tags using the provided template image, tinted using the specified array of colors. Optionally allows observing changes to the selection state in the compact menu. The block is invoked after the selection has been updated. Currently selected items can be retrieved from the `selectedItems` property. Note that the palette menu is configured for display as an inline menu; you must set it as the submenu of another menu item, contained in a standard menu. The palette menu cannot be used to invoke the `popUpMenuPositioningItem` method, or attached directly to a popup button or toolbar item. @return An autoconfigured palette menu.
|
|
43
43
|
*/
|
|
44
|
-
static paletteMenuWithColors$titles$templateImage$selectionHandler$(colors: _NSArray, itemTitles: _NSArray, image: _NSImage, onSelectionChange:
|
|
44
|
+
static paletteMenuWithColors$titles$templateImage$selectionHandler$(colors: _NSArray, itemTitles: _NSArray, image: _NSImage, onSelectionChange: ((arg0: _NSMenu) => void) | null): _NSMenu;
|
|
45
45
|
/**
|
|
46
46
|
* Returns the zone used to allocate NSMenu objects. This is left in for compatibility and has returned NSDefaultMallocZone() since OS X 10.2. It is not necessary to use this - menus can be allocated the usual way.
|
|
47
47
|
* @deprecated
|
|
@@ -11,6 +11,7 @@ import type { _NSMenu } from "./NSMenu.js";
|
|
|
11
11
|
import type { _NSMenuItemBadge } from "./NSMenuItemBadge.js";
|
|
12
12
|
import type { _NSUserInterfaceItemIdentification } from "./NSUserInterfaceItemIdentification.js";
|
|
13
13
|
import type { _NSView } from "./NSView.js";
|
|
14
|
+
import type { NSControlStateValue } from "./NSControlStateValue.js";
|
|
14
15
|
import type { NSEventModifierFlags } from "./NSEventModifierFlags.js";
|
|
15
16
|
export declare class _NSMenuItem extends _NSObject {
|
|
16
17
|
static alloc(): _NSMenuItem;
|
|
@@ -83,8 +84,8 @@ export declare class _NSMenuItem extends _NSObject {
|
|
|
83
84
|
setAllowsAutomaticKeyEquivalentMirroring$(value: boolean): void;
|
|
84
85
|
image(): _NSImage | null;
|
|
85
86
|
setImage$(value: _NSImage | null): void;
|
|
86
|
-
state():
|
|
87
|
-
setState$(value:
|
|
87
|
+
state(): NSControlStateValue;
|
|
88
|
+
setState$(value: NSControlStateValue): void;
|
|
88
89
|
/** checkmark by default */
|
|
89
90
|
onStateImage(): _NSImage;
|
|
90
91
|
setOnStateImage$(value: _NSImage): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const NSModalResponse: {
|
|
2
|
+
readonly Stop: -1000;
|
|
3
|
+
readonly Abort: -1001;
|
|
4
|
+
readonly Continue: -1002;
|
|
5
|
+
readonly OK: 1;
|
|
6
|
+
readonly Cancel: 0;
|
|
7
|
+
readonly NSAlertFirstButtonReturn: 1000;
|
|
8
|
+
readonly NSAlertSecondButtonReturn: 1001;
|
|
9
|
+
readonly NSAlertThirdButtonReturn: 1002;
|
|
10
|
+
};
|
|
11
|
+
export type NSModalResponse = typeof NSModalResponse[keyof typeof NSModalResponse];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
export const NSModalResponse = {
|
|
3
|
+
Stop: -1000,
|
|
4
|
+
Abort: -1001,
|
|
5
|
+
Continue: -1002,
|
|
6
|
+
OK: 1,
|
|
7
|
+
Cancel: 0,
|
|
8
|
+
NSAlertFirstButtonReturn: 1000,
|
|
9
|
+
NSAlertSecondButtonReturn: 1001,
|
|
10
|
+
NSAlertThirdButtonReturn: 1002,
|
|
11
|
+
};
|
|
@@ -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
|
import type { _NSPDFInfo } from "./NSPDFInfo.js";
|
|
@@ -14,7 +13,7 @@ export declare class _NSPDFPanel extends _NSObject {
|
|
|
14
13
|
/**
|
|
15
14
|
* Present a print panel to the user, document-modally. When the user has dismissed it, invoke the completionHandler block. If the user didn't click the 'Cancel' button, the given NSPDFInfo will be modified to reflect the user's chosen settings, if any.
|
|
16
15
|
*/
|
|
17
|
-
beginSheetWithPDFInfo$modalForWindow$completionHandler$(pdfInfo: _NSPDFInfo, docWindow: _NSWindow | null, completionHandler:
|
|
16
|
+
beginSheetWithPDFInfo$modalForWindow$completionHandler$(pdfInfo: _NSPDFInfo, docWindow: _NSWindow | null, completionHandler: (arg0: number) => void): void;
|
|
18
17
|
/**
|
|
19
18
|
* Controller for the accessory views that will be presented in the panel by the methods below. When the panel is presented to the user the controller is automatically sent a -setRepresentedObject: message with an NSPDFInfo equivalent to those one passed to -beginSheetWithPDFInfo:modalForWindow:completionHandler:.
|
|
20
19
|
*/
|
|
@@ -5,6 +5,7 @@ import type { _NSPrintInfo } from "./NSPrintInfo.js";
|
|
|
5
5
|
import type { _NSView } from "./NSView.js";
|
|
6
6
|
import type { _NSViewController } from "./NSViewController.js";
|
|
7
7
|
import type { _NSWindow } from "./NSWindow.js";
|
|
8
|
+
import type { NSPageLayoutResult } from "./NSPageLayoutResult.js";
|
|
8
9
|
export declare class _NSPageLayout extends _NSObject {
|
|
9
10
|
static alloc(): _NSPageLayout;
|
|
10
11
|
static new(): _NSPageLayout;
|
|
@@ -19,7 +20,7 @@ export declare class _NSPageLayout extends _NSObject {
|
|
|
19
20
|
/**
|
|
20
21
|
* Displays a page layout panel as a sheet on a window. This method returns immediately. When the page layout panel is dismissed, calls the completion handler with NSPageLayoutResult as the argument.
|
|
21
22
|
*/
|
|
22
|
-
beginSheetUsingPrintInfo$onWindow$completionHandler$(printInfo: _NSPrintInfo, parentWindow: _NSWindow, handler:
|
|
23
|
+
beginSheetUsingPrintInfo$onWindow$completionHandler$(printInfo: _NSPrintInfo, parentWindow: _NSWindow, handler: ((result: NSPageLayoutResult) => void) | null): void;
|
|
23
24
|
/**
|
|
24
25
|
* Present a page setup panel to the user, document-modally. When the user has dismissed it, send the message selected by didEndSelector to the delegate, with the contextInfo as the last argument. The method selected by didEndSelector must have the same signature as: - (void)pageLayoutDidEnd:(NSPageLayout *)pageLayout returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo;
|
|
25
26
|
* @deprecated This method will be deprecated in a future release. Use -[NSPageLayout beginSheetUsingPrintInfo:onWindow:completionHandler:] instead.
|
|
@@ -2,6 +2,7 @@ import type { NobjcObject } from "objc-js";
|
|
|
2
2
|
import type { _NSArray } from "../Foundation/NSArray.js";
|
|
3
3
|
import type { _NSData } from "../Foundation/NSData.js";
|
|
4
4
|
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
|
|
5
|
+
import type { _NSError } from "../Foundation/NSError.js";
|
|
5
6
|
import type { _NSFileWrapper } from "../Foundation/NSFileWrapper.js";
|
|
6
7
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
7
8
|
import type { _NSSet } from "../Foundation/NSSet.js";
|
|
@@ -72,15 +73,15 @@ export declare class _NSPasteboard extends _NSObject {
|
|
|
72
73
|
/**
|
|
73
74
|
* Determines whether the first pasteboard item matches the specified patterns, without notifying the person using the app. This method only gives an indication of whether the first pasteboard item matches a particular pattern, and doesn’t allow the app to access the item's contents. As a result, the system doesn’t notify the person using the app about reading the contents of the pasteboard. The following example shows how to use this method to find email and postal addresses in the first pasteboard item: ```obj-c [NSPasteboard.generalPasteboard detectPatternsForPatterns:[NSSet setWithArray:@[NSPasteboardDetectionPatternEmailAddress, NSPasteboardDetectionPatternPostalAddress]] completionHandler:^(NSSet<NSPasteboardDetectionPattern> *matchedPatterns, NSError *error) { if (error) { NSLog(@"Error: %@", error); return; } BOOL matchedEmail = [matchedPatterns containsObject:NSPasteboardDetectionPatternEmailAddress]; BOOL matchedPostal = [matchedPatterns containsObject: NSPasteboardDetectionPatternPostalAddress]; if (matchedEmail) { NSLog(@"Email address(es) detected"); } if (matchedPostal) { NSLog(@"Postal address(es) detected"); } if (!matchedEmail && !matchedPostal) { NSLog(@"Matched neither email nor postal addresses."); } }]; ``` - Parameters: - patterns: The patterns to detect on the pasteboard. - completionHandler: A block the system invokes after detecting patterns on the pasteboard. The block receives either a set with the patterns the system finds on the pasteboard or an error if detection fails.
|
|
74
75
|
*/
|
|
75
|
-
detectPatternsForPatterns$completionHandler$(patterns: _NSSet, completionHandler:
|
|
76
|
+
detectPatternsForPatterns$completionHandler$(patterns: _NSSet, completionHandler: ((detectedPatterns: _NSSet, error: _NSError) => void) | null): void;
|
|
76
77
|
/**
|
|
77
78
|
* Determines whether the first pasteboard item matches the specified patterns, reading the contents if it finds a match. For details about the types returned for each pattern, see ``NSPasteboardDetectionPattern``. The following example shows how to use this method to find web URLs and web search terms in the first pasteboard item: ```obj-c [NSPasteboard.generalPasteboard detectValuesForPatterns:[NSSet setWithArray:@[NSPasteboardDetectionPatternProbableWebSearch, NSPasteboardDetectionPatternProbableWebURL]] completionHandler:^(NSDictionary<NSPasteboardDetectionPattern, id> *patternValues, NSError *error) { if (error) { NSLog(@"Error: %@", error); return; } NSString *searchString = (NSString*)patternValues[NSPasteboardDetectionPatternProbableWebSearch]; NSString *urlString = (NSString*)patternValues[NSPasteboardDetectionPatternProbableWebURL] ; if (searchString != nil) { NSLog(@"Web search retrieved: %@", searchString); } if (urlString != nil) { NSLog(@"Web URL retrieved: %@", urlString); } if (searchString == nil && urlString == nil) { NSLog(@"No web patterns retrieved."); } }]; ``` > Important: If the system finds a match when calling this method, the system informs the person using the app that the app is trying to read the contents of the pasteboard. If the person denies access to the pasteboard, the completion handler receives an error. - Parameters: - patterns: The patterns to detect on the pasteboard. - completionHandler: A block the system invokes after detecting patterns on the pasteboard. The block returns either a dictionary with the patterns the system finds on the pasteboard or an error if detection fails. The dictionary keys specify the matched patterns and the values specify the corresponding content of the pasteboard.
|
|
78
79
|
*/
|
|
79
|
-
detectValuesForPatterns$completionHandler$(patterns: _NSSet, completionHandler:
|
|
80
|
+
detectValuesForPatterns$completionHandler$(patterns: _NSSet, completionHandler: ((detectedValues: _NSDictionary, error: _NSError) => void) | null): void;
|
|
80
81
|
/**
|
|
81
82
|
* Determines available metadata from the specified metadata types for the first pasteboard item, without notifying the person using the app. This method only gives access to limited types of metadata and doesn’t allow the app to access the contents. As a result, the system doesn’t notify the person using the app about reading the contents of the pasteboard. For details about the metadata returned for each type, see ``NSPasteboardMetadataType``. The following example shows how to use this method to find the content type of a file reference in the first item on the pasteboard: ```obj-c [NSPasteboard.generalPasteboard detectMetadataForTypes:[NSSet setWithArray:@[NSPasteboardMetadataTypeContentType]] completionHandler:^(NSDictionary<NSPasteboardMetadataType, id> *metadata, NSError *error) { if (error) { NSLog(@"Error: %@", error); return; } UTType *contentType = (UTType*)metadata[NSPasteboardMetadataTypeContentType]; if (contentType) { NSLog(@"Content type is: %@", contentType.identifier); } else { NSLog(@"Couldn't get content type"); } }]; ``` - Parameters: - types: The metadata types to detect on the pasteboard. - completionHandler: A block the system invokes after detecting metadata on the pasteboard. The block receives either a dictionary with the metadata types the system finds on the pasteboard or an error if detection fails. The dictionary keys specify the matched metadata types and the values specify the corresponding metadata.
|
|
82
83
|
*/
|
|
83
|
-
detectMetadataForTypes$completionHandler$(types: _NSSet, completionHandler:
|
|
84
|
+
detectMetadataForTypes$completionHandler$(types: _NSSet, completionHandler: ((detectedMetadata: _NSDictionary, error: _NSError) => void) | null): void;
|
|
84
85
|
writeFileContents$(filename: _NSString): boolean;
|
|
85
86
|
readFileContentsType$toFile$(type: _NSString | null, filename: _NSString): _NSString | null;
|
|
86
87
|
writeFileWrapper$(wrapper: _NSFileWrapper): boolean;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { NobjcObject } from "objc-js";
|
|
2
2
|
import type { _NSArray } from "../Foundation/NSArray.js";
|
|
3
3
|
import type { _NSData } from "../Foundation/NSData.js";
|
|
4
|
+
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
|
|
5
|
+
import type { _NSError } from "../Foundation/NSError.js";
|
|
4
6
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
5
7
|
import type { _NSSet } from "../Foundation/NSSet.js";
|
|
6
8
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
@@ -30,15 +32,15 @@ export declare class _NSPasteboardItem extends _NSObject {
|
|
|
30
32
|
/**
|
|
31
33
|
* Determines whether this pasteboard item matches the specified patterns, without notifying the person using the app. This method only gives an indication of whether a pasteboard item matches a particular pattern and doesn’t allow the app to access the item's contents. As a result, the system doesn’t notify the person using the app about reading the contents of the pasteboard. The following example shows how to use this method to find email and postal addresses in each item on the pasteboard: ```obj-c NSArray<NSPasteboardItem*> *items = NSPasteboard.generalPasteboard.pasteboardItems; __block NSUInteger idx = 0; for (NSPasteboardItem *item in items) { NSUInteger itemIndex = idx++; [item detectPatternsForPatterns:[NSSet setWithArray:@[NSPasteboardDetectionPatternEmailAddress, NSPasteboardDetectionPatternPostalAddress]] completionHandler:^(NSSet<NSPasteboardDetectionPattern> *matchedPatterns, NSError *error) { if (error) { NSLog(@"Item %lu: Error: %@", itemIndex, error); return; } BOOL matchedEmail = [matchedPatterns containsObject:NSPasteboardDetectionPatternEmailAddress]; BOOL matchedPostal = [matchedPatterns containsObject: NSPasteboardDetectionPatternPostalAddress]; if (matchedEmail) { NSLog(@"Item %lu - Email address(es) detected", itemIndex); } if (matchedPostal) { NSLog(@"Item %lu - Postal address(es) detected", itemIndex); } if (!matchedEmail && !matchedPostal) { NSLog(@"Item %lu - Matched neither email nor postal addresses.", itemIndex); } }]; } ``` - Parameters: - patterns: The patterns to detect on the pasteboard item. - completionHandler: A block that the system invokes after detecting patterns on the pasteboard item. The block receives either a set with the patterns the system finds on the pasteboard item or an error if detection fails.
|
|
32
34
|
*/
|
|
33
|
-
detectPatternsForPatterns$completionHandler$(patterns: _NSSet, completionHandler:
|
|
35
|
+
detectPatternsForPatterns$completionHandler$(patterns: _NSSet, completionHandler: ((detectedPatterns: _NSSet, error: _NSError) => void) | null): void;
|
|
34
36
|
/**
|
|
35
37
|
* Determines whether this pasteboard item matches the specified patterns, reading the contents if it finds a match. For details about the types returned for each pattern, see ``NSPasteboardDetectionPattern``. The following example shows how to use this method to find web URLs and web search terms in each item on the pasteboard: ```obj-c NSArray<NSPasteboardItem*> *items = NSPasteboard.generalPasteboard.pasteboardItems; __block NSUInteger idx = 0; for (NSPasteboardItem *item in items) { NSUInteger itemIndex = idx++; [item detectValuesForPatterns:[NSSet setWithArray:@[NSPasteboardDetectionPatternProbableWebSearch, NSPasteboardDetectionPatternProbableWebURL]] completionHandler:^(NSDictionary<NSPasteboardDetectionPattern, id> *patternValues, NSError *error) { if (error) { NSLog(@"Item %lu: Error: %@", itemIndex, error); return; } NSString *searchString = (NSString*)patternValues[NSPasteboardDetectionPatternProbableWebSearch]; NSString *urlString = (NSString*)patternValues[NSPasteboardDetectionPatternProbableWebURL] ; if (searchString != nil) { NSLog(@"Item %lu - Web search retrieved: %@", itemIndex, searchString); } if (urlString != nil) { NSLog(@"Item %lu - Web URL retrieved: %@", itemIndex, urlString); } if (searchString == nil && urlString == nil) { NSLog(@"Item %lu - No web patterns retrieved.", itemIndex); } }]; } ``` > Important: If the system finds a match when calling this method, the system informs the person using the app that the app is trying to read the contents of the pasteboard. If the person denies access to the pasteboard, the completion handler receives an error. - Parameters: - patterns: The patterns to detect on the pasteboard item. - completionHandler: A block the system invokes after detecting patterns on the pasteboard item. The block returns either a dictionary with the patterns the system finds on the pasteboard item or an error if detection fails. The dictionary keys specify the matched patterns, and the values specify the corresponding content of the pasteboard.
|
|
36
38
|
*/
|
|
37
|
-
detectValuesForPatterns$completionHandler$(patterns: _NSSet, completionHandler:
|
|
39
|
+
detectValuesForPatterns$completionHandler$(patterns: _NSSet, completionHandler: ((detectedValues: _NSDictionary, error: _NSError) => void) | null): void;
|
|
38
40
|
/**
|
|
39
41
|
* Determines available metadata from the specified metadata types for this pasteboard item, without notifying the person using the app. This method only gives access to limited types of metadata and doesn’t allow the app to access the contents. As a result, the system doesn’t notify the person using the app about reading the contents of the pasteboard. For details about the metadata returned for each type, see ``NSPasteboardMetadataType``. The following example shows how to iterate over each pasteboard item and, if the item is a URL that points to a file, get its content type with this method: ```obj-c NSArray<NSPasteboardItem*> *items = NSPasteboard.generalPasteboard.pasteboardItems; __block NSUInteger idx = 0; for (NSPasteboardItem *item in items) { NSUInteger itemIndex = idx++; [item detectMetadataForTypes:[NSSet setWithArray:@[NSPasteboardMetadataTypeContentType]] completionHandler:^(NSDictionary<NSPasteboardMetadataType, id> *metadata, NSError *error) { if (error) { NSLog(@"Item %lu - Error: %@", itemIndex, error); return; } UTType *contentType = (UTType*)metadata[NSPasteboardMetadataTypeContentType]; if (contentType) { NSLog(@"Item %lu - Content type is: %@", itemIndex, contentType.identifier); } else { NSLog(@"Item %lu - Couldn't get content type", itemIndex); } }]; } ``` - Parameters: - types: The metadata types to detect on the pasteboard item. - completionHandler: A block the system invokes after detecting metadata on the pasteboard item. The block receives either a dictionary with the metadata types the system finds on the pasteboard item or an error if detection fails. The dictionary keys specify the matched metadata types, and the values specify the corresponding metadata.
|
|
40
42
|
*/
|
|
41
|
-
detectMetadataForTypes$completionHandler$(types: _NSSet, completionHandler:
|
|
43
|
+
detectMetadataForTypes$completionHandler$(types: _NSSet, completionHandler: ((detectedMetadata: _NSDictionary, error: _NSError) => void) | null): void;
|
|
42
44
|
/** Returns an array of UTI strings of the data types supported by the receiver. */
|
|
43
45
|
types(): _NSArray;
|
|
44
46
|
}
|
|
@@ -8,6 +8,7 @@ import type { _NSViewController } from "./NSViewController.js";
|
|
|
8
8
|
import type { _NSWindow } from "./NSWindow.js";
|
|
9
9
|
import type { NSPrintPanelJobStyleHint } from "./NSPrintPanelJobStyleHint.js";
|
|
10
10
|
import type { NSPrintPanelOptions } from "./NSPrintPanelOptions.js";
|
|
11
|
+
import type { NSPrintPanelResult } from "./NSPrintPanelResult.js";
|
|
11
12
|
export declare class _NSPrintPanel extends _NSObject {
|
|
12
13
|
static alloc(): _NSPrintPanel;
|
|
13
14
|
static new(): _NSPrintPanel;
|
|
@@ -27,7 +28,7 @@ export declare class _NSPrintPanel extends _NSObject {
|
|
|
27
28
|
/**
|
|
28
29
|
* Displays the print panel as a sheet on a window. This method returns immediately. When the print panel is dismissed, calls the completion handler with NSPrintPanelResult as the argument.
|
|
29
30
|
*/
|
|
30
|
-
beginSheetUsingPrintInfo$onWindow$completionHandler$(printInfo: _NSPrintInfo, parentWindow: _NSWindow, handler:
|
|
31
|
+
beginSheetUsingPrintInfo$onWindow$completionHandler$(printInfo: _NSPrintInfo, parentWindow: _NSWindow, handler: ((result: NSPrintPanelResult) => void) | null): void;
|
|
31
32
|
/**
|
|
32
33
|
* Present a print panel to the user, document-modally. When the user has dismissed it, send the message selected by didEndSelector to the delegate, with the contextInfo as the last argument. The method selected by didEndSelector must have the same signature as: - (void)printPanelDidEnd:(NSPrintPanel *)printPanel returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo;
|
|
33
34
|
* @deprecated This method will be deprecated in a future release. Use -[NSPrintPanel beginSheetUsingPrintInfo:onWindow:completionHandler:] instead.
|
|
@@ -20,11 +20,11 @@ export declare class _NSSavePanel extends _NSPanel {
|
|
|
20
20
|
/**
|
|
21
21
|
* `NSSavePanel`/`NSOpenPanel`: Presents the panel as a sheet modal to `window` and returns immediately. Configure the panel before calling this method. The completion handler block will be called after the user has closed the panel, however, the open/save panel sheet may still be on screen. If you require the sheet to be offscreen (for example, to show an alert), first call `[savePanel orderOut:nil]` to close it. The `result` will be `NSModalResponseOK`, `NSModalResponseCancel`, or if the panel fails to display, `NSModalResponseAbort`.
|
|
22
22
|
*/
|
|
23
|
-
beginSheetModalForWindow$completionHandler$(window: _NSWindow, handler:
|
|
23
|
+
beginSheetModalForWindow$completionHandler$(window: _NSWindow, handler: (result: number) => void): void;
|
|
24
24
|
/**
|
|
25
25
|
* `NSSavePanel`/`NSOpenPanel`: Presents the panel as a modeless window and returns immediately. Configure the panel before calling this method. The completion handler block will be called after the user has closed the panel. The `result` will be `NSModalResponseOK`, `NSModalResponseCancel`, or if the panel fails to display, `NSModalResponseAbort`.
|
|
26
26
|
*/
|
|
27
|
-
beginWithCompletionHandler$(handler:
|
|
27
|
+
beginWithCompletionHandler$(handler: (result: number) => void): void;
|
|
28
28
|
/**
|
|
29
29
|
* `NSSavePanel`/`NSOpenPanel`: Presents the panel as an application modal window. Returns after the user has closed the panel. - Returns: `NSModalResponseOK`, `NSModalResponseCancel` or if the panel fails to display, `NSModalResponseAbort`.
|
|
30
30
|
*/
|
|
@@ -26,7 +26,7 @@ export declare class _NSScrubber extends _NSView {
|
|
|
26
26
|
/**
|
|
27
27
|
* Updates inside the @c performSequentialBatchUpdates block are processed and displayed all at once, including insertion, removal, moving, reloading items, and changing the selected index. Changes are performed iteratively using the same semantics as @c NSMutableArray. NSScrubber expects its dataSource to reflect the changes made inside @c -performSequentialBatchUpdates: immediately after the @c updateBlock finishes executing.
|
|
28
28
|
*/
|
|
29
|
-
performSequentialBatchUpdates$(updateBlock:
|
|
29
|
+
performSequentialBatchUpdates$(updateBlock: () => void): void;
|
|
30
30
|
/**
|
|
31
31
|
* Inserts new items at the specified indexes. NSScrubber will request views for each new index from the @c dataSource. This method uses the same semantics as @c NSMutableArray; each index in the set specifies the destination index after all previous insertions have occurred. Therefore, an NSIndexSet of [1,2,3] will result in three new contiguous items.
|
|
32
32
|
*/
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { NobjcObject } from "objc-js";
|
|
2
1
|
import type { _NSArray } from "../Foundation/NSArray.js";
|
|
3
2
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
4
3
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
@@ -20,7 +19,7 @@ export declare class _NSSharingService extends _NSObject {
|
|
|
20
19
|
/**
|
|
21
20
|
* Creates a custom NSSharingService object. Custom sharing services can be added to the NSSharingServicePicker with the sharingServicePicker:sharingServicesForItems:proposedSharingServices: delegate method.
|
|
22
21
|
*/
|
|
23
|
-
initWithTitle$image$alternateImage$handler$(title: _NSString, image: _NSImage, alternateImage: _NSImage | null, block:
|
|
22
|
+
initWithTitle$image$alternateImage$handler$(title: _NSString, image: _NSImage, alternateImage: _NSImage | null, block: () => void): _NSSharingService;
|
|
24
23
|
/**
|
|
25
24
|
* Returns whether a service can do something with all the provided items. This can be used to validate a custom UI such as a dedicated Twitter button. If items is nil, the method will return YES when the service is configured. Therefore you could call it once at launch time with nil items to check whether to display the button or not, and then with real items to enable and disable the button depending on the context or selection. The items represent the objects to be shared and must conform to the <NSPasteboardWriting > protocol or be an NSItemProvider or an NSDocument. (e.g. NSString, NSImage, NSURL, etc.)
|
|
26
25
|
*/
|
|
@@ -14,7 +14,7 @@ export declare class _NSSliderAccessoryBehavior extends _NSObject {
|
|
|
14
14
|
/**
|
|
15
15
|
* The handler block is invoked on interaction. This variant is not codable and will assert in `-encodeWithCoder:`.
|
|
16
16
|
*/
|
|
17
|
-
static behaviorWithHandler$(handler:
|
|
17
|
+
static behaviorWithHandler$(handler: (arg0: _NSSliderAccessory) => void): _NSSliderAccessoryBehavior;
|
|
18
18
|
/**
|
|
19
19
|
* The behavior is automatically picked to be the system standard for the slider's current context, e.g. NSTouchBarItems have `.valueStep` behavior.
|
|
20
20
|
*/
|
|
@@ -57,11 +57,11 @@ export declare class _NSSpellChecker extends _NSObject {
|
|
|
57
57
|
/**
|
|
58
58
|
* Requests unified text checking in the background. The return value is a monotonically increasing sequence number that can be used to keep track of requests in flight. The completion handler will be called (in an arbitrary context) when results are available, with the sequence number and results. The arguments and results are otherwise the same as for the previous method.
|
|
59
59
|
*/
|
|
60
|
-
requestCheckingOfString$range$types$options$inSpellDocumentWithTag$completionHandler$(stringToCheck: _NSString, range: NSRange, checkingTypes: number, options: _NSDictionary | null, tag: number, completionHandler:
|
|
60
|
+
requestCheckingOfString$range$types$options$inSpellDocumentWithTag$completionHandler$(stringToCheck: _NSString, range: NSRange, checkingTypes: number, options: _NSDictionary | null, tag: number, completionHandler: ((sequenceNumber: number, results: _NSArray, orthography: _NSOrthography, wordCount: number) => void) | null): number;
|
|
61
61
|
/**
|
|
62
62
|
* Requests candidate generation in the background. The return value is a monotonically increasing sequence number that can be used to keep track of requests in flight. The completion handler will be called (in an arbitrary context) when results are available, with the sequence number and results.
|
|
63
63
|
*/
|
|
64
|
-
requestCandidatesForSelectedRange$inString$types$options$inSpellDocumentWithTag$completionHandler$(selectedRange: NSRange, stringToCheck: _NSString, checkingTypes: number, options: _NSDictionary | null, tag: number, completionHandler:
|
|
64
|
+
requestCandidatesForSelectedRange$inString$types$options$inSpellDocumentWithTag$completionHandler$(selectedRange: NSRange, stringToCheck: _NSString, checkingTypes: number, options: _NSDictionary | null, tag: number, completionHandler: ((sequenceNumber: number, candidates: _NSArray) => void) | null): number;
|
|
65
65
|
/**
|
|
66
66
|
* Provides a menu containing contextual menu items suitable for certain kinds of detected results (notably date/time/address results). The options dictionary allows clients to pass in information associated with the document.
|
|
67
67
|
*/
|
|
@@ -109,7 +109,7 @@ export declare class _NSSpellChecker extends _NSObject {
|
|
|
109
109
|
*/
|
|
110
110
|
closeSpellDocumentWithTag$(tag: number): void;
|
|
111
111
|
recordResponse$toCorrection$forWord$language$inSpellDocumentWithTag$(response: NSCorrectionResponse, correction: _NSString, word: _NSString, language: _NSString | null, tag: number): void;
|
|
112
|
-
showCorrectionIndicatorOfType$primaryString$alternativeStrings$forStringInRect$view$completionHandler$(type: NSCorrectionIndicatorType, primaryString: _NSString, alternativeStrings: _NSArray, rectOfTypedString: CGRect, view: _NSView, completionBlock:
|
|
112
|
+
showCorrectionIndicatorOfType$primaryString$alternativeStrings$forStringInRect$view$completionHandler$(type: NSCorrectionIndicatorType, primaryString: _NSString, alternativeStrings: _NSArray, rectOfTypedString: CGRect, view: _NSView, completionBlock: ((arg0: _NSString) => void) | null): void;
|
|
113
113
|
dismissCorrectionIndicatorForView$(view: _NSView): void;
|
|
114
114
|
/**
|
|
115
115
|
* Clients may use this to cause inline prediction candidates to be shown. The candidates passed in should come from calling requestCandidates with the NSTextCheckingGenerateInlinePredictionsKey option set. The inline prediction (if any) will be sent to the client for display using NSTextInputClient methods.
|
|
@@ -2,6 +2,7 @@ import type { NobjcObject } from "objc-js";
|
|
|
2
2
|
import type { _NSTouchBarItem } from "./NSTouchBarItem.js";
|
|
3
3
|
import type { _NSFormatter } from "../Foundation/NSFormatter.js";
|
|
4
4
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
5
|
+
import type { CGRect } from "../structs/CGRect.js";
|
|
5
6
|
export declare class _NSStepperTouchBarItem extends _NSTouchBarItem {
|
|
6
7
|
static alloc(): _NSStepperTouchBarItem;
|
|
7
8
|
static new(): _NSStepperTouchBarItem;
|
|
@@ -13,7 +14,7 @@ export declare class _NSStepperTouchBarItem extends _NSTouchBarItem {
|
|
|
13
14
|
/**
|
|
14
15
|
* Creates an `NSStepperTouchBarItem` using the result of `drawingHandler` to display the stepper's value as an image @param drawingHandler A block that draws a graphical representation of the stepper's value in the specified rectangle. The coordinates of this rectangle are specified in points.
|
|
15
16
|
*/
|
|
16
|
-
static stepperTouchBarItemWithIdentifier$drawingHandler$(identifier: _NSString, drawingHandler:
|
|
17
|
+
static stepperTouchBarItemWithIdentifier$drawingHandler$(identifier: _NSString, drawingHandler: (rect: CGRect, value: number) => void): _NSStepperTouchBarItem;
|
|
17
18
|
/** The stepper's maximum value. The default is 59.0. */
|
|
18
19
|
maxValue(): number;
|
|
19
20
|
setMaxValue$(value: number): void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { NobjcObject } from "objc-js";
|
|
2
2
|
import type { _NSBundle } from "../Foundation/NSBundle.js";
|
|
3
|
+
import type { _NSCoder } from "../Foundation/NSCoder.js";
|
|
3
4
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
4
5
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
5
6
|
export declare class _NSStoryboard extends _NSObject {
|
|
@@ -21,7 +22,7 @@ export declare class _NSStoryboard extends _NSObject {
|
|
|
21
22
|
/**
|
|
22
23
|
* Every storyboard may have an initial view or window controller. Each invocation of this method instantiates an instance of the initial controller. The developer chooses the initial controller in an inspector within Interface Builder. A creator can be specified for controller instantiation, giving the developer a chance to call an initalizer that takes an NSCoder and additional arguments. If the block returns nil, the initial view controller will be created using the standard initWithCoder: initializer.
|
|
23
24
|
*/
|
|
24
|
-
instantiateInitialControllerWithCreator$(block: NobjcObject | null): NobjcObject | null;
|
|
25
|
+
instantiateInitialControllerWithCreator$(block: ((arg0: _NSCoder) => NobjcObject) | null): NobjcObject | null;
|
|
25
26
|
/**
|
|
26
27
|
* Controllers in Interface Builder have an optional identifier within the storyboard. That identifier is set from the inspector in Interface Builder. The identifiers are optional, meaning that the developer only has to assign an identifier to a controller if they want to be able to manually invoke this method from code.
|
|
27
28
|
*/
|
|
@@ -29,5 +30,5 @@ export declare class _NSStoryboard extends _NSObject {
|
|
|
29
30
|
/**
|
|
30
31
|
* Controllers in Interface Builder have an optional identifier within the storyboard. That identifier is set from the inspector in Interface Builder. The identifiers are optional, meaning that the developer only has to assign an identifier to a controller if they want to be able to manually invoke this method from code. A creator can be specified for controller instantiation, giving the developer a chance to call an initalizer that takes an NSCoder and additional arguments. If the block returns nil, the view controller will be created using the standard initWithCoder: initializer.
|
|
31
32
|
*/
|
|
32
|
-
instantiateControllerWithIdentifier$creator$(identifier: _NSString, block: NobjcObject | null): NobjcObject;
|
|
33
|
+
instantiateControllerWithIdentifier$creator$(identifier: _NSString, block: ((arg0: _NSCoder) => NobjcObject) | null): NobjcObject;
|
|
33
34
|
}
|
|
@@ -8,7 +8,7 @@ export declare class _NSStoryboardSegue extends _NSObject {
|
|
|
8
8
|
/**
|
|
9
9
|
* Convenience constructor for returning a segue that performs a handler block in its -perform method.
|
|
10
10
|
*/
|
|
11
|
-
static segueWithIdentifier$source$destination$performHandler$(identifier: _NSString, sourceController: NobjcObject, destinationController: NobjcObject, performHandler:
|
|
11
|
+
static segueWithIdentifier$source$destination$performHandler$(identifier: _NSString, sourceController: NobjcObject, destinationController: NobjcObject, performHandler: () => void): _NSStoryboardSegue;
|
|
12
12
|
/**
|
|
13
13
|
* This is the designated initializer for NSStoryboardSegue. If a developer implements a NSStoryboardSegue subclass, they can override this method to perform init-time logic. When a segue starts, a new instance of NSStoryboardSegue will be created with this method, and then perform will subsequently be invoked.
|
|
14
14
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { _NSControl } from "./NSControl.js";
|
|
2
|
+
import type { NSControlStateValue } from "./NSControlStateValue.js";
|
|
2
3
|
export declare class _NSSwitch extends _NSControl {
|
|
3
4
|
static alloc(): _NSSwitch;
|
|
4
5
|
static new(): _NSSwitch;
|
|
@@ -6,6 +7,6 @@ export declare class _NSSwitch extends _NSControl {
|
|
|
6
7
|
/**
|
|
7
8
|
* The current position of the switch. The values `NSControlStateValueOff` and `NSControlStateValueOn` indicate that the switch is in either the off or on position respectively. If the state property is set to any other value, it is interpreted as on. If set through the animator proxy, the switch animates to the new value.
|
|
8
9
|
*/
|
|
9
|
-
state():
|
|
10
|
-
setState$(value:
|
|
10
|
+
state(): NSControlStateValue;
|
|
11
|
+
setState$(value: NSControlStateValue): void;
|
|
11
12
|
}
|
|
@@ -175,7 +175,7 @@ export declare class _NSTableView extends _NSControl {
|
|
|
175
175
|
/**
|
|
176
176
|
* Enumerates all available NSTableRowViews. This includes all views in the -visibleRect, however, it may also include ones that are "in flight" due to animations or other various attributes of the table.
|
|
177
177
|
*/
|
|
178
|
-
enumerateAvailableRowViewsUsingBlock$(handler:
|
|
178
|
+
enumerateAvailableRowViewsUsingBlock$(handler: (rowView: _NSTableRowView, row: number) => void): void;
|
|
179
179
|
/**
|
|
180
180
|
* View Based TableView: Multiple row changes (inserts/deletes/moves/scrolling) can be animated simultaneously by surrounding calls around a beginUpdates/endUpdates pair. When changing rows, the prior state before -beginUpdates is the starting point assumed for all deletion and move calls. Calls are nestable. -selectedRowIndexes is properly maintained based on the series of inserts/deletes/moves. If a selected row is deleted, a selection changed notification will happen after endUpdates is called. It is not necessary to call beginUpdates/endUpdates if only one insertion/deletion/move is happening. Note that these methods should be called to reflect changes in your model; they do not make any underlying model changes. Cell Based TableView: Any row modifications must first be wrapped in a -beginUpdates/-endUpdates block -- this is required to properly maintain state and to allow animations to happen.
|
|
181
181
|
*/
|