objcjs-types 0.7.0 → 0.7.1
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/AVAudio3DMixing.d.ts +16 -16
- package/dist/AVFAudio/AVAudioMixing.d.ts +3 -3
- package/dist/AVFAudio/AVAudioSequencerInfoDictionaryKey.d.ts +2 -1
- package/dist/AVFAudio/AVAudioSessionCategory.d.ts +2 -1
- package/dist/AVFAudio/AVAudioSessionLocation.d.ts +2 -1
- package/dist/AVFAudio/AVAudioSessionMode.d.ts +2 -1
- package/dist/AVFAudio/AVAudioSessionOrientation.d.ts +2 -1
- package/dist/AVFAudio/AVAudioSessionPolarPattern.d.ts +2 -1
- package/dist/AVFAudio/AVAudioSessionPort.d.ts +2 -1
- package/dist/AVFAudio/AVAudioStereoMixing.d.ts +2 -2
- package/dist/AVFoundation/AVAssetDownloadedAssetEvictionPriority.d.ts +2 -1
- package/dist/AVFoundation/AVAssetImageGeneratorApertureMode.d.ts +2 -1
- package/dist/AVFoundation/AVAssetImageGeneratorDynamicRangePolicy.d.ts +2 -1
- package/dist/AVFoundation/AVAssetPlaybackConfigurationOption.d.ts +2 -1
- package/dist/AVFoundation/AVAssetWriterInputMediaDataLocation.d.ts +2 -1
- package/dist/AVFoundation/AVAsynchronousKeyValueLoading.d.ts +2 -2
- package/dist/AVFoundation/AVAudioTimePitchAlgorithm.d.ts +2 -1
- package/dist/AVFoundation/AVCaptionConversionAdjustmentType.d.ts +2 -1
- package/dist/AVFoundation/AVCaptionConversionWarningType.d.ts +2 -1
- package/dist/AVFoundation/AVCaptionRegion.d.ts +3 -1
- package/dist/AVFoundation/AVCaptionSettingsKey.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureAspectRatio.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureDataOutputSynchronizerDelegate.d.ts +1 -1
- package/dist/AVFoundation/AVCaptureDeviceType.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureFileOutputDelegate.d.ts +1 -1
- package/dist/AVFoundation/AVCaptureFileOutputRecordingDelegate.d.ts +1 -1
- package/dist/AVFoundation/AVCaptureReactionType.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureSceneMonitoringStatus.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureSessionControlsDelegate.d.ts +4 -4
- package/dist/AVFoundation/AVCaptureSessionDeferredStartDelegate.d.ts +2 -2
- package/dist/AVFoundation/AVCaptureSessionPreset.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureSystemPressureLevel.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureTimecodeGeneratorDelegate.d.ts +3 -3
- package/dist/AVFoundation/AVContentKeyRecipient.d.ts +1 -1
- package/dist/AVFoundation/AVContentKeyRequestRetryReason.d.ts +2 -1
- package/dist/AVFoundation/AVContentKeySessionDelegate.d.ts +1 -1
- package/dist/AVFoundation/AVContentKeySessionServerPlaybackContextOption.d.ts +2 -1
- package/dist/AVFoundation/AVContentKeySystem.d.ts +2 -1
- package/dist/AVFoundation/AVCoordinatedPlaybackSuspensionReason.d.ts +2 -1
- package/dist/AVFoundation/AVFileTypeProfile.d.ts +2 -1
- package/dist/AVFoundation/AVFragmentMinding.d.ts +1 -1
- package/dist/AVFoundation/AVLayerVideoGravity.d.ts +2 -1
- package/dist/AVFoundation/AVMetadataFormat.d.ts +2 -1
- package/dist/AVFoundation/AVMetadataItem.d.ts +2 -1
- package/dist/AVFoundation/AVMetadataObjectType.d.ts +2 -1
- package/dist/AVFoundation/AVMetricEventStreamSubscriber.d.ts +1 -1
- package/dist/AVFoundation/AVOutputSettingsPreset.d.ts +2 -1
- package/dist/AVFoundation/AVPlaybackCoordinatorPlaybackControlDelegate.d.ts +4 -4
- package/dist/AVFoundation/AVPlayerIntegratedTimelineSnapshotsOutOfSyncReason.d.ts +2 -1
- package/dist/AVFoundation/AVPlayerInterstitialEventCue.d.ts +2 -1
- package/dist/AVFoundation/AVPlayerItem.d.ts +2 -1
- package/dist/AVFoundation/AVPlayerItemLegibleOutputTextStylingResolution.d.ts +2 -1
- package/dist/AVFoundation/AVPlayerItemMetadataCollectorPushDelegate.d.ts +1 -1
- package/dist/AVFoundation/AVPlayerRateDidChangeReason.d.ts +2 -1
- package/dist/AVFoundation/AVPlayerWaitingReason.d.ts +2 -1
- package/dist/AVFoundation/AVQueuedSampleBufferRendering.d.ts +7 -7
- package/dist/AVFoundation/AVSampleBufferDisplayLayer.d.ts +3 -0
- package/dist/AVFoundation/AVSemanticSegmentationMatteType.d.ts +2 -1
- package/dist/AVFoundation/AVSpatialCaptureDiscomfortReason.d.ts +2 -1
- package/dist/AVFoundation/AVTrackAssociationType.d.ts +2 -1
- package/dist/AVFoundation/AVURLAsset.d.ts +2 -1
- package/dist/AVFoundation/AVVideoApertureMode.d.ts +2 -1
- package/dist/AVFoundation/AVVideoCodecType.d.ts +2 -1
- package/dist/AVFoundation/AVVideoCompositing.d.ts +4 -4
- package/dist/AVFoundation/AVVideoCompositionPerFrameHDRDisplayMetadataPolicy.d.ts +2 -1
- package/dist/AVFoundation/AVVideoRange.d.ts +2 -1
- package/dist/AVKit/AVCaptureViewDelegate.d.ts +1 -1
- package/dist/AVKit/AVPictureInPictureSampleBufferPlaybackDelegate.d.ts +5 -5
- package/dist/AVRouting/AVCustomRoutingControllerDelegate.d.ts +1 -1
- package/dist/Accessibility/AXChart.d.ts +2 -2
- package/dist/Accessibility/AXCustomContentProvider.d.ts +2 -2
- package/dist/Accessibility/AXDataAxisDescriptor.d.ts +4 -4
- package/dist/Accessibility/AXMathExpressionProvider.d.ts +1 -1
- package/dist/AddressBook/ABImageClient.d.ts +1 -1
- package/dist/AddressBook/ABPersonPickerDelegate.d.ts +1 -1
- package/dist/AppKit/NSAboutPanelOptionKey.d.ts +2 -1
- package/dist/AppKit/NSAccessibility.d.ts +274 -274
- package/dist/AppKit/NSAccessibilityActionName.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityAnnotationAttributeKey.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityAttributeName.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityButton.d.ts +2 -2
- package/dist/AppKit/NSAccessibilityCheckBox.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityColor.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityContainsTransientUI.d.ts +3 -3
- package/dist/AppKit/NSAccessibilityCustomRotorItemSearchDelegate.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityElementLoading.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityFontAttributeKey.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityImage.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityLayoutArea.d.ts +4 -4
- package/dist/AppKit/NSAccessibilityNavigableStaticText.d.ts +4 -4
- package/dist/AppKit/NSAccessibilityNotificationName.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityNotificationUserInfoKey.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityOrientationValue.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityParameterizedAttributeName.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityProgressIndicator.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityRadioButton.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityRole.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityRow.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityRulerMarkerTypeValue.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityRulerUnitValue.d.ts +2 -1
- package/dist/AppKit/NSAccessibilitySearchKey.d.ts +2 -1
- package/dist/AppKit/NSAccessibilitySlider.d.ts +4 -4
- package/dist/AppKit/NSAccessibilitySortDirectionValue.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityStaticText.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityStepper.d.ts +3 -3
- package/dist/AppKit/NSAccessibilitySubrole.d.ts +2 -1
- package/dist/AppKit/NSAccessibilitySwitch.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityTable.d.ts +2 -2
- package/dist/AppKit/NSAnimatablePropertyContainer.d.ts +4 -4
- package/dist/AppKit/NSAnimation.d.ts +2 -1
- package/dist/AppKit/NSAppearance.d.ts +3 -0
- package/dist/AppKit/NSAppearanceCustomization.d.ts +3 -3
- package/dist/AppKit/NSAppearanceName.d.ts +2 -1
- package/dist/AppKit/NSApplication.d.ts +2 -1
- package/dist/AppKit/NSAttributedStringDocumentAttributeKey.d.ts +2 -1
- package/dist/AppKit/NSAttributedStringDocumentReadingOptionKey.d.ts +2 -1
- package/dist/AppKit/NSAttributedStringDocumentType.d.ts +2 -1
- package/dist/AppKit/NSBindingInfoKey.d.ts +2 -1
- package/dist/AppKit/NSBindingName.d.ts +2 -1
- package/dist/AppKit/NSBindingOption.d.ts +2 -1
- package/dist/AppKit/NSBitmapImageRepPropertyKey.d.ts +2 -1
- package/dist/AppKit/NSButton.d.ts +2 -1
- package/dist/AppKit/NSChangeSpelling.d.ts +1 -1
- package/dist/AppKit/NSCloudSharingValidation.d.ts +1 -1
- package/dist/AppKit/NSCollectionLayoutContainer.d.ts +4 -4
- package/dist/AppKit/NSCollectionLayoutEnvironment.d.ts +1 -1
- package/dist/AppKit/NSCollectionLayoutVisibleItem.d.ts +14 -14
- package/dist/AppKit/NSCollectionViewDataSource.d.ts +2 -2
- package/dist/AppKit/NSCollectionViewPrefetching.d.ts +1 -1
- package/dist/AppKit/NSColor.d.ts +2 -1
- package/dist/AppKit/NSColorChanging.d.ts +1 -1
- package/dist/AppKit/NSColorPicker.d.ts +3 -0
- package/dist/AppKit/NSColorPickingCustom.d.ts +4 -4
- package/dist/AppKit/NSColorPickingDefault.d.ts +10 -10
- package/dist/AppKit/NSColorSpaceName.d.ts +2 -1
- package/dist/AppKit/NSController.d.ts +3 -0
- package/dist/AppKit/NSDefinitionOptionKey.d.ts +2 -1
- package/dist/AppKit/NSDefinitionPresentationType.d.ts +2 -1
- package/dist/AppKit/NSDeviceDescriptionKey.d.ts +2 -1
- package/dist/AppKit/NSDockTilePlugIn.d.ts +1 -1
- package/dist/AppKit/NSDocument.d.ts +2 -1
- package/dist/AppKit/NSDocumentController.d.ts +3 -1
- package/dist/AppKit/NSDraggingImageComponentKey.d.ts +2 -1
- package/dist/AppKit/NSDraggingInfo.d.ts +19 -19
- package/dist/AppKit/NSDraggingSource.d.ts +1 -1
- package/dist/AppKit/NSEditor.d.ts +4 -4
- package/dist/AppKit/NSFilePromiseProviderDelegate.d.ts +2 -2
- package/dist/AppKit/NSFontAssetRequest.d.ts +3 -0
- package/dist/AppKit/NSFontCollectionActionTypeKey.d.ts +2 -1
- package/dist/AppKit/NSFontCollectionMatchingOptionKey.d.ts +2 -1
- package/dist/AppKit/NSFontCollectionName.d.ts +2 -1
- package/dist/AppKit/NSFontCollectionUserInfoKey.d.ts +2 -1
- package/dist/AppKit/NSFontDescriptorAttributeName.d.ts +2 -1
- package/dist/AppKit/NSFontDescriptorFeatureKey.d.ts +2 -1
- package/dist/AppKit/NSFontDescriptorSystemDesign.d.ts +2 -1
- package/dist/AppKit/NSFontDescriptorTraitKey.d.ts +2 -1
- package/dist/AppKit/NSFontDescriptorVariationKey.d.ts +2 -1
- package/dist/AppKit/NSFontTextStyle.d.ts +2 -1
- package/dist/AppKit/NSFontTextStyleOptionKey.d.ts +2 -1
- package/dist/AppKit/NSGestureRecognizer.d.ts +3 -0
- package/dist/AppKit/NSGlyphStorage.d.ts +4 -4
- package/dist/AppKit/NSGradient.d.ts +2 -1
- package/dist/AppKit/NSGraphicsContextAttributeKey.d.ts +2 -1
- package/dist/AppKit/NSGraphicsContextRepresentationFormatName.d.ts +2 -1
- package/dist/AppKit/NSHapticFeedbackPerformer.d.ts +1 -1
- package/dist/AppKit/NSIgnoreMisspelledWords.d.ts +1 -1
- package/dist/AppKit/NSImageHintKey.d.ts +2 -1
- package/dist/AppKit/NSImageRep.d.ts +2 -1
- package/dist/AppKit/NSInputServerMouseTracker.d.ts +3 -3
- package/dist/AppKit/NSInputServiceProvider.d.ts +15 -15
- package/dist/AppKit/NSLayoutManager.d.ts +4 -0
- package/dist/AppKit/NSMenuItemValidation.d.ts +1 -1
- package/dist/AppKit/NSMovie.d.ts +3 -0
- package/dist/AppKit/NSPasteboardItemDataProvider.d.ts +1 -1
- package/dist/AppKit/NSPasteboardName.d.ts +2 -1
- package/dist/AppKit/NSPasteboardReadingOptionKey.d.ts +2 -1
- package/dist/AppKit/NSPasteboardType.d.ts +2 -1
- package/dist/AppKit/NSPasteboardTypeFindPanelSearchOptionKey.d.ts +2 -1
- package/dist/AppKit/NSPasteboardTypeOwner.d.ts +1 -1
- package/dist/AppKit/NSPasteboardTypeTextFinderOptionKey.d.ts +2 -1
- package/dist/AppKit/NSPasteboardWriting.d.ts +2 -2
- package/dist/AppKit/NSPopover.d.ts +2 -1
- package/dist/AppKit/NSPopoverCloseReasonValue.d.ts +2 -1
- package/dist/AppKit/NSPreviewRepresentableActivityItem.d.ts +1 -1
- package/dist/AppKit/NSPrintInfoAttributeKey.d.ts +2 -1
- package/dist/AppKit/NSPrintJobDispositionValue.d.ts +2 -1
- package/dist/AppKit/NSPrintPanelAccessorizing.d.ts +1 -1
- package/dist/AppKit/NSPrintPanelAccessorySummaryKey.d.ts +2 -1
- package/dist/AppKit/NSPrintPanelJobStyleHint.d.ts +2 -1
- package/dist/AppKit/NSPrinterPaperName.d.ts +2 -1
- package/dist/AppKit/NSPrinterTypeName.d.ts +2 -1
- package/dist/AppKit/NSResponder.d.ts +3 -1
- package/dist/AppKit/NSRuleEditorDelegate.d.ts +3 -3
- package/dist/AppKit/NSRuleEditorPredicatePartKey.d.ts +2 -1
- package/dist/AppKit/NSRulerViewUnitName.d.ts +2 -1
- package/dist/AppKit/NSScrubberDataSource.d.ts +2 -2
- package/dist/AppKit/NSSegmentedControl.d.ts +3 -0
- package/dist/AppKit/NSSharingServiceName.d.ts +2 -1
- package/dist/AppKit/NSSharingServicePickerToolbarItemDelegate.d.ts +1 -1
- package/dist/AppKit/NSSharingServicePickerTouchBarItemDelegate.d.ts +1 -1
- package/dist/AppKit/NSSpeechCommandDelimiterKey.d.ts +2 -1
- package/dist/AppKit/NSSpeechDictionaryKey.d.ts +2 -1
- package/dist/AppKit/NSSpeechErrorKey.d.ts +2 -1
- package/dist/AppKit/NSSpeechMode.d.ts +2 -1
- package/dist/AppKit/NSSpeechPhonemeInfoKey.d.ts +2 -1
- package/dist/AppKit/NSSpeechPropertyKey.d.ts +2 -1
- package/dist/AppKit/NSSpeechStatusKey.d.ts +2 -1
- package/dist/AppKit/NSSpeechSynthesizerInfoKey.d.ts +2 -1
- package/dist/AppKit/NSSpeechSynthesizerVoiceName.d.ts +2 -1
- package/dist/AppKit/NSSplitViewController.d.ts +3 -0
- package/dist/AppKit/NSSpringLoadingDestination.d.ts +2 -2
- package/dist/AppKit/NSTableRowView.d.ts +0 -3
- package/dist/AppKit/NSTextAttachmentContainer.d.ts +2 -2
- package/dist/AppKit/NSTextAttachmentLayout.d.ts +3 -3
- package/dist/AppKit/NSTextCheckingClient.d.ts +8 -8
- package/dist/AppKit/NSTextCheckingOptionKey.d.ts +2 -1
- package/dist/AppKit/NSTextContent.d.ts +2 -2
- package/dist/AppKit/NSTextContentManager.d.ts +2 -1
- package/dist/AppKit/NSTextContentType.d.ts +2 -1
- package/dist/AppKit/NSTextEffectStyle.d.ts +2 -1
- package/dist/AppKit/NSTextElementProvider.d.ts +4 -4
- package/dist/AppKit/NSTextFinderBarContainer.d.ts +5 -5
- package/dist/AppKit/NSTextHighlightColorScheme.d.ts +2 -1
- package/dist/AppKit/NSTextHighlightStyle.d.ts +2 -1
- package/dist/AppKit/NSTextInput.d.ts +12 -12
- package/dist/AppKit/NSTextInputClient.d.ts +11 -11
- package/dist/AppKit/NSTextLayoutFragment.d.ts +3 -0
- package/dist/AppKit/NSTextLayoutManager.d.ts +2 -1
- package/dist/AppKit/NSTextLayoutOrientationProvider.d.ts +1 -1
- package/dist/AppKit/NSTextLayoutSectionKey.d.ts +2 -1
- package/dist/AppKit/NSTextLineFragment.d.ts +3 -0
- package/dist/AppKit/NSTextList.d.ts +2 -1
- package/dist/AppKit/NSTextListMarkerFormat.d.ts +2 -1
- package/dist/AppKit/NSTextLocation.d.ts +1 -1
- package/dist/AppKit/NSTextSelection.d.ts +3 -0
- package/dist/AppKit/NSTextSelectionDataSource.d.ts +8 -8
- package/dist/AppKit/NSTextStorageObserving.d.ts +4 -4
- package/dist/AppKit/NSTextTabOptionKey.d.ts +2 -1
- package/dist/AppKit/NSTextViewportLayoutControllerDelegate.d.ts +2 -2
- package/dist/AppKit/NSToolbarItemIdentifier.d.ts +2 -1
- package/dist/AppKit/NSToolbarItemValidation.d.ts +1 -1
- package/dist/AppKit/NSToolbarUserInfoKey.d.ts +2 -1
- package/dist/AppKit/NSTouchBar.d.ts +3 -0
- package/dist/AppKit/NSTouchBarItem.d.ts +3 -0
- package/dist/AppKit/NSTouchBarItemIdentifier.d.ts +2 -1
- package/dist/AppKit/NSTouchBarProvider.d.ts +1 -1
- package/dist/AppKit/NSUserActivityRestoring.d.ts +1 -1
- package/dist/AppKit/NSUserInterfaceCompression.d.ts +3 -3
- package/dist/AppKit/NSUserInterfaceItemIdentification.d.ts +2 -2
- package/dist/AppKit/NSUserInterfaceItemIdentifier.d.ts +2 -1
- package/dist/AppKit/NSUserInterfaceItemSearching.d.ts +2 -2
- package/dist/AppKit/NSUserInterfaceValidations.d.ts +1 -1
- package/dist/AppKit/NSValidatedUserInterfaceItem.d.ts +2 -2
- package/dist/AppKit/NSViewAnimationEffectName.d.ts +2 -1
- package/dist/AppKit/NSViewAnimationKey.d.ts +2 -1
- package/dist/AppKit/NSViewController.d.ts +2 -1
- package/dist/AppKit/NSViewControllerPresentationAnimator.d.ts +2 -2
- package/dist/AppKit/NSViewFullScreenModeOptionKey.d.ts +2 -1
- package/dist/AppKit/NSViewToolTipOwner.d.ts +1 -1
- package/dist/AppKit/NSVoiceAttributeKey.d.ts +2 -1
- package/dist/AppKit/NSVoiceGenderName.d.ts +2 -1
- package/dist/AppKit/NSWorkspaceDesktopImageOptionKey.d.ts +2 -1
- package/dist/AppKit/NSWritingToolsCoordinatorDelegate.d.ts +9 -9
- package/dist/AudioToolbox/AUAudioUnitFactory.d.ts +1 -1
- package/dist/AudioToolbox/AUCocoaUIBase.d.ts +2 -2
- package/dist/AudioVideoBridging/AVB17221ACMPClient.d.ts +2 -2
- package/dist/AudioVideoBridging/AVB17221AECPClient.d.ts +2 -2
- package/dist/AudioVideoBridging/AVB17221EntityDiscoveryDelegate.d.ts +8 -8
- package/dist/AuthenticationServices/ASAccountAuthenticationModificationControllerPresentationContextProviding.d.ts +1 -1
- package/dist/AuthenticationServices/ASAuthorizationControllerPresentationContextProviding.d.ts +1 -1
- package/dist/AuthenticationServices/ASAuthorizationCustomMethod.d.ts +2 -1
- package/dist/AuthenticationServices/ASAuthorizationProviderExtensionAuthorizationRequestHandler.d.ts +1 -1
- package/dist/AuthenticationServices/ASAuthorizationProviderExtensionRegistrationHandler.d.ts +2 -2
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialAssertion.d.ts +3 -3
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialAssertionRequest.d.ts +8 -8
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialAttestationKind.d.ts +2 -1
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialDescriptor.d.ts +2 -2
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistration.d.ts +1 -1
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistrationRequest.d.ts +13 -13
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialResidentKeyPreference.d.ts +2 -1
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialUserVerificationPreference.d.ts +2 -1
- package/dist/AuthenticationServices/ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransport.d.ts +2 -1
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserExternallyAuthenticatableRequest.d.ts +2 -2
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest.d.ts +3 -3
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider.d.ts +3 -3
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest.d.ts +5 -5
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialAssertionRequest.d.ts +1 -1
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialProvider.d.ts +2 -2
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialRegistrationRequest.d.ts +1 -1
- package/dist/AuthenticationServices/ASCredentialIdentity.d.ts +5 -5
- package/dist/AuthenticationServices/ASCredentialRequest.d.ts +2 -2
- package/dist/AuthenticationServices/ASGeneratedPasswordKind.d.ts +2 -1
- package/dist/AuthenticationServices/ASPasskeyCredentialIdentity.d.ts +2 -1
- package/dist/AuthenticationServices/ASPasswordCredentialIdentity.d.ts +2 -1
- package/dist/AuthenticationServices/ASPublicKeyCredential.d.ts +2 -2
- package/dist/AuthenticationServices/ASWebAuthenticationPresentationContextProviding.d.ts +1 -1
- package/dist/AuthenticationServices/ASWebAuthenticationSessionWebBrowserSessionHandling.d.ts +2 -2
- package/dist/BrowserEngineKit/BEAccessibilityTextMarkerSupport.d.ts +12 -12
- package/dist/BrowserEngineKit/BEExtensionProcess.d.ts +2 -2
- package/dist/BrowserEngineKit/BENetworkingProcess.d.ts +3 -0
- package/dist/BrowserEngineKit/BEProcessCapabilityGrant.d.ts +2 -2
- package/dist/BrowserEngineKit/BERenderingProcess.d.ts +3 -0
- package/dist/BrowserEngineKit/BETextInputDelegate.d.ts +6 -6
- package/dist/BrowserEngineKit/BETextInteractionDelegate.d.ts +2 -2
- package/dist/BrowserEngineKit/BEWebContentProcess.d.ts +3 -0
- package/dist/CallKit/CXAction.d.ts +2 -1
- package/dist/CallKit/CXCallDirectoryExtensionContextDelegate.d.ts +1 -1
- package/dist/CallKit/CXCallObserverDelegate.d.ts +1 -1
- package/dist/CallKit/CXProviderDelegate.d.ts +1 -1
- package/dist/ClassKit/CLSContextProvider.d.ts +1 -1
- package/dist/ClassKit/CLSContextTopic.d.ts +2 -1
- package/dist/ClassKit/CLSDataStoreDelegate.d.ts +1 -1
- package/dist/CloudKit/CKRecord.d.ts +2 -1
- package/dist/CloudKit/CKRecordKeyValueSetting.d.ts +6 -6
- package/dist/CloudKit/CKSyncEngineDelegate.d.ts +2 -2
- package/dist/Contacts/CNChangeHistoryEventVisitor.d.ts +4 -4
- package/dist/CoreAudioKit/AUCustomViewPersistentData.d.ts +2 -2
- package/dist/CoreBluetooth/CBCentralManagerDelegate.d.ts +1 -1
- package/dist/CoreBluetooth/CBConnectionEventMatchingOption.d.ts +2 -1
- package/dist/CoreBluetooth/CBPeripheralManagerDelegate.d.ts +1 -1
- package/dist/CoreData/NSFetchedResultsSectionInfo.d.ts +4 -4
- package/dist/CoreData/NSManagedObjectContext.d.ts +2 -1
- package/dist/CoreData/NSPersistentStoreCoordinator.d.ts +3 -0
- package/dist/CoreHaptics/CHHapticAdvancedPatternPlayer.d.ts +13 -13
- package/dist/CoreHaptics/CHHapticDeviceCapability.d.ts +4 -4
- package/dist/CoreHaptics/CHHapticDynamicParameterID.d.ts +2 -1
- package/dist/CoreHaptics/CHHapticEventParameterID.d.ts +2 -1
- package/dist/CoreHaptics/CHHapticEventType.d.ts +2 -1
- package/dist/CoreHaptics/CHHapticParameterAttributes.d.ts +3 -3
- package/dist/CoreHaptics/CHHapticPatternKey.d.ts +2 -1
- package/dist/CoreHaptics/CHHapticPatternPlayer.d.ts +7 -7
- package/dist/CoreImage/CIAccordionFoldTransition.d.ts +6 -6
- package/dist/CoreImage/CIAffineClamp.d.ts +4 -4
- package/dist/CoreImage/CIAffineTile.d.ts +4 -4
- package/dist/CoreImage/CIAreaHistogram.d.ts +4 -4
- package/dist/CoreImage/CIAreaLogarithmicHistogram.d.ts +8 -8
- package/dist/CoreImage/CIAreaReductionFilter.d.ts +4 -4
- package/dist/CoreImage/CIAttributedTextImageGenerator.d.ts +6 -6
- package/dist/CoreImage/CIAztecCodeGenerator.d.ts +8 -8
- package/dist/CoreImage/CIBarcodeGenerator.d.ts +2 -2
- package/dist/CoreImage/CIBarsSwipeTransition.d.ts +6 -6
- package/dist/CoreImage/CIBicubicScaleTransform.d.ts +10 -10
- package/dist/CoreImage/CIBlendWithMask.d.ts +6 -6
- package/dist/CoreImage/CIBloom.d.ts +6 -6
- package/dist/CoreImage/CIBlurredRectangleGenerator.d.ts +6 -6
- package/dist/CoreImage/CIBlurredRoundedRectangleGenerator.d.ts +10 -10
- package/dist/CoreImage/CIBokehBlur.d.ts +10 -10
- package/dist/CoreImage/CIBoxBlur.d.ts +4 -4
- package/dist/CoreImage/CIBumpDistortion.d.ts +8 -8
- package/dist/CoreImage/CIBumpDistortionLinear.d.ts +10 -10
- package/dist/CoreImage/CICMYKHalftone.d.ts +14 -14
- package/dist/CoreImage/CICannyEdgeDetector.d.ts +12 -12
- package/dist/CoreImage/CICheckerboardGenerator.d.ts +10 -10
- package/dist/CoreImage/CICircleSplashDistortion.d.ts +6 -6
- package/dist/CoreImage/CICircularScreen.d.ts +8 -8
- package/dist/CoreImage/CICircularWrap.d.ts +8 -8
- package/dist/CoreImage/CICode128BarcodeGenerator.d.ts +6 -6
- package/dist/CoreImage/CIColorAbsoluteDifference.d.ts +4 -4
- package/dist/CoreImage/CIColorClamp.d.ts +6 -6
- package/dist/CoreImage/CIColorControls.d.ts +8 -8
- package/dist/CoreImage/CIColorCrossPolynomial.d.ts +8 -8
- package/dist/CoreImage/CIColorCube.d.ts +8 -8
- package/dist/CoreImage/CIColorCubeWithColorSpace.d.ts +10 -10
- package/dist/CoreImage/CIColorCubesMixedWithMask.d.ts +14 -14
- package/dist/CoreImage/CIColorCurves.d.ts +8 -8
- package/dist/CoreImage/CIColorInvert.d.ts +2 -2
- package/dist/CoreImage/CIColorMap.d.ts +4 -4
- package/dist/CoreImage/CIColorMatrix.d.ts +12 -12
- package/dist/CoreImage/CIColorMonochrome.d.ts +6 -6
- package/dist/CoreImage/CIColorPolynomial.d.ts +10 -10
- package/dist/CoreImage/CIColorPosterize.d.ts +4 -4
- package/dist/CoreImage/CIColorThreshold.d.ts +4 -4
- package/dist/CoreImage/CIColorThresholdOtsu.d.ts +2 -2
- package/dist/CoreImage/CIComicEffect.d.ts +2 -2
- package/dist/CoreImage/CICompositeOperation.d.ts +4 -4
- package/dist/CoreImage/CIContextOption.d.ts +2 -1
- package/dist/CoreImage/CIConvertLab.d.ts +4 -4
- package/dist/CoreImage/CIConvolution.d.ts +6 -6
- package/dist/CoreImage/CICopyMachineTransition.d.ts +10 -10
- package/dist/CoreImage/CICoreMLModel.d.ts +8 -8
- package/dist/CoreImage/CICrystallize.d.ts +6 -6
- package/dist/CoreImage/CIDepthOfField.d.ts +14 -14
- package/dist/CoreImage/CIDepthToDisparity.d.ts +2 -2
- package/dist/CoreImage/CIDiscBlur.d.ts +4 -4
- package/dist/CoreImage/CIDisintegrateWithMaskTransition.d.ts +8 -8
- package/dist/CoreImage/CIDisparityToDepth.d.ts +2 -2
- package/dist/CoreImage/CIDisplacementDistortion.d.ts +6 -6
- package/dist/CoreImage/CIDistanceGradientFromRedMask.d.ts +4 -4
- package/dist/CoreImage/CIDither.d.ts +4 -4
- package/dist/CoreImage/CIDocumentEnhancer.d.ts +4 -4
- package/dist/CoreImage/CIDotScreen.d.ts +10 -10
- package/dist/CoreImage/CIDroste.d.ts +14 -14
- package/dist/CoreImage/CIDynamicRangeOption.d.ts +2 -1
- package/dist/CoreImage/CIEdgePreserveUpsample.d.ts +8 -8
- package/dist/CoreImage/CIEdgeWork.d.ts +4 -4
- package/dist/CoreImage/CIEdges.d.ts +4 -4
- package/dist/CoreImage/CIEightfoldReflectedTile.d.ts +8 -8
- package/dist/CoreImage/CIExposureAdjust.d.ts +4 -4
- package/dist/CoreImage/CIFalseColor.d.ts +6 -6
- package/dist/CoreImage/CIFilterConstructor.d.ts +1 -1
- package/dist/CoreImage/CIFlashTransition.d.ts +14 -14
- package/dist/CoreImage/CIFourCoordinateGeometryFilter.d.ts +10 -10
- package/dist/CoreImage/CIFourfoldReflectedTile.d.ts +10 -10
- package/dist/CoreImage/CIFourfoldRotatedTile.d.ts +8 -8
- package/dist/CoreImage/CIFourfoldTranslatedTile.d.ts +10 -10
- package/dist/CoreImage/CIGaborGradients.d.ts +2 -2
- package/dist/CoreImage/CIGammaAdjust.d.ts +4 -4
- package/dist/CoreImage/CIGaussianBlur.d.ts +4 -4
- package/dist/CoreImage/CIGaussianGradient.d.ts +8 -8
- package/dist/CoreImage/CIGlassDistortion.d.ts +8 -8
- package/dist/CoreImage/CIGlassLozenge.d.ts +10 -10
- package/dist/CoreImage/CIGlideReflectedTile.d.ts +8 -8
- package/dist/CoreImage/CIGloom.d.ts +6 -6
- package/dist/CoreImage/CIHatchedScreen.d.ts +10 -10
- package/dist/CoreImage/CIHeightFieldFromMask.d.ts +4 -4
- package/dist/CoreImage/CIHexagonalPixellate.d.ts +6 -6
- package/dist/CoreImage/CIHighlightShadowAdjust.d.ts +8 -8
- package/dist/CoreImage/CIHistogramDisplay.d.ts +8 -8
- package/dist/CoreImage/CIHoleDistortion.d.ts +6 -6
- package/dist/CoreImage/CIHueAdjust.d.ts +4 -4
- package/dist/CoreImage/CIHueSaturationValueGradient.d.ts +10 -10
- package/dist/CoreImage/CIImageAutoAdjustmentOption.d.ts +2 -1
- package/dist/CoreImage/CIImageOption.d.ts +2 -1
- package/dist/CoreImage/CIImageProcessorInput.d.ts +10 -10
- package/dist/CoreImage/CIImageProcessorOutput.d.ts +9 -9
- package/dist/CoreImage/CIImageRepresentationOption.d.ts +2 -1
- package/dist/CoreImage/CIKMeans.d.ts +8 -8
- package/dist/CoreImage/CIKaleidoscope.d.ts +8 -8
- package/dist/CoreImage/CIKeystoneCorrectionCombined.d.ts +2 -2
- package/dist/CoreImage/CIKeystoneCorrectionHorizontal.d.ts +2 -2
- package/dist/CoreImage/CIKeystoneCorrectionVertical.d.ts +2 -2
- package/dist/CoreImage/CILabDeltaE.d.ts +4 -4
- package/dist/CoreImage/CILanczosScaleTransform.d.ts +6 -6
- package/dist/CoreImage/CILenticularHaloGenerator.d.ts +16 -16
- package/dist/CoreImage/CILightTunnel.d.ts +8 -8
- package/dist/CoreImage/CILineOverlay.d.ts +12 -12
- package/dist/CoreImage/CILineScreen.d.ts +10 -10
- package/dist/CoreImage/CILinearGradient.d.ts +8 -8
- package/dist/CoreImage/CILinearToSRGBToneCurve.d.ts +2 -2
- package/dist/CoreImage/CIMaskToAlpha.d.ts +2 -2
- package/dist/CoreImage/CIMaskedVariableBlur.d.ts +6 -6
- package/dist/CoreImage/CIMaximumComponent.d.ts +2 -2
- package/dist/CoreImage/CIMaximumScaleTransform.d.ts +6 -6
- package/dist/CoreImage/CIMedian.d.ts +2 -2
- package/dist/CoreImage/CIMeshGenerator.d.ts +6 -6
- package/dist/CoreImage/CIMinimumComponent.d.ts +2 -2
- package/dist/CoreImage/CIMix.d.ts +6 -6
- package/dist/CoreImage/CIModTransition.d.ts +8 -8
- package/dist/CoreImage/CIMorphologyGradient.d.ts +4 -4
- package/dist/CoreImage/CIMorphologyMaximum.d.ts +4 -4
- package/dist/CoreImage/CIMorphologyMinimum.d.ts +4 -4
- package/dist/CoreImage/CIMorphologyRectangleMaximum.d.ts +6 -6
- package/dist/CoreImage/CIMorphologyRectangleMinimum.d.ts +6 -6
- package/dist/CoreImage/CIMotionBlur.d.ts +6 -6
- package/dist/CoreImage/CINinePartStretched.d.ts +8 -8
- package/dist/CoreImage/CINinePartTiled.d.ts +10 -10
- package/dist/CoreImage/CINoiseReduction.d.ts +6 -6
- package/dist/CoreImage/CIOpTile.d.ts +10 -10
- package/dist/CoreImage/CIPDF417BarcodeGenerator.d.ts +24 -24
- package/dist/CoreImage/CIPageCurlTransition.d.ts +10 -10
- package/dist/CoreImage/CIPageCurlWithShadowTransition.d.ts +14 -14
- package/dist/CoreImage/CIPaletteCentroid.d.ts +6 -6
- package/dist/CoreImage/CIPalettize.d.ts +6 -6
- package/dist/CoreImage/CIParallelogramTile.d.ts +10 -10
- package/dist/CoreImage/CIPersonSegmentation.d.ts +4 -4
- package/dist/CoreImage/CIPerspectiveCorrection.d.ts +2 -2
- package/dist/CoreImage/CIPerspectiveRotate.d.ts +10 -10
- package/dist/CoreImage/CIPerspectiveTile.d.ts +10 -10
- package/dist/CoreImage/CIPerspectiveTransformWithExtent.d.ts +2 -2
- package/dist/CoreImage/CIPhotoEffect.d.ts +4 -4
- package/dist/CoreImage/CIPinchDistortion.d.ts +8 -8
- package/dist/CoreImage/CIPixellate.d.ts +6 -6
- package/dist/CoreImage/CIPlugInRegistration.d.ts +1 -1
- package/dist/CoreImage/CIPointillize.d.ts +6 -6
- package/dist/CoreImage/CIQRCodeGenerator.d.ts +4 -4
- package/dist/CoreImage/CIRAWDecoderVersion.d.ts +2 -1
- package/dist/CoreImage/CIRAWFilterOption.d.ts +2 -1
- package/dist/CoreImage/CIRadialGradient.d.ts +10 -10
- package/dist/CoreImage/CIRippleTransition.d.ts +10 -10
- package/dist/CoreImage/CIRoundedQRCodeGenerator.d.ts +16 -16
- package/dist/CoreImage/CIRoundedRectangleGenerator.d.ts +8 -8
- package/dist/CoreImage/CIRoundedRectangleStrokeGenerator.d.ts +10 -10
- package/dist/CoreImage/CISRGBToneCurveToLinear.d.ts +2 -2
- package/dist/CoreImage/CISaliencyMap.d.ts +2 -2
- package/dist/CoreImage/CISepiaTone.d.ts +4 -4
- package/dist/CoreImage/CIShadedMaterial.d.ts +6 -6
- package/dist/CoreImage/CISharpenLuminance.d.ts +6 -6
- package/dist/CoreImage/CISignedDistanceGradientFromRedMask.d.ts +4 -4
- package/dist/CoreImage/CISixfoldReflectedTile.d.ts +8 -8
- package/dist/CoreImage/CISixfoldRotatedTile.d.ts +8 -8
- package/dist/CoreImage/CISmoothLinearGradient.d.ts +8 -8
- package/dist/CoreImage/CISobelGradients.d.ts +2 -2
- package/dist/CoreImage/CISpotColor.d.ts +26 -26
- package/dist/CoreImage/CISpotLight.d.ts +12 -12
- package/dist/CoreImage/CIStarShineGenerator.d.ts +16 -16
- package/dist/CoreImage/CIStraighten.d.ts +4 -4
- package/dist/CoreImage/CIStretchCrop.d.ts +8 -8
- package/dist/CoreImage/CIStripesGenerator.d.ts +10 -10
- package/dist/CoreImage/CISunbeamsGenerator.d.ts +14 -14
- package/dist/CoreImage/CISwipeTransition.d.ts +10 -10
- package/dist/CoreImage/CISystemToneMap.d.ts +6 -6
- package/dist/CoreImage/CITemperatureAndTint.d.ts +6 -6
- package/dist/CoreImage/CITextImageGenerator.d.ts +10 -10
- package/dist/CoreImage/CIThermal.d.ts +2 -2
- package/dist/CoreImage/CIToneCurve.d.ts +14 -14
- package/dist/CoreImage/CIToneMapHeadroom.d.ts +6 -6
- package/dist/CoreImage/CITorusLensDistortion.d.ts +10 -10
- package/dist/CoreImage/CITransitionFilter.d.ts +6 -6
- package/dist/CoreImage/CITriangleKaleidoscope.d.ts +10 -10
- package/dist/CoreImage/CITriangleTile.d.ts +8 -8
- package/dist/CoreImage/CITwelvefoldReflectedTile.d.ts +8 -8
- package/dist/CoreImage/CITwirlDistortion.d.ts +8 -8
- package/dist/CoreImage/CIUnsharpMask.d.ts +6 -6
- package/dist/CoreImage/CIVibrance.d.ts +4 -4
- package/dist/CoreImage/CIVignette.d.ts +6 -6
- package/dist/CoreImage/CIVignetteEffect.d.ts +10 -10
- package/dist/CoreImage/CIVortexDistortion.d.ts +8 -8
- package/dist/CoreImage/CIWhitePointAdjust.d.ts +4 -4
- package/dist/CoreImage/CIXRay.d.ts +2 -2
- package/dist/CoreImage/CIZoomBlur.d.ts +6 -6
- package/dist/CoreLocation/CLLocationPushServiceExtension.d.ts +1 -1
- package/dist/CoreMIDI/MIDICIProfileResponderDelegate.d.ts +2 -2
- package/dist/CoreML/MLBatchProvider.d.ts +2 -2
- package/dist/CoreML/MLCustomLayer.d.ts +4 -4
- package/dist/CoreML/MLCustomModel.d.ts +2 -2
- package/dist/CoreML/MLFeatureProvider.d.ts +2 -2
- package/dist/CoreML/MLModelMetadataKey.d.ts +2 -1
- package/dist/CoreML/MLWritable.d.ts +1 -1
- package/dist/CoreMediaIO/CMIOExtensionDeviceSource.d.ts +3 -3
- package/dist/CoreMediaIO/CMIOExtensionProperty.d.ts +2 -1
- package/dist/CoreMediaIO/CMIOExtensionProviderSource.d.ts +5 -5
- package/dist/CoreMediaIO/CMIOExtensionStreamSource.d.ts +7 -7
- package/dist/CoreMotion/CMWaterSubmersionManagerDelegate.d.ts +4 -4
- package/dist/CoreSpotlight/CSSearchableIndexDelegate.d.ts +2 -2
- package/dist/CoreTelephony/CTSubscriberDelegate.d.ts +1 -1
- package/dist/CoreText/CTAdaptiveImageProviding.d.ts +1 -1
- package/dist/CryptoTokenKit/TKSmartCardTokenDriverDelegate.d.ts +1 -1
- package/dist/CryptoTokenKit/TKTokenDelegate.d.ts +1 -1
- package/dist/DeviceDiscoveryExtension/DDDeviceProtocolString.d.ts +2 -1
- package/dist/DiscRecording/DRFileDataProduction.d.ts +5 -5
- package/dist/DiscRecording/DRTrackDataProduction.d.ts +9 -9
- package/dist/ExternalAccessory/EAWiFiUnconfiguredAccessoryBrowserDelegate.d.ts +4 -4
- package/dist/FSKit/FSFileSystemBase.d.ts +3 -3
- package/dist/FSKit/FSManageableResourceMaintenanceOperations.d.ts +2 -2
- package/dist/FSKit/FSUnaryFileSystemOperations.d.ts +3 -3
- package/dist/FSKit/FSVolumeAccessCheckOperations.d.ts +1 -1
- package/dist/FSKit/FSVolumeItemDeactivation.d.ts +2 -2
- package/dist/FSKit/FSVolumeKernelOffloadedIOOperations.d.ts +4 -4
- package/dist/FSKit/FSVolumeOpenCloseOperations.d.ts +2 -2
- package/dist/FSKit/FSVolumeOperations.d.ts +18 -18
- package/dist/FSKit/FSVolumePathConfOperations.d.ts +4 -4
- package/dist/FSKit/FSVolumePreallocateOperations.d.ts +1 -1
- package/dist/FSKit/FSVolumeReadWriteOperations.d.ts +2 -2
- package/dist/FSKit/FSVolumeRenameOperations.d.ts +1 -1
- package/dist/FSKit/FSVolumeXattrOperations.d.ts +3 -3
- package/dist/FileProvider/NSFileProviderChangeObserver.d.ts +4 -4
- package/dist/FileProvider/NSFileProviderCustomAction.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderDomainIdentifier.d.ts +2 -1
- package/dist/FileProvider/NSFileProviderDomainState.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderEnumerating.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderEnumerationObserver.d.ts +3 -3
- package/dist/FileProvider/NSFileProviderEnumerator.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderExternalVolumeHandling.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderIncrementalContentFetching.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderItem.d.ts +3 -3
- package/dist/FileProvider/NSFileProviderItemDecorating.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderItemDecorationIdentifier.d.ts +2 -1
- package/dist/FileProvider/NSFileProviderKnownFolderSupporting.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderPartialContentFetching.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderPendingSetEnumerator.d.ts +3 -3
- package/dist/FileProvider/NSFileProviderReplicatedExtension.d.ts +7 -7
- package/dist/FileProvider/NSFileProviderSearchEnumerationObserver.d.ts +4 -4
- package/dist/FileProvider/NSFileProviderSearchEnumerator.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderSearchResult.d.ts +7 -7
- package/dist/FileProvider/NSFileProviderSearching.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderServiceSource.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderServicing.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderTestingChildrenEnumeration.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderTestingCollisionResolution.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderTestingContentFetch.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderTestingCreation.d.ts +3 -3
- package/dist/FileProvider/NSFileProviderTestingDeletion.d.ts +5 -5
- package/dist/FileProvider/NSFileProviderTestingIngestion.d.ts +3 -3
- package/dist/FileProvider/NSFileProviderTestingLookup.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderTestingModification.d.ts +6 -6
- package/dist/FileProvider/NSFileProviderTestingOperation.d.ts +9 -9
- package/dist/FileProvider/NSFileProviderThumbnailing.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderUserInfoKey.d.ts +2 -1
- package/dist/FileProvider/NSFileProviderUserInteractionSuppressing.d.ts +2 -2
- package/dist/Foundation/NSArray.d.ts +2 -1
- package/dist/Foundation/NSAttributedStringFormattingContextKey.d.ts +2 -1
- package/dist/Foundation/NSAttributedStringKey.d.ts +2 -1
- package/dist/Foundation/NSBundleResourceRequest.d.ts +3 -0
- package/dist/Foundation/NSCalendarIdentifier.d.ts +2 -1
- package/dist/Foundation/NSCoding.d.ts +2 -2
- package/dist/Foundation/NSCopying.d.ts +1 -1
- package/dist/Foundation/NSDate.d.ts +2 -1
- package/dist/Foundation/NSDecimalNumberBehaviors.d.ts +3 -3
- package/dist/Foundation/NSDictionary.d.ts +3 -1
- package/dist/Foundation/NSDiscardableContent.d.ts +4 -4
- package/dist/Foundation/NSDistantObject.d.ts +3 -0
- package/dist/Foundation/NSDistributedNotificationCenterType.d.ts +2 -1
- package/dist/Foundation/NSExceptionName.d.ts +2 -1
- package/dist/Foundation/NSExpression.d.ts +2 -1
- package/dist/Foundation/NSExtensionRequestHandling.d.ts +1 -1
- package/dist/Foundation/NSFastEnumeration.d.ts +1 -1
- package/dist/Foundation/NSFileAttributeKey.d.ts +2 -1
- package/dist/Foundation/NSFileAttributeType.d.ts +2 -1
- package/dist/Foundation/NSFileHandle.d.ts +3 -0
- package/dist/Foundation/NSFilePresenter.d.ts +2 -2
- package/dist/Foundation/NSFileProtectionType.d.ts +2 -1
- package/dist/Foundation/NSFileProviderServiceName.d.ts +2 -1
- package/dist/Foundation/NSFileSecurity.d.ts +2 -1
- package/dist/Foundation/NSFileWrapper.d.ts +3 -0
- package/dist/Foundation/NSHTTPCookiePropertyKey.d.ts +2 -1
- package/dist/Foundation/NSHTTPCookieStringPolicy.d.ts +2 -1
- package/dist/Foundation/NSItemProviderWriting.d.ts +1 -1
- package/dist/Foundation/NSKeyValueChangeKey.d.ts +2 -1
- package/dist/Foundation/NSKeyValueOperator.d.ts +2 -1
- package/dist/Foundation/NSLinguisticTag.d.ts +2 -1
- package/dist/Foundation/NSLinguisticTagScheme.d.ts +2 -1
- package/dist/Foundation/NSLocale.d.ts +2 -1
- package/dist/Foundation/NSLocaleKey.d.ts +2 -1
- package/dist/Foundation/NSLocking.d.ts +2 -2
- package/dist/Foundation/NSMutableCopying.d.ts +1 -1
- package/dist/Foundation/NSNotification.d.ts +2 -1
- package/dist/Foundation/NSNotificationName.d.ts +2 -1
- package/dist/Foundation/NSOperationQueue.d.ts +3 -0
- package/dist/Foundation/NSOrderedSet.d.ts +2 -1
- package/dist/Foundation/NSOrthography.d.ts +2 -1
- package/dist/Foundation/NSProgressFileOperationKind.d.ts +2 -1
- package/dist/Foundation/NSProgressKind.d.ts +2 -1
- package/dist/Foundation/NSProgressReporting.d.ts +1 -1
- package/dist/Foundation/NSProgressUserInfoKey.d.ts +2 -1
- package/dist/Foundation/NSRunLoopMode.d.ts +2 -1
- package/dist/Foundation/NSScriptCommand.d.ts +3 -0
- package/dist/Foundation/NSScriptCommandDescription.d.ts +3 -0
- package/dist/Foundation/NSScriptObjectSpecifier.d.ts +3 -0
- package/dist/Foundation/NSScriptWhoseTest.d.ts +3 -0
- package/dist/Foundation/NSSet.d.ts +2 -1
- package/dist/Foundation/NSSortDescriptor.d.ts +2 -1
- package/dist/Foundation/NSStreamNetworkServiceTypeValue.d.ts +2 -1
- package/dist/Foundation/NSStreamPropertyKey.d.ts +2 -1
- package/dist/Foundation/NSStreamSOCKSProxyConfiguration.d.ts +2 -1
- package/dist/Foundation/NSStreamSOCKSProxyVersion.d.ts +2 -1
- package/dist/Foundation/NSStreamSocketSecurityLevel.d.ts +2 -1
- package/dist/Foundation/NSString.d.ts +2 -1
- package/dist/Foundation/NSStringEncodingDetectionOptionsKey.d.ts +2 -1
- package/dist/Foundation/NSStringTransform.d.ts +2 -1
- package/dist/Foundation/NSTextCheckingKey.d.ts +2 -1
- package/dist/Foundation/NSURLAuthenticationChallengeSender.d.ts +3 -3
- package/dist/Foundation/NSURLConnectionDownloadDelegate.d.ts +1 -1
- package/dist/Foundation/NSURLFileProtectionType.d.ts +2 -1
- package/dist/Foundation/NSURLFileResourceType.d.ts +2 -1
- package/dist/Foundation/NSURLHandleClient.d.ts +5 -5
- package/dist/Foundation/NSURLProtocolClient.d.ts +8 -8
- package/dist/Foundation/NSURLResourceKey.d.ts +2 -1
- package/dist/Foundation/NSURLSessionDownloadDelegate.d.ts +1 -1
- package/dist/Foundation/NSURLSessionTask.d.ts +2 -1
- package/dist/Foundation/NSURLThumbnailDictionaryItem.d.ts +2 -1
- package/dist/Foundation/NSURLUbiquitousItemDownloadingStatus.d.ts +2 -1
- package/dist/Foundation/NSURLUbiquitousSharedItemPermissions.d.ts +2 -1
- package/dist/Foundation/NSURLUbiquitousSharedItemRole.d.ts +2 -1
- package/dist/Foundation/NSUndoManagerUserInfoKey.d.ts +2 -1
- package/dist/Foundation/NSValue.d.ts +2 -1
- package/dist/Foundation/NSValueTransformerName.d.ts +2 -1
- package/dist/Foundation/NSXPCProxyCreating.d.ts +2 -2
- package/dist/GLKit/GLKBaseEffect.d.ts +3 -0
- package/dist/GLKit/GLKNamedEffect.d.ts +1 -1
- package/dist/GLKit/GLKReflectionMapEffect.d.ts +3 -0
- package/dist/GLKit/GLKSkyboxEffect.d.ts +3 -0
- package/dist/GameController/GCAxis2DInput.d.ts +8 -8
- package/dist/GameController/GCAxisElement.d.ts +2 -2
- package/dist/GameController/GCAxisInput.d.ts +8 -8
- package/dist/GameController/GCButtonElement.d.ts +3 -3
- package/dist/GameController/GCController.d.ts +3 -0
- package/dist/GameController/GCDevice.d.ts +5 -5
- package/dist/GameController/GCDevicePhysicalInput.d.ts +11 -11
- package/dist/GameController/GCDevicePhysicalInputState.d.ts +9 -9
- package/dist/GameController/GCDevicePhysicalInputStateDiff.d.ts +2 -2
- package/dist/GameController/GCDirectionPadElement.d.ts +7 -7
- package/dist/GameController/GCHapticsLocality.d.ts +2 -1
- package/dist/GameController/GCLinearInput.d.ts +9 -9
- package/dist/GameController/GCPhysicalInputElement.d.ts +3 -3
- package/dist/GameController/GCPhysicalInputExtents.d.ts +3 -3
- package/dist/GameController/GCPhysicalInputSource.d.ts +4 -4
- package/dist/GameController/GCPressedStateInput.d.ts +6 -6
- package/dist/GameController/GCRelativeInput.d.ts +7 -7
- package/dist/GameController/GCSwitchElement.d.ts +1 -1
- package/dist/GameController/GCSwitchPositionInput.d.ts +9 -9
- package/dist/GameController/GCTouchedStateInput.d.ts +6 -6
- package/dist/GameKit/GKAchievementViewControllerDelegate.d.ts +1 -1
- package/dist/GameKit/GKChallengesViewControllerDelegate.d.ts +1 -1
- package/dist/GameKit/GKFriendRequestComposeViewControllerDelegate.d.ts +1 -1
- package/dist/GameKit/GKGameCenterControllerDelegate.d.ts +1 -1
- package/dist/GameKit/GKLeaderboardViewControllerDelegate.d.ts +1 -1
- package/dist/GameKit/GKMatchmakerViewControllerDelegate.d.ts +2 -2
- package/dist/GameKit/GKTurnBasedEventHandlerDelegate.d.ts +2 -2
- package/dist/GameKit/GKTurnBasedMatchmakerViewControllerDelegate.d.ts +2 -2
- package/dist/GameKit/GKVoiceChatClient.d.ts +2 -2
- package/dist/GameplayKit/GKGameModel.d.ts +5 -5
- package/dist/GameplayKit/GKGameModelPlayer.d.ts +1 -1
- package/dist/GameplayKit/GKGameModelUpdate.d.ts +2 -2
- package/dist/GameplayKit/GKRandom.d.ts +4 -4
- package/dist/GameplayKit/GKRandomDistribution.d.ts +2 -0
- package/dist/GameplayKit/GKStrategist.d.ts +5 -5
- package/dist/HealthKit/HKCategoryTypeIdentifier.d.ts +2 -1
- package/dist/HealthKit/HKCharacteristicTypeIdentifier.d.ts +2 -1
- package/dist/HealthKit/HKClinicalTypeIdentifier.d.ts +2 -1
- package/dist/HealthKit/HKCorrelationTypeIdentifier.d.ts +2 -1
- package/dist/HealthKit/HKDocumentTypeIdentifier.d.ts +2 -1
- package/dist/HealthKit/HKFHIRRelease.d.ts +2 -1
- package/dist/HealthKit/HKFHIRResourceType.d.ts +2 -1
- package/dist/HealthKit/HKHealthConceptDomain.d.ts +2 -1
- package/dist/HealthKit/HKLiveWorkoutBuilderDelegate.d.ts +2 -2
- package/dist/HealthKit/HKQuantityTypeIdentifier.d.ts +2 -1
- package/dist/HealthKit/HKScoredAssessmentTypeIdentifier.d.ts +2 -1
- package/dist/HealthKit/HKVerifiableClinicalRecordCredentialType.d.ts +2 -1
- package/dist/HealthKit/HKVerifiableClinicalRecordSourceType.d.ts +2 -1
- package/dist/HealthKit/HKWorkoutSessionDelegate.d.ts +2 -2
- package/dist/IOSurface/IOSurfacePropertyKey.d.ts +2 -1
- package/dist/IOUSBHost/IOUSBHostDevicePropertyKey.d.ts +2 -1
- package/dist/IOUSBHost/IOUSBHostInterfacePropertyKey.d.ts +2 -1
- package/dist/IOUSBHost/IOUSBHostMatchingPropertyKey.d.ts +2 -1
- package/dist/IdentityLookup/ILMessageFilterCapabilitiesQueryHandling.d.ts +1 -1
- package/dist/IdentityLookup/ILMessageFilterQueryHandling.d.ts +1 -1
- package/dist/ImageCaptureCore/ICAuthorizationStatus.d.ts +2 -1
- package/dist/ImageCaptureCore/ICCameraDeviceDelegate.d.ts +10 -10
- package/dist/ImageCaptureCore/ICCameraItemMetadataOption.d.ts +2 -1
- package/dist/ImageCaptureCore/ICCameraItemThumbnailOption.d.ts +2 -1
- package/dist/ImageCaptureCore/ICDeleteError.d.ts +2 -1
- package/dist/ImageCaptureCore/ICDeleteResult.d.ts +2 -1
- package/dist/ImageCaptureCore/ICDeviceBrowserDelegate.d.ts +2 -2
- package/dist/ImageCaptureCore/ICDeviceCapability.d.ts +2 -1
- package/dist/ImageCaptureCore/ICDeviceDelegate.d.ts +3 -3
- package/dist/ImageCaptureCore/ICDeviceLocationOptions.d.ts +2 -1
- package/dist/ImageCaptureCore/ICDeviceStatus.d.ts +2 -1
- package/dist/ImageCaptureCore/ICDeviceTransport.d.ts +2 -1
- package/dist/ImageCaptureCore/ICDownloadOption.d.ts +2 -1
- package/dist/ImageCaptureCore/ICSessionOptions.d.ts +2 -1
- package/dist/ImageCaptureCore/ICUploadOption.d.ts +2 -1
- package/dist/InputMethodKit/IMKMouseHandling.d.ts +3 -3
- package/dist/InputMethodKit/IMKStateSetting.d.ts +7 -7
- package/dist/Intents/INActivateCarSignalIntentHandling.d.ts +1 -1
- package/dist/Intents/INAddMediaIntentHandling.d.ts +1 -1
- package/dist/Intents/INAddTasksIntentHandling.d.ts +1 -1
- package/dist/Intents/INAnswerCallIntentHandling.d.ts +1 -1
- package/dist/Intents/INAppendToNoteIntentHandling.d.ts +1 -1
- package/dist/Intents/INBookRestaurantReservationIntentHandling.d.ts +1 -1
- package/dist/Intents/INCancelRideIntentHandling.d.ts +1 -1
- package/dist/Intents/INCancelWorkoutIntentHandling.d.ts +1 -1
- package/dist/Intents/INCarChargingConnectorType.d.ts +2 -1
- package/dist/Intents/INCreateNoteIntentHandling.d.ts +1 -1
- package/dist/Intents/INCreateTaskListIntentHandling.d.ts +1 -1
- package/dist/Intents/INDeleteTasksIntentHandling.d.ts +1 -1
- package/dist/Intents/INEditMessageIntentHandling.d.ts +1 -1
- package/dist/Intents/INEndWorkoutIntentHandling.d.ts +1 -1
- package/dist/Intents/INGetAvailableRestaurantReservationBookingDefaultsIntentHandling.d.ts +1 -1
- package/dist/Intents/INGetAvailableRestaurantReservationBookingsIntentHandling.d.ts +1 -1
- package/dist/Intents/INGetCarLockStatusIntentHandling.d.ts +1 -1
- package/dist/Intents/INGetCarPowerLevelStatusIntentHandling.d.ts +1 -1
- package/dist/Intents/INGetCarPowerLevelStatusIntentResponseObserver.d.ts +1 -1
- package/dist/Intents/INGetRestaurantGuestIntentHandling.d.ts +1 -1
- package/dist/Intents/INGetRideStatusIntentHandling.d.ts +3 -3
- package/dist/Intents/INGetRideStatusIntentResponseObserver.d.ts +1 -1
- package/dist/Intents/INGetUserCurrentRestaurantReservationBookingsIntentHandling.d.ts +1 -1
- package/dist/Intents/INGetVisualCodeIntentHandling.d.ts +1 -1
- package/dist/Intents/INHangUpCallIntentHandling.d.ts +1 -1
- package/dist/Intents/INIntentHandlerProviding.d.ts +1 -1
- package/dist/Intents/INListCarsIntentHandling.d.ts +1 -1
- package/dist/Intents/INListRideOptionsIntentHandling.d.ts +1 -1
- package/dist/Intents/INPauseWorkoutIntentHandling.d.ts +1 -1
- package/dist/Intents/INPayBillIntentHandling.d.ts +1 -1
- package/dist/Intents/INPersonHandleLabel.d.ts +2 -1
- package/dist/Intents/INPersonRelationship.d.ts +2 -1
- package/dist/Intents/INPlayMediaIntentHandling.d.ts +1 -1
- package/dist/Intents/INRequestPaymentIntentHandling.d.ts +1 -1
- package/dist/Intents/INRequestRideIntentHandling.d.ts +1 -1
- package/dist/Intents/INResumeWorkoutIntentHandling.d.ts +1 -1
- package/dist/Intents/INRideOption.d.ts +2 -1
- package/dist/Intents/INSaveProfileInCarIntentHandling.d.ts +1 -1
- package/dist/Intents/INSearchCallHistoryIntentHandling.d.ts +1 -1
- package/dist/Intents/INSearchForAccountsIntentHandling.d.ts +1 -1
- package/dist/Intents/INSearchForBillsIntentHandling.d.ts +1 -1
- package/dist/Intents/INSearchForMediaIntentHandling.d.ts +1 -1
- package/dist/Intents/INSearchForMessagesIntentHandling.d.ts +1 -1
- package/dist/Intents/INSearchForNotebookItemsIntentHandling.d.ts +1 -1
- package/dist/Intents/INSearchForPhotosIntentHandling.d.ts +1 -1
- package/dist/Intents/INSendMessageIntentHandling.d.ts +1 -1
- package/dist/Intents/INSendPaymentIntentHandling.d.ts +1 -1
- package/dist/Intents/INSendRideFeedbackIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetAudioSourceInCarIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetCarLockStatusIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetClimateSettingsInCarIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetDefrosterSettingsInCarIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetMessageAttributeIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetProfileInCarIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetRadioStationIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetSeatSettingsInCarIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetTaskAttributeIntentHandling.d.ts +1 -1
- package/dist/Intents/INShareFocusStatusIntentHandling.d.ts +1 -1
- package/dist/Intents/INSnoozeTasksIntentHandling.d.ts +1 -1
- package/dist/Intents/INSpeakable.d.ts +4 -4
- package/dist/Intents/INStartAudioCallIntentHandling.d.ts +1 -1
- package/dist/Intents/INStartCallIntentHandling.d.ts +1 -1
- package/dist/Intents/INStartPhotoPlaybackIntentHandling.d.ts +1 -1
- package/dist/Intents/INStartVideoCallIntentHandling.d.ts +1 -1
- package/dist/Intents/INStartWorkoutIntentHandling.d.ts +1 -1
- package/dist/Intents/INTransferMoneyIntentHandling.d.ts +1 -1
- package/dist/Intents/INUnsendMessagesIntentHandling.d.ts +1 -1
- package/dist/Intents/INUpdateMediaAffinityIntentHandling.d.ts +1 -1
- package/dist/Intents/INWorkoutNameIdentifier.d.ts +2 -1
- package/dist/IntentsUI/INUIAddVoiceShortcutButtonDelegate.d.ts +2 -2
- package/dist/IntentsUI/INUIAddVoiceShortcutViewControllerDelegate.d.ts +2 -2
- package/dist/IntentsUI/INUIEditVoiceShortcutViewControllerDelegate.d.ts +3 -3
- package/dist/JavaRuntimeSupport/JRSRemoteLayer.d.ts +1 -1
- package/dist/MailKit/MEComposeSessionHandler.d.ts +3 -3
- package/dist/MailKit/MEContentBlocker.d.ts +1 -1
- package/dist/MailKit/MEMessageActionHandler.d.ts +1 -1
- package/dist/MailKit/MEMessageDecoder.d.ts +1 -1
- package/dist/MailKit/MEMessageEncoder.d.ts +2 -2
- package/dist/MailKit/MEMessageSecurityHandler.d.ts +3 -3
- package/dist/MapKit/MKAnnotation.d.ts +1 -1
- package/dist/MapKit/MKMapCameraBoundary.d.ts +2 -1
- package/dist/MapKit/MKMapItemDetailViewControllerDelegate.d.ts +1 -1
- package/dist/MapKit/MKOverlay.d.ts +2 -2
- package/dist/MapKit/MKPointOfInterestCategory.d.ts +2 -1
- package/dist/Matter/MTRCommissionableBrowserDelegate.d.ts +2 -2
- package/dist/Matter/MTRCommissioningDelegate.d.ts +1 -1
- package/dist/Matter/MTRDeviceControllerClientProtocol.d.ts +1 -1
- package/dist/Matter/MTRDeviceControllerServerProtocol.d.ts +8 -8
- package/dist/Matter/MTRDeviceControllerStorageDelegate.d.ts +3 -3
- package/dist/Matter/MTRDeviceDelegate.d.ts +3 -3
- package/dist/Matter/MTRNOCChainIssuer.d.ts +1 -1
- package/dist/Matter/MTROperationalCertificateIssuer.d.ts +2 -2
- package/dist/Matter/MTRStorage.d.ts +3 -3
- package/dist/Matter/MTRXPCClientProtocol_MTRDevice.d.ts +7 -7
- package/dist/Matter/MTRXPCServerProtocol_MTRDevice.d.ts +10 -10
- package/dist/MediaExtension/MEFormatReader.d.ts +3 -3
- package/dist/MediaExtension/MEFormatReaderExtension.d.ts +2 -2
- package/dist/MediaExtension/MERAWProcessor.d.ts +3 -3
- package/dist/MediaExtension/MERAWProcessorExtension.d.ts +2 -2
- package/dist/MediaExtension/MESampleCursor.d.ts +8 -8
- package/dist/MediaExtension/METrackReader.d.ts +4 -4
- package/dist/MediaExtension/MEVideoDecoder.d.ts +2 -2
- package/dist/MediaExtension/MEVideoDecoderExtension.d.ts +2 -2
- package/dist/MediaPlayer/MPMediaPlayback.d.ts +12 -12
- package/dist/MediaPlayer/MPPlayableContentDataSource.d.ts +2 -2
- package/dist/MediaPlayer/MPSystemMusicPlayerController.d.ts +1 -1
- package/dist/Metal/MTL4Archive.d.ts +7 -7
- package/dist/Metal/MTL4ArgumentTable.d.ts +7 -7
- package/dist/Metal/MTL4BinaryFunction.d.ts +2 -2
- package/dist/Metal/MTL4CommandAllocator.d.ts +4 -4
- package/dist/Metal/MTL4CommandBuffer.d.ts +16 -16
- package/dist/Metal/MTL4CommandEncoder.d.ts +12 -12
- package/dist/Metal/MTL4CommandQueue.d.ts +16 -16
- package/dist/Metal/MTL4CommitFeedback.d.ts +3 -3
- package/dist/Metal/MTL4Compiler.d.ts +23 -23
- package/dist/Metal/MTL4CompilerTask.d.ts +3 -3
- package/dist/Metal/MTL4ComputeCommandEncoder.d.ts +36 -36
- package/dist/Metal/MTL4CounterHeap.d.ts +6 -6
- package/dist/Metal/MTL4MachineLearningCommandEncoder.d.ts +3 -3
- package/dist/Metal/MTL4MachineLearningPipelineState.d.ts +4 -4
- package/dist/Metal/MTL4PipelineDataSetSerializer.d.ts +2 -2
- package/dist/Metal/MTL4RenderCommandEncoder.d.ts +41 -41
- package/dist/Metal/MTLAccelerationStructure.d.ts +2 -2
- package/dist/Metal/MTLAccelerationStructureCommandEncoder.d.ts +14 -14
- package/dist/Metal/MTLAllocation.d.ts +1 -1
- package/dist/Metal/MTLArgumentEncoder.d.ts +28 -28
- package/dist/Metal/MTLBinaryArchive.d.ts +10 -10
- package/dist/Metal/MTLBinding.d.ts +6 -6
- package/dist/Metal/MTLBlitCommandEncoder.d.ts +24 -24
- package/dist/Metal/MTLBuffer.d.ts +11 -11
- package/dist/Metal/MTLBufferBinding.d.ts +5 -5
- package/dist/Metal/MTLCaptureScope.d.ts +7 -7
- package/dist/Metal/MTLCommandBuffer.d.ts +39 -39
- package/dist/Metal/MTLCommandBufferEncoderInfo.d.ts +3 -3
- package/dist/Metal/MTLCommandEncoder.d.ts +8 -8
- package/dist/Metal/MTLCommandQueue.d.ts +11 -11
- package/dist/Metal/MTLComputeCommandEncoder.d.ts +39 -39
- package/dist/Metal/MTLComputePipelineState.d.ts +18 -18
- package/dist/Metal/MTLCounter.d.ts +1 -1
- package/dist/Metal/MTLCounterSampleBuffer.d.ts +4 -4
- package/dist/Metal/MTLCounterSet.d.ts +2 -2
- package/dist/Metal/MTLDepthStencilState.d.ts +3 -3
- package/dist/Metal/MTLDevice.d.ts +136 -136
- package/dist/Metal/MTLDeviceNotificationName.d.ts +2 -1
- package/dist/Metal/MTLDrawable.d.ts +6 -6
- package/dist/Metal/MTLDynamicLibrary.d.ts +5 -5
- package/dist/Metal/MTLEvent.d.ts +3 -3
- package/dist/Metal/MTLFence.d.ts +3 -3
- package/dist/Metal/MTLFunction.d.ts +13 -13
- package/dist/Metal/MTLFunctionHandle.d.ts +4 -4
- package/dist/Metal/MTLFunctionLog.d.ts +4 -4
- package/dist/Metal/MTLFunctionLogDebugLocation.d.ts +4 -4
- package/dist/Metal/MTLHeap.d.ts +21 -21
- package/dist/Metal/MTLIOCommandBuffer.d.ts +18 -18
- package/dist/Metal/MTLIOCommandQueue.d.ts +5 -5
- package/dist/Metal/MTLIOFileHandle.d.ts +2 -2
- package/dist/Metal/MTLIOScratchBuffer.d.ts +1 -1
- package/dist/Metal/MTLIOScratchBufferAllocator.d.ts +1 -1
- package/dist/Metal/MTLIndirectCommandBuffer.d.ts +5 -5
- package/dist/Metal/MTLIndirectComputeCommand.d.ts +11 -11
- package/dist/Metal/MTLIndirectRenderCommand.d.ts +22 -22
- package/dist/Metal/MTLIntersectionFunctionTable.d.ts +11 -11
- package/dist/Metal/MTLLibrary.d.ts +14 -14
- package/dist/Metal/MTLLogState.d.ts +1 -1
- package/dist/Metal/MTLObjectPayloadBinding.d.ts +2 -2
- package/dist/Metal/MTLParallelRenderCommandEncoder.d.ts +7 -7
- package/dist/Metal/MTLRasterizationRateMap.d.ts +10 -10
- package/dist/Metal/MTLRenderCommandEncoder.d.ts +131 -131
- package/dist/Metal/MTLRenderPipelineState.d.ts +26 -26
- package/dist/Metal/MTLResidencySet.d.ts +14 -14
- package/dist/Metal/MTLResource.d.ts +14 -14
- package/dist/Metal/MTLResourceViewPool.d.ts +5 -5
- package/dist/Metal/MTLSamplerState.d.ts +3 -3
- package/dist/Metal/MTLSharedEvent.d.ts +5 -5
- package/dist/Metal/MTLTensor.d.ts +9 -9
- package/dist/Metal/MTLTensorBinding.d.ts +3 -3
- package/dist/Metal/MTLTexture.d.ts +36 -36
- package/dist/Metal/MTLTextureBinding.d.ts +4 -4
- package/dist/Metal/MTLTextureViewPool.d.ts +3 -3
- package/dist/Metal/MTLThreadgroupBinding.d.ts +2 -2
- package/dist/Metal/MTLVisibleFunctionTable.d.ts +3 -3
- package/dist/MetalFX/MTL4FXFrameInterpolator.d.ts +1 -1
- package/dist/MetalFX/MTL4FXSpatialScaler.d.ts +1 -1
- package/dist/MetalFX/MTL4FXTemporalDenoisedScaler.d.ts +1 -1
- package/dist/MetalFX/MTL4FXTemporalScaler.d.ts +1 -1
- package/dist/MetalFX/MTLFXFrameInterpolator.d.ts +1 -1
- package/dist/MetalFX/MTLFXFrameInterpolatorBase.d.ts +52 -52
- package/dist/MetalFX/MTLFXSpatialScaler.d.ts +1 -1
- package/dist/MetalFX/MTLFXSpatialScalerBase.d.ts +19 -19
- package/dist/MetalFX/MTLFXTemporalDenoisedScaler.d.ts +1 -1
- package/dist/MetalFX/MTLFXTemporalDenoisedScalerBase.d.ts +76 -76
- package/dist/MetalFX/MTLFXTemporalScaler.d.ts +1 -1
- package/dist/MetalFX/MTLFXTemporalScalerBase.d.ts +48 -48
- package/dist/MetalKit/MTKModelError.d.ts +2 -1
- package/dist/MetalKit/MTKTextureLoaderCubeLayout.d.ts +2 -1
- package/dist/MetalKit/MTKTextureLoaderError.d.ts +2 -1
- package/dist/MetalKit/MTKTextureLoaderOption.d.ts +2 -1
- package/dist/MetalKit/MTKTextureLoaderOrigin.d.ts +2 -1
- package/dist/MetalKit/MTKViewDelegate.d.ts +2 -2
- package/dist/ModelIO/MDLAssetResolver.d.ts +2 -2
- package/dist/ModelIO/MDLLightProbeIrradianceDataSource.d.ts +2 -2
- package/dist/ModelIO/MDLMaterial.d.ts +2 -1
- package/dist/ModelIO/MDLMaterialProperty.d.ts +2 -1
- package/dist/ModelIO/MDLMeshBuffer.d.ts +6 -6
- package/dist/ModelIO/MDLMeshBufferAllocator.d.ts +6 -6
- package/dist/ModelIO/MDLMeshBufferZone.d.ts +2 -2
- package/dist/ModelIO/MDLMeshBufferZoneDefault.d.ts +3 -0
- package/dist/ModelIO/MDLNamed.d.ts +2 -2
- package/dist/ModelIO/MDLObjectContainerComponent.d.ts +5 -5
- package/dist/ModelIO/MDLScatteringFunction.d.ts +3 -0
- package/dist/ModelIO/MDLSubmesh.d.ts +3 -0
- package/dist/ModelIO/MDLTransformComponent.d.ts +7 -7
- package/dist/ModelIO/MDLTransformMatrixOp.d.ts +3 -0
- package/dist/ModelIO/MDLTransformOp.d.ts +4 -4
- package/dist/ModelIO/MDLTransformOrientOp.d.ts +3 -0
- package/dist/ModelIO/MDLTransformRotateOp.d.ts +3 -0
- package/dist/ModelIO/MDLTransformRotateXOp.d.ts +3 -0
- package/dist/ModelIO/MDLTransformRotateYOp.d.ts +3 -0
- package/dist/ModelIO/MDLTransformRotateZOp.d.ts +3 -0
- package/dist/ModelIO/MDLTransformScaleOp.d.ts +3 -0
- package/dist/ModelIO/MDLTransformStack.d.ts +2 -1
- package/dist/ModelIO/MDLTransformTranslateOp.d.ts +3 -0
- package/dist/MultipeerConnectivity/MCBrowserViewControllerDelegate.d.ts +2 -2
- package/dist/MultipeerConnectivity/MCNearbyServiceAdvertiserDelegate.d.ts +1 -1
- package/dist/MultipeerConnectivity/MCNearbyServiceBrowserDelegate.d.ts +2 -2
- package/dist/MultipeerConnectivity/MCSessionDelegate.d.ts +5 -5
- package/dist/NaturalLanguage/NLContextualEmbeddingKey.d.ts +2 -1
- package/dist/NaturalLanguage/NLLanguage.d.ts +2 -1
- package/dist/NaturalLanguage/NLScript.d.ts +2 -1
- package/dist/NaturalLanguage/NLTag.d.ts +2 -1
- package/dist/NaturalLanguage/NLTagScheme.d.ts +2 -1
- package/dist/NearbyInteraction/NIAlgorithmConvergenceStatusReason.d.ts +2 -1
- package/dist/NearbyInteraction/NIDeviceCapability.d.ts +5 -5
- package/dist/NetworkExtension/NEAppPushDelegate.d.ts +1 -1
- package/dist/NotificationCenter/NCWidgetListViewDelegate.d.ts +1 -1
- package/dist/NotificationCenter/NCWidgetSearchViewDelegate.d.ts +3 -3
- package/dist/OSLog/OSLogEntryFromProcess.d.ts +5 -5
- package/dist/OSLog/OSLogEntryWithPayload.d.ts +4 -4
- package/dist/OpenDirectory/ODQueryDelegate.d.ts +1 -1
- package/dist/PDFKit/PDFDocumentAttribute.d.ts +2 -1
- package/dist/PDFKit/PDFDocumentWriteOption.d.ts +2 -1
- package/dist/PDFKit/PDFPageOverlayViewProvider.d.ts +1 -1
- package/dist/PHASE/PHASESpatialCategory.d.ts +2 -1
- package/dist/ParavirtualizedGraphics/PGDevice.d.ts +11 -11
- package/dist/ParavirtualizedGraphics/PGDisplay.d.ts +17 -17
- package/dist/PassKit/PKContactField.d.ts +2 -1
- package/dist/PassKit/PKDisbursementErrorKey.d.ts +2 -1
- package/dist/PassKit/PKEncryptionScheme.d.ts +2 -1
- package/dist/PassKit/PKIdentityDocumentDescriptor.d.ts +3 -3
- package/dist/PassKit/PKIssuerProvisioningExtensionAuthorizationProviding.d.ts +2 -2
- package/dist/PassKit/PKPassLibraryNotificationKey.d.ts +2 -1
- package/dist/PassKit/PKPaymentAuthorizationControllerDelegate.d.ts +2 -2
- package/dist/PassKit/PKPaymentAuthorizationViewControllerDelegate.d.ts +1 -1
- package/dist/PassKit/PKPaymentErrorKey.d.ts +2 -1
- package/dist/PassKit/PKPaymentInformationRequestHandling.d.ts +3 -3
- package/dist/PassKit/PKStoredValuePassBalanceType.d.ts +2 -1
- package/dist/PassKit/PKVehicleConnectionDelegate.d.ts +2 -2
- package/dist/PencilKit/PKInkType.d.ts +2 -1
- package/dist/Photos/PHLivePhotoFrame.d.ts +4 -4
- package/dist/Photos/PHPhotoLibraryAvailabilityObserver.d.ts +1 -1
- package/dist/Photos/PHPhotoLibraryChangeObserver.d.ts +1 -1
- package/dist/PhotosUI/PHContentEditingController.d.ts +5 -5
- package/dist/PhotosUI/PHPickerViewControllerDelegate.d.ts +1 -1
- package/dist/PhotosUI/PHProjectCategory.d.ts +2 -1
- package/dist/PhotosUI/PHProjectExtensionController.d.ts +3 -3
- package/dist/PhotosUI/PHProjectTypeDescriptionDataSource.d.ts +3 -3
- package/dist/PhotosUI/PHProjectTypeDescriptionInvalidator.d.ts +2 -2
- package/dist/PushKit/PKPushRegistryDelegate.d.ts +1 -1
- package/dist/PushKit/PKPushType.d.ts +2 -1
- package/dist/QuartzCore/CAAction.d.ts +1 -1
- package/dist/QuartzCore/CAAnimationCalculationMode.d.ts +2 -1
- package/dist/QuartzCore/CAAnimationRotationMode.d.ts +2 -1
- package/dist/QuartzCore/CADynamicRange.d.ts +2 -1
- package/dist/QuartzCore/CAEmitterLayerEmitterMode.d.ts +2 -1
- package/dist/QuartzCore/CAEmitterLayerEmitterShape.d.ts +2 -1
- package/dist/QuartzCore/CAEmitterLayerRenderMode.d.ts +2 -1
- package/dist/QuartzCore/CAGradientLayerType.d.ts +2 -1
- package/dist/QuartzCore/CALayerContentsFilter.d.ts +2 -1
- package/dist/QuartzCore/CALayerContentsFormat.d.ts +2 -1
- package/dist/QuartzCore/CALayerContentsGravity.d.ts +2 -1
- package/dist/QuartzCore/CALayerCornerCurve.d.ts +2 -1
- package/dist/QuartzCore/CAMediaTiming.d.ts +16 -16
- package/dist/QuartzCore/CAMediaTimingFillMode.d.ts +2 -1
- package/dist/QuartzCore/CAMediaTimingFunctionName.d.ts +2 -1
- package/dist/QuartzCore/CAMetalDisplayLinkDelegate.d.ts +1 -1
- package/dist/QuartzCore/CAMetalDrawable.d.ts +2 -2
- package/dist/QuartzCore/CAScrollLayerScrollMode.d.ts +2 -1
- package/dist/QuartzCore/CAShapeLayerFillRule.d.ts +2 -1
- package/dist/QuartzCore/CAShapeLayerLineCap.d.ts +2 -1
- package/dist/QuartzCore/CAShapeLayerLineJoin.d.ts +2 -1
- package/dist/QuartzCore/CATextLayerAlignmentMode.d.ts +2 -1
- package/dist/QuartzCore/CATextLayerTruncationMode.d.ts +2 -1
- package/dist/QuartzCore/CAToneMapMode.d.ts +2 -1
- package/dist/QuartzCore/CATransitionSubtype.d.ts +2 -1
- package/dist/QuartzCore/CATransitionType.d.ts +2 -1
- package/dist/QuartzCore/CAValueFunctionName.d.ts +2 -1
- package/dist/QuickLookUI/QLPreviewItem.d.ts +1 -1
- package/dist/QuickLookUI/QLPreviewPanelDataSource.d.ts +2 -2
- package/dist/ReplayKit/RPBroadcastActivityControllerDelegate.d.ts +1 -1
- package/dist/SceneKit/SCNActionable.d.ts +9 -9
- package/dist/SceneKit/SCNAnimatable.d.ts +14 -14
- package/dist/SceneKit/SCNBoundingVolume.d.ts +3 -3
- package/dist/SceneKit/SCNBufferStream.d.ts +1 -1
- package/dist/SceneKit/SCNCameraControlConfiguration.d.ts +12 -12
- package/dist/SceneKit/SCNHitTestOption.d.ts +2 -1
- package/dist/SceneKit/SCNLightType.d.ts +2 -1
- package/dist/SceneKit/SCNLightingModel.d.ts +2 -1
- package/dist/SceneKit/SCNParticleProperty.d.ts +2 -1
- package/dist/SceneKit/SCNPhysicsShapeOption.d.ts +2 -1
- package/dist/SceneKit/SCNPhysicsShapeType.d.ts +2 -1
- package/dist/SceneKit/SCNPhysicsTestOption.d.ts +2 -1
- package/dist/SceneKit/SCNPhysicsTestSearchMode.d.ts +2 -1
- package/dist/SceneKit/SCNRenderer.d.ts +2 -1
- package/dist/SceneKit/SCNSceneAttribute.d.ts +2 -1
- package/dist/SceneKit/SCNSceneRenderer.d.ts +51 -51
- package/dist/SceneKit/SCNSceneSourceAnimationImportPolicy.d.ts +2 -1
- package/dist/SceneKit/SCNSceneSourceLoadingOption.d.ts +2 -1
- package/dist/SceneKit/SCNShaderModifierEntryPoint.d.ts +2 -1
- package/dist/SceneKit/SCNTechniqueSupport.d.ts +2 -2
- package/dist/SceneKit/SCNView.d.ts +2 -1
- package/dist/SceneKit/SCNViewOption.d.ts +2 -1
- package/dist/ScreenCaptureKit/SCContentSharingPickerObserver.d.ts +3 -3
- package/dist/ScreenCaptureKit/SCStreamFrameInfo.d.ts +2 -1
- package/dist/ScreenTime/STWebHistoryProfileIdentifier.d.ts +2 -1
- package/dist/ScriptingBridge/SBApplicationDelegate.d.ts +1 -1
- package/dist/SensorKit/SRDeviceUsageCategoryKey.d.ts +2 -1
- package/dist/SensorKit/SRPhotoplethysmogramOpticalSampleCondition.d.ts +2 -1
- package/dist/SensorKit/SRPhotoplethysmogramSampleUsage.d.ts +2 -1
- package/dist/SensorKit/SRSensor.d.ts +2 -1
- package/dist/SharedWithYou/SWHighlightCenterDelegate.d.ts +1 -1
- package/dist/SharedWithYou/SWHighlightChangeEvent.d.ts +3 -0
- package/dist/SharedWithYou/SWHighlightEvent.d.ts +1 -1
- package/dist/SharedWithYouCore/SWCollaborationActionHandler.d.ts +2 -2
- package/dist/SharedWithYouCore/SWCollaborationIdentifier.d.ts +2 -1
- package/dist/SharedWithYouCore/SWLocalCollaborationIdentifier.d.ts +2 -1
- package/dist/ShazamKit/SHMediaItemProperty.d.ts +2 -1
- package/dist/SoundAnalysis/SNClassifierIdentifier.d.ts +2 -1
- package/dist/SoundAnalysis/SNResultsObserving.d.ts +1 -1
- package/dist/SpriteKit/SKKeyframeSequence.d.ts +2 -1
- package/dist/SpriteKit/SKWarpable.d.ts +4 -4
- package/dist/StoreKit/SKAdNetworkCoarseConversionValue.d.ts +2 -1
- package/dist/StoreKit/SKCloudServiceSetupAction.d.ts +2 -1
- package/dist/StoreKit/SKCloudServiceSetupMessageIdentifier.d.ts +2 -1
- package/dist/StoreKit/SKCloudServiceSetupOptionsKey.d.ts +2 -1
- package/dist/StoreKit/SKPaymentTransactionObserver.d.ts +1 -1
- package/dist/StoreKit/SKProductsRequestDelegate.d.ts +1 -1
- package/dist/SyncServices/ISyncConflictPropertyType.d.ts +7 -7
- package/dist/SyncServices/ISyncFiltering.d.ts +3 -3
- package/dist/SyncServices/ISyncSessionDriverDataSource.d.ts +7 -7
- package/dist/SystemExtensions/OSSystemExtensionRequestDelegate.d.ts +4 -4
- package/dist/UserNotificationsUI/UNNotificationContentExtension.d.ts +1 -1
- package/dist/VideoSubscriberAccount/VSAccountManagerDelegate.d.ts +2 -2
- package/dist/VideoSubscriberAccount/VSCheckAccessOption.d.ts +2 -1
- package/dist/VideoToolbox/VTFrameProcessorConfiguration.d.ts +3 -3
- package/dist/VideoToolbox/VTFrameProcessorParameters.d.ts +1 -1
- package/dist/VideoToolbox/VTFrameRateConversionConfiguration.d.ts +3 -0
- package/dist/VideoToolbox/VTLowLatencyFrameInterpolationConfiguration.d.ts +3 -0
- package/dist/VideoToolbox/VTLowLatencySuperResolutionScalerConfiguration.d.ts +3 -0
- package/dist/VideoToolbox/VTMotionBlurConfiguration.d.ts +3 -0
- package/dist/VideoToolbox/VTOpticalFlowConfiguration.d.ts +3 -0
- package/dist/VideoToolbox/VTOpticalFlowParameters.d.ts +3 -0
- package/dist/VideoToolbox/VTSuperResolutionScalerConfiguration.d.ts +3 -0
- package/dist/Virtualization/VZUSBDevice.d.ts +2 -2
- package/dist/Virtualization/VZUSBDeviceConfiguration.d.ts +2 -2
- package/dist/Vision/VNAnimalIdentifier.d.ts +2 -1
- package/dist/Vision/VNBarcodeSymbology.d.ts +2 -1
- package/dist/Vision/VNComputeStage.d.ts +2 -1
- package/dist/Vision/VNFaceObservationAccepting.d.ts +2 -2
- package/dist/Vision/VNImageOption.d.ts +2 -1
- package/dist/Vision/VNRecognizedPointGroupKey.d.ts +2 -1
- package/dist/Vision/VNRecognizedPointKey.d.ts +2 -1
- package/dist/Vision/VNRequestProgressProviding.d.ts +3 -3
- package/dist/Vision/VNRequestRevisionProviding.d.ts +1 -1
- package/dist/Vision/VNVideoProcessingOption.d.ts +2 -1
- package/dist/WebKit/DOMEventListener.d.ts +1 -1
- package/dist/WebKit/DOMEventTarget.d.ts +5 -5
- package/dist/WebKit/DOMNodeFilter.d.ts +1 -1
- package/dist/WebKit/DOMXPathNSResolver.d.ts +1 -1
- package/dist/WebKit/WKDownloadDelegate.d.ts +1 -1
- package/dist/WebKit/WKScriptMessageHandler.d.ts +1 -1
- package/dist/WebKit/WKScriptMessageHandlerWithReply.d.ts +1 -1
- package/dist/WebKit/WKURLSchemeHandler.d.ts +2 -2
- package/dist/WebKit/WKURLSchemeTask.d.ts +5 -5
- package/dist/WebKit/WKWebExtensionContextNotificationUserInfoKey.d.ts +2 -1
- package/dist/WebKit/WKWebExtensionDataType.d.ts +2 -1
- package/dist/WebKit/WKWebExtensionPermission.d.ts +2 -1
- package/dist/WebKit/WebDocumentRepresentation.d.ts +7 -7
- package/dist/WebKit/WebDocumentSearching.d.ts +1 -1
- package/dist/WebKit/WebDocumentText.d.ts +7 -7
- package/dist/WebKit/WebDocumentView.d.ts +6 -6
- package/dist/WebKit/WebOpenPanelResultListener.d.ts +3 -3
- package/dist/WebKit/WebPolicyDecisionListener.d.ts +3 -3
- package/dist/helpers.d.ts +10 -1
- package/generator/ast-parser.ts +80 -4
- package/generator/custom.ts +12 -7
- package/generator/emitter.ts +20 -17
- package/generator/templates/helpers.ts +12 -2
- package/generator/type-mapper.ts +29 -0
- package/package.json +1 -1
|
@@ -4,9 +4,9 @@ export interface _WKURLSchemeHandler {
|
|
|
4
4
|
/**
|
|
5
5
|
* Notifies your app to start loading the data for a particular resource represented by the URL scheme handler task. The web view invoking the method. The task that your app should start loading data for.
|
|
6
6
|
*/
|
|
7
|
-
webView$startURLSchemeTask
|
|
7
|
+
webView$startURLSchemeTask$(webView: _WKWebView, urlSchemeTask: _WKURLSchemeTask): void;
|
|
8
8
|
/**
|
|
9
9
|
* Notifies your app to stop handling a URL scheme handler task. The web view invoking the method. The task that your app should stop handling. After your app is told to stop loading data for a URL scheme handler task it must not perform any callbacks for that task. An exception will be thrown if any callbacks are made on the URL scheme handler task after your app has been told to stop loading for it.
|
|
10
10
|
*/
|
|
11
|
-
webView$stopURLSchemeTask
|
|
11
|
+
webView$stopURLSchemeTask$(webView: _WKWebView, urlSchemeTask: _WKURLSchemeTask): void;
|
|
12
12
|
}
|
|
@@ -6,19 +6,19 @@ export interface _WKURLSchemeTask {
|
|
|
6
6
|
/**
|
|
7
7
|
* Set the current response object for the task. The response to use. This method must be called at least once for each URL scheme handler task. Cross-origin requests require CORS header fields. An exception will be thrown if you try to send a new response object after the task has already been completed. An exception will be thrown if your app has been told to stop loading this task via the registered WKURLSchemeHandler object.
|
|
8
8
|
*/
|
|
9
|
-
didReceiveResponse
|
|
9
|
+
didReceiveResponse$(response: _NSURLResponse): void;
|
|
10
10
|
/**
|
|
11
11
|
* Add received data to the task. The data to add. After a URL scheme handler task's final response object is received you should start sending it data. Each time this method is called the data you send will be appended to all previous data. An exception will be thrown if you try to send the task any data before sending it a response. An exception will be thrown if you try to send the task any data after the task has already been completed. An exception will be thrown if your app has been told to stop loading this task via the registered WKURLSchemeHandler object.
|
|
12
12
|
*/
|
|
13
|
-
didReceiveData
|
|
13
|
+
didReceiveData$(data: _NSData): void;
|
|
14
14
|
/**
|
|
15
15
|
* Mark the task as successfully completed. An exception will be thrown if you try to finish the task before sending it a response. An exception will be thrown if you try to mark a task completed after it has already been marked completed or failed. An exception will be thrown if your app has been told to stop loading this task via the registered WKURLSchemeHandler object.
|
|
16
16
|
*/
|
|
17
|
-
didFinish
|
|
17
|
+
didFinish(): void;
|
|
18
18
|
/**
|
|
19
19
|
* Mark the task as failed. A description of the error that caused the task to fail. An exception will be thrown if you try to mark a task failed after it has already been marked completed or failed. An exception will be thrown if your app has been told to stop loading this task via the registered WKURLSchemeHandler object.
|
|
20
20
|
*/
|
|
21
|
-
didFailWithError
|
|
21
|
+
didFailWithError$(error: _NSError): void;
|
|
22
22
|
/** The request to load for this task. */
|
|
23
|
-
request
|
|
23
|
+
request(): _NSURLRequest;
|
|
24
24
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { NSStringLiteral } from "../helpers.js";
|
|
1
2
|
export declare const WKWebExtensionContextNotificationUserInfoKey: {
|
|
2
3
|
readonly Permissions: "permissions";
|
|
3
4
|
readonly MatchPatterns: "matchPatterns";
|
|
4
5
|
};
|
|
5
|
-
export type WKWebExtensionContextNotificationUserInfoKey = typeof WKWebExtensionContextNotificationUserInfoKey[keyof typeof WKWebExtensionContextNotificationUserInfoKey];
|
|
6
|
+
export type WKWebExtensionContextNotificationUserInfoKey = NSStringLiteral<(typeof WKWebExtensionContextNotificationUserInfoKey)[keyof typeof WKWebExtensionContextNotificationUserInfoKey]> | (typeof WKWebExtensionContextNotificationUserInfoKey)[keyof typeof WKWebExtensionContextNotificationUserInfoKey];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { NSStringLiteral } from "../helpers.js";
|
|
1
2
|
export declare const WKWebExtensionDataType: {
|
|
2
3
|
readonly Local: "local";
|
|
3
4
|
readonly Session: "session";
|
|
4
5
|
readonly Synchronized: "synchronized";
|
|
5
6
|
};
|
|
6
|
-
export type WKWebExtensionDataType = typeof WKWebExtensionDataType[keyof typeof WKWebExtensionDataType];
|
|
7
|
+
export type WKWebExtensionDataType = NSStringLiteral<(typeof WKWebExtensionDataType)[keyof typeof WKWebExtensionDataType]> | (typeof WKWebExtensionDataType)[keyof typeof WKWebExtensionDataType];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { NSStringLiteral } from "../helpers.js";
|
|
1
2
|
export declare const WKWebExtensionPermission: {
|
|
2
3
|
readonly ActiveTab: "activeTab";
|
|
3
4
|
readonly Alarms: "alarms";
|
|
@@ -16,4 +17,4 @@ export declare const WKWebExtensionPermission: {
|
|
|
16
17
|
readonly WebNavigation: "webNavigation";
|
|
17
18
|
readonly WebRequest: "webRequest";
|
|
18
19
|
};
|
|
19
|
-
export type WKWebExtensionPermission = typeof WKWebExtensionPermission[keyof typeof WKWebExtensionPermission];
|
|
20
|
+
export type WKWebExtensionPermission = NSStringLiteral<(typeof WKWebExtensionPermission)[keyof typeof WKWebExtensionPermission]> | (typeof WKWebExtensionPermission)[keyof typeof WKWebExtensionPermission];
|
|
@@ -6,25 +6,25 @@ export interface _WebDocumentRepresentation {
|
|
|
6
6
|
/**
|
|
7
7
|
* Called soon after the document representation is created. The data source that is set.
|
|
8
8
|
*/
|
|
9
|
-
setDataSource
|
|
9
|
+
setDataSource$(dataSource: _WebDataSource): void;
|
|
10
10
|
/**
|
|
11
11
|
* Called when the data source has received data. The data that the data source has received. The data source that has received data.
|
|
12
12
|
*/
|
|
13
|
-
receivedData$withDataSource
|
|
13
|
+
receivedData$withDataSource$(data: _NSData, dataSource: _WebDataSource): void;
|
|
14
14
|
/**
|
|
15
15
|
* Called when the data source has received an error. The error that the data source has received. The data source that has received the error.
|
|
16
16
|
*/
|
|
17
|
-
receivedError$withDataSource
|
|
17
|
+
receivedError$withDataSource$(error: _NSError, dataSource: _WebDataSource): void;
|
|
18
18
|
/**
|
|
19
19
|
* Called when the data source has finished loading. The datasource that has finished loading.
|
|
20
20
|
*/
|
|
21
|
-
finishedLoadingWithDataSource
|
|
21
|
+
finishedLoadingWithDataSource$(dataSource: _WebDataSource): void;
|
|
22
22
|
/** Returns true if the representation can provide document source. */
|
|
23
|
-
canProvideDocumentSource
|
|
23
|
+
canProvideDocumentSource(): boolean;
|
|
24
24
|
/**
|
|
25
25
|
* Returns the textual source representation of the document. For HTML documents this is the original HTML source.
|
|
26
26
|
*/
|
|
27
|
-
documentSource
|
|
27
|
+
documentSource(): _NSString;
|
|
28
28
|
/** Return the title for the document. */
|
|
29
|
-
title
|
|
29
|
+
title(): _NSString;
|
|
30
30
|
}
|
|
@@ -3,5 +3,5 @@ export interface _WebDocumentSearching {
|
|
|
3
3
|
/**
|
|
4
4
|
* Searches a document view for a string and highlights the string if it is found. The string to search for. YES to search forward, NO to seach backwards. YES to for case-sensitive search, NO for case-insensitive search. YES to wrap around, NO to avoid wrapping. YES if found, NO if not found.
|
|
5
5
|
*/
|
|
6
|
-
searchFor$direction$caseSensitive$wrap
|
|
6
|
+
searchFor$direction$caseSensitive$wrap$(string_: _NSString, forward: boolean, caseFlag: boolean, wrapFlag: boolean): boolean;
|
|
7
7
|
}
|
|
@@ -2,17 +2,17 @@ import type { _NSAttributedString } from "../Foundation/NSAttributedString.js";
|
|
|
2
2
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
3
3
|
export interface _WebDocumentText {
|
|
4
4
|
/** YES if the document view support text encoding, NO if it doesn't. */
|
|
5
|
-
supportsTextEncoding
|
|
5
|
+
supportsTextEncoding(): boolean;
|
|
6
6
|
/** String that represents the entire document. */
|
|
7
|
-
string
|
|
7
|
+
string(): _NSString;
|
|
8
8
|
/** Attributed string that represents the entire document. */
|
|
9
|
-
attributedString
|
|
9
|
+
attributedString(): _NSAttributedString;
|
|
10
10
|
/** String that represents the current selection. */
|
|
11
|
-
selectedString
|
|
11
|
+
selectedString(): _NSString;
|
|
12
12
|
/** Attributed string that represents the current selection. */
|
|
13
|
-
selectedAttributedString
|
|
13
|
+
selectedAttributedString(): _NSAttributedString;
|
|
14
14
|
/** Selects all the text in the document. */
|
|
15
|
-
selectAll
|
|
15
|
+
selectAll(): void;
|
|
16
16
|
/** Causes a text selection to lose its selection. */
|
|
17
|
-
deselectAll
|
|
17
|
+
deselectAll(): void;
|
|
18
18
|
}
|
|
@@ -4,23 +4,23 @@ export interface _WebDocumentView {
|
|
|
4
4
|
/**
|
|
5
5
|
* Called when the corresponding data source has been created. The corresponding data source.
|
|
6
6
|
*/
|
|
7
|
-
setDataSource
|
|
7
|
+
setDataSource$(dataSource: _WebDataSource): void;
|
|
8
8
|
/**
|
|
9
9
|
* Called when the corresponding data source has received data. The corresponding data source.
|
|
10
10
|
*/
|
|
11
|
-
dataSourceUpdated
|
|
11
|
+
dataSourceUpdated$(dataSource: _WebDataSource): void;
|
|
12
12
|
/**
|
|
13
13
|
* Called when WebKit has determined that the document view needs to layout. This method should simply set a flag and call layout from drawRect if the flag is YES. YES to cause a layout, no to not cause a layout.
|
|
14
14
|
*/
|
|
15
|
-
setNeedsLayout
|
|
15
|
+
setNeedsLayout$(flag: boolean): void;
|
|
16
16
|
/**
|
|
17
17
|
* Called when the document view must immediately layout. For simple views, setting the frame is a sufficient implementation of this method.
|
|
18
18
|
*/
|
|
19
|
-
layout
|
|
19
|
+
layout(): void;
|
|
20
20
|
/**
|
|
21
21
|
* The host window for the document view. Called before the host window is set on the parent web view.
|
|
22
22
|
*/
|
|
23
|
-
viewWillMoveToHostWindow
|
|
23
|
+
viewWillMoveToHostWindow$(hostWindow: _NSWindow): void;
|
|
24
24
|
/** Called after the host window is set on the parent web view. */
|
|
25
|
-
viewDidMoveToHostWindow
|
|
25
|
+
viewDidMoveToHostWindow(): void;
|
|
26
26
|
}
|
|
@@ -4,11 +4,11 @@ export interface _WebOpenPanelResultListener {
|
|
|
4
4
|
/**
|
|
5
5
|
* Call this method to return a filename from the file open panel. the path of the selected file
|
|
6
6
|
*/
|
|
7
|
-
chooseFilename
|
|
7
|
+
chooseFilename$(fileName: _NSString): void;
|
|
8
8
|
/**
|
|
9
9
|
* Call this method to return an array of filenames from the file open panel. an array of paths of selected files
|
|
10
10
|
*/
|
|
11
|
-
chooseFilenames
|
|
11
|
+
chooseFilenames$(fileNames: _NSArray): void;
|
|
12
12
|
/** Call this method to indicate that the file open panel was cancelled. */
|
|
13
|
-
cancel
|
|
13
|
+
cancel(): void;
|
|
14
14
|
}
|
|
@@ -2,13 +2,13 @@ export interface _WebPolicyDecisionListener {
|
|
|
2
2
|
/**
|
|
3
3
|
* Use the resource If there remain more policy decisions to be made, then the next policy delegate method gets to decide. This will be either the next navigation policy delegate if there is a redirect, or the content policy delegate. If there are no more policy decisions to be made, the resource will be displayed inline if possible. If there is no view available to display the resource inline, then unableToImplementPolicyWithError:frame: will be called with an appropriate error. If a new window is going to be created for this navigation as a result of frame targeting, then it will be created once you call this method.
|
|
4
4
|
*/
|
|
5
|
-
use
|
|
5
|
+
use(): void;
|
|
6
6
|
/**
|
|
7
7
|
* Download the resource instead of displaying it. This method is more than just a convenience because it allows an in-progress navigation to be converted to a download based on content type, without having to stop and restart the load.
|
|
8
8
|
*/
|
|
9
|
-
download
|
|
9
|
+
download(): void;
|
|
10
10
|
/**
|
|
11
11
|
* Do nothing (but the client may choose to handle the request itself) A policy of ignore prevents WebKit from doing anything further with the load, however, the client is still free to handle the request in some other way, such as opening a new window, opening a new window behind the current one, opening the URL in an external app, revealing the location in Finder if a file URL, etc.
|
|
12
12
|
*/
|
|
13
|
-
ignore
|
|
13
|
+
ignore(): void;
|
|
14
14
|
}
|
package/dist/helpers.d.ts
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import type { NobjcObject } from "objc-js";
|
|
2
2
|
import { type _NSArray, type _NSDictionary, type _NSString } from "./Foundation/index.js";
|
|
3
|
+
declare const NS_STRING_LITERAL: unique symbol;
|
|
4
|
+
/**
|
|
5
|
+
* NSString subtype that preserves the originating string literal in the type system.
|
|
6
|
+
*
|
|
7
|
+
* This is a compile-time brand only. At runtime it is still just an NSString.
|
|
8
|
+
*/
|
|
9
|
+
export interface NSStringLiteral<T extends string = string> extends _NSString {
|
|
10
|
+
readonly [NS_STRING_LITERAL]?: T;
|
|
11
|
+
}
|
|
3
12
|
/**
|
|
4
13
|
* Create NSString from a JavaScript string
|
|
5
14
|
* @param str The string object
|
|
6
15
|
* @returns An NSString object
|
|
7
16
|
*/
|
|
8
|
-
export declare function NSStringFromString(str:
|
|
17
|
+
export declare function NSStringFromString<T extends string>(str: T): NSStringLiteral<T>;
|
|
9
18
|
/**
|
|
10
19
|
* Combine NS_OPTIONS values using bitwise OR.
|
|
11
20
|
*
|
package/generator/ast-parser.ts
CHANGED
|
@@ -9,6 +9,7 @@ export interface ObjCMethod {
|
|
|
9
9
|
returnType: string;
|
|
10
10
|
parameters: { name: string; type: string; blockParamNames?: string[] }[];
|
|
11
11
|
isClassMethod: boolean;
|
|
12
|
+
isOptional: boolean;
|
|
12
13
|
isDeprecated: boolean;
|
|
13
14
|
deprecationMessage?: string;
|
|
14
15
|
description?: string;
|
|
@@ -19,6 +20,7 @@ export interface ObjCProperty {
|
|
|
19
20
|
type: string;
|
|
20
21
|
readonly: boolean;
|
|
21
22
|
isClassProperty: boolean;
|
|
23
|
+
isOptional: boolean;
|
|
22
24
|
/** Whether the property is null_resettable (getter returns non-null, setter accepts null) */
|
|
23
25
|
nullResettable: boolean;
|
|
24
26
|
isDeprecated: boolean;
|
|
@@ -497,6 +499,58 @@ function scanForDeprecation(
|
|
|
497
499
|
return { isDeprecated: false };
|
|
498
500
|
}
|
|
499
501
|
|
|
502
|
+
/**
|
|
503
|
+
* Update protocol required/optional state by scanning source lines between two
|
|
504
|
+
* member declarations. ObjC protocol members are required by default unless an
|
|
505
|
+
* `@optional` directive appears more recently than `@required`.
|
|
506
|
+
*/
|
|
507
|
+
function scanProtocolOptionalityInRange(
|
|
508
|
+
lines: string[] | undefined,
|
|
509
|
+
startLine: number,
|
|
510
|
+
endLine: number,
|
|
511
|
+
initialIsOptional: boolean
|
|
512
|
+
): boolean {
|
|
513
|
+
if (!lines || startLine > endLine) return initialIsOptional;
|
|
514
|
+
|
|
515
|
+
let isOptional = initialIsOptional;
|
|
516
|
+
let inBlockComment = false;
|
|
517
|
+
|
|
518
|
+
for (let i = startLine; i <= endLine && i < lines.length; i++) {
|
|
519
|
+
let line = lines[i] ?? "";
|
|
520
|
+
|
|
521
|
+
// Strip block comments so `@optional` / `@required` in comments don't
|
|
522
|
+
// affect the protocol section state.
|
|
523
|
+
if (inBlockComment) {
|
|
524
|
+
const endIdx = line.indexOf("*/");
|
|
525
|
+
if (endIdx === -1) continue;
|
|
526
|
+
line = line.slice(endIdx + 2);
|
|
527
|
+
inBlockComment = false;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
while (true) {
|
|
531
|
+
const startIdx = line.indexOf("/*");
|
|
532
|
+
if (startIdx === -1) break;
|
|
533
|
+
const endIdx = line.indexOf("*/", startIdx + 2);
|
|
534
|
+
if (endIdx === -1) {
|
|
535
|
+
line = line.slice(0, startIdx);
|
|
536
|
+
inBlockComment = true;
|
|
537
|
+
break;
|
|
538
|
+
}
|
|
539
|
+
line = line.slice(0, startIdx) + " " + line.slice(endIdx + 2);
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
const lineCommentIdx = line.indexOf("//");
|
|
543
|
+
if (lineCommentIdx !== -1) {
|
|
544
|
+
line = line.slice(0, lineCommentIdx);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
if (/\B@optional\b/.test(line)) isOptional = true;
|
|
548
|
+
if (/\B@required\b/.test(line)) isOptional = false;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
return isOptional;
|
|
552
|
+
}
|
|
553
|
+
|
|
500
554
|
// --- Block parameter name extraction from header source ---
|
|
501
555
|
|
|
502
556
|
/**
|
|
@@ -806,6 +860,7 @@ export function parseAST(
|
|
|
806
860
|
returnType,
|
|
807
861
|
parameters,
|
|
808
862
|
isClassMethod,
|
|
863
|
+
isOptional: false,
|
|
809
864
|
isDeprecated: deprecated,
|
|
810
865
|
deprecationMessage: sourceDeprecation.message,
|
|
811
866
|
description
|
|
@@ -834,6 +889,7 @@ export function parseAST(
|
|
|
834
889
|
type,
|
|
835
890
|
readonly,
|
|
836
891
|
isClassProperty,
|
|
892
|
+
isOptional: false,
|
|
837
893
|
nullResettable,
|
|
838
894
|
isDeprecated: deprecated,
|
|
839
895
|
deprecationMessage: sourceDeprecation.message,
|
|
@@ -956,7 +1012,7 @@ export function parseProtocols(
|
|
|
956
1012
|
return node.inner.some((child) => child.kind === "UnavailableAttr");
|
|
957
1013
|
}
|
|
958
1014
|
|
|
959
|
-
function extractMethod(node: ClangASTNode, contextFile?: string): ObjCMethod | null {
|
|
1015
|
+
function extractMethod(node: ClangASTNode, isOptional: boolean, contextFile?: string): ObjCMethod | null {
|
|
960
1016
|
if (node.kind !== "ObjCMethodDecl") return null;
|
|
961
1017
|
if (node.isImplicit) return null;
|
|
962
1018
|
if (isUnavailable(node)) return null;
|
|
@@ -1004,13 +1060,14 @@ export function parseProtocols(
|
|
|
1004
1060
|
returnType,
|
|
1005
1061
|
parameters,
|
|
1006
1062
|
isClassMethod,
|
|
1063
|
+
isOptional,
|
|
1007
1064
|
isDeprecated: deprecated,
|
|
1008
1065
|
deprecationMessage: sourceDeprecation.message,
|
|
1009
1066
|
description
|
|
1010
1067
|
};
|
|
1011
1068
|
}
|
|
1012
1069
|
|
|
1013
|
-
function extractProperty(node: ClangASTNode, contextFile?: string): ObjCProperty | null {
|
|
1070
|
+
function extractProperty(node: ClangASTNode, isOptional: boolean, contextFile?: string): ObjCProperty | null {
|
|
1014
1071
|
if (node.kind !== "ObjCPropertyDecl") return null;
|
|
1015
1072
|
if (node.isImplicit) return null;
|
|
1016
1073
|
|
|
@@ -1029,6 +1086,7 @@ export function parseProtocols(
|
|
|
1029
1086
|
type,
|
|
1030
1087
|
readonly,
|
|
1031
1088
|
isClassProperty,
|
|
1089
|
+
isOptional,
|
|
1032
1090
|
nullResettable,
|
|
1033
1091
|
isDeprecated: deprecated,
|
|
1034
1092
|
deprecationMessage: sourceDeprecation.message,
|
|
@@ -1071,6 +1129,10 @@ export function parseProtocols(
|
|
|
1071
1129
|
// Resolve the file path from the parent node for child context.
|
|
1072
1130
|
// Fall back to walkContextFile (the running file tracker from walk()).
|
|
1073
1131
|
const parentFile = getLocFile(node) ?? walkContextFile;
|
|
1132
|
+
const protocolLines = resolveHeaderLines(node, headerLines, headerLinesMap, parentFile);
|
|
1133
|
+
const protocolLine = getLocLine(node) ?? 1;
|
|
1134
|
+
let lastScannedLine = protocolLine - 1;
|
|
1135
|
+
let currentIsOptional = false;
|
|
1074
1136
|
|
|
1075
1137
|
// Track selectors we've already added (to handle multiple declarations of the same protocol)
|
|
1076
1138
|
const existingInstanceSelectors = new Set(proto.instanceMethods.map((m) => m.selector));
|
|
@@ -1078,8 +1140,18 @@ export function parseProtocols(
|
|
|
1078
1140
|
const existingProperties = new Set(proto.properties.map((p) => p.name));
|
|
1079
1141
|
|
|
1080
1142
|
for (const child of node.inner) {
|
|
1143
|
+
const childLine = getLocLine(child);
|
|
1144
|
+
if (childLine && childLine >= 1) {
|
|
1145
|
+
currentIsOptional = scanProtocolOptionalityInRange(
|
|
1146
|
+
protocolLines,
|
|
1147
|
+
Math.max(lastScannedLine, 0),
|
|
1148
|
+
childLine - 2,
|
|
1149
|
+
currentIsOptional
|
|
1150
|
+
);
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1081
1153
|
if (child.kind === "ObjCMethodDecl") {
|
|
1082
|
-
const method = extractMethod(child, parentFile);
|
|
1154
|
+
const method = extractMethod(child, currentIsOptional, parentFile);
|
|
1083
1155
|
if (!method) continue;
|
|
1084
1156
|
|
|
1085
1157
|
if (method.isClassMethod) {
|
|
@@ -1094,12 +1166,16 @@ export function parseProtocols(
|
|
|
1094
1166
|
}
|
|
1095
1167
|
}
|
|
1096
1168
|
} else if (child.kind === "ObjCPropertyDecl") {
|
|
1097
|
-
const prop = extractProperty(child, parentFile);
|
|
1169
|
+
const prop = extractProperty(child, currentIsOptional, parentFile);
|
|
1098
1170
|
if (prop && !existingProperties.has(prop.name)) {
|
|
1099
1171
|
proto.properties.push(prop);
|
|
1100
1172
|
existingProperties.add(prop.name);
|
|
1101
1173
|
}
|
|
1102
1174
|
}
|
|
1175
|
+
|
|
1176
|
+
if (childLine && childLine >= 1) {
|
|
1177
|
+
lastScannedLine = childLine;
|
|
1178
|
+
}
|
|
1103
1179
|
}
|
|
1104
1180
|
}
|
|
1105
1181
|
|
package/generator/custom.ts
CHANGED
|
@@ -587,7 +587,7 @@ function emitCustomProtocolFile(
|
|
|
587
587
|
const instancePropertyNames = new Set(instanceProps.map((p) => p.name));
|
|
588
588
|
const regularMethods = proto.instanceMethods.filter((m) => !instancePropertyNames.has(m.selector));
|
|
589
589
|
|
|
590
|
-
// Instance methods
|
|
590
|
+
// Instance methods
|
|
591
591
|
if (regularMethods.length > 0) {
|
|
592
592
|
lines.push(" // Instance methods");
|
|
593
593
|
for (const method of regularMethods) {
|
|
@@ -605,21 +605,23 @@ function emitCustomProtocolFile(
|
|
|
605
605
|
}
|
|
606
606
|
params.push(`${safeName}: ${tsType}`);
|
|
607
607
|
}
|
|
608
|
-
|
|
608
|
+
const optional = method.isOptional ? "?" : "";
|
|
609
|
+
lines.push(` ${jsName}${optional}(${params.join(", ")}): ${returnType};`);
|
|
609
610
|
}
|
|
610
611
|
}
|
|
611
612
|
|
|
612
|
-
// Instance properties
|
|
613
|
+
// Instance properties
|
|
613
614
|
if (instanceProps.length > 0) {
|
|
614
615
|
if (regularMethods.length > 0) lines.push("");
|
|
615
616
|
lines.push(" // Properties");
|
|
616
617
|
for (const prop of instanceProps) {
|
|
617
618
|
const tsType = mapReturnType(prop.type, proto.name);
|
|
618
|
-
|
|
619
|
+
const optional = prop.isOptional ? "?" : "";
|
|
620
|
+
lines.push(` ${prop.name}${optional}(): ${tsType};`);
|
|
619
621
|
if (!prop.readonly) {
|
|
620
622
|
const setterName = `set${prop.name[0]!.toUpperCase()}${prop.name.slice(1)}$`;
|
|
621
623
|
const paramType = mapParamType(prop.type, proto.name);
|
|
622
|
-
lines.push(` ${setterName}
|
|
624
|
+
lines.push(` ${setterName}${optional}(value: ${paramType}): void;`);
|
|
623
625
|
}
|
|
624
626
|
}
|
|
625
627
|
}
|
|
@@ -710,7 +712,8 @@ async function main(): Promise<void> {
|
|
|
710
712
|
discovery.classes.size === 0 &&
|
|
711
713
|
discovery.protocols.size === 0 &&
|
|
712
714
|
discovery.integerEnums.size === 0 &&
|
|
713
|
-
discovery.stringEnums.size === 0
|
|
715
|
+
discovery.stringEnums.size === 0 &&
|
|
716
|
+
discovery.numericConstants.size === 0
|
|
714
717
|
)
|
|
715
718
|
continue;
|
|
716
719
|
|
|
@@ -720,10 +723,12 @@ async function main(): Promise<void> {
|
|
|
720
723
|
protocols: [...discovery.protocols.keys()].sort(),
|
|
721
724
|
integerEnums: [...discovery.integerEnums.keys()].sort(),
|
|
722
725
|
stringEnums: [...discovery.stringEnums.keys()].sort(),
|
|
726
|
+
numericConstants: [...discovery.numericConstants.keys()].sort(),
|
|
723
727
|
classHeaders: discovery.classes,
|
|
724
728
|
protocolHeaders: discovery.protocols,
|
|
725
729
|
integerEnumHeaders: discovery.integerEnums,
|
|
726
|
-
stringEnumHeaders: discovery.stringEnums
|
|
730
|
+
stringEnumHeaders: discovery.stringEnums,
|
|
731
|
+
numericConstantHeaders: discovery.numericConstants
|
|
727
732
|
});
|
|
728
733
|
}
|
|
729
734
|
|
package/generator/emitter.ts
CHANGED
|
@@ -546,7 +546,7 @@ function getMergedProtocols(
|
|
|
546
546
|
interface Sig {
|
|
547
547
|
returnType: string;
|
|
548
548
|
paramTypes: string[];
|
|
549
|
-
/** Whether this signature
|
|
549
|
+
/** Whether this signature is optional in TypeScript. */
|
|
550
550
|
isOptional: boolean;
|
|
551
551
|
}
|
|
552
552
|
const inherited = new Map<string, Sig>();
|
|
@@ -684,7 +684,7 @@ function collectProtocolSignatures(
|
|
|
684
684
|
sigs.set(jsName, {
|
|
685
685
|
returnType: mapReturnType(method.returnType, containingClass),
|
|
686
686
|
paramTypes: method.parameters.map((p) => mapParamType(p.type, containingClass)),
|
|
687
|
-
isOptional:
|
|
687
|
+
isOptional: method.isOptional
|
|
688
688
|
});
|
|
689
689
|
}
|
|
690
690
|
}
|
|
@@ -695,7 +695,7 @@ function collectProtocolSignatures(
|
|
|
695
695
|
sigs.set(prop.name, {
|
|
696
696
|
returnType: mapReturnType(prop.type, containingClass),
|
|
697
697
|
paramTypes: [],
|
|
698
|
-
isOptional:
|
|
698
|
+
isOptional: prop.isOptional
|
|
699
699
|
});
|
|
700
700
|
}
|
|
701
701
|
if (!prop.readonly) {
|
|
@@ -708,7 +708,7 @@ function collectProtocolSignatures(
|
|
|
708
708
|
sigs.set(setterName, {
|
|
709
709
|
returnType: "void",
|
|
710
710
|
paramTypes: [paramType],
|
|
711
|
-
isOptional:
|
|
711
|
+
isOptional: prop.isOptional
|
|
712
712
|
});
|
|
713
713
|
}
|
|
714
714
|
}
|
|
@@ -745,10 +745,8 @@ function checkProtocolConflicts(
|
|
|
745
745
|
const retType = mapReturnType(method.returnType, containingClass);
|
|
746
746
|
if (retType !== parentSig.returnType) return true;
|
|
747
747
|
|
|
748
|
-
//
|
|
749
|
-
|
|
750
|
-
// interface extends clause, producing TS2320.
|
|
751
|
-
if (!parentSig.isOptional) return true;
|
|
748
|
+
// TypeScript interface merging requires optionality to match.
|
|
749
|
+
if (method.isOptional !== parentSig.isOptional) return true;
|
|
752
750
|
|
|
753
751
|
const paramTypes = method.parameters.map((p) => mapParamType(p.type, containingClass));
|
|
754
752
|
if (paramTypes.length === parentSig.paramTypes.length) {
|
|
@@ -765,13 +763,13 @@ function checkProtocolConflicts(
|
|
|
765
763
|
if (parentSig) {
|
|
766
764
|
const tsType = mapReturnType(prop.type, containingClass);
|
|
767
765
|
if (tsType !== parentSig.returnType) return true;
|
|
768
|
-
if (
|
|
766
|
+
if (prop.isOptional !== parentSig.isOptional) return true;
|
|
769
767
|
}
|
|
770
768
|
if (!prop.readonly) {
|
|
771
769
|
const setterName = `set${prop.name[0]!.toUpperCase()}${prop.name.slice(1)}$`;
|
|
772
770
|
const parentSetterSig = inherited.get(setterName);
|
|
773
771
|
if (parentSetterSig) {
|
|
774
|
-
if (
|
|
772
|
+
if (prop.isOptional !== parentSetterSig.isOptional) return true;
|
|
775
773
|
let paramType = mapParamType(prop.type, containingClass);
|
|
776
774
|
if (prop.nullResettable && !paramType.includes("| null")) {
|
|
777
775
|
paramType = `${paramType} | null`;
|
|
@@ -1483,7 +1481,7 @@ export function emitProtocolFile(
|
|
|
1483
1481
|
// Split properties into class and instance
|
|
1484
1482
|
const instanceProps = proto.properties.filter((p) => !p.isClassProperty);
|
|
1485
1483
|
|
|
1486
|
-
// Emit instance methods
|
|
1484
|
+
// Emit instance methods
|
|
1487
1485
|
const instancePropertyNames = new Set(instanceProps.map((p) => p.name));
|
|
1488
1486
|
const regularMethods = proto.instanceMethods.filter((m) => !instancePropertyNames.has(m.selector));
|
|
1489
1487
|
|
|
@@ -1512,11 +1510,12 @@ export function emitProtocolFile(
|
|
|
1512
1510
|
selector: method.selector
|
|
1513
1511
|
});
|
|
1514
1512
|
if (jsdoc.length > 0) lines.push(...jsdoc);
|
|
1515
|
-
|
|
1513
|
+
const optional = method.isOptional ? "?" : "";
|
|
1514
|
+
lines.push(` ${jsName}${optional}(${params.join(", ")}): ${returnType};`);
|
|
1516
1515
|
}
|
|
1517
1516
|
}
|
|
1518
1517
|
|
|
1519
|
-
// Emit instance properties
|
|
1518
|
+
// Emit instance properties
|
|
1520
1519
|
if (instanceProps.length > 0) {
|
|
1521
1520
|
if (regularMethods.length > 0) lines.push("");
|
|
1522
1521
|
lines.push(" // Properties");
|
|
@@ -1528,7 +1527,8 @@ export function emitProtocolFile(
|
|
|
1528
1527
|
deprecationMessage: prop.deprecationMessage
|
|
1529
1528
|
});
|
|
1530
1529
|
if (jsdoc.length > 0) lines.push(...jsdoc);
|
|
1531
|
-
|
|
1530
|
+
const optional = prop.isOptional ? "?" : "";
|
|
1531
|
+
lines.push(` ${prop.name}${optional}(): ${tsType};`);
|
|
1532
1532
|
if (!prop.readonly) {
|
|
1533
1533
|
const setterName = `set${prop.name[0]!.toUpperCase()}${prop.name.slice(1)}$`;
|
|
1534
1534
|
let paramType = mapParamType(prop.type, proto.name);
|
|
@@ -1536,7 +1536,7 @@ export function emitProtocolFile(
|
|
|
1536
1536
|
if (prop.nullResettable && !paramType.includes("| null")) {
|
|
1537
1537
|
paramType = `${paramType} | null`;
|
|
1538
1538
|
}
|
|
1539
|
-
lines.push(` ${setterName}
|
|
1539
|
+
lines.push(` ${setterName}${optional}(value: ${paramType}): void;`);
|
|
1540
1540
|
}
|
|
1541
1541
|
}
|
|
1542
1542
|
}
|
|
@@ -1641,6 +1641,8 @@ export function emitStringEnumFile(enumDef: ObjCStringEnum, _currentFrameworkNam
|
|
|
1641
1641
|
const lines: string[] = [];
|
|
1642
1642
|
lines.push(AUTOGEN_HEADER);
|
|
1643
1643
|
lines.push("");
|
|
1644
|
+
lines.push(`import type { NSStringLiteral } from "../helpers.js";`);
|
|
1645
|
+
lines.push("");
|
|
1644
1646
|
|
|
1645
1647
|
// Filter to values that were successfully resolved
|
|
1646
1648
|
const resolvedValues = enumDef.values.filter((v) => v.value !== null);
|
|
@@ -1657,7 +1659,8 @@ export function emitStringEnumFile(enumDef: ObjCStringEnum, _currentFrameworkNam
|
|
|
1657
1659
|
lines.push(`} as const;`);
|
|
1658
1660
|
|
|
1659
1661
|
lines.push(`export type ${enumDef.name} =`);
|
|
1660
|
-
lines.push(` typeof ${enumDef.name}[keyof typeof ${enumDef.name}]
|
|
1662
|
+
lines.push(` | NSStringLiteral<(typeof ${enumDef.name})[keyof typeof ${enumDef.name}]>`);
|
|
1663
|
+
lines.push(` | (typeof ${enumDef.name})[keyof typeof ${enumDef.name}];`);
|
|
1661
1664
|
} else {
|
|
1662
1665
|
// Fallback: if no values could be resolved, emit short names as a JSDoc comment
|
|
1663
1666
|
// and a type alias that accepts any string (for forward compatibility)
|
|
@@ -1668,7 +1671,7 @@ export function emitStringEnumFile(enumDef: ObjCStringEnum, _currentFrameworkNam
|
|
|
1668
1671
|
lines.push(` * Values could not be resolved from the framework binary.`);
|
|
1669
1672
|
lines.push(` */`);
|
|
1670
1673
|
}
|
|
1671
|
-
lines.push(`export type ${enumDef.name} = string
|
|
1674
|
+
lines.push(`export type ${enumDef.name} = NSStringLiteral<string>;`);
|
|
1672
1675
|
}
|
|
1673
1676
|
|
|
1674
1677
|
lines.push("");
|
|
@@ -8,17 +8,27 @@ import {
|
|
|
8
8
|
type _NSString
|
|
9
9
|
} from "./Foundation/index.js";
|
|
10
10
|
|
|
11
|
+
declare const NS_STRING_LITERAL: unique symbol;
|
|
12
|
+
/**
|
|
13
|
+
* NSString subtype that preserves the originating string literal in the type system.
|
|
14
|
+
*
|
|
15
|
+
* This is a compile-time brand only. At runtime it is still just an NSString.
|
|
16
|
+
*/
|
|
17
|
+
export interface NSStringLiteral<T extends string = string> extends _NSString {
|
|
18
|
+
readonly [NS_STRING_LITERAL]?: T;
|
|
19
|
+
}
|
|
20
|
+
|
|
11
21
|
/**
|
|
12
22
|
* Create NSString from a JavaScript string
|
|
13
23
|
* @param str The string object
|
|
14
24
|
* @returns An NSString object
|
|
15
25
|
*/
|
|
16
|
-
export function NSStringFromString(str:
|
|
26
|
+
export function NSStringFromString<T extends string>(str: T): NSStringLiteral<T> {
|
|
17
27
|
const nsString = NSString.stringWithUTF8String$(str);
|
|
18
28
|
if (!nsString) {
|
|
19
29
|
throw new Error(`Failed to create NSString from string: ${str}`);
|
|
20
30
|
}
|
|
21
|
-
return nsString
|
|
31
|
+
return nsString as NSStringLiteral<T>;
|
|
22
32
|
}
|
|
23
33
|
|
|
24
34
|
/**
|