Documentation
¶
Overview ¶
Package foundation provides purego-based Go bindings for the macOS Foundation framework.
Apple documentation: https://developer.apple.com/documentation/foundation
Index ¶
- Constants
- func CFBridgingRelease(x unsafe.Pointer) unsafe.Pointer
- func CFBridgingRetain(x objc.ID) unsafe.Pointer
- func NSAMPMDesignation() uintptrdeprecated
- func NSAllocateCollectable(size uint, options uint) unsafe.Pointer
- func NSAllocateMemoryPages(bytes_ uint) unsafe.Pointer
- func NSAllocateObject(aClass objc.Class, extraBytes uint, zone unsafe.Pointer) objc.ID
- func NSAlternateDescriptionAttributeName() uintptr
- func NSAppleEventTimeOutDefault() uintptr
- func NSAppleEventTimeOutNone() uintptr
- func NSAppleScriptErrorAppName() uintptr
- func NSAppleScriptErrorBriefMessage() uintptr
- func NSAppleScriptErrorMessage() uintptr
- func NSAppleScriptErrorNumber() uintptr
- func NSAppleScriptErrorRange() uintptr
- func NSArchiverArchiveRootObjectToFile(rootObject objc.ID, path *NSString) bool
- func NSArgumentDomain() uintptr
- func NSAssertionHandlerKey() uintptr
- func NSAutoreleasePoolAddObject(anObject objc.ID)
- func NSBuddhistCalendar() uintptrdeprecated
- func NSCalendarDateCalendarDate() objc.IDdeprecated
- func NSCalendarDateDateWithStringCalendarFormat(description *NSString, format *NSString) objc.IDdeprecated
- func NSCalendarDateDateWithStringCalendarFormatLocale(description *NSString, format *NSString, locale objc.ID) objc.IDdeprecated
- func NSCalendarDateDateWithYearMonthDayHourMinuteSecondTimeZone(year int, month uint, day uint, hour uint, minute uint, second uint, ...) objc.IDdeprecated
- func NSChineseCalendar() uintptrdeprecated
- func NSClassDescriptionInvalidateClassDescriptionCache()
- func NSClassDescriptionRegisterClassDescriptionForClass(description *NSClassDescription, aClass objc.Class)
- func NSClassFromString(aClassName *NSString) objc.Class
- func NSCompareHashTables(table1 *NSHashTable[objc.ID], table2 *NSHashTable[objc.ID]) bool
- func NSCompareMapTables(table1 *NSMapTable[objc.ID, objc.ID], table2 *NSMapTable[objc.ID, objc.ID]) bool
- func NSConnectionCurrentConversation() objc.ID
- func NSConnectionDidDieNotification() uintptrdeprecated
- func NSConnectionDidInitializeNotification() uintptrdeprecated
- func NSConnectionReplyMode() uintptrdeprecated
- func NSContainsRect(aRect corefoundation.CGRect, bRect corefoundation.CGRect) bool
- func NSConvertSwappedDoubleToHost(x NSSwappedDouble) float64
- func NSConvertSwappedFloatToHost(x NSSwappedFloat) float32
- func NSCopyMapTableWithZone(table *NSMapTable[objc.ID, objc.ID], zone unsafe.Pointer) unsafe.Pointer
- func NSCopyMemoryPages(source unsafe.Pointer, dest unsafe.Pointer, bytes_ uint)
- func NSCopyObject(object objc.ID, extraBytes uint, zone unsafe.Pointer) objc.IDdeprecated
- func NSCountHashTable(table *NSHashTable[objc.ID]) uint
- func NSCountMapTable(table *NSMapTable[objc.ID, objc.ID]) uint
- func NSCreateMapTable(keyCallBacks NSMapTableKeyCallBacks, valueCallBacks NSMapTableValueCallBacks, ...) unsafe.Pointer
- func NSCreateMapTableWithZone(keyCallBacks NSMapTableKeyCallBacks, valueCallBacks NSMapTableValueCallBacks, ...) unsafe.Pointer
- func NSCreateZone(startSize uint, granularity uint, canFree bool) unsafe.Pointer
- func NSCurrencySymbol() uintptrdeprecated
- func NSDataDataWithContentsOfMappedFile(path *NSString) objc.IDdeprecated
- func NSDateDateWithNaturalLanguageString(string_ *NSString) objc.IDdeprecated
- func NSDateDateWithNaturalLanguageStringLocale(string_ *NSString, locale objc.ID) objc.IDdeprecated
- func NSDateDateWithString(aString *NSString) objc.IDdeprecated
- func NSDateFormatString() uintptrdeprecated
- func NSDateFormatterSetDefaultFormatterBehavior(defaultFormatterBehavior NSDateFormatterBehavior)
- func NSDateTimeIntervalSinceReferenceDate() float64
- func NSDateTimeOrdering() uintptrdeprecated
- func NSDeallocateMemoryPages(ptr unsafe.Pointer, bytes_ uint)
- func NSDeallocateObject(object objc.ID)
- func NSDecimalCompact(number *NSDecimal)
- func NSDecimalCopy(destination *NSDecimal, source *NSDecimal)
- func NSDecimalDigits() uintptrdeprecated
- func NSDecimalIsNotANumber(dcm *NSDecimal) bool
- func NSDecimalNumberSetDefaultBehavior(defaultBehavior NSDecimalNumberBehaviors)
- func NSDecimalRound(result *NSDecimal, number *NSDecimal, scale int, roundingMode NSRoundingMode)
- func NSDecimalSeparator() uintptrdeprecated
- func NSDecrementExtraRefCountWasZero(object objc.ID) bool
- func NSDefaultMallocZone() unsafe.Pointer
- func NSDictionarySharedKeySetForKeys(keys *NSArray[NSCopying]) objc.ID
- func NSDistantObjectProxyWithLocalConnection(target objc.ID, connection *NSConnection) objc.ID
- func NSDistantObjectProxyWithTargetConnection(target objc.ID, connection *NSConnection) objc.ID
- func NSDivideRect(inRect corefoundation.CGRect, slice *corefoundation.CGRect, ...)
- func NSEarlierTimeDesignations() uintptrdeprecated
- func NSEdgeInsetsEqual(aInsets NSEdgeInsets, bInsets NSEdgeInsets) bool
- func NSEndHashTableEnumeration(enumerator *NSHashEnumerator)
- func NSEndMapTableEnumeration(enumerator *NSMapEnumerator)
- func NSEqualPoints(aPoint corefoundation.CGPoint, bPoint corefoundation.CGPoint) bool
- func NSEqualRanges(range1 NSRange, range2 NSRange) bool
- func NSEqualRects(aRect corefoundation.CGRect, bRect corefoundation.CGRect) bool
- func NSEqualSizes(aSize corefoundation.CGSize, bSize corefoundation.CGSize) bool
- func NSErrorFailingURLStringKey() uintptr
- func NSErrorSetUserInfoValueProviderForDomainProvider(errorDomain *NSString, provider func(unsafe.Pointer, *NSString) objc.ID)
- func NSErrorUserInfoValueProviderForDomain(errorDomain *NSString) objc.Block
- func NSExceptionRaiseFormat(name *NSString, format *NSString)
- func NSExceptionRaiseFormatArguments(name *NSString, format *NSString, argList string)
- func NSExtensionItemAttachmentsKey() uintptr
- func NSExtensionItemAttributedContentTextKey() uintptr
- func NSExtensionItemAttributedTitleKey() uintptr
- func NSExtensionItemsAndErrorsKey() uintptr
- func NSExtensionJavaScriptPreprocessingResultsKey() uintptr
- func NSExtraRefCount(object objc.ID) uint
- func NSFTPPropertyActiveTransferModeKey() uintptrdeprecated
- func NSFTPPropertyFTPProxy() uintptrdeprecated
- func NSFTPPropertyFileOffsetKey() uintptrdeprecated
- func NSFTPPropertyUserLoginKey() uintptrdeprecated
- func NSFTPPropertyUserPasswordKey() uintptrdeprecated
- func NSFailedAuthenticationException() uintptrdeprecated
- func NSFileCoordinatorAddFilePresenter(filePresenter NSFilePresenter)
- func NSFileCoordinatorRemoveFilePresenter(filePresenter NSFilePresenter)
- func NSFileHandleNotificationDataItem() uintptr
- func NSFileHandleNotificationFileHandleItem() uintptr
- func NSFileHandleNotificationMonitorModes() uintptrdeprecated
- func NSFileManagerUnmountDissentingProcessIdentifierErrorKey() uintptr
- func NSFileVersionGetNonlocalVersionsOfItemAtURLCompletionHandler(url *NSURL, completionHandler func(*NSArray[*NSFileVersion], unsafe.Pointer))
- func NSFileVersionRemoveOtherVersionsOfItemAtURLError(url *NSURL) (bool, error)
- func NSFoundationVersionNumber() float64
- func NSFreeHashTable(table *NSHashTable[objc.ID])
- func NSFreeMapTable(table *NSMapTable[objc.ID, objc.ID])
- func NSGarbageCollectorDefaultCollector() objc.ID
- func NSGetSizeAndAlignment(typePtr string, sizep *uint, alignp *uint) string
- func NSGetUncaughtExceptionHandler() unsafe.Pointer
- func NSGlobalDomain() uintptr
- func NSGrammarCorrections() uintptr
- func NSGrammarRange() uintptr
- func NSGrammarUserDescription() uintptr
- func NSGregorianCalendar() uintptrdeprecated
- func NSHFSTypeCodeFromFileType(fileTypeString *NSString) uint
- func NSHTTPPropertyErrorPageDataKey() uintptrdeprecated
- func NSHTTPPropertyHTTPProxy() uintptrdeprecated
- func NSHTTPPropertyRedirectionHeadersKey() uintptrdeprecated
- func NSHTTPPropertyServerHTTPVersionKey() uintptrdeprecated
- func NSHTTPPropertyStatusCodeKey() uintptrdeprecated
- func NSHTTPPropertyStatusReasonKey() uintptrdeprecated
- func NSHashGet(table *NSHashTable[objc.ID], pointer unsafe.Pointer) unsafe.Pointer
- func NSHashInsert(table *NSHashTable[objc.ID], pointer unsafe.Pointer)
- func NSHashInsertIfAbsent(table *NSHashTable[objc.ID], pointer unsafe.Pointer) unsafe.Pointer
- func NSHashInsertKnownAbsent(table *NSHashTable[objc.ID], pointer unsafe.Pointer)
- func NSHashRemove(table *NSHashTable[objc.ID], pointer unsafe.Pointer)
- func NSHashTableHashTableWithWeakObjects() objc.IDdeprecated
- func NSHebrewCalendar() uintptrdeprecated
- func NSHeight(aRect corefoundation.CGRect) float64
- func NSHostByteOrder() int
- func NSHostFlushHostCache()deprecated
- func NSHostIsHostCacheEnabled() booldeprecated
- func NSHostSetHostCacheEnabled(flag bool)deprecated
- func NSHourNameDesignations() uintptrdeprecated
- func NSISO8601Calendar() uintptrdeprecated
- func NSImageURLAttributeName() uintptr
- func NSIncrementExtraRefCount(object objc.ID)deprecated
- func NSIndianCalendar() uintptrdeprecated
- func NSInflectionAgreementArgumentAttributeName() uintptr
- func NSInflectionAgreementConceptAttributeName() uintptr
- func NSInflectionAlternativeAttributeName() uintptr
- func NSInflectionReferentConceptAttributeName() uintptr
- func NSInflectionRuleAttributeName() uintptr
- func NSInflectionRuleCanInflectLanguage(language *NSString) bool
- func NSInflectionRuleCanInflectPreferredLocalization() bool
- func NSInlinePresentationIntentAttributeName() uintptr
- func NSInsetRect(aRect corefoundation.CGRect, dX float64, dY float64) corefoundation.CGRect
- func NSIntegralRect(aRect corefoundation.CGRect) corefoundation.CGRect
- func NSIntegralRectWithOptions(aRect corefoundation.CGRect, opts NSAlignmentOptions) corefoundation.CGRect
- func NSInternationalCurrencyString() uintptrdeprecated
- func NSIntersectionRect(aRect corefoundation.CGRect, bRect corefoundation.CGRect) corefoundation.CGRect
- func NSIntersectsRect(aRect corefoundation.CGRect, bRect corefoundation.CGRect) bool
- func NSIsEmptyRect(aRect corefoundation.CGRect) bool
- func NSIslamicCalendar() uintptrdeprecated
- func NSIslamicCivilCalendar() uintptrdeprecated
- func NSItemProviderErrorDomain() uintptr
- func NSItemProviderPreferredImageSizeKey() uintptr
- func NSJSONSerializationIsValidJSONObject(obj objc.ID) bool
- func NSJSONSerializationJSONObjectWithDataOptionsError(data *NSData, opt NSJSONReadingOptions) (objc.ID, error)
- func NSJSONSerializationJSONObjectWithStreamOptionsError(stream *NSInputStream, opt NSJSONReadingOptions) (objc.ID, error)
- func NSJSONSerializationWriteJSONObjectToStreamOptionsError(obj objc.ID, stream *NSOutputStream, opt NSJSONWritingOptions) (int, error)
- func NSJapaneseCalendar() uintptrdeprecated
- func NSKeyedArchiveRootObjectKey() uintptr
- func NSKeyedArchiverArchiveRootObjectToFile(rootObject objc.ID, path *NSString) booldeprecated
- func NSKeyedArchiverSetClassNameForClass(codedName *NSString, cls objc.Class)
- func NSKeyedUnarchiverClassForClassName(codedName *NSString) objc.Class
- func NSKeyedUnarchiverSetClassForClassName(cls objc.Class, codedName *NSString)
- func NSKeyedUnarchiverUnarchiveObjectWithData(data *NSData) objc.IDdeprecated
- func NSKeyedUnarchiverUnarchiveObjectWithFile(path *NSString) objc.IDdeprecated
- func NSKeyedUnarchiverUnarchiveTopLevelObjectWithDataError(data *NSData) (objc.ID, error)deprecated
- func NSKeyedUnarchiverUnarchivedObjectOfClassFromDataError(cls objc.Class, data *NSData) (objc.ID, error)
- func NSKeyedUnarchiverUnarchivedObjectOfClassesFromDataError(classes *NSSet[objc.Class], data *NSData) (objc.ID, error)
- func NSLanguageIdentifierAttributeName() uintptr
- func NSLaterTimeDesignations() uintptrdeprecated
- func NSLinguisticTaggerEnumerateTagsForStringRangeUnitSchemeOptionsOrthographyUsing(string_ *NSString, range_ NSRange, unit NSLinguisticTaggerUnit, ...)deprecated
- func NSListItemDelimiterAttributeName() uintptr
- func NSLoadedClasses() uintptr
- func NSLocaleWindowsLocaleCodeFromLocaleIdentifier(localeIdentifier *NSString) uint32
- func NSLocalizedNumberFormatAttributeName() uintptr
- func NSLocationInRange(loc uint, range_ NSRange) bool
- func NSLogPageSize() uint
- func NSLogv(arg objc.ID, arg2 string)
- func NSMachBootstrapServerSharedInstance() objc.ID
- func NSMakeCollectable(cf unsafe.Pointer) unsafe.Pointer
- func NSMakePoint(x float64, y float64) corefoundation.CGPoint
- func NSMakeRect(x float64, y float64, w float64, h float64) corefoundation.CGRect
- func NSMakeSize(w float64, h float64) corefoundation.CGSize
- func NSMapGet(table *NSMapTable[objc.ID, objc.ID], key unsafe.Pointer) unsafe.Pointer
- func NSMapInsert(table *NSMapTable[objc.ID, objc.ID], key unsafe.Pointer, value unsafe.Pointer)
- func NSMapInsertIfAbsent(table *NSMapTable[objc.ID, objc.ID], key unsafe.Pointer, value unsafe.Pointer) unsafe.Pointer
- func NSMapInsertKnownAbsent(table *NSMapTable[objc.ID, objc.ID], key unsafe.Pointer, value unsafe.Pointer)
- func NSMapMember(table *NSMapTable[objc.ID, objc.ID], key unsafe.Pointer, ...) bool
- func NSMapRemove(table *NSMapTable[objc.ID, objc.ID], key unsafe.Pointer)
- func NSMapTableMapTableWithStrongToStrongObjects() objc.IDdeprecated
- func NSMapTableMapTableWithStrongToWeakObjects() objc.IDdeprecated
- func NSMapTableMapTableWithWeakToStrongObjects() objc.IDdeprecated
- func NSMapTableMapTableWithWeakToWeakObjects() objc.IDdeprecated
- func NSMarkdownSourcePositionAttributeName() uintptr
- func NSMaxRange(range_ NSRange) uint
- func NSMaxX(aRect corefoundation.CGRect) float64
- func NSMaxY(aRect corefoundation.CGRect) float64
- func NSMessagePortNameServerSharedInstance() objc.ID
- func NSMetadataItemAcquisitionMakeKey() uintptr
- func NSMetadataItemAcquisitionModelKey() uintptr
- func NSMetadataItemAlbumKey() uintptr
- func NSMetadataItemAltitudeKey() uintptr
- func NSMetadataItemApertureKey() uintptr
- func NSMetadataItemAppleLoopDescriptorsKey() uintptr
- func NSMetadataItemAppleLoopsKeyFilterTypeKey() uintptr
- func NSMetadataItemAppleLoopsLoopModeKey() uintptr
- func NSMetadataItemAppleLoopsRootKeyKey() uintptr
- func NSMetadataItemApplicationCategoriesKey() uintptr
- func NSMetadataItemAttributeChangeDateKey() uintptr
- func NSMetadataItemAudiencesKey() uintptr
- func NSMetadataItemAudioBitRateKey() uintptr
- func NSMetadataItemAudioChannelCountKey() uintptr
- func NSMetadataItemAudioEncodingApplicationKey() uintptr
- func NSMetadataItemAudioSampleRateKey() uintptr
- func NSMetadataItemAudioTrackNumberKey() uintptr
- func NSMetadataItemAuthorAddressesKey() uintptr
- func NSMetadataItemAuthorEmailAddressesKey() uintptr
- func NSMetadataItemAuthorsKey() uintptr
- func NSMetadataItemBitsPerSampleKey() uintptr
- func NSMetadataItemCFBundleIdentifierKey() uintptr
- func NSMetadataItemCameraOwnerKey() uintptr
- func NSMetadataItemCityKey() uintptr
- func NSMetadataItemCodecsKey() uintptr
- func NSMetadataItemColorSpaceKey() uintptr
- func NSMetadataItemCommentKey() uintptr
- func NSMetadataItemComposerKey() uintptr
- func NSMetadataItemContactKeywordsKey() uintptr
- func NSMetadataItemContentCreationDateKey() uintptr
- func NSMetadataItemContentModificationDateKey() uintptr
- func NSMetadataItemContentTypeKey() uintptr
- func NSMetadataItemContentTypeTreeKey() uintptr
- func NSMetadataItemContributorsKey() uintptr
- func NSMetadataItemCopyrightKey() uintptr
- func NSMetadataItemCountryKey() uintptr
- func NSMetadataItemCoverageKey() uintptr
- func NSMetadataItemCreatorKey() uintptr
- func NSMetadataItemDateAddedKey() uintptr
- func NSMetadataItemDeliveryTypeKey() uintptr
- func NSMetadataItemDescriptionKey() uintptr
- func NSMetadataItemDirectorKey() uintptr
- func NSMetadataItemDisplayNameKey() uintptr
- func NSMetadataItemDownloadedDateKey() uintptr
- func NSMetadataItemDueDateKey() uintptr
- func NSMetadataItemDurationSecondsKey() uintptr
- func NSMetadataItemEXIFGPSVersionKey() uintptr
- func NSMetadataItemEXIFVersionKey() uintptr
- func NSMetadataItemEditorsKey() uintptr
- func NSMetadataItemEmailAddressesKey() uintptr
- func NSMetadataItemEncodingApplicationsKey() uintptr
- func NSMetadataItemExecutableArchitecturesKey() uintptr
- func NSMetadataItemExecutablePlatformKey() uintptr
- func NSMetadataItemExposureModeKey() uintptr
- func NSMetadataItemExposureProgramKey() uintptr
- func NSMetadataItemExposureTimeSecondsKey() uintptr
- func NSMetadataItemExposureTimeStringKey() uintptr
- func NSMetadataItemFNumberKey() uintptr
- func NSMetadataItemFSContentChangeDateKey() uintptr
- func NSMetadataItemFSCreationDateKey() uintptr
- func NSMetadataItemFSNameKey() uintptr
- func NSMetadataItemFSSizeKey() uintptr
- func NSMetadataItemFinderCommentKey() uintptr
- func NSMetadataItemFlashOnOffKey() uintptr
- func NSMetadataItemFocalLength35mmKey() uintptr
- func NSMetadataItemFocalLengthKey() uintptr
- func NSMetadataItemFontsKey() uintptr
- func NSMetadataItemGPSAreaInformationKey() uintptr
- func NSMetadataItemGPSDOPKey() uintptr
- func NSMetadataItemGPSDateStampKey() uintptr
- func NSMetadataItemGPSDestBearingKey() uintptr
- func NSMetadataItemGPSDestDistanceKey() uintptr
- func NSMetadataItemGPSDestLatitudeKey() uintptr
- func NSMetadataItemGPSDestLongitudeKey() uintptr
- func NSMetadataItemGPSDifferentalKey() uintptr
- func NSMetadataItemGPSMapDatumKey() uintptr
- func NSMetadataItemGPSMeasureModeKey() uintptr
- func NSMetadataItemGPSProcessingMethodKey() uintptr
- func NSMetadataItemGPSStatusKey() uintptr
- func NSMetadataItemGPSTrackKey() uintptr
- func NSMetadataItemGenreKey() uintptr
- func NSMetadataItemHasAlphaChannelKey() uintptr
- func NSMetadataItemHeadlineKey() uintptr
- func NSMetadataItemISOSpeedKey() uintptr
- func NSMetadataItemIdentifierKey() uintptr
- func NSMetadataItemImageDirectionKey() uintptr
- func NSMetadataItemInformationKey() uintptr
- func NSMetadataItemInstantMessageAddressesKey() uintptr
- func NSMetadataItemInstructionsKey() uintptr
- func NSMetadataItemIsApplicationManagedKey() uintptr
- func NSMetadataItemIsGeneralMIDISequenceKey() uintptr
- func NSMetadataItemIsLikelyJunkKey() uintptr
- func NSMetadataItemIsUbiquitousKey() uintptr
- func NSMetadataItemKeySignatureKey() uintptr
- func NSMetadataItemKeywordsKey() uintptr
- func NSMetadataItemKindKey() uintptr
- func NSMetadataItemLanguagesKey() uintptr
- func NSMetadataItemLastUsedDateKey() uintptr
- func NSMetadataItemLatitudeKey() uintptr
- func NSMetadataItemLayerNamesKey() uintptr
- func NSMetadataItemLensModelKey() uintptr
- func NSMetadataItemLongitudeKey() uintptr
- func NSMetadataItemLyricistKey() uintptr
- func NSMetadataItemMaxApertureKey() uintptr
- func NSMetadataItemMediaTypesKey() uintptr
- func NSMetadataItemMeteringModeKey() uintptr
- func NSMetadataItemMusicalGenreKey() uintptr
- func NSMetadataItemMusicalInstrumentCategoryKey() uintptr
- func NSMetadataItemMusicalInstrumentNameKey() uintptr
- func NSMetadataItemNamedLocationKey() uintptr
- func NSMetadataItemNumberOfPagesKey() uintptr
- func NSMetadataItemOrganizationsKey() uintptr
- func NSMetadataItemOrientationKey() uintptr
- func NSMetadataItemOriginalFormatKey() uintptr
- func NSMetadataItemOriginalSourceKey() uintptr
- func NSMetadataItemPageHeightKey() uintptr
- func NSMetadataItemPageWidthKey() uintptr
- func NSMetadataItemParticipantsKey() uintptr
- func NSMetadataItemPathKey() uintptr
- func NSMetadataItemPerformersKey() uintptr
- func NSMetadataItemPhoneNumbersKey() uintptr
- func NSMetadataItemPixelCountKey() uintptr
- func NSMetadataItemPixelHeightKey() uintptr
- func NSMetadataItemPixelWidthKey() uintptr
- func NSMetadataItemProducerKey() uintptr
- func NSMetadataItemProfileNameKey() uintptr
- func NSMetadataItemProjectsKey() uintptr
- func NSMetadataItemPublishersKey() uintptr
- func NSMetadataItemRecipientAddressesKey() uintptr
- func NSMetadataItemRecipientEmailAddressesKey() uintptr
- func NSMetadataItemRecipientsKey() uintptr
- func NSMetadataItemRecordingDateKey() uintptr
- func NSMetadataItemRecordingYearKey() uintptr
- func NSMetadataItemRedEyeOnOffKey() uintptr
- func NSMetadataItemResolutionHeightDPIKey() uintptr
- func NSMetadataItemResolutionWidthDPIKey() uintptr
- func NSMetadataItemRightsKey() uintptr
- func NSMetadataItemSecurityMethodKey() uintptr
- func NSMetadataItemSpeedKey() uintptr
- func NSMetadataItemStarRatingKey() uintptr
- func NSMetadataItemStateOrProvinceKey() uintptr
- func NSMetadataItemStreamableKey() uintptr
- func NSMetadataItemSubjectKey() uintptr
- func NSMetadataItemTempoKey() uintptr
- func NSMetadataItemTextContentKey() uintptr
- func NSMetadataItemThemeKey() uintptr
- func NSMetadataItemTimeSignatureKey() uintptr
- func NSMetadataItemTimestampKey() uintptr
- func NSMetadataItemTitleKey() uintptr
- func NSMetadataItemTotalBitRateKey() uintptr
- func NSMetadataItemURLKey() uintptr
- func NSMetadataItemVersionKey() uintptr
- func NSMetadataItemVideoBitRateKey() uintptr
- func NSMetadataItemWhereFromsKey() uintptr
- func NSMetadataItemWhiteBalanceKey() uintptr
- func NSMetadataQueryAccessibleUbiquitousExternalDocumentsScope() uintptr
- func NSMetadataQueryIndexedLocalComputerScope() uintptr
- func NSMetadataQueryIndexedNetworkScope() uintptr
- func NSMetadataQueryLocalComputerScope() uintptr
- func NSMetadataQueryNetworkScope() uintptr
- func NSMetadataQueryResultContentRelevanceAttribute() uintptr
- func NSMetadataQueryUbiquitousDataScope() uintptr
- func NSMetadataQueryUbiquitousDocumentsScope() uintptr
- func NSMetadataQueryUpdateAddedItemsKey() uintptr
- func NSMetadataQueryUpdateChangedItemsKey() uintptr
- func NSMetadataQueryUpdateRemovedItemsKey() uintptr
- func NSMetadataQueryUserHomeScope() uintptr
- func NSMetadataUbiquitousItemContainerDisplayNameKey() uintptr
- func NSMetadataUbiquitousItemDownloadRequestedKey() uintptr
- func NSMetadataUbiquitousItemDownloadingErrorKey() uintptr
- func NSMetadataUbiquitousItemDownloadingStatusCurrent() uintptr
- func NSMetadataUbiquitousItemDownloadingStatusDownloaded() uintptr
- func NSMetadataUbiquitousItemDownloadingStatusKey() uintptr
- func NSMetadataUbiquitousItemDownloadingStatusNotDownloaded() uintptr
- func NSMetadataUbiquitousItemHasUnresolvedConflictsKey() uintptr
- func NSMetadataUbiquitousItemIsDownloadedKey() uintptrdeprecated
- func NSMetadataUbiquitousItemIsDownloadingKey() uintptr
- func NSMetadataUbiquitousItemIsExternalDocumentKey() uintptr
- func NSMetadataUbiquitousItemIsSharedKey() uintptr
- func NSMetadataUbiquitousItemIsUploadedKey() uintptr
- func NSMetadataUbiquitousItemIsUploadingKey() uintptr
- func NSMetadataUbiquitousItemPercentDownloadedKey() uintptr
- func NSMetadataUbiquitousItemPercentUploadedKey() uintptr
- func NSMetadataUbiquitousItemURLInLocalContainerKey() uintptr
- func NSMetadataUbiquitousItemUploadingErrorKey() uintptr
- func NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey() uintptr
- func NSMetadataUbiquitousSharedItemCurrentUserRoleKey() uintptr
- func NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey() uintptr
- func NSMetadataUbiquitousSharedItemOwnerNameComponentsKey() uintptr
- func NSMetadataUbiquitousSharedItemPermissionsReadOnly() uintptr
- func NSMetadataUbiquitousSharedItemPermissionsReadWrite() uintptr
- func NSMetadataUbiquitousSharedItemRoleOwner() uintptr
- func NSMetadataUbiquitousSharedItemRoleParticipant() uintptr
- func NSMidX(aRect corefoundation.CGRect) float64
- func NSMidY(aRect corefoundation.CGRect) float64
- func NSMinX(aRect corefoundation.CGRect) float64
- func NSMinY(aRect corefoundation.CGRect) float64
- func NSMonthNameArray() uintptrdeprecated
- func NSMorphologyAttributeName() uintptr
- func NSMorphologyCustomPronounIsSupportedForLanguage(language *NSString) booldeprecated
- func NSMouseInRect(aPoint corefoundation.CGPoint, aRect corefoundation.CGRect, flipped bool) bool
- func NSNegativeCurrencyFormatString() uintptrdeprecated
- func NSNetServicesErrorCode() uintptr
- func NSNetServicesErrorDomain() uintptr
- func NSNextDayDesignations() uintptrdeprecated
- func NSNextHashEnumeratorItem(enumerator *NSHashEnumerator) unsafe.Pointer
- func NSNextMapEnumeratorPair(enumerator *NSMapEnumerator, key unsafe.Pointer, value unsafe.Pointer) bool
- func NSNextNextDayDesignations() uintptrdeprecated
- func NSNumberFormatterSetDefaultFormatterBehavior(behavior NSNumberFormatterBehavior)
- func NSObjectAccessInstanceVariablesDirectly() bool
- func NSObjectAutomaticallyNotifiesObserversForKey(key *NSString) bool
- func NSObjectCancelPreviousPerformRequestsWithTarget(aTarget objc.ID)
- func NSObjectCancelPreviousPerformRequestsWithTargetSelectorObject(aTarget objc.ID, aSelector objc.SEL, anArgument objc.ID)
- func NSObjectClass() objc.Class
- func NSObjectClassForKeyedUnarchiver() objc.Class
- func NSObjectConformsToProtocol(protocol unsafe.Pointer) bool
- func NSObjectCopyWithZone(zone unsafe.Pointer) objc.ID
- func NSObjectHash() uint
- func NSObjectInstanceMethodForSelector(aSelector objc.SEL) unsafe.Pointer
- func NSObjectInstancesRespondToSelector(aSelector objc.SEL) bool
- func NSObjectIsSubclassOfClass(aClass objc.Class) bool
- func NSObjectMutableCopyWithZone(zone unsafe.Pointer) objc.ID
- func NSObjectResolveClassMethod(sel objc.SEL) bool
- func NSObjectResolveInstanceMethod(sel objc.SEL) bool
- func NSObjectSetKeysTriggerChangeNotificationsForDependentKey(keys *NSArray[objc.ID], dependentKey *NSString)deprecated
- func NSObjectSetVersion(aVersion int)
- func NSObjectSuperclass() objc.Class
- func NSObjectUseStoredAccessor() booldeprecated
- func NSObjectVersion() int
- func NSOffsetRect(aRect corefoundation.CGRect, dX float64, dY float64) corefoundation.CGRect
- func NSOperationNotSupportedForKeyException() uintptr
- func NSPageSize() uint
- func NSPersianCalendar() uintptrdeprecated
- func NSPersonNameComponentDelimiter() uintptr
- func NSPersonNameComponentFamilyName() uintptr
- func NSPersonNameComponentGivenName() uintptr
- func NSPersonNameComponentKey() uintptr
- func NSPersonNameComponentMiddleName() uintptr
- func NSPersonNameComponentNickname() uintptr
- func NSPersonNameComponentPrefix() uintptr
- func NSPersonNameComponentSuffix() uintptr
- func NSPointFromCGPoint(cgpoint corefoundation.CGPoint) corefoundation.CGPoint
- func NSPointFromString(aString *NSString) corefoundation.CGPoint
- func NSPointInRect(aPoint corefoundation.CGPoint, aRect corefoundation.CGRect) bool
- func NSPointToCGPoint(nspoint corefoundation.CGPoint) corefoundation.CGPoint
- func NSPointerArrayPointerArrayWithStrongObjects() objc.IDdeprecated
- func NSPointerArrayPointerArrayWithWeakObjects() objc.IDdeprecated
- func NSPortCoderPortCoderWithReceivePortSendPortComponents(rcvPort *NSPort, sndPort *NSPort, comps *NSArray[objc.ID]) objc.IDdeprecated
- func NSPositiveCurrencyFormatString() uintptrdeprecated
- func NSPriorDayDesignations() uintptrdeprecated
- func NSProgressAddSubscriberForFileURLWithPublishingHandler(url *NSURL, publishingHandler objc.Block) objc.ID
- func NSProgressFileAnimationImageKey() uintptr
- func NSProgressFileAnimationImageOriginalRectKey() uintptr
- func NSProgressFileIconKey() uintptr
- func NSProgressRemoveSubscriber(subscriber objc.ID)
- func NSPropertyListSerializationPropertyListFromDataMutabilityOptionFormatErrorDescription(data *NSData, opt NSPropertyListMutabilityOptions, ...) objc.IDdeprecated
- func NSPropertyListSerializationPropertyListIsValidForFormat(plist objc.ID, format NSPropertyListFormat) bool
- func NSPropertyListSerializationPropertyListWithDataOptionsFormatError(data *NSData, opt NSPropertyListMutabilityOptions, ...) (objc.ID, error)
- func NSPropertyListSerializationPropertyListWithStreamOptionsFormatError(stream *NSInputStream, opt NSPropertyListMutabilityOptions, ...) (objc.ID, error)
- func NSPropertyListSerializationWritePropertyListToStreamFormatOptionsError(plist objc.ID, stream *NSOutputStream, format NSPropertyListFormat, opt uint) (int, error)
- func NSProtocolFromString(namestr *NSString) unsafe.Pointer
- func NSProxyAlloc() objc.ID
- func NSProxyAllocWithZone(zone unsafe.Pointer) objc.ID
- func NSProxyClass() objc.Class
- func NSProxyRespondsToSelector(aSelector objc.SEL) bool
- func NSRealMemoryAvailable() uintdeprecated
- func NSReallocateCollectable(ptr unsafe.Pointer, size uint, options uint) unsafe.Pointer
- func NSRectFromCGRect(cgrect corefoundation.CGRect) corefoundation.CGRect
- func NSRectFromString(aString *NSString) corefoundation.CGRect
- func NSRectToCGRect(nsrect corefoundation.CGRect) corefoundation.CGRect
- func NSRecycleZone(zone unsafe.Pointer)
- func NSRegistrationDomain() uintptr
- func NSReplacementIndexAttributeName() uintptr
- func NSRepublicOfChinaCalendar() uintptrdeprecated
- func NSResetHashTable(table *NSHashTable[objc.ID])
- func NSResetMapTable(table *NSMapTable[objc.ID, objc.ID])
- func NSRoundDownToMultipleOfPageSize(bytes_ uint) uint
- func NSRoundUpToMultipleOfPageSize(bytes_ uint) uint
- func NSScannerLocalizedScannerWithString(string_ *NSString) objc.ID
- func NSScriptSuiteRegistrySetSharedScriptSuiteRegistry(registry *NSScriptSuiteRegistry)
- func NSSelectorFromString(aSelectorName *NSString) objc.SEL
- func NSSetUncaughtExceptionHandler(arg unsafe.Pointer)
- func NSSetZoneName(zone unsafe.Pointer, name *NSString)
- func NSShortDateFormatString() uintptrdeprecated
- func NSShortMonthNameArray() uintptrdeprecated
- func NSShortTimeDateFormatString() uintptrdeprecated
- func NSShortWeekDayNameArray() uintptrdeprecated
- func NSShouldRetainWithZone(anObject objc.ID, requestedZone unsafe.Pointer) booldeprecated
- func NSSizeFromCGSize(cgsize corefoundation.CGSize) corefoundation.CGSize
- func NSSizeFromString(aString *NSString) corefoundation.CGSize
- func NSSizeToCGSize(nssize corefoundation.CGSize) corefoundation.CGSize
- func NSSocketPortNameServerSharedInstance() objc.ID
- func NSStreamGetBoundStreamsWithBufferSizeInputStreamOutputStream(bufferSize uint, inputStream *NSInputStream, outputStream *NSOutputStream)
- func NSStreamGetStreamsToHostPortInputStreamOutputStream(host *NSHost, port int, inputStream *NSInputStream, ...)deprecated
- func NSStreamGetStreamsToHostWithNamePortInputStreamOutputStream(hostname *NSString, port int, inputStream *NSInputStream, ...)deprecated
- func NSStringAvailableStringEncodings() *uint
- func NSStringDefaultCStringEncoding() uint
- func NSStringStringEncodingForDataEncodingOptionsConvertedStringUsedLossyConversion(data *NSData, opts *NSDictionary[*NSString, objc.ID], string_ *NSString, ...) uint
- func NSStringStringWithCString(bytes_ string) objc.IDdeprecated
- func NSStringStringWithCStringLength(bytes_ string, length uint) objc.IDdeprecated
- func NSStringStringWithContentsOfFile(path *NSString) objc.IDdeprecated
- func NSStringStringWithContentsOfURL(url *NSURL) objc.IDdeprecated
- func NSSwapBigDoubleToHost(x NSSwappedDouble) float64
- func NSSwapBigFloatToHost(x NSSwappedFloat) float32
- func NSSwapBigIntToHost(x uint) uint
- func NSSwapBigLongLongToHost(x uint64) uint64
- func NSSwapBigLongToHost(x uint) uint
- func NSSwapBigShortToHost(x uint16) uint16
- func NSSwapHostIntToBig(x uint) uint
- func NSSwapHostIntToLittle(x uint) uint
- func NSSwapHostLongLongToBig(x uint64) uint64
- func NSSwapHostLongLongToLittle(x uint64) uint64
- func NSSwapHostLongToBig(x uint) uint
- func NSSwapHostLongToLittle(x uint) uint
- func NSSwapHostShortToBig(x uint16) uint16
- func NSSwapHostShortToLittle(x uint16) uint16
- func NSSwapInt(inv uint) uint
- func NSSwapLittleDoubleToHost(x NSSwappedDouble) float64
- func NSSwapLittleFloatToHost(x NSSwappedFloat) float32
- func NSSwapLittleIntToHost(x uint) uint
- func NSSwapLittleLongLongToHost(x uint64) uint64
- func NSSwapLittleLongToHost(x uint) uint
- func NSSwapLittleShortToHost(x uint16) uint16
- func NSSwapLong(inv uint) uint
- func NSSwapLongLong(inv uint64) uint64
- func NSSwapShort(inv uint16) uint16
- func NSThisDayDesignations() uintptrdeprecated
- func NSThousandsSeparator() uintptrdeprecated
- func NSThreadDetachNewThreadSelectorToTargetWithObject(selector objc.SEL, target objc.ID, argument objc.ID)
- func NSThreadDetachNewThreadWith(block func())
- func NSThreadExit()
- func NSThreadIsMainThread() bool
- func NSThreadIsMultiThreaded() bool
- func NSThreadSetThreadPriority(p float64) bool
- func NSThreadSleepForTimeInterval(ti float64)
- func NSThreadSleepUntilDate(date *NSDate)
- func NSThreadThreadPriority() float64
- func NSTimeDateFormatString() uintptrdeprecated
- func NSTimeFormatString() uintptrdeprecated
- func NSTimeZoneResetSystemTimeZone()
- func NSTimeZoneSetAbbreviationDictionary(abbreviationDictionary *NSDictionary[*NSString, *NSString])
- func NSTimeZoneSetDefaultTimeZone(defaultTimeZone *NSTimeZone)
- func NSURLApplicationIsScriptableKey() uintptr
- func NSURLAuthenticationMethodClientCertificate() uintptr
- func NSURLAuthenticationMethodDefault() uintptr
- func NSURLAuthenticationMethodHTMLForm() uintptr
- func NSURLAuthenticationMethodHTTPBasic() uintptr
- func NSURLAuthenticationMethodHTTPDigest() uintptr
- func NSURLAuthenticationMethodNTLM() uintptr
- func NSURLAuthenticationMethodNegotiate() uintptr
- func NSURLAuthenticationMethodServerTrust() uintptr
- func NSURLCacheSetSharedURLCache(sharedURLCache *NSURLCache)
- func NSURLConnectionCanHandleRequest(request *NSURLRequest) bool
- func NSURLConnectionSendAsynchronousRequestQueueCompletionHandler(request *NSURLRequest, queue *NSOperationQueue, ...)
- func NSURLCredentialStorageRemoveSynchronizableCredentials() uintptr
- func NSURLDownloadCanResumeDownloadDecodedWithEncodingMIMEType(mIMEType *NSString) bool
- func NSURLErrorBackgroundTaskCancelledReasonKey() uintptr
- func NSURLErrorFailingURLErrorKey() uintptr
- func NSURLErrorFailingURLPeerTrustErrorKey() uintptr
- func NSURLErrorFailingURLStringErrorKey() uintptr
- func NSURLFileScheme() uintptr
- func NSURLHandleCanInitWithURL(anURL *NSURL) booldeprecated
- func NSURLHandleRegisterURLHandleClass(anURLHandleSubclass objc.Class)deprecated
- func NSURLHandleURLHandleClassForURL(anURL *NSURL) objc.Classdeprecated
- func NSURLProtectionSpaceFTP() uintptr
- func NSURLProtectionSpaceFTPProxy() uintptr
- func NSURLProtectionSpaceHTTP() uintptr
- func NSURLProtectionSpaceHTTPProxy() uintptr
- func NSURLProtectionSpaceHTTPS() uintptr
- func NSURLProtectionSpaceHTTPSProxy() uintptr
- func NSURLProtectionSpaceSOCKSProxy() uintptr
- func NSURLProtocolCanInitWithRequest(request *NSURLRequest) bool
- func NSURLProtocolCanInitWithTask(task *NSURLSessionTask) bool
- func NSURLProtocolPropertyForKeyInRequest(key *NSString, request *NSURLRequest) objc.ID
- func NSURLProtocolRegisterClass(protocolClass objc.Class) bool
- func NSURLProtocolRemovePropertyForKeyInRequest(key *NSString, request *NSMutableURLRequest)
- func NSURLProtocolRequestIsCacheEquivalentToRequest(a *NSURLRequest, b *NSURLRequest) bool
- func NSURLProtocolSetPropertyForKeyInRequest(value objc.ID, key *NSString, request *NSMutableURLRequest)
- func NSURLProtocolUnregisterClass(protocolClass objc.Class)
- func NSURLQuarantinePropertiesKey() uintptr
- func NSURLRequestSupportsSecureCoding() bool
- func NSURLSessionDownloadTaskResumeData() uintptr
- func NSURLSessionTaskPriorityDefault() uintptr
- func NSURLSessionTaskPriorityHigh() uintptr
- func NSURLSessionTaskPriorityLow() uintptr
- func NSURLSessionTransferSizeUnknown() int64
- func NSURLSessionUploadTaskResumeData() uintptr
- func NSURLTagNamesKey() uintptr
- func NSURLThumbnailKey() uintptrdeprecated
- func NSURLWriteBookmarkDataToURLOptionsError(bookmarkData *NSData, bookmarkFileURL *NSURL, options uint) (bool, error)
- func NSUbiquitousKeyValueStoreChangeReasonKey() uintptr
- func NSUbiquitousKeyValueStoreChangedKeysKey() uintptr
- func NSUnarchiverDecodeClassNameAsClassName(inArchiveName *NSString, trueName *NSString)
- func NSUnarchiverUnarchiveObjectWithData(data *NSData) objc.ID
- func NSUnarchiverUnarchiveObjectWithFile(path *NSString) objc.ID
- func NSUndoManagerGroupIsDiscardableKey() uintptr
- func NSUnionRect(aRect corefoundation.CGRect, bRect corefoundation.CGRect) corefoundation.CGRect
- func NSUserActivityDeleteAllSavedUserActivitiesWithCompletionHandler(handler func())
- func NSUserActivityDeleteSavedUserActivitiesWithPersistentIdentifiersCompletionHandler(persistentIdentifiers *NSArray[*NSString], handler func())
- func NSUserActivityTypeBrowsingWeb() uintptr
- func NSUserDefaultsResetStandardUserDefaults()
- func NSUserNotificationDefaultSoundName() uintptrdeprecated
- func NSValueTransformerAllowsReverseTransformation() bool
- func NSValueTransformerSetValueTransformerForName(transformer *NSValueTransformer, name *NSString)
- func NSValueTransformerTransformedValueClass() objc.Class
- func NSWeekDayNameArray() uintptrdeprecated
- func NSWidth(aRect corefoundation.CGRect) float64
- func NSXMLDocumentReplacementClassForClass(cls objc.Class) objc.Class
- func NSXMLNodeAttributeWithNameStringValue(name *NSString, stringValue *NSString) objc.ID
- func NSXMLNodeAttributeWithNameURIStringValue(name *NSString, uRI *NSString, stringValue *NSString) objc.ID
- func NSXMLNodeCommentWithStringValue(stringValue *NSString) objc.ID
- func NSXMLNodeDTDNodeWithXMLString(string_ *NSString) objc.ID
- func NSXMLNodeDocument() objc.ID
- func NSXMLNodeDocumentWithRootElement(element *NSXMLElement) objc.ID
- func NSXMLNodeElementWithName(name *NSString) objc.ID
- func NSXMLNodeElementWithNameChildrenAttributes(name *NSString, children *NSArray[*NSXMLNode], attributes *NSArray[*NSXMLNode]) objc.ID
- func NSXMLNodeElementWithNameStringValue(name *NSString, string_ *NSString) objc.ID
- func NSXMLNodeElementWithNameURI(name *NSString, uRI *NSString) objc.ID
- func NSXMLNodeNamespaceWithNameStringValue(name *NSString, stringValue *NSString) objc.ID
- func NSXMLNodeProcessingInstructionWithNameStringValue(name *NSString, stringValue *NSString) objc.ID
- func NSXMLNodeTextWithStringValue(stringValue *NSString) objc.ID
- func NSYearMonthWeekDesignations() uintptrdeprecated
- func NSZeroPoint() corefoundation.CGPoint
- func NSZeroRect() corefoundation.CGRect
- func NSZeroSize() corefoundation.CGSize
- func NSZoneCalloc(zone unsafe.Pointer, numElems uint, byteSize uint) unsafe.Pointer
- func NSZoneFree(zone unsafe.Pointer, ptr unsafe.Pointer)
- func NSZoneFromPointer(ptr unsafe.Pointer) unsafe.Pointer
- func NSZoneMalloc(zone unsafe.Pointer, size uint) unsafe.Pointer
- func NSZoneRealloc(zone unsafe.Pointer, ptr unsafe.Pointer, size uint) unsafe.Pointer
- func ObjectGetClassName(obj objc.ID) string
- func ObjectGetIndexedIvars(obj objc.ID) unsafe.Pointer
- func SelGetName(sel objc.SEL) string
- func SelGetUid(str string) objc.SEL
- func SelIsMapped(sel objc.SEL) bool
- func SelRegisterName(str string) objc.SEL
- func SymbolAvailable(symbol string) bool
- type Acl_entry_id_t
- type Acl_flag_t
- type Acl_perm_t
- type Acl_tag_t
- type Acl_type_t
- type Clockid_t
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type Filesec_property_t
- type Id
- type Idtype_t
- type Ipc_info_object_type_t
- type Launch_data_type_t
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type Mach_vm_range_flags_t
- type Mach_vm_range_flavor_t
- type Mach_vm_range_tag_t
- type Mpo_flags_t
- type NSActivityOptions
- type NSAffineTransform
- func (o *NSAffineTransform) AppendTransform(transform *NSAffineTransform)
- func (o *NSAffineTransform) Init() *NSAffineTransform
- func (o *NSAffineTransform) InitWithTransform(transform *NSAffineTransform) *NSAffineTransform
- func (o *NSAffineTransform) Invert()
- func (o *NSAffineTransform) PrependTransform(transform *NSAffineTransform)
- func (o *NSAffineTransform) RotateByDegrees(angle float64)
- func (o *NSAffineTransform) RotateByRadians(angle float64)
- func (o *NSAffineTransform) ScaleBy(scale float64)
- func (o *NSAffineTransform) ScaleXByYBy(scaleX float64, scaleY float64)
- func (o *NSAffineTransform) SetTransformStruct(transformStruct NSAffineTransformStruct)
- func (o *NSAffineTransform) TransformPoint(aPoint corefoundation.CGPoint) corefoundation.CGPoint
- func (o *NSAffineTransform) TransformSize(aSize corefoundation.CGSize) corefoundation.CGSize
- func (o *NSAffineTransform) TransformStruct() NSAffineTransformStruct
- func (o *NSAffineTransform) TranslateXByYBy(deltaX float64, deltaY float64)
- type NSAffineTransformStruct
- type NSAlignmentOptions
- type NSAppleEventDescriptor
- func NSAppleEventDescriptorAppleEventWithEventClassEventIDTargetDescriptorReturnIDTransactionID(eventClass uint, eventID uint, targetDescriptor *NSAppleEventDescriptor, ...) *NSAppleEventDescriptor
- func NSAppleEventDescriptorCurrentProcessDescriptor() *NSAppleEventDescriptor
- func NSAppleEventDescriptorDescriptorWithApplicationURL(applicationURL *NSURL) *NSAppleEventDescriptor
- func NSAppleEventDescriptorDescriptorWithBoolean(boolean uint8) *NSAppleEventDescriptor
- func NSAppleEventDescriptorDescriptorWithBundleIdentifier(bundleIdentifier *NSString) *NSAppleEventDescriptor
- func NSAppleEventDescriptorDescriptorWithDate(date *NSDate) *NSAppleEventDescriptor
- func NSAppleEventDescriptorDescriptorWithDescriptorTypeBytesLength(descriptorType uint, bytes_ unsafe.Pointer, byteCount uint) *NSAppleEventDescriptor
- func NSAppleEventDescriptorDescriptorWithDescriptorTypeData(descriptorType uint, data *NSData) *NSAppleEventDescriptor
- func NSAppleEventDescriptorDescriptorWithDouble(doubleValue float64) *NSAppleEventDescriptor
- func NSAppleEventDescriptorDescriptorWithEnumCode(enumerator uint) *NSAppleEventDescriptor
- func NSAppleEventDescriptorDescriptorWithFileURL(fileURL *NSURL) *NSAppleEventDescriptor
- func NSAppleEventDescriptorDescriptorWithInt32(signedInt int) *NSAppleEventDescriptor
- func NSAppleEventDescriptorDescriptorWithProcessIdentifier(processIdentifier int) *NSAppleEventDescriptor
- func NSAppleEventDescriptorDescriptorWithString(string_ *NSString) *NSAppleEventDescriptor
- func NSAppleEventDescriptorDescriptorWithTypeCode(typeCode uint) *NSAppleEventDescriptor
- func NSAppleEventDescriptorFromID(id objc.ID) *NSAppleEventDescriptor
- func NSAppleEventDescriptorListDescriptor() *NSAppleEventDescriptor
- func NSAppleEventDescriptorNullDescriptor() *NSAppleEventDescriptor
- func NSAppleEventDescriptorRecordDescriptor() *NSAppleEventDescriptor
- func (o *NSAppleEventDescriptor) AeDesc() unsafe.Pointer
- func (o *NSAppleEventDescriptor) AttributeDescriptorForKeyword(keyword uint) *NSAppleEventDescriptor
- func (o *NSAppleEventDescriptor) BooleanValue() uint8
- func (o *NSAppleEventDescriptor) CoerceToDescriptorType(descriptorType uint) *NSAppleEventDescriptor
- func (o *NSAppleEventDescriptor) Data() *NSData
- func (o *NSAppleEventDescriptor) DateValue() *NSDate
- func (o *NSAppleEventDescriptor) DescriptorAtIndex(index int) *NSAppleEventDescriptor
- func (o *NSAppleEventDescriptor) DescriptorForKeyword(keyword uint) *NSAppleEventDescriptor
- func (o *NSAppleEventDescriptor) DescriptorType() uint
- func (o *NSAppleEventDescriptor) DoubleValue() float64
- func (o *NSAppleEventDescriptor) EnumCodeValue() uint
- func (o *NSAppleEventDescriptor) EventClass() uint
- func (o *NSAppleEventDescriptor) EventID() uint
- func (o *NSAppleEventDescriptor) FileURLValue() *NSURL
- func (o *NSAppleEventDescriptor) InitListDescriptor() *NSAppleEventDescriptor
- func (o *NSAppleEventDescriptor) InitRecordDescriptor() *NSAppleEventDescriptor
- func (o *NSAppleEventDescriptor) InitWithAEDescNoCopy(aeDesc *ae.AEDesc) *NSAppleEventDescriptor
- func (o *NSAppleEventDescriptor) InitWithDescriptorTypeBytesLength(descriptorType uint, bytes_ unsafe.Pointer, byteCount uint) *NSAppleEventDescriptor
- func (o *NSAppleEventDescriptor) InitWithDescriptorTypeData(descriptorType uint, data *NSData) *NSAppleEventDescriptor
- func (o *NSAppleEventDescriptor) InitWithEventClassEventIDTargetDescriptorReturnIDTransactionID(eventClass uint, eventID uint, targetDescriptor *NSAppleEventDescriptor, ...) *NSAppleEventDescriptor
- func (o *NSAppleEventDescriptor) InsertDescriptorAtIndex(descriptor *NSAppleEventDescriptor, index int)
- func (o *NSAppleEventDescriptor) Int32Value() int
- func (o *NSAppleEventDescriptor) IsRecordDescriptor() bool
- func (o *NSAppleEventDescriptor) KeywordForDescriptorAtIndex(index int) uint
- func (o *NSAppleEventDescriptor) NumberOfItems() int
- func (o *NSAppleEventDescriptor) ParamDescriptorForKeyword(keyword uint) *NSAppleEventDescriptor
- func (o *NSAppleEventDescriptor) RemoveDescriptorAtIndex(index int)
- func (o *NSAppleEventDescriptor) RemoveDescriptorWithKeyword(keyword uint)
- func (o *NSAppleEventDescriptor) RemoveParamDescriptorWithKeyword(keyword uint)
- func (o *NSAppleEventDescriptor) ReturnID() int16
- func (o *NSAppleEventDescriptor) SendEventWithOptionsTimeoutError(sendOptions NSAppleEventSendOptions, timeoutInSeconds float64) (*NSAppleEventDescriptor, error)
- func (o *NSAppleEventDescriptor) SetAttributeDescriptorForKeyword(descriptor *NSAppleEventDescriptor, keyword uint)
- func (o *NSAppleEventDescriptor) SetDescriptorForKeyword(descriptor *NSAppleEventDescriptor, keyword uint)
- func (o *NSAppleEventDescriptor) SetParamDescriptorForKeyword(descriptor *NSAppleEventDescriptor, keyword uint)
- func (o *NSAppleEventDescriptor) StringValue() *NSString
- func (o *NSAppleEventDescriptor) TransactionID() int
- func (o *NSAppleEventDescriptor) TypeCodeValue() uint
- type NSAppleEventManager
- func (o *NSAppleEventManager) AppleEventForSuspensionID(suspensionID unsafe.Pointer) *NSAppleEventDescriptor
- func (o *NSAppleEventManager) CurrentAppleEvent() *NSAppleEventDescriptor
- func (o *NSAppleEventManager) CurrentReplyAppleEvent() *NSAppleEventDescriptor
- func (o *NSAppleEventManager) DispatchRawAppleEventWithRawReplyHandlerRefCon(theAppleEvent *ae.AEDesc, theReply *ae.AEDesc, handlerRefCon unsafe.Pointer) int16
- func (o *NSAppleEventManager) RemoveEventHandlerForEventClassAndEventID(eventClass uint, eventID uint)
- func (o *NSAppleEventManager) ReplyAppleEventForSuspensionID(suspensionID unsafe.Pointer) *NSAppleEventDescriptor
- func (o *NSAppleEventManager) ResumeWithSuspensionID(suspensionID unsafe.Pointer)
- func (o *NSAppleEventManager) SetCurrentAppleEventAndReplyEventWithSuspensionID(suspensionID unsafe.Pointer)
- func (o *NSAppleEventManager) SetEventHandlerAndSelectorForEventClassAndEventID(handler objc.ID, handleEventSelector objc.SEL, eventClass uint, eventID uint)
- func (o *NSAppleEventManager) SuspendCurrentAppleEvent() unsafe.Pointer
- type NSAppleEventManagerSuspension
- type NSAppleEventSendOptions
- type NSAppleScript
- func (o *NSAppleScript) CompileAndReturnError(errorInfo *NSDictionary[*NSString, objc.ID]) bool
- func (o *NSAppleScript) ExecuteAndReturnError(errorInfo *NSDictionary[*NSString, objc.ID]) *NSAppleEventDescriptor
- func (o *NSAppleScript) ExecuteAppleEventError(event *NSAppleEventDescriptor, errorInfo *NSDictionary[*NSString, objc.ID]) *NSAppleEventDescriptor
- func (o *NSAppleScript) InitWithContentsOfURLError(url *NSURL, errorInfo *NSDictionary[*NSString, objc.ID]) *NSAppleScript
- func (o *NSAppleScript) InitWithSource(source *NSString) *NSAppleScript
- func (o *NSAppleScript) IsCompiled() bool
- func (o *NSAppleScript) Source() *NSString
- type NSArchiver
- func (o *NSArchiver) ArchiverData() *NSMutableData
- func (o *NSArchiver) ClassNameEncodedForTrueClassName(trueName *NSString) *NSString
- func (o *NSArchiver) EncodeClassNameIntoClassName(trueName *NSString, inArchiveName *NSString)
- func (o *NSArchiver) InitForWritingWithMutableData(mdata *NSMutableData) *NSArchiver
- func (o *NSArchiver) ReplaceObjectWithObject(object objc.ID, newObject objc.ID)
- type NSArray
- func NSAllHashTableObjects(table *NSHashTable[objc.ID]) *NSArray[objc.ID]
- func NSAllMapTableKeys(table *NSMapTable[objc.ID, objc.ID]) *NSArray[objc.ID]
- func NSAllMapTableValues(table *NSMapTable[objc.ID, objc.ID]) *NSArray[objc.ID]
- func NSArrayArray() *NSArray[objc.ID]
- func NSArrayArrayWithArray(array *NSArray[objc.ID]) *NSArray[objc.ID]
- func NSArrayArrayWithContentsOfFile(path *NSString) *NSArray[objc.ID]deprecated
- func NSArrayArrayWithContentsOfURL(url *NSURL) *NSArray[objc.ID]deprecated
- func NSArrayArrayWithContentsOfURLError(url *NSURL) (*NSArray[objc.ID], error)
- func NSArrayArrayWithObject(anObject objc.ID) *NSArray[objc.ID]
- func NSArrayArrayWithObjectsCount(objects unsafe.Pointer, cnt uint) *NSArray[objc.ID]
- func NSArrayFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSArray[ObjectType]
- func NSBundleAllBundles() *NSArray[*NSBundle]
- func NSBundleAllFrameworks() *NSArray[*NSBundle]
- func NSBundlePathsForResourcesOfTypeInDirectory(ext *NSString, bundlePath *NSString) *NSArray[*NSString]
- func NSBundlePreferredLocalizationsFromArray(localizationsArray *NSArray[*NSString]) *NSArray[*NSString]
- func NSBundlePreferredLocalizationsFromArrayForPreferences(localizationsArray *NSArray[*NSString], preferencesArray *NSArray[*NSString]) *NSArray[*NSString]
- func NSBundleURLsForResourcesWithExtensionSubdirectoryInBundleWithURL(ext *NSString, subpath *NSString, bundleURL *NSURL) *NSArray[*NSURL]
- func NSConnectionAllConnections() *NSArray[*NSConnection]
- func NSFileCoordinatorFilePresenters() *NSArray[NSFilePresenter]
- func NSFileVersionOtherVersionsOfItemAtURL(url *NSURL) *NSArray[*NSFileVersion]
- func NSFileVersionUnresolvedConflictVersionsOfItemAtURL(url *NSURL) *NSArray[*NSFileVersion]
- func NSHTTPCookieCookiesWithResponseHeaderFieldsForURL(headerFields *NSDictionary[*NSString, *NSString], uRL *NSURL) *NSArray[*NSHTTPCookie]
- func NSKeyedUnarchiverUnarchivedArrayOfObjectsOfClassFromDataError(cls objc.Class, data *NSData) (*NSArray[objc.ID], error)
- func NSKeyedUnarchiverUnarchivedArrayOfObjectsOfClassesFromDataError(classes *NSSet[objc.Class], data *NSData) (*NSArray[objc.ID], error)
- func NSLinguisticTaggerAvailableTagSchemesForLanguage(language *NSString) *NSArray[*NSString]deprecated
- func NSLinguisticTaggerAvailableTagSchemesForUnitLanguage(unit NSLinguisticTaggerUnit, language *NSString) *NSArray[*NSString]deprecated
- func NSLinguisticTaggerTagsForStringRangeUnitSchemeOptionsOrthographyTokenRanges(string_ *NSString, range_ NSRange, unit NSLinguisticTaggerUnit, ...) *NSArray[*NSString]deprecated
- func NSLocaleAvailableLocaleIdentifiers() *NSArray[*NSString]
- func NSLocaleCommonISOCurrencyCodes() *NSArray[*NSString]
- func NSLocaleISOCountryCodes() *NSArray[*NSString]
- func NSLocaleISOCurrencyCodes() *NSArray[*NSString]
- func NSLocaleISOLanguageCodes() *NSArray[*NSString]
- func NSLocalePreferredLanguages() *NSArray[*NSString]
- func NSMorphologyCustomPronounRequiredKeysForLanguage(language *NSString) *NSArray[*NSString]
- func NSObjectClassFallbacksForKeyedArchiver() *NSArray[*NSString]
- func NSSearchPathForDirectoriesInDomains(directory NSSearchPathDirectory, domainMask NSSearchPathDomainMask, ...) *NSArray[*NSString]
- func NSSecureUnarchiveFromDataTransformerAllowedTopLevelClasses() *NSArray[objc.Class]
- func NSThreadCallStackReturnAddresses() *NSArray[*NSNumber]
- func NSThreadCallStackSymbols() *NSArray[*NSString]
- func NSTimeZoneKnownTimeZoneNames() *NSArray[*NSString]
- func NSValueTransformerValueTransformerNames() *NSArray[*NSString]
- func (o *NSArray[ObjectType]) AddObserverToObjectsAtIndexesForKeyPathOptionsContext(observer *NSObject, indexes *NSIndexSet, keyPath *NSString, ...)
- func (o *NSArray[ObjectType]) ArrayByAddingObject(anObject ObjectType) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) ArrayByAddingObjectsFromArray(otherArray *NSArray[ObjectType]) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) ArrayByApplyingDifference(difference *NSOrderedCollectionDifference[ObjectType]) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) ComponentsJoinedByString(separator *NSString) *NSString
- func (o *NSArray[ObjectType]) ContainsObject(anObject ObjectType) bool
- func (o *NSArray[ObjectType]) Count() uint
- func (o *NSArray[ObjectType]) DescriptionWithLocale(locale objc.ID) *NSString
- func (o *NSArray[ObjectType]) DescriptionWithLocaleIndent(locale objc.ID, level uint) *NSString
- func (o *NSArray[ObjectType]) DifferenceFromArray(other *NSArray[ObjectType]) *NSOrderedCollectionDifference[ObjectType]
- func (o *NSArray[ObjectType]) DifferenceFromArrayWithOptions(other *NSArray[ObjectType], ...) *NSOrderedCollectionDifference[ObjectType]
- func (o *NSArray[ObjectType]) DifferenceFromArrayWithOptionsUsingEquivalenceTest(other *NSArray[ObjectType], ...) *NSOrderedCollectionDifference[ObjectType]
- func (o *NSArray[ObjectType]) EnumerateObjectsAtIndexesOptionsUsing(s *NSIndexSet, opts NSEnumerationOptions, block objc.Block)
- func (o *NSArray[ObjectType]) EnumerateObjectsUsing(block objc.Block)
- func (o *NSArray[ObjectType]) EnumerateObjectsWithOptionsUsing(opts NSEnumerationOptions, block objc.Block)
- func (o *NSArray[ObjectType]) FilteredArrayUsingPredicate(predicate *NSPredicate) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) FirstObject() ObjectType
- func (o *NSArray[ObjectType]) FirstObjectCommonWithArray(otherArray *NSArray[ObjectType]) ObjectType
- func (o *NSArray[ObjectType]) GetObjects(objects unsafe.Pointer)deprecated
- func (o *NSArray[ObjectType]) GetObjectsRange(objects unsafe.Pointer, range_ NSRange)
- func (o *NSArray[ObjectType]) IndexOfObject(anObject ObjectType) uint
- func (o *NSArray[ObjectType]) IndexOfObjectAtIndexesOptionsPassingTest(s *NSIndexSet, opts NSEnumerationOptions, predicate objc.Block) uint
- func (o *NSArray[ObjectType]) IndexOfObjectIdenticalTo(anObject ObjectType) uint
- func (o *NSArray[ObjectType]) IndexOfObjectIdenticalToInRange(anObject ObjectType, range_ NSRange) uint
- func (o *NSArray[ObjectType]) IndexOfObjectInRange(anObject ObjectType, range_ NSRange) uint
- func (o *NSArray[ObjectType]) IndexOfObjectInSortedRangeOptionsUsingComparator(obj ObjectType, r NSRange, opts NSBinarySearchingOptions, ...) uint
- func (o *NSArray[ObjectType]) IndexOfObjectPassingTest(predicate objc.Block) uint
- func (o *NSArray[ObjectType]) IndexOfObjectWithOptionsPassingTest(opts NSEnumerationOptions, predicate objc.Block) uint
- func (o *NSArray[ObjectType]) IndexesOfObjectsAtIndexesOptionsPassingTest(s *NSIndexSet, opts NSEnumerationOptions, predicate objc.Block) *NSIndexSet
- func (o *NSArray[ObjectType]) IndexesOfObjectsPassingTest(predicate objc.Block) *NSIndexSet
- func (o *NSArray[ObjectType]) IndexesOfObjectsWithOptionsPassingTest(opts NSEnumerationOptions, predicate objc.Block) *NSIndexSet
- func (o *NSArray[ObjectType]) Init() *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) InitWithArray(array *NSArray[ObjectType]) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) InitWithArrayCopyItems(array *NSArray[ObjectType], flag bool) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) InitWithCoder(coder *NSCoder) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) InitWithContentsOfFile(path *NSString) *NSArray[ObjectType]deprecated
- func (o *NSArray[ObjectType]) InitWithContentsOfURL(url *NSURL) *NSArray[ObjectType]deprecated
- func (o *NSArray[ObjectType]) InitWithContentsOfURLError(url *NSURL) (*NSArray[ObjectType], error)
- func (o *NSArray[ObjectType]) InitWithObjectsCount(objects unsafe.Pointer, cnt uint) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) IsEqualToArray(otherArray *NSArray[ObjectType]) bool
- func (o *NSArray[ObjectType]) LastObject() ObjectType
- func (o *NSArray[ObjectType]) MakeObjectsPerformSelector(aSelector objc.SEL)
- func (o *NSArray[ObjectType]) MakeObjectsPerformSelectorWithObject(aSelector objc.SEL, argument objc.ID)
- func (o *NSArray[ObjectType]) ObjectAtIndex(index uint) ObjectType
- func (o *NSArray[ObjectType]) ObjectAtIndexedSubscript(idx uint) ObjectType
- func (o *NSArray[ObjectType]) ObjectEnumerator() *NSEnumerator[ObjectType]
- func (o *NSArray[ObjectType]) ObjectsAtIndexes(indexes *NSIndexSet) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) PathsMatchingExtensions(filterTypes *NSArray[*NSString]) *NSArray[*NSString]
- func (o *NSArray[ObjectType]) RemoveObserverFromObjectsAtIndexesForKeyPath(observer *NSObject, indexes *NSIndexSet, keyPath *NSString)
- func (o *NSArray[ObjectType]) RemoveObserverFromObjectsAtIndexesForKeyPathContext(observer *NSObject, indexes *NSIndexSet, keyPath *NSString, ...)
- func (o *NSArray[ObjectType]) ReverseObjectEnumerator() *NSEnumerator[ObjectType]
- func (o *NSArray[ObjectType]) SortedArrayHint() *NSData
- func (o *NSArray[ObjectType]) SortedArrayUsingComparator(cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) SortedArrayUsingDescriptors(sortDescriptors *NSArray[*NSSortDescriptor]) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) SortedArrayUsingFunctionContext(comparator unsafe.Pointer, context_ unsafe.Pointer) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) SortedArrayUsingFunctionContextHint(comparator unsafe.Pointer, context_ unsafe.Pointer, hint *NSData) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) SortedArrayUsingSelector(comparator objc.SEL) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) SortedArrayWithOptionsUsingComparator(opts NSSortOptions, cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) SubarrayWithRange(range_ NSRange) *NSArray[ObjectType]
- func (o *NSArray[ObjectType]) WriteToFileAtomically(path *NSString, useAuxiliaryFile bool) booldeprecated
- func (o *NSArray[ObjectType]) WriteToURLAtomically(url *NSURL, atomically bool) booldeprecated
- func (o *NSArray[ObjectType]) WriteToURLError(url *NSURL) (bool, error)
- type NSAssertionHandler
- type NSAttributedString
- func NSAttributedStringFromID(id objc.ID) *NSAttributedString
- func NSAttributedStringLocalizedAttributedStringWithFormat(format *NSAttributedString) *NSAttributedString
- func NSAttributedStringLocalizedAttributedStringWithFormatContext(format *NSAttributedString, context_ *NSDictionary[*NSString, objc.ID]) *NSAttributedString
- func NSAttributedStringLocalizedAttributedStringWithFormatOptions(format *NSAttributedString, options NSAttributedStringFormattingOptions) *NSAttributedString
- func NSAttributedStringLocalizedAttributedStringWithFormatOptionsContext(format *NSAttributedString, options NSAttributedStringFormattingOptions, ...) *NSAttributedString
- func (o *NSAttributedString) AttributeAtIndexEffectiveRange(attrName *NSString, location uint, range_ *NSRange) objc.ID
- func (o *NSAttributedString) AttributeAtIndexLongestEffectiveRangeInRange(attrName *NSString, location uint, range_ *NSRange, rangeLimit NSRange) objc.ID
- func (o *NSAttributedString) AttributedStringByInflectingString() *NSAttributedString
- func (o *NSAttributedString) AttributedSubstringFromRange(range_ NSRange) *NSAttributedString
- func (o *NSAttributedString) AttributesAtIndexEffectiveRange(location uint, range_ *NSRange) *NSDictionary[*NSString, objc.ID]
- func (o *NSAttributedString) AttributesAtIndexLongestEffectiveRangeInRange(location uint, range_ *NSRange, rangeLimit NSRange) *NSDictionary[*NSString, objc.ID]
- func (o *NSAttributedString) EnumerateAttributeInRangeOptionsUsing(attrName *NSString, enumerationRange NSRange, ...)
- func (o *NSAttributedString) EnumerateAttributesInRangeOptionsUsing(enumerationRange NSRange, opts NSAttributedStringEnumerationOptions, ...)
- func (o *NSAttributedString) InitWithAttributedString(attrStr *NSAttributedString) *NSAttributedString
- func (o *NSAttributedString) InitWithContentsOfMarkdownFileAtURLOptionsBaseURLError(markdownFile *NSURL, options *NSAttributedStringMarkdownParsingOptions, ...) (*NSAttributedString, error)
- func (o *NSAttributedString) InitWithFormatOptionsLocale(format *NSAttributedString, options NSAttributedStringFormattingOptions, ...) *NSAttributedString
- func (o *NSAttributedString) InitWithFormatOptionsLocaleArguments(format *NSAttributedString, options NSAttributedStringFormattingOptions, ...) *NSAttributedString
- func (o *NSAttributedString) InitWithFormatOptionsLocaleContext(format *NSAttributedString, options NSAttributedStringFormattingOptions, ...) *NSAttributedString
- func (o *NSAttributedString) InitWithFormatOptionsLocaleContextArguments(format *NSAttributedString, options NSAttributedStringFormattingOptions, ...) *NSAttributedString
- func (o *NSAttributedString) InitWithMarkdownOptionsBaseURLError(markdown *NSData, options *NSAttributedStringMarkdownParsingOptions, ...) (*NSAttributedString, error)
- func (o *NSAttributedString) InitWithMarkdownStringOptionsBaseURLError(markdownString *NSString, options *NSAttributedStringMarkdownParsingOptions, ...) (*NSAttributedString, error)
- func (o *NSAttributedString) InitWithString(str *NSString) *NSAttributedString
- func (o *NSAttributedString) InitWithStringAttributes(str *NSString, attrs *NSDictionary[*NSString, objc.ID]) *NSAttributedString
- func (o *NSAttributedString) IsEqualToAttributedString(other *NSAttributedString) bool
- func (o *NSAttributedString) Length() uint
- func (o *NSAttributedString) String() *NSString
- type NSAttributedStringEnumerationOptions
- type NSAttributedStringFormattingOptions
- type NSAttributedStringMarkdownInterpretedSyntax
- type NSAttributedStringMarkdownParsingFailurePolicy
- type NSAttributedStringMarkdownParsingOptions
- func (o *NSAttributedStringMarkdownParsingOptions) AllowsExtendedAttributes() bool
- func (o *NSAttributedStringMarkdownParsingOptions) AppliesSourcePositionAttributes() bool
- func (o *NSAttributedStringMarkdownParsingOptions) FailurePolicy() NSAttributedStringMarkdownParsingFailurePolicy
- func (o *NSAttributedStringMarkdownParsingOptions) Init() *NSAttributedStringMarkdownParsingOptions
- func (o *NSAttributedStringMarkdownParsingOptions) InterpretedSyntax() NSAttributedStringMarkdownInterpretedSyntax
- func (o *NSAttributedStringMarkdownParsingOptions) LanguageCode() *NSString
- func (o *NSAttributedStringMarkdownParsingOptions) SetAllowsExtendedAttributes(allowsExtendedAttributes bool)
- func (o *NSAttributedStringMarkdownParsingOptions) SetAppliesSourcePositionAttributes(appliesSourcePositionAttributes bool)
- func (o *NSAttributedStringMarkdownParsingOptions) SetFailurePolicy(failurePolicy NSAttributedStringMarkdownParsingFailurePolicy)
- func (o *NSAttributedStringMarkdownParsingOptions) SetInterpretedSyntax(interpretedSyntax NSAttributedStringMarkdownInterpretedSyntax)
- func (o *NSAttributedStringMarkdownParsingOptions) SetLanguageCode(languageCode *NSString)
- type NSAttributedStringMarkdownSourcePosition
- func (o *NSAttributedStringMarkdownSourcePosition) EndColumn() int
- func (o *NSAttributedStringMarkdownSourcePosition) EndLine() int
- func (o *NSAttributedStringMarkdownSourcePosition) InitWithStartLineStartColumnEndLineEndColumn(startLine int, startColumn int, endLine int, endColumn int) *NSAttributedStringMarkdownSourcePosition
- func (o *NSAttributedStringMarkdownSourcePosition) RangeInString(string_ *NSString) NSRange
- func (o *NSAttributedStringMarkdownSourcePosition) StartColumn() int
- func (o *NSAttributedStringMarkdownSourcePosition) StartLine() int
- type NSAutoreleasePool
- type NSBackgroundActivityResult
- type NSBackgroundActivityScheduler
- func (o *NSBackgroundActivityScheduler) Identifier() *NSString
- func (o *NSBackgroundActivityScheduler) InitWithIdentifier(identifier *NSString) *NSBackgroundActivityScheduler
- func (o *NSBackgroundActivityScheduler) Interval() float64
- func (o *NSBackgroundActivityScheduler) Invalidate()
- func (o *NSBackgroundActivityScheduler) QualityOfService() NSQualityOfService
- func (o *NSBackgroundActivityScheduler) Repeats() bool
- func (o *NSBackgroundActivityScheduler) ScheduleWith(block func(objc.Block))
- func (o *NSBackgroundActivityScheduler) SetInterval(interval float64)
- func (o *NSBackgroundActivityScheduler) SetQualityOfService(qualityOfService NSQualityOfService)
- func (o *NSBackgroundActivityScheduler) SetRepeats(repeats bool)
- func (o *NSBackgroundActivityScheduler) SetTolerance(tolerance float64)
- func (o *NSBackgroundActivityScheduler) ShouldDefer() bool
- func (o *NSBackgroundActivityScheduler) Tolerance() float64
- type NSBinarySearchingOptions
- type NSBlockOperation
- type NSBundle
- func NSBundleBundleForClass(aClass objc.Class) *NSBundle
- func NSBundleBundleWithIdentifier(identifier *NSString) *NSBundle
- func NSBundleBundleWithPath(path *NSString) *NSBundle
- func NSBundleBundleWithURL(url *NSURL) *NSBundle
- func NSBundleFromID(id objc.ID) *NSBundle
- func NSBundleMainBundle() *NSBundle
- func (o *NSBundle) AppStoreReceiptURL() *NSURL
- func (o *NSBundle) BuiltInPlugInsPath() *NSString
- func (o *NSBundle) BuiltInPlugInsURL() *NSURL
- func (o *NSBundle) BundleIdentifier() *NSString
- func (o *NSBundle) BundlePath() *NSString
- func (o *NSBundle) BundleURL() *NSURL
- func (o *NSBundle) ClassNamed(className *NSString) objc.Class
- func (o *NSBundle) DevelopmentLocalization() *NSString
- func (o *NSBundle) ExecutableArchitectures() *NSArray[*NSNumber]
- func (o *NSBundle) ExecutablePath() *NSString
- func (o *NSBundle) ExecutableURL() *NSURL
- func (o *NSBundle) InfoDictionary() *NSDictionary[*NSString, objc.ID]
- func (o *NSBundle) InitWithPath(path *NSString) *NSBundle
- func (o *NSBundle) InitWithURL(url *NSURL) *NSBundle
- func (o *NSBundle) IsLoaded() bool
- func (o *NSBundle) Load() bool
- func (o *NSBundle) LoadAndReturnError() (bool, error)
- func (o *NSBundle) Localizations() *NSArray[*NSString]
- func (o *NSBundle) LocalizedAttributedStringForKeyValueTable(key *NSString, value *NSString, tableName *NSString) *NSAttributedString
- func (o *NSBundle) LocalizedInfoDictionary() *NSDictionary[*NSString, objc.ID]
- func (o *NSBundle) LocalizedStringForKeyValueTable(key *NSString, value *NSString, tableName *NSString) *NSString
- func (o *NSBundle) LocalizedStringForKeyValueTableLocalizations(key *NSString, value *NSString, tableName *NSString, ...) *NSString
- func (o *NSBundle) ObjectForInfoDictionaryKey(key *NSString) objc.ID
- func (o *NSBundle) PathForAuxiliaryExecutable(executableName *NSString) *NSString
- func (o *NSBundle) PathForResourceOfType(name *NSString, ext *NSString) *NSString
- func (o *NSBundle) PathForResourceOfTypeInDirectory(name *NSString, ext *NSString, subpath *NSString) *NSString
- func (o *NSBundle) PathForResourceOfTypeInDirectoryForLocalization(name *NSString, ext *NSString, subpath *NSString, localizationName *NSString) *NSString
- func (o *NSBundle) PathsForResourcesOfTypeInDirectory(ext *NSString, subpath *NSString) *NSArray[*NSString]
- func (o *NSBundle) PathsForResourcesOfTypeInDirectoryForLocalization(ext *NSString, subpath *NSString, localizationName *NSString) *NSArray[*NSString]
- func (o *NSBundle) PreferredLocalizations() *NSArray[*NSString]
- func (o *NSBundle) PreflightAndReturnError() (bool, error)
- func (o *NSBundle) PrincipalClass() objc.Class
- func (o *NSBundle) PrivateFrameworksPath() *NSString
- func (o *NSBundle) PrivateFrameworksURL() *NSURL
- func (o *NSBundle) ResourcePath() *NSString
- func (o *NSBundle) ResourceURL() *NSURL
- func (o *NSBundle) SharedFrameworksPath() *NSString
- func (o *NSBundle) SharedFrameworksURL() *NSURL
- func (o *NSBundle) SharedSupportPath() *NSString
- func (o *NSBundle) SharedSupportURL() *NSURL
- func (o *NSBundle) URLForAuxiliaryExecutable(executableName *NSString) *NSURL
- func (o *NSBundle) URLForResourceWithExtension(name *NSString, ext *NSString) *NSURL
- func (o *NSBundle) URLForResourceWithExtensionSubdirectory(name *NSString, ext *NSString, subpath *NSString) *NSURL
- func (o *NSBundle) URLForResourceWithExtensionSubdirectoryLocalization(name *NSString, ext *NSString, subpath *NSString, localizationName *NSString) *NSURL
- func (o *NSBundle) URLsForResourcesWithExtensionSubdirectory(ext *NSString, subpath *NSString) *NSArray[*NSURL]
- func (o *NSBundle) URLsForResourcesWithExtensionSubdirectoryLocalization(ext *NSString, subpath *NSString, localizationName *NSString) *NSArray[*NSURL]
- func (o *NSBundle) Unload() bool
- type NSByteCountFormatter
- func (o *NSByteCountFormatter) AllowedUnits() NSByteCountFormatterUnits
- func (o *NSByteCountFormatter) AllowsNonnumericFormatting() bool
- func (o *NSByteCountFormatter) CountStyle() NSByteCountFormatterCountStyle
- func (o *NSByteCountFormatter) FormattingContext() NSFormattingContext
- func (o *NSByteCountFormatter) IncludesActualByteCount() bool
- func (o *NSByteCountFormatter) IncludesCount() bool
- func (o *NSByteCountFormatter) IncludesUnit() bool
- func (o *NSByteCountFormatter) IsAdaptive() bool
- func (o *NSByteCountFormatter) SetAdaptive(adaptive bool)
- func (o *NSByteCountFormatter) SetAllowedUnits(allowedUnits NSByteCountFormatterUnits)
- func (o *NSByteCountFormatter) SetAllowsNonnumericFormatting(allowsNonnumericFormatting bool)
- func (o *NSByteCountFormatter) SetCountStyle(countStyle NSByteCountFormatterCountStyle)
- func (o *NSByteCountFormatter) SetFormattingContext(formattingContext NSFormattingContext)
- func (o *NSByteCountFormatter) SetIncludesActualByteCount(includesActualByteCount bool)
- func (o *NSByteCountFormatter) SetIncludesCount(includesCount bool)
- func (o *NSByteCountFormatter) SetIncludesUnit(includesUnit bool)
- func (o *NSByteCountFormatter) SetZeroPadsFractionDigits(zeroPadsFractionDigits bool)
- func (o *NSByteCountFormatter) StringFromByteCount(byteCount int64) *NSString
- func (o *NSByteCountFormatter) StringFromMeasurement(measurement *NSMeasurement[*NSUnitInformationStorage]) *NSString
- func (o *NSByteCountFormatter) ZeroPadsFractionDigits() bool
- type NSByteCountFormatterCountStyle
- type NSByteCountFormatterUnits
- type NSCache
- func (o *NSCache[KeyType, ObjectType]) CountLimit() uint
- func (o *NSCache[KeyType, ObjectType]) Delegate() NSCacheDelegate
- func (o *NSCache[KeyType, ObjectType]) EvictsObjectsWithDiscardedContent() bool
- func (o *NSCache[KeyType, ObjectType]) Name() *NSString
- func (o *NSCache[KeyType, ObjectType]) ObjectForKey(key KeyType) ObjectType
- func (o *NSCache[KeyType, ObjectType]) RemoveAllObjects()
- func (o *NSCache[KeyType, ObjectType]) RemoveObjectForKey(key KeyType)
- func (o *NSCache[KeyType, ObjectType]) SetCountLimit(countLimit uint)
- func (o *NSCache[KeyType, ObjectType]) SetDelegate(delegate NSCacheDelegate)
- func (o *NSCache[KeyType, ObjectType]) SetEvictsObjectsWithDiscardedContent(evictsObjectsWithDiscardedContent bool)
- func (o *NSCache[KeyType, ObjectType]) SetName(name *NSString)
- func (o *NSCache[KeyType, ObjectType]) SetObjectForKey(obj ObjectType, key KeyType)
- func (o *NSCache[KeyType, ObjectType]) SetObjectForKeyCost(obj ObjectType, key KeyType, g uint)
- func (o *NSCache[KeyType, ObjectType]) SetTotalCostLimit(totalCostLimit uint)
- func (o *NSCache[KeyType, ObjectType]) TotalCostLimit() uint
- type NSCacheDelegate
- type NSCachedURLResponse
- func (o *NSCachedURLResponse) Data() *NSData
- func (o *NSCachedURLResponse) InitWithResponseData(response *NSURLResponse, data *NSData) *NSCachedURLResponse
- func (o *NSCachedURLResponse) InitWithResponseDataUserInfoStoragePolicy(response *NSURLResponse, data *NSData, ...) *NSCachedURLResponse
- func (o *NSCachedURLResponse) Response() *NSURLResponse
- func (o *NSCachedURLResponse) StoragePolicy() NSURLCacheStoragePolicy
- func (o *NSCachedURLResponse) UserInfo() *NSDictionary[objc.ID, objc.ID]
- type NSCalculationError
- func NSDecimalAdd(result *NSDecimal, leftOperand *NSDecimal, rightOperand *NSDecimal, ...) NSCalculationError
- func NSDecimalDivide(result *NSDecimal, leftOperand *NSDecimal, rightOperand *NSDecimal, ...) NSCalculationError
- func NSDecimalMultiply(result *NSDecimal, leftOperand *NSDecimal, rightOperand *NSDecimal, ...) NSCalculationError
- func NSDecimalMultiplyByPowerOf10(result *NSDecimal, number *NSDecimal, power int16, roundingMode NSRoundingMode) NSCalculationError
- func NSDecimalNormalize(number1 *NSDecimal, number2 *NSDecimal, roundingMode NSRoundingMode) NSCalculationError
- func NSDecimalPower(result *NSDecimal, number *NSDecimal, power uint, roundingMode NSRoundingMode) NSCalculationError
- func NSDecimalSubtract(result *NSDecimal, leftOperand *NSDecimal, rightOperand *NSDecimal, ...) NSCalculationError
- type NSCalendar
- func (o *NSCalendar) AMSymbol() *NSString
- func (o *NSCalendar) CalendarIdentifier() *NSString
- func (o *NSCalendar) CompareDateToDateToUnitGranularity(date1 *NSDate, date2 *NSDate, unit NSCalendarUnit) NSComparisonResult
- func (o *NSCalendar) ComponentFromDate(unit NSCalendarUnit, date *NSDate) int
- func (o *NSCalendar) ComponentsFromDate(unitFlags NSCalendarUnit, date *NSDate) *NSDateComponents
- func (o *NSCalendar) ComponentsFromDateComponentsToDateComponentsOptions(unitFlags NSCalendarUnit, startingDateComp *NSDateComponents, ...) *NSDateComponents
- func (o *NSCalendar) ComponentsFromDateToDateOptions(unitFlags NSCalendarUnit, startingDate *NSDate, resultDate *NSDate, ...) *NSDateComponents
- func (o *NSCalendar) ComponentsInTimeZoneFromDate(timezone *NSTimeZone, date *NSDate) *NSDateComponents
- func (o *NSCalendar) DateByAddingComponentsToDateOptions(comps *NSDateComponents, date *NSDate, opts NSCalendarOptions) *NSDate
- func (o *NSCalendar) DateByAddingUnitValueToDateOptions(unit NSCalendarUnit, value int, date *NSDate, options NSCalendarOptions) *NSDate
- func (o *NSCalendar) DateBySettingHourMinuteSecondOfDateOptions(h int, m int, s int, date *NSDate, opts NSCalendarOptions) *NSDate
- func (o *NSCalendar) DateBySettingUnitValueOfDateOptions(unit NSCalendarUnit, v int, date *NSDate, opts NSCalendarOptions) *NSDate
- func (o *NSCalendar) DateFromComponents(comps *NSDateComponents) *NSDate
- func (o *NSCalendar) DateMatchesComponents(date *NSDate, components *NSDateComponents) bool
- func (o *NSCalendar) DateWithEraYearForWeekOfYearWeekOfYearWeekdayHourMinuteSecondNanosecond(eraValue int, yearValue int, weekValue int, weekdayValue int, hourValue int, ...) *NSDate
- func (o *NSCalendar) DateWithEraYearMonthDayHourMinuteSecondNanosecond(eraValue int, yearValue int, monthValue int, dayValue int, hourValue int, ...) *NSDate
- func (o *NSCalendar) EnumerateDatesStartingAfterDateMatchingComponentsOptionsUsing(start *NSDate, comps *NSDateComponents, opts NSCalendarOptions, ...)
- func (o *NSCalendar) EraSymbols() *NSArray[*NSString]
- func (o *NSCalendar) FirstWeekday() uint
- func (o *NSCalendar) GetEraYearForWeekOfYearWeekOfYearWeekdayFromDate(eraValuePointer *int64, yearValuePointer *int64, weekValuePointer *int64, ...)
- func (o *NSCalendar) GetEraYearMonthDayFromDate(eraValuePointer *int64, yearValuePointer *int64, monthValuePointer *int64, ...)
- func (o *NSCalendar) GetHourMinuteSecondNanosecondFromDate(hourValuePointer *int64, minuteValuePointer *int64, secondValuePointer *int64, ...)
- func (o *NSCalendar) InitWithCalendarIdentifier(ident *NSString) objc.ID
- func (o *NSCalendar) IsDateEqualToDateToUnitGranularity(date1 *NSDate, date2 *NSDate, unit NSCalendarUnit) bool
- func (o *NSCalendar) IsDateInSameDayAsDate(date1 *NSDate, date2 *NSDate) bool
- func (o *NSCalendar) IsDateInToday(date *NSDate) bool
- func (o *NSCalendar) IsDateInTomorrow(date *NSDate) bool
- func (o *NSCalendar) IsDateInWeekend(date *NSDate) bool
- func (o *NSCalendar) IsDateInYesterday(date *NSDate) bool
- func (o *NSCalendar) Locale() *NSLocale
- func (o *NSCalendar) LongEraSymbols() *NSArray[*NSString]
- func (o *NSCalendar) MaximumRangeOfUnit(unit NSCalendarUnit) NSRange
- func (o *NSCalendar) MinimumDaysInFirstWeek() uint
- func (o *NSCalendar) MinimumRangeOfUnit(unit NSCalendarUnit) NSRange
- func (o *NSCalendar) MonthSymbols() *NSArray[*NSString]
- func (o *NSCalendar) NextDateAfterDateMatchingComponentsOptions(date *NSDate, comps *NSDateComponents, options NSCalendarOptions) *NSDate
- func (o *NSCalendar) NextDateAfterDateMatchingHourMinuteSecondOptions(date *NSDate, hourValue int, minuteValue int, secondValue int, ...) *NSDate
- func (o *NSCalendar) NextDateAfterDateMatchingUnitValueOptions(date *NSDate, unit NSCalendarUnit, value int, options NSCalendarOptions) *NSDate
- func (o *NSCalendar) NextWeekendStartDateIntervalOptionsAfterDate(datep *NSDate, tip *float64, options NSCalendarOptions, date *NSDate) bool
- func (o *NSCalendar) OrdinalityOfUnitInUnitForDate(smaller NSCalendarUnit, larger NSCalendarUnit, date *NSDate) uint
- func (o *NSCalendar) PMSymbol() *NSString
- func (o *NSCalendar) QuarterSymbols() *NSArray[*NSString]
- func (o *NSCalendar) RangeOfUnitInUnitForDate(smaller NSCalendarUnit, larger NSCalendarUnit, date *NSDate) NSRange
- func (o *NSCalendar) RangeOfUnitStartDateIntervalForDate(unit NSCalendarUnit, datep *NSDate, tip *float64, date *NSDate) bool
- func (o *NSCalendar) RangeOfWeekendStartDateIntervalContainingDate(datep *NSDate, tip *float64, date *NSDate) bool
- func (o *NSCalendar) SetFirstWeekday(firstWeekday uint)
- func (o *NSCalendar) SetLocale(locale *NSLocale)
- func (o *NSCalendar) SetMinimumDaysInFirstWeek(minimumDaysInFirstWeek uint)
- func (o *NSCalendar) SetTimeZone(timeZone *NSTimeZone)
- func (o *NSCalendar) ShortMonthSymbols() *NSArray[*NSString]
- func (o *NSCalendar) ShortQuarterSymbols() *NSArray[*NSString]
- func (o *NSCalendar) ShortStandaloneMonthSymbols() *NSArray[*NSString]
- func (o *NSCalendar) ShortStandaloneQuarterSymbols() *NSArray[*NSString]
- func (o *NSCalendar) ShortStandaloneWeekdaySymbols() *NSArray[*NSString]
- func (o *NSCalendar) ShortWeekdaySymbols() *NSArray[*NSString]
- func (o *NSCalendar) StandaloneMonthSymbols() *NSArray[*NSString]
- func (o *NSCalendar) StandaloneQuarterSymbols() *NSArray[*NSString]
- func (o *NSCalendar) StandaloneWeekdaySymbols() *NSArray[*NSString]
- func (o *NSCalendar) StartOfDayForDate(date *NSDate) *NSDate
- func (o *NSCalendar) TimeZone() *NSTimeZone
- func (o *NSCalendar) VeryShortMonthSymbols() *NSArray[*NSString]
- func (o *NSCalendar) VeryShortStandaloneMonthSymbols() *NSArray[*NSString]
- func (o *NSCalendar) VeryShortStandaloneWeekdaySymbols() *NSArray[*NSString]
- func (o *NSCalendar) VeryShortWeekdaySymbols() *NSArray[*NSString]
- func (o *NSCalendar) WeekdaySymbols() *NSArray[*NSString]
- type NSCalendarDate
- func (o *NSCalendarDate) CalendarFormat() *NSStringdeprecated
- func (o *NSCalendarDate) DateByAddingYearsMonthsDaysHoursMinutesSeconds(year int, month int, day int, hour int, minute int, second int) *NSCalendarDatedeprecated
- func (o *NSCalendarDate) DayOfCommonEra() intdeprecated
- func (o *NSCalendarDate) DayOfMonth() intdeprecated
- func (o *NSCalendarDate) DayOfWeek() intdeprecated
- func (o *NSCalendarDate) DayOfYear() intdeprecated
- func (o *NSCalendarDate) DescriptionWithCalendarFormat(format *NSString) *NSStringdeprecated
- func (o *NSCalendarDate) DescriptionWithCalendarFormatLocale(format *NSString, locale objc.ID) *NSStringdeprecated
- func (o *NSCalendarDate) HourOfDay() intdeprecated
- func (o *NSCalendarDate) InitWithString(description *NSString) objc.IDdeprecated
- func (o *NSCalendarDate) InitWithStringCalendarFormat(description *NSString, format *NSString) objc.IDdeprecated
- func (o *NSCalendarDate) InitWithStringCalendarFormatLocale(description *NSString, format *NSString, locale objc.ID) objc.IDdeprecated
- func (o *NSCalendarDate) InitWithYearMonthDayHourMinuteSecondTimeZone(year int, month uint, day uint, hour uint, minute uint, second uint, ...) objc.IDdeprecated
- func (o *NSCalendarDate) MinuteOfHour() intdeprecated
- func (o *NSCalendarDate) MonthOfYear() intdeprecated
- func (o *NSCalendarDate) SecondOfMinute() intdeprecated
- func (o *NSCalendarDate) SetCalendarFormat(format *NSString)deprecated
- func (o *NSCalendarDate) SetTimeZone(aTimeZone *NSTimeZone)deprecated
- func (o *NSCalendarDate) TimeZone() *NSTimeZonedeprecated
- func (o *NSCalendarDate) YearOfCommonEra() intdeprecated
- func (o *NSCalendarDate) YearsMonthsDaysHoursMinutesSecondsSinceDate(yp *int64, mop *int64, dp *int64, hp *int64, mip *int64, sp *int64, ...)deprecated
- type NSCalendarOptions
- type NSCalendarUnit
- type NSCharacterSet
- func NSCharacterSetAlphanumericCharacterSet() *NSCharacterSet
- func NSCharacterSetCapitalizedLetterCharacterSet() *NSCharacterSet
- func NSCharacterSetCharacterSetWithBitmapRepresentation(data *NSData) *NSCharacterSet
- func NSCharacterSetCharacterSetWithCharactersInString(aString *NSString) *NSCharacterSet
- func NSCharacterSetCharacterSetWithContentsOfFile(fName *NSString) *NSCharacterSet
- func NSCharacterSetCharacterSetWithRange(aRange NSRange) *NSCharacterSet
- func NSCharacterSetControlCharacterSet() *NSCharacterSet
- func NSCharacterSetDecimalDigitCharacterSet() *NSCharacterSet
- func NSCharacterSetDecomposableCharacterSet() *NSCharacterSet
- func NSCharacterSetFromID(id objc.ID) *NSCharacterSet
- func NSCharacterSetIllegalCharacterSet() *NSCharacterSet
- func NSCharacterSetLetterCharacterSet() *NSCharacterSet
- func NSCharacterSetLowercaseLetterCharacterSet() *NSCharacterSet
- func NSCharacterSetNewlineCharacterSet() *NSCharacterSet
- func NSCharacterSetNonBaseCharacterSet() *NSCharacterSet
- func NSCharacterSetPunctuationCharacterSet() *NSCharacterSet
- func NSCharacterSetSymbolCharacterSet() *NSCharacterSet
- func NSCharacterSetURLFragmentAllowedCharacterSet() *NSCharacterSet
- func NSCharacterSetURLHostAllowedCharacterSet() *NSCharacterSet
- func NSCharacterSetURLPasswordAllowedCharacterSet() *NSCharacterSet
- func NSCharacterSetURLPathAllowedCharacterSet() *NSCharacterSet
- func NSCharacterSetURLQueryAllowedCharacterSet() *NSCharacterSet
- func NSCharacterSetURLUserAllowedCharacterSet() *NSCharacterSet
- func NSCharacterSetUppercaseLetterCharacterSet() *NSCharacterSet
- func NSCharacterSetWhitespaceAndNewlineCharacterSet() *NSCharacterSet
- func NSCharacterSetWhitespaceCharacterSet() *NSCharacterSet
- func (o *NSCharacterSet) BitmapRepresentation() *NSData
- func (o *NSCharacterSet) CharacterIsMember(aCharacter uint16) bool
- func (o *NSCharacterSet) HasMemberInPlane(thePlane uint8) bool
- func (o *NSCharacterSet) InitWithCoder(coder *NSCoder) *NSCharacterSet
- func (o *NSCharacterSet) InvertedSet() *NSCharacterSet
- func (o *NSCharacterSet) IsSupersetOfSet(theOtherSet *NSCharacterSet) bool
- func (o *NSCharacterSet) LongCharacterIsMember(theLongChar uint) bool
- type NSClassDescription
- type NSCloneCommand
- type NSCloseCommand
- type NSCoder
- func (o *NSCoder) AllowedClasses() *NSSet[objc.Class]
- func (o *NSCoder) AllowsKeyedCoding() bool
- func (o *NSCoder) ContainsValueForKey(key *NSString) bool
- func (o *NSCoder) DecodeArrayOfObjCTypeCountAt(itemType string, count uint, array unsafe.Pointer)
- func (o *NSCoder) DecodeArrayOfObjectsOfClassForKey(cls objc.Class, key *NSString) *NSArray[objc.ID]
- func (o *NSCoder) DecodeArrayOfObjectsOfClassesForKey(classes *NSSet[objc.Class], key *NSString) *NSArray[objc.ID]
- func (o *NSCoder) DecodeBoolForKey(key *NSString) bool
- func (o *NSCoder) DecodeBytesForKeyMinimumLength(key *NSString, length uint) unsafe.Pointer
- func (o *NSCoder) DecodeBytesForKeyReturnedLength(key *NSString, lengthp *uint) unsafe.Pointer
- func (o *NSCoder) DecodeBytesWithMinimumLength(length uint) unsafe.Pointer
- func (o *NSCoder) DecodeBytesWithReturnedLength(lengthp *uint) unsafe.Pointer
- func (o *NSCoder) DecodeDataObject() *NSData
- func (o *NSCoder) DecodeDictionaryWithKeysOfClassObjectsOfClassForKey(keyCls objc.Class, objectCls objc.Class, key *NSString) *NSDictionary[objc.ID, objc.ID]
- func (o *NSCoder) DecodeDictionaryWithKeysOfClassesObjectsOfClassesForKey(keyClasses *NSSet[objc.Class], objectClasses *NSSet[objc.Class], key *NSString) *NSDictionary[objc.ID, objc.ID]
- func (o *NSCoder) DecodeDoubleForKey(key *NSString) float64
- func (o *NSCoder) DecodeFloatForKey(key *NSString) float32
- func (o *NSCoder) DecodeInt32ForKey(key *NSString) int32
- func (o *NSCoder) DecodeInt64ForKey(key *NSString) int64
- func (o *NSCoder) DecodeIntForKey(key *NSString) int
- func (o *NSCoder) DecodeIntegerForKey(key *NSString) int
- func (o *NSCoder) DecodeNXObject() objc.IDdeprecated
- func (o *NSCoder) DecodeObject() objc.ID
- func (o *NSCoder) DecodeObjectForKey(key *NSString) objc.ID
- func (o *NSCoder) DecodeObjectOfClassForKey(aClass objc.Class, key *NSString) objc.ID
- func (o *NSCoder) DecodeObjectOfClassesForKey(classes *NSSet[objc.Class], key *NSString) objc.ID
- func (o *NSCoder) DecodePoint() corefoundation.CGPoint
- func (o *NSCoder) DecodePointForKey(key *NSString) corefoundation.CGPoint
- func (o *NSCoder) DecodePropertyList() objc.ID
- func (o *NSCoder) DecodePropertyListForKey(key *NSString) objc.ID
- func (o *NSCoder) DecodeRect() corefoundation.CGRect
- func (o *NSCoder) DecodeRectForKey(key *NSString) corefoundation.CGRect
- func (o *NSCoder) DecodeSize() corefoundation.CGSize
- func (o *NSCoder) DecodeSizeForKey(key *NSString) corefoundation.CGSize
- func (o *NSCoder) DecodeTopLevelObjectAndReturnError() (objc.ID, error)
- func (o *NSCoder) DecodeTopLevelObjectForKeyError(key *NSString) (objc.ID, error)
- func (o *NSCoder) DecodeTopLevelObjectOfClassForKeyError(aClass objc.Class, key *NSString) (objc.ID, error)
- func (o *NSCoder) DecodeTopLevelObjectOfClassesForKeyError(classes *NSSet[objc.Class], key *NSString) (objc.ID, error)
- func (o *NSCoder) DecodeValueOfObjCTypeAt(type_ string, data unsafe.Pointer)deprecated
- func (o *NSCoder) DecodeValueOfObjCTypeAtSize(type_ string, data unsafe.Pointer, size uint)
- func (o *NSCoder) DecodingFailurePolicy() NSDecodingFailurePolicy
- func (o *NSCoder) EncodeArrayOfObjCTypeCountAt(type_ string, count uint, array unsafe.Pointer)
- func (o *NSCoder) EncodeBoolForKey(value bool, key *NSString)
- func (o *NSCoder) EncodeBycopyObject(anObject objc.ID)
- func (o *NSCoder) EncodeByrefObject(anObject objc.ID)
- func (o *NSCoder) EncodeBytesLength(byteaddr unsafe.Pointer, length uint)
- func (o *NSCoder) EncodeBytesLengthForKey(bytes_ *uint8, length uint, key *NSString)
- func (o *NSCoder) EncodeConditionalObject(object objc.ID)
- func (o *NSCoder) EncodeConditionalObjectForKey(object objc.ID, key *NSString)
- func (o *NSCoder) EncodeDataObject(data *NSData)
- func (o *NSCoder) EncodeDoubleForKey(value float64, key *NSString)
- func (o *NSCoder) EncodeFloatForKey(value float32, key *NSString)
- func (o *NSCoder) EncodeInt32ForKey(value int32, key *NSString)
- func (o *NSCoder) EncodeInt64ForKey(value int64, key *NSString)
- func (o *NSCoder) EncodeIntForKey(value int, key *NSString)
- func (o *NSCoder) EncodeIntegerForKey(value int, key *NSString)
- func (o *NSCoder) EncodeNXObject(object objc.ID)deprecated
- func (o *NSCoder) EncodeObject(object objc.ID)
- func (o *NSCoder) EncodeObjectForKey(object objc.ID, key *NSString)
- func (o *NSCoder) EncodePoint(point corefoundation.CGPoint)
- func (o *NSCoder) EncodePointForKey(point corefoundation.CGPoint, key *NSString)
- func (o *NSCoder) EncodePropertyList(aPropertyList objc.ID)
- func (o *NSCoder) EncodeRect(rect corefoundation.CGRect)
- func (o *NSCoder) EncodeRectForKey(rect corefoundation.CGRect, key *NSString)
- func (o *NSCoder) EncodeRootObject(rootObject objc.ID)
- func (o *NSCoder) EncodeSize(size corefoundation.CGSize)
- func (o *NSCoder) EncodeSizeForKey(size corefoundation.CGSize, key *NSString)
- func (o *NSCoder) EncodeValueOfObjCTypeAt(type_ string, addr unsafe.Pointer)
- func (o *NSCoder) Error() unsafe.Pointer
- func (o *NSCoder) FailWithError(error_ unsafe.Pointer)
- func (o *NSCoder) ObjectZone() unsafe.Pointer
- func (o *NSCoder) RequiresSecureCoding() bool
- func (o *NSCoder) SetObjectZone(zone unsafe.Pointer)
- func (o *NSCoder) SystemVersion() uint
- func (o *NSCoder) VersionForClassName(className *NSString) int
- type NSCoding
- type NSCollectionChangeType
- type NSComparisonPredicate
- func NSComparisonPredicateFromID(id objc.ID) *NSComparisonPredicate
- func NSComparisonPredicatePredicateWithLeftExpressionRightExpressionCustomSelector(lhs *NSExpression, rhs *NSExpression, selector objc.SEL) *NSComparisonPredicate
- func NSComparisonPredicatePredicateWithLeftExpressionRightExpressionModifierTypeOptions(lhs *NSExpression, rhs *NSExpression, modifier NSComparisonPredicateModifier, ...) *NSComparisonPredicate
- func (o *NSComparisonPredicate) ComparisonPredicateModifier() NSComparisonPredicateModifier
- func (o *NSComparisonPredicate) CustomSelector() objc.SEL
- func (o *NSComparisonPredicate) InitWithCoder(coder *NSCoder) *NSComparisonPredicate
- func (o *NSComparisonPredicate) InitWithLeftExpressionRightExpressionCustomSelector(lhs *NSExpression, rhs *NSExpression, selector objc.SEL) *NSComparisonPredicate
- func (o *NSComparisonPredicate) InitWithLeftExpressionRightExpressionModifierTypeOptions(lhs *NSExpression, rhs *NSExpression, modifier NSComparisonPredicateModifier, ...) *NSComparisonPredicate
- func (o *NSComparisonPredicate) LeftExpression() *NSExpression
- func (o *NSComparisonPredicate) Options() NSComparisonPredicateOptions
- func (o *NSComparisonPredicate) PredicateOperatorType() NSPredicateOperatorType
- func (o *NSComparisonPredicate) RightExpression() *NSExpression
- type NSComparisonPredicateModifier
- type NSComparisonPredicateOptions
- type NSComparisonResult
- type NSCompoundPredicate
- func NSCompoundPredicateAndPredicateWithSubpredicates(subpredicates *NSArray[*NSPredicate]) *NSCompoundPredicate
- func NSCompoundPredicateFromID(id objc.ID) *NSCompoundPredicate
- func NSCompoundPredicateNotPredicateWithSubpredicate(predicate *NSPredicate) *NSCompoundPredicate
- func NSCompoundPredicateOrPredicateWithSubpredicates(subpredicates *NSArray[*NSPredicate]) *NSCompoundPredicate
- func (o *NSCompoundPredicate) CompoundPredicateType() NSCompoundPredicateType
- func (o *NSCompoundPredicate) InitWithCoder(coder *NSCoder) *NSCompoundPredicate
- func (o *NSCompoundPredicate) InitWithTypeSubpredicates(type_ NSCompoundPredicateType, subpredicates *NSArray[*NSPredicate]) *NSCompoundPredicate
- func (o *NSCompoundPredicate) Subpredicates() *NSArray[objc.ID]
- type NSCompoundPredicateType
- type NSCondition
- type NSConditionLock
- func (o *NSConditionLock) Condition() int
- func (o *NSConditionLock) InitWithCondition(condition int) *NSConditionLock
- func (o *NSConditionLock) LockBeforeDate(limit *NSDate) bool
- func (o *NSConditionLock) LockWhenCondition(condition int)
- func (o *NSConditionLock) LockWhenConditionBeforeDate(condition int, limit *NSDate) bool
- func (o *NSConditionLock) Name() *NSString
- func (o *NSConditionLock) SetName(name *NSString)
- func (o *NSConditionLock) TryLock() bool
- func (o *NSConditionLock) TryLockWhenCondition(condition int) bool
- func (o *NSConditionLock) UnlockWithCondition(condition int)
- type NSConnection
- func NSConnectionConnectionWithReceivePortSendPort(receivePort *NSPort, sendPort *NSPort) *NSConnection
- func NSConnectionConnectionWithRegisteredNameHost(name *NSString, hostName *NSString) *NSConnectiondeprecated
- func NSConnectionConnectionWithRegisteredNameHostUsingNameServer(name *NSString, hostName *NSString, server *NSPortNameServer) *NSConnectiondeprecated
- func NSConnectionDefaultConnection() *NSConnectiondeprecated
- func NSConnectionFromID(id objc.ID) *NSConnection
- func NSConnectionServiceConnectionWithNameRootObject(name *NSString, root objc.ID) *NSConnection
- func NSConnectionServiceConnectionWithNameRootObjectUsingNameServer(name *NSString, root objc.ID, server *NSPortNameServer) *NSConnection
- func (o *NSConnection) AddRequestMode(rmode *NSString)
- func (o *NSConnection) AddRunLoop(runloop *NSRunLoop)
- func (o *NSConnection) Delegate() NSConnectionDelegate
- func (o *NSConnection) DispatchWithComponents(components *NSArray[objc.ID])
- func (o *NSConnection) EnableMultipleThreads()
- func (o *NSConnection) IndependentConversationQueueing() bool
- func (o *NSConnection) InitWithReceivePortSendPort(receivePort *NSPort, sendPort *NSPort) *NSConnection
- func (o *NSConnection) Invalidate()
- func (o *NSConnection) IsValid() bool
- func (o *NSConnection) LocalObjects() *NSArray[objc.ID]
- func (o *NSConnection) MultipleThreadsEnabled() bool
- func (o *NSConnection) ReceivePort() *NSPort
- func (o *NSConnection) RegisterName(name *NSString) bool
- func (o *NSConnection) RegisterNameWithNameServer(name *NSString, server *NSPortNameServer) bool
- func (o *NSConnection) RemoteObjects() *NSArray[objc.ID]
- func (o *NSConnection) RemoveRequestMode(rmode *NSString)
- func (o *NSConnection) RemoveRunLoop(runloop *NSRunLoop)
- func (o *NSConnection) ReplyTimeout() float64
- func (o *NSConnection) RequestModes() *NSArray[*NSString]
- func (o *NSConnection) RequestTimeout() float64
- func (o *NSConnection) RootObject() objc.ID
- func (o *NSConnection) RootProxy() *NSDistantObject
- func (o *NSConnection) RunInNewThread()
- func (o *NSConnection) SendPort() *NSPort
- func (o *NSConnection) SetDelegate(delegate NSConnectionDelegate)
- func (o *NSConnection) SetIndependentConversationQueueing(independentConversationQueueing bool)
- func (o *NSConnection) SetReplyTimeout(replyTimeout float64)
- func (o *NSConnection) SetRequestTimeout(requestTimeout float64)
- func (o *NSConnection) SetRootObject(rootObject objc.ID)
- func (o *NSConnection) Statistics() *NSDictionary[*NSString, *NSNumber]
- type NSConnectionDelegate
- type NSConstantString
- type NSCopying
- type NSCountedSet
- func (o *NSCountedSet[ObjectType]) CountForObject(object ObjectType) uint
- func (o *NSCountedSet[ObjectType]) InitWithArray(array *NSArray[ObjectType]) *NSCountedSet[ObjectType]
- func (o *NSCountedSet[ObjectType]) InitWithCapacity(numItems uint) *NSCountedSet[ObjectType]
- func (o *NSCountedSet[ObjectType]) InitWithSet(set *NSSet[ObjectType]) *NSCountedSet[ObjectType]
- type NSCreateCommand
- type NSData
- func NSArchiverArchivedDataWithRootObject(rootObject objc.ID) *NSData
- func NSDataData() *NSData
- func NSDataDataWithBytesLength(bytes_ unsafe.Pointer, length uint) *NSData
- func NSDataDataWithBytesNoCopyLength(bytes_ unsafe.Pointer, length uint) *NSData
- func NSDataDataWithBytesNoCopyLengthFreeWhenDone(bytes_ unsafe.Pointer, length uint, b bool) *NSData
- func NSDataDataWithContentsOfFile(path *NSString) *NSData
- func NSDataDataWithContentsOfFileOptionsError(path *NSString, readOptionsMask NSDataReadingOptions) (*NSData, error)
- func NSDataDataWithContentsOfURL(url *NSURL) *NSData
- func NSDataDataWithContentsOfURLOptionsError(url *NSURL, readOptionsMask NSDataReadingOptions) (*NSData, error)
- func NSDataDataWithData(data *NSData) *NSData
- func NSDataFromID(id objc.ID) *NSData
- func NSJSONSerializationDataWithJSONObjectOptionsError(obj objc.ID, opt NSJSONWritingOptions) (*NSData, error)
- func NSKeyedArchiverArchivedDataWithRootObject(rootObject objc.ID) *NSDatadeprecated
- func NSKeyedArchiverArchivedDataWithRootObjectRequiringSecureCodingError(object objc.ID, requiresSecureCoding bool) (*NSData, error)
- func NSNetServiceDataFromTXTRecordDictionary(txtDictionary *NSDictionary[*NSString, *NSData]) *NSData
- func NSPropertyListSerializationDataFromPropertyListFormatErrorDescription(plist objc.ID, format NSPropertyListFormat, errorString *NSString) *NSDatadeprecated
- func NSPropertyListSerializationDataWithPropertyListFormatOptionsError(plist objc.ID, format NSPropertyListFormat, opt uint) (*NSData, error)
- func NSURLBookmarkDataWithContentsOfURLError(bookmarkFileURL *NSURL) (*NSData, error)
- func NSURLConnectionSendSynchronousRequestReturningResponseError(request *NSURLRequest, response *NSURLResponse) (*NSData, error)
- func (o *NSData) Base64EncodedDataWithOptions(options NSDataBase64EncodingOptions) *NSData
- func (o *NSData) Base64EncodedStringWithOptions(options NSDataBase64EncodingOptions) *NSString
- func (o *NSData) Base64Encoding() *NSStringdeprecated
- func (o *NSData) Bytes() unsafe.Pointer
- func (o *NSData) CompressedDataUsingAlgorithmError(algorithm NSDataCompressionAlgorithm) (*NSData, error)
- func (o *NSData) DecompressedDataUsingAlgorithmError(algorithm NSDataCompressionAlgorithm) (*NSData, error)
- func (o *NSData) EnumerateByteRangesUsing(block objc.Block)
- func (o *NSData) GetBytes(buffer unsafe.Pointer)deprecated
- func (o *NSData) GetBytesLength(buffer unsafe.Pointer, length uint)
- func (o *NSData) GetBytesRange(buffer unsafe.Pointer, range_ NSRange)
- func (o *NSData) InitWithBase64EncodedDataOptions(base64Data *NSData, options NSDataBase64DecodingOptions) *NSData
- func (o *NSData) InitWithBase64EncodedStringOptions(base64String *NSString, options NSDataBase64DecodingOptions) *NSData
- func (o *NSData) InitWithBase64Encoding(base64String *NSString) objc.IDdeprecated
- func (o *NSData) InitWithBytesLength(bytes_ unsafe.Pointer, length uint) *NSData
- func (o *NSData) InitWithBytesNoCopyLength(bytes_ unsafe.Pointer, length uint) *NSData
- func (o *NSData) InitWithBytesNoCopyLengthDeallocator(bytes_ unsafe.Pointer, length uint, deallocator func(unsafe.Pointer, uint)) *NSData
- func (o *NSData) InitWithBytesNoCopyLengthFreeWhenDone(bytes_ unsafe.Pointer, length uint, b bool) *NSData
- func (o *NSData) InitWithContentsOfFile(path *NSString) *NSData
- func (o *NSData) InitWithContentsOfFileOptionsError(path *NSString, readOptionsMask NSDataReadingOptions) (*NSData, error)
- func (o *NSData) InitWithContentsOfMappedFile(path *NSString) objc.IDdeprecated
- func (o *NSData) InitWithContentsOfURL(url *NSURL) *NSData
- func (o *NSData) InitWithContentsOfURLOptionsError(url *NSURL, readOptionsMask NSDataReadingOptions) (*NSData, error)
- func (o *NSData) InitWithData(data *NSData) *NSData
- func (o *NSData) IsEqualToData(other *NSData) bool
- func (o *NSData) Length() uint
- func (o *NSData) RangeOfDataOptionsRange(dataToFind *NSData, mask NSDataSearchOptions, searchRange NSRange) NSRange
- func (o *NSData) SubdataWithRange(range_ NSRange) *NSData
- func (o *NSData) WriteToFileAtomically(path *NSString, useAuxiliaryFile bool) bool
- func (o *NSData) WriteToFileOptionsError(path *NSString, writeOptionsMask NSDataWritingOptions) (bool, error)
- func (o *NSData) WriteToURLAtomically(url *NSURL, atomically bool) bool
- func (o *NSData) WriteToURLOptionsError(url *NSURL, writeOptionsMask NSDataWritingOptions) (bool, error)
- type NSDataBase64DecodingOptions
- type NSDataBase64EncodingOptions
- type NSDataCompressionAlgorithm
- type NSDataDetector
- type NSDataReadingOptions
- type NSDataSearchOptions
- type NSDataWritingOptions
- type NSDate
- func NSDateDate() *NSDate
- func NSDateDateWithTimeIntervalSince1970(secs float64) *NSDate
- func NSDateDateWithTimeIntervalSinceDate(secsToBeAdded float64, date *NSDate) *NSDate
- func NSDateDateWithTimeIntervalSinceNow(secs float64) *NSDate
- func NSDateDateWithTimeIntervalSinceReferenceDate(ti float64) *NSDate
- func NSDateDistantFuture() *NSDate
- func NSDateDistantPast() *NSDate
- func NSDateFromID(id objc.ID) *NSDate
- func NSDateNow() *NSDate
- func (o *NSDate) AddTimeInterval(seconds float64) objc.IDdeprecated
- func (o *NSDate) Compare(other *NSDate) NSComparisonResult
- func (o *NSDate) DateByAddingTimeInterval(ti float64) *NSDate
- func (o *NSDate) DateWithCalendarFormatTimeZone(format *NSString, aTimeZone *NSTimeZone) *NSCalendarDatedeprecated
- func (o *NSDate) DescriptionWithCalendarFormatTimeZoneLocale(format *NSString, aTimeZone *NSTimeZone, locale objc.ID) *NSStringdeprecated
- func (o *NSDate) DescriptionWithLocale(locale objc.ID) *NSString
- func (o *NSDate) EarlierDate(anotherDate *NSDate) *NSDate
- func (o *NSDate) Init() *NSDate
- func (o *NSDate) InitWithCoder(coder *NSCoder) *NSDate
- func (o *NSDate) InitWithString(description *NSString) objc.IDdeprecated
- func (o *NSDate) InitWithTimeIntervalSince1970(secs float64) *NSDate
- func (o *NSDate) InitWithTimeIntervalSinceDate(secsToBeAdded float64, date *NSDate) *NSDate
- func (o *NSDate) InitWithTimeIntervalSinceNow(secs float64) *NSDate
- func (o *NSDate) InitWithTimeIntervalSinceReferenceDate(ti float64) *NSDate
- func (o *NSDate) IsEqualToDate(otherDate *NSDate) bool
- func (o *NSDate) LaterDate(anotherDate *NSDate) *NSDate
- func (o *NSDate) TimeIntervalSince1970() float64
- func (o *NSDate) TimeIntervalSinceDate(anotherDate *NSDate) float64
- func (o *NSDate) TimeIntervalSinceNow() float64
- func (o *NSDate) TimeIntervalSinceReferenceDate() float64
- type NSDateComponents
- func (o *NSDateComponents) Calendar() *NSCalendar
- func (o *NSDateComponents) Date() *NSDate
- func (o *NSDateComponents) Day() int
- func (o *NSDateComponents) DayOfYear() int
- func (o *NSDateComponents) Era() int
- func (o *NSDateComponents) Hour() int
- func (o *NSDateComponents) IsLeapMonth() bool
- func (o *NSDateComponents) IsRepeatedDay() bool
- func (o *NSDateComponents) IsValidDate() bool
- func (o *NSDateComponents) IsValidDateInCalendar(calendar *NSCalendar) bool
- func (o *NSDateComponents) Minute() int
- func (o *NSDateComponents) Month() int
- func (o *NSDateComponents) Nanosecond() int
- func (o *NSDateComponents) Quarter() int
- func (o *NSDateComponents) Second() int
- func (o *NSDateComponents) SetCalendar(calendar *NSCalendar)
- func (o *NSDateComponents) SetDay(day int)
- func (o *NSDateComponents) SetDayOfYear(dayOfYear int)
- func (o *NSDateComponents) SetEra(era int)
- func (o *NSDateComponents) SetHour(hour int)
- func (o *NSDateComponents) SetLeapMonth(leapMonth bool)
- func (o *NSDateComponents) SetMinute(minute int)
- func (o *NSDateComponents) SetMonth(month int)
- func (o *NSDateComponents) SetNanosecond(nanosecond int)
- func (o *NSDateComponents) SetQuarter(quarter int)
- func (o *NSDateComponents) SetRepeatedDay(repeatedDay bool)
- func (o *NSDateComponents) SetSecond(second int)
- func (o *NSDateComponents) SetTimeZone(timeZone *NSTimeZone)
- func (o *NSDateComponents) SetValueForComponent(value int, unit NSCalendarUnit)
- func (o *NSDateComponents) SetWeek(v int)deprecated
- func (o *NSDateComponents) SetWeekOfMonth(weekOfMonth int)
- func (o *NSDateComponents) SetWeekOfYear(weekOfYear int)
- func (o *NSDateComponents) SetWeekday(weekday int)
- func (o *NSDateComponents) SetWeekdayOrdinal(weekdayOrdinal int)
- func (o *NSDateComponents) SetYear(year int)
- func (o *NSDateComponents) SetYearForWeekOfYear(yearForWeekOfYear int)
- func (o *NSDateComponents) TimeZone() *NSTimeZone
- func (o *NSDateComponents) ValueForComponent(unit NSCalendarUnit) int
- func (o *NSDateComponents) Week() intdeprecated
- func (o *NSDateComponents) WeekOfMonth() int
- func (o *NSDateComponents) WeekOfYear() int
- func (o *NSDateComponents) Weekday() int
- func (o *NSDateComponents) WeekdayOrdinal() int
- func (o *NSDateComponents) Year() int
- func (o *NSDateComponents) YearForWeekOfYear() int
- type NSDateComponentsFormatter
- func (o *NSDateComponentsFormatter) AllowedUnits() NSCalendarUnit
- func (o *NSDateComponentsFormatter) AllowsFractionalUnits() bool
- func (o *NSDateComponentsFormatter) Calendar() *NSCalendar
- func (o *NSDateComponentsFormatter) CollapsesLargestUnit() bool
- func (o *NSDateComponentsFormatter) FormattingContext() NSFormattingContext
- func (o *NSDateComponentsFormatter) IncludesApproximationPhrase() bool
- func (o *NSDateComponentsFormatter) IncludesTimeRemainingPhrase() bool
- func (o *NSDateComponentsFormatter) MaximumUnitCount() int
- func (o *NSDateComponentsFormatter) ReferenceDate() *NSDate
- func (o *NSDateComponentsFormatter) SetAllowedUnits(allowedUnits NSCalendarUnit)
- func (o *NSDateComponentsFormatter) SetAllowsFractionalUnits(allowsFractionalUnits bool)
- func (o *NSDateComponentsFormatter) SetCalendar(calendar *NSCalendar)
- func (o *NSDateComponentsFormatter) SetCollapsesLargestUnit(collapsesLargestUnit bool)
- func (o *NSDateComponentsFormatter) SetFormattingContext(formattingContext NSFormattingContext)
- func (o *NSDateComponentsFormatter) SetIncludesApproximationPhrase(includesApproximationPhrase bool)
- func (o *NSDateComponentsFormatter) SetIncludesTimeRemainingPhrase(includesTimeRemainingPhrase bool)
- func (o *NSDateComponentsFormatter) SetMaximumUnitCount(maximumUnitCount int)
- func (o *NSDateComponentsFormatter) SetReferenceDate(referenceDate *NSDate)
- func (o *NSDateComponentsFormatter) SetUnitsStyle(unitsStyle NSDateComponentsFormatterUnitsStyle)
- func (o *NSDateComponentsFormatter) SetZeroFormattingBehavior(zeroFormattingBehavior NSDateComponentsFormatterZeroFormattingBehavior)
- func (o *NSDateComponentsFormatter) StringFromDateComponents(components *NSDateComponents) *NSString
- func (o *NSDateComponentsFormatter) StringFromDateToDate(startDate *NSDate, endDate *NSDate) *NSString
- func (o *NSDateComponentsFormatter) StringFromTimeInterval(ti float64) *NSString
- func (o *NSDateComponentsFormatter) UnitsStyle() NSDateComponentsFormatterUnitsStyle
- func (o *NSDateComponentsFormatter) ZeroFormattingBehavior() NSDateComponentsFormatterZeroFormattingBehavior
- type NSDateComponentsFormatterUnitsStyle
- type NSDateComponentsFormatterZeroFormattingBehavior
- type NSDateFormatter
- func (o *NSDateFormatter) AMSymbol() *NSString
- func (o *NSDateFormatter) AllowsNaturalLanguage() booldeprecated
- func (o *NSDateFormatter) Calendar() *NSCalendar
- func (o *NSDateFormatter) DateFormat() *NSString
- func (o *NSDateFormatter) DateFromString(string_ *NSString) *NSDate
- func (o *NSDateFormatter) DateStyle() NSDateFormatterStyle
- func (o *NSDateFormatter) DefaultDate() *NSDate
- func (o *NSDateFormatter) DoesRelativeDateFormatting() bool
- func (o *NSDateFormatter) EraSymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) FormatterBehavior() NSDateFormatterBehavior
- func (o *NSDateFormatter) FormattingContext() NSFormattingContext
- func (o *NSDateFormatter) GeneratesCalendarDates() bool
- func (o *NSDateFormatter) GetObjectValueForStringRangeError(obj **ObjcObject, string_ *NSString, rangep *NSRange) (bool, error)
- func (o *NSDateFormatter) GregorianStartDate() *NSDate
- func (o *NSDateFormatter) InitWithDateFormatAllowNaturalLanguage(format *NSString, flag bool) objc.IDdeprecated
- func (o *NSDateFormatter) IsLenient() bool
- func (o *NSDateFormatter) Locale() *NSLocale
- func (o *NSDateFormatter) LongEraSymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) MonthSymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) PMSymbol() *NSString
- func (o *NSDateFormatter) QuarterSymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) SetAMSymbol(aMSymbol *NSString)
- func (o *NSDateFormatter) SetCalendar(calendar *NSCalendar)
- func (o *NSDateFormatter) SetDateFormat(dateFormat *NSString)
- func (o *NSDateFormatter) SetDateStyle(dateStyle NSDateFormatterStyle)
- func (o *NSDateFormatter) SetDefaultDate(defaultDate *NSDate)
- func (o *NSDateFormatter) SetDoesRelativeDateFormatting(doesRelativeDateFormatting bool)
- func (o *NSDateFormatter) SetEraSymbols(eraSymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetFormatterBehavior(formatterBehavior NSDateFormatterBehavior)
- func (o *NSDateFormatter) SetFormattingContext(formattingContext NSFormattingContext)
- func (o *NSDateFormatter) SetGeneratesCalendarDates(generatesCalendarDates bool)
- func (o *NSDateFormatter) SetGregorianStartDate(gregorianStartDate *NSDate)
- func (o *NSDateFormatter) SetLenient(lenient bool)
- func (o *NSDateFormatter) SetLocale(locale *NSLocale)
- func (o *NSDateFormatter) SetLocalizedDateFormatFromTemplate(dateFormatTemplate *NSString)
- func (o *NSDateFormatter) SetLongEraSymbols(longEraSymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetMonthSymbols(monthSymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetPMSymbol(pMSymbol *NSString)
- func (o *NSDateFormatter) SetQuarterSymbols(quarterSymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetShortMonthSymbols(shortMonthSymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetShortQuarterSymbols(shortQuarterSymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetShortStandaloneMonthSymbols(shortStandaloneMonthSymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetShortStandaloneQuarterSymbols(shortStandaloneQuarterSymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetShortStandaloneWeekdaySymbols(shortStandaloneWeekdaySymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetShortWeekdaySymbols(shortWeekdaySymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetStandaloneMonthSymbols(standaloneMonthSymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetStandaloneQuarterSymbols(standaloneQuarterSymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetStandaloneWeekdaySymbols(standaloneWeekdaySymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetTimeStyle(timeStyle NSDateFormatterStyle)
- func (o *NSDateFormatter) SetTimeZone(timeZone *NSTimeZone)
- func (o *NSDateFormatter) SetTwoDigitStartDate(twoDigitStartDate *NSDate)
- func (o *NSDateFormatter) SetVeryShortMonthSymbols(veryShortMonthSymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetVeryShortStandaloneMonthSymbols(veryShortStandaloneMonthSymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetVeryShortStandaloneWeekdaySymbols(veryShortStandaloneWeekdaySymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetVeryShortWeekdaySymbols(veryShortWeekdaySymbols *NSArray[*NSString])
- func (o *NSDateFormatter) SetWeekdaySymbols(weekdaySymbols *NSArray[*NSString])
- func (o *NSDateFormatter) ShortMonthSymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) ShortQuarterSymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) ShortStandaloneMonthSymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) ShortStandaloneQuarterSymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) ShortStandaloneWeekdaySymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) ShortWeekdaySymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) StandaloneMonthSymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) StandaloneQuarterSymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) StandaloneWeekdaySymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) StringFromDate(date *NSDate) *NSString
- func (o *NSDateFormatter) TimeStyle() NSDateFormatterStyle
- func (o *NSDateFormatter) TimeZone() *NSTimeZone
- func (o *NSDateFormatter) TwoDigitStartDate() *NSDate
- func (o *NSDateFormatter) VeryShortMonthSymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) VeryShortStandaloneMonthSymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) VeryShortStandaloneWeekdaySymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) VeryShortWeekdaySymbols() *NSArray[*NSString]
- func (o *NSDateFormatter) WeekdaySymbols() *NSArray[*NSString]
- type NSDateFormatterBehavior
- type NSDateFormatterStyle
- type NSDateInterval
- func (o *NSDateInterval) Compare(dateInterval *NSDateInterval) NSComparisonResult
- func (o *NSDateInterval) ContainsDate(date *NSDate) bool
- func (o *NSDateInterval) Duration() float64
- func (o *NSDateInterval) EndDate() *NSDate
- func (o *NSDateInterval) Init() *NSDateInterval
- func (o *NSDateInterval) InitWithCoder(coder *NSCoder) *NSDateInterval
- func (o *NSDateInterval) InitWithStartDateDuration(startDate *NSDate, duration float64) *NSDateInterval
- func (o *NSDateInterval) InitWithStartDateEndDate(startDate *NSDate, endDate *NSDate) *NSDateInterval
- func (o *NSDateInterval) IntersectionWithDateInterval(dateInterval *NSDateInterval) *NSDateInterval
- func (o *NSDateInterval) IntersectsDateInterval(dateInterval *NSDateInterval) bool
- func (o *NSDateInterval) IsEqualToDateInterval(dateInterval *NSDateInterval) bool
- func (o *NSDateInterval) StartDate() *NSDate
- type NSDateIntervalFormatter
- func (o *NSDateIntervalFormatter) Calendar() *NSCalendar
- func (o *NSDateIntervalFormatter) DateStyle() NSDateIntervalFormatterStyle
- func (o *NSDateIntervalFormatter) DateTemplate() *NSString
- func (o *NSDateIntervalFormatter) Locale() *NSLocale
- func (o *NSDateIntervalFormatter) SetCalendar(calendar *NSCalendar)
- func (o *NSDateIntervalFormatter) SetDateStyle(dateStyle NSDateIntervalFormatterStyle)
- func (o *NSDateIntervalFormatter) SetDateTemplate(dateTemplate *NSString)
- func (o *NSDateIntervalFormatter) SetLocale(locale *NSLocale)
- func (o *NSDateIntervalFormatter) SetTimeStyle(timeStyle NSDateIntervalFormatterStyle)
- func (o *NSDateIntervalFormatter) SetTimeZone(timeZone *NSTimeZone)
- func (o *NSDateIntervalFormatter) StringFromDateInterval(dateInterval *NSDateInterval) *NSString
- func (o *NSDateIntervalFormatter) StringFromDateToDate(fromDate *NSDate, toDate *NSDate) *NSString
- func (o *NSDateIntervalFormatter) TimeStyle() NSDateIntervalFormatterStyle
- func (o *NSDateIntervalFormatter) TimeZone() *NSTimeZone
- type NSDateIntervalFormatterStyle
- type NSDecimal
- type NSDecimalNumber
- func NSDecimalNumberDecimalNumberWithDecimal(dcm NSDecimal) *NSDecimalNumber
- func NSDecimalNumberDecimalNumberWithMantissaExponentIsNegative(mantissa uint64, exponent int16, flag bool) *NSDecimalNumber
- func NSDecimalNumberDecimalNumberWithString(numberValue *NSString) *NSDecimalNumber
- func NSDecimalNumberDecimalNumberWithStringLocale(numberValue *NSString, locale objc.ID) *NSDecimalNumber
- func NSDecimalNumberFromID(id objc.ID) *NSDecimalNumber
- func NSDecimalNumberMaximumDecimalNumber() *NSDecimalNumber
- func NSDecimalNumberMinimumDecimalNumber() *NSDecimalNumber
- func NSDecimalNumberNotANumber() *NSDecimalNumber
- func NSDecimalNumberOne() *NSDecimalNumber
- func NSDecimalNumberZero() *NSDecimalNumber
- func (o *NSDecimalNumber) DecimalNumberByAdding(decimalNumber *NSDecimalNumber) *NSDecimalNumber
- func (o *NSDecimalNumber) DecimalNumberByAddingWithBehavior(decimalNumber *NSDecimalNumber, behavior NSDecimalNumberBehaviors) *NSDecimalNumber
- func (o *NSDecimalNumber) DecimalNumberByDividingBy(decimalNumber *NSDecimalNumber) *NSDecimalNumber
- func (o *NSDecimalNumber) DecimalNumberByDividingByWithBehavior(decimalNumber *NSDecimalNumber, behavior NSDecimalNumberBehaviors) *NSDecimalNumber
- func (o *NSDecimalNumber) DecimalNumberByMultiplyingBy(decimalNumber *NSDecimalNumber) *NSDecimalNumber
- func (o *NSDecimalNumber) DecimalNumberByMultiplyingByPowerOf10(power int16) *NSDecimalNumber
- func (o *NSDecimalNumber) DecimalNumberByMultiplyingByPowerOf10WithBehavior(power int16, behavior NSDecimalNumberBehaviors) *NSDecimalNumber
- func (o *NSDecimalNumber) DecimalNumberByMultiplyingByWithBehavior(decimalNumber *NSDecimalNumber, behavior NSDecimalNumberBehaviors) *NSDecimalNumber
- func (o *NSDecimalNumber) DecimalNumberByRaisingToPower(power uint) *NSDecimalNumber
- func (o *NSDecimalNumber) DecimalNumberByRaisingToPowerWithBehavior(power uint, behavior NSDecimalNumberBehaviors) *NSDecimalNumber
- func (o *NSDecimalNumber) DecimalNumberByRoundingAccordingToBehavior(behavior NSDecimalNumberBehaviors) *NSDecimalNumber
- func (o *NSDecimalNumber) DecimalNumberBySubtracting(decimalNumber *NSDecimalNumber) *NSDecimalNumber
- func (o *NSDecimalNumber) DecimalNumberBySubtractingWithBehavior(decimalNumber *NSDecimalNumber, behavior NSDecimalNumberBehaviors) *NSDecimalNumber
- func (o *NSDecimalNumber) InitWithDecimal(dcm NSDecimal) *NSDecimalNumber
- func (o *NSDecimalNumber) InitWithMantissaExponentIsNegative(mantissa uint64, exponent int16, flag bool) *NSDecimalNumber
- func (o *NSDecimalNumber) InitWithString(numberValue *NSString) *NSDecimalNumber
- func (o *NSDecimalNumber) InitWithStringLocale(numberValue *NSString, locale objc.ID) *NSDecimalNumber
- type NSDecimalNumberBehaviors
- type NSDecimalNumberHandler
- func NSDecimalNumberHandlerDecimalNumberHandlerWithRoundingModeScaleRaiseOnExactnessRaiseOnOverflowRaiseOnUnderflowRaiseOnDivideByZero(roundingMode NSRoundingMode, scale int16, exact bool, overflow bool, ...) *NSDecimalNumberHandler
- func NSDecimalNumberHandlerDefaultDecimalNumberHandler() *NSDecimalNumberHandler
- func NSDecimalNumberHandlerFromID(id objc.ID) *NSDecimalNumberHandler
- type NSDecodingFailurePolicy
- type NSDeleteCommand
- type NSDictionary
- func NSDictionaryDictionary() *NSDictionary[objc.ID, objc.ID]
- func NSDictionaryDictionaryWithContentsOfFile(path *NSString) *NSDictionary[objc.ID, objc.ID]deprecated
- func NSDictionaryDictionaryWithContentsOfURL(url *NSURL) *NSDictionary[objc.ID, objc.ID]deprecated
- func NSDictionaryDictionaryWithContentsOfURLError(url *NSURL) (*NSDictionary[*NSString, objc.ID], error)
- func NSDictionaryDictionaryWithDictionary(dict *NSDictionary[objc.ID, objc.ID]) *NSDictionary[objc.ID, objc.ID]
- func NSDictionaryDictionaryWithObjectForKey(object objc.ID, key NSCopying) *NSDictionary[objc.ID, objc.ID]
- func NSDictionaryDictionaryWithObjectsForKeys(objects *NSArray[objc.ID], keys *NSArray[NSCopying]) *NSDictionary[objc.ID, objc.ID]
- func NSDictionaryDictionaryWithObjectsForKeysCount(objects unsafe.Pointer, keys NSCopying, cnt uint) *NSDictionary[objc.ID, objc.ID]
- func NSDictionaryFromID[KeyType pureobjc.AnyObject, ObjectType pureobjc.AnyObject](id objc.ID) *NSDictionary[KeyType, ObjectType]
- func NSHTTPCookieRequestHeaderFieldsWithCookies(cookies *NSArray[*NSHTTPCookie]) *NSDictionary[*NSString, *NSString]
- func NSKeyedUnarchiverUnarchivedDictionaryWithKeysOfClassObjectsOfClassFromDataError(keyCls objc.Class, valueCls objc.Class, data *NSData) (*NSDictionary[objc.ID, objc.ID], error)
- func NSKeyedUnarchiverUnarchivedDictionaryWithKeysOfClassesObjectsOfClassesFromDataError(keyClasses *NSSet[objc.Class], valueClasses *NSSet[objc.Class], data *NSData) (*NSDictionary[objc.ID, objc.ID], error)
- func NSLocaleComponentsFromLocaleIdentifier(string_ *NSString) *NSDictionary[*NSString, *NSString]
- func NSNetServiceDictionaryFromTXTRecordData(txtData *NSData) *NSDictionary[*NSString, *NSData]
- func NSTimeZoneAbbreviationDictionary() *NSDictionary[*NSString, *NSString]
- func NSURLResourceValuesForKeysFromBookmarkData(keys *NSArray[*NSString], bookmarkData *NSData) *NSDictionary[*NSString, objc.ID]
- func (o *NSDictionary[KeyType, ObjectType]) AllKeys() *NSArray[KeyType]
- func (o *NSDictionary[KeyType, ObjectType]) AllKeysForObject(anObject ObjectType) *NSArray[KeyType]
- func (o *NSDictionary[KeyType, ObjectType]) AllValues() *NSArray[ObjectType]
- func (o *NSDictionary[KeyType, ObjectType]) Count() uint
- func (o *NSDictionary[KeyType, ObjectType]) CountByEnumeratingWithStateObjectsCount(state *NSFastEnumerationState, buffer unsafe.Pointer, len_ uint) uint
- func (o *NSDictionary[KeyType, ObjectType]) DescriptionInStringsFileFormat() *NSString
- func (o *NSDictionary[KeyType, ObjectType]) DescriptionWithLocale(locale objc.ID) *NSString
- func (o *NSDictionary[KeyType, ObjectType]) DescriptionWithLocaleIndent(locale objc.ID, level uint) *NSString
- func (o *NSDictionary[KeyType, ObjectType]) EnumerateKeysAndObjectsUsing(block objc.Block)
- func (o *NSDictionary[KeyType, ObjectType]) EnumerateKeysAndObjectsWithOptionsUsing(opts NSEnumerationOptions, block objc.Block)
- func (o *NSDictionary[KeyType, ObjectType]) FileCreationDate() *NSDate
- func (o *NSDictionary[KeyType, ObjectType]) FileExtensionHidden() bool
- func (o *NSDictionary[KeyType, ObjectType]) FileGroupOwnerAccountID() *NSNumber
- func (o *NSDictionary[KeyType, ObjectType]) FileGroupOwnerAccountName() *NSString
- func (o *NSDictionary[KeyType, ObjectType]) FileHFSCreatorCode() uint
- func (o *NSDictionary[KeyType, ObjectType]) FileHFSTypeCode() uint
- func (o *NSDictionary[KeyType, ObjectType]) FileIsAppendOnly() bool
- func (o *NSDictionary[KeyType, ObjectType]) FileIsImmutable() bool
- func (o *NSDictionary[KeyType, ObjectType]) FileModificationDate() *NSDate
- func (o *NSDictionary[KeyType, ObjectType]) FileOwnerAccountID() *NSNumber
- func (o *NSDictionary[KeyType, ObjectType]) FileOwnerAccountName() *NSString
- func (o *NSDictionary[KeyType, ObjectType]) FilePosixPermissions() uint
- func (o *NSDictionary[KeyType, ObjectType]) FileSize() uint64
- func (o *NSDictionary[KeyType, ObjectType]) FileSystemFileNumber() uint
- func (o *NSDictionary[KeyType, ObjectType]) FileSystemNumber() int
- func (o *NSDictionary[KeyType, ObjectType]) FileType() *NSString
- func (o *NSDictionary[KeyType, ObjectType]) GetObjectsAndKeys(objects unsafe.Pointer, keys unsafe.Pointer)
- func (o *NSDictionary[KeyType, ObjectType]) GetObjectsAndKeysCount(objects unsafe.Pointer, keys unsafe.Pointer, count uint)
- func (o *NSDictionary[KeyType, ObjectType]) Init() *NSDictionary[KeyType, ObjectType]
- func (o *NSDictionary[KeyType, ObjectType]) InitWithCoder(coder *NSCoder) *NSDictionary[KeyType, ObjectType]
- func (o *NSDictionary[KeyType, ObjectType]) InitWithContentsOfFile(path *NSString) *NSDictionary[KeyType, ObjectType]deprecated
- func (o *NSDictionary[KeyType, ObjectType]) InitWithContentsOfURL(url *NSURL) *NSDictionary[KeyType, ObjectType]deprecated
- func (o *NSDictionary[KeyType, ObjectType]) InitWithContentsOfURLError(url *NSURL) (*NSDictionary[*NSString, ObjectType], error)
- func (o *NSDictionary[KeyType, ObjectType]) InitWithDictionary(otherDictionary *NSDictionary[KeyType, ObjectType]) *NSDictionary[KeyType, ObjectType]
- func (o *NSDictionary[KeyType, ObjectType]) InitWithDictionaryCopyItems(otherDictionary *NSDictionary[KeyType, ObjectType], flag bool) *NSDictionary[KeyType, ObjectType]
- func (o *NSDictionary[KeyType, ObjectType]) InitWithObjectsForKeys(objects *NSArray[ObjectType], keys *NSArray[NSCopying]) *NSDictionary[KeyType, ObjectType]
- func (o *NSDictionary[KeyType, ObjectType]) InitWithObjectsForKeysCount(objects unsafe.Pointer, keys NSCopying, cnt uint) *NSDictionary[KeyType, ObjectType]
- func (o *NSDictionary[KeyType, ObjectType]) IsEqualToDictionary(otherDictionary *NSDictionary[KeyType, ObjectType]) bool
- func (o *NSDictionary[KeyType, ObjectType]) KeyEnumerator() *NSEnumerator[KeyType]
- func (o *NSDictionary[KeyType, ObjectType]) KeysOfEntriesPassingTest(predicate objc.Block) *NSSet[KeyType]
- func (o *NSDictionary[KeyType, ObjectType]) KeysOfEntriesWithOptionsPassingTest(opts NSEnumerationOptions, predicate objc.Block) *NSSet[KeyType]
- func (o *NSDictionary[KeyType, ObjectType]) KeysSortedByValueUsingComparator(cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSArray[KeyType]
- func (o *NSDictionary[KeyType, ObjectType]) KeysSortedByValueUsingSelector(comparator objc.SEL) *NSArray[KeyType]
- func (o *NSDictionary[KeyType, ObjectType]) KeysSortedByValueWithOptionsUsingComparator(opts NSSortOptions, cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSArray[KeyType]
- func (o *NSDictionary[KeyType, ObjectType]) ObjectEnumerator() *NSEnumerator[ObjectType]
- func (o *NSDictionary[KeyType, ObjectType]) ObjectForKey(aKey KeyType) ObjectType
- func (o *NSDictionary[KeyType, ObjectType]) ObjectForKeyedSubscript(key KeyType) ObjectType
- func (o *NSDictionary[KeyType, ObjectType]) ObjectsForKeysNotFoundMarker(keys *NSArray[KeyType], marker ObjectType) *NSArray[ObjectType]
- func (o *NSDictionary[KeyType, ObjectType]) WriteToFileAtomically(path *NSString, useAuxiliaryFile bool) booldeprecated
- func (o *NSDictionary[KeyType, ObjectType]) WriteToURLAtomically(url *NSURL, atomically bool) booldeprecated
- func (o *NSDictionary[KeyType, ObjectType]) WriteToURLError(url *NSURL) (bool, error)
- type NSDimension
- type NSDirectoryEnumerationOptions
- type NSDirectoryEnumerator
- func (o *NSDirectoryEnumerator[ObjectType]) DirectoryAttributes() *NSDictionary[*NSString, objc.ID]
- func (o *NSDirectoryEnumerator[ObjectType]) FileAttributes() *NSDictionary[*NSString, objc.ID]
- func (o *NSDirectoryEnumerator[ObjectType]) IsEnumeratingDirectoryPostOrder() bool
- func (o *NSDirectoryEnumerator[ObjectType]) Level() uint
- func (o *NSDirectoryEnumerator[ObjectType]) SkipDescendants()
- func (o *NSDirectoryEnumerator[ObjectType]) SkipDescendents()
- type NSDiscardableContent
- type NSDistantObject
- func NSConnectionRootProxyForConnectionWithRegisteredNameHost(name *NSString, hostName *NSString) *NSDistantObjectdeprecated
- func NSConnectionRootProxyForConnectionWithRegisteredNameHostUsingNameServer(name *NSString, hostName *NSString, server *NSPortNameServer) *NSDistantObject
- func NSDistantObjectFromID(id objc.ID) *NSDistantObject
- func (o *NSDistantObject) ConnectionForProxy() *NSConnection
- func (o *NSDistantObject) InitWithCoder(inCoder *NSCoder) *NSDistantObject
- func (o *NSDistantObject) InitWithLocalConnection(target objc.ID, connection *NSConnection) *NSDistantObject
- func (o *NSDistantObject) InitWithTargetConnection(target objc.ID, connection *NSConnection) *NSDistantObject
- func (o *NSDistantObject) SetProtocolForProxy(proto unsafe.Pointer)
- type NSDistantObjectRequest
- type NSDistributedLock
- type NSDistributedNotificationCenter
- func NSDistributedNotificationCenterDefaultCenter() *NSDistributedNotificationCenter
- func NSDistributedNotificationCenterFromID(id objc.ID) *NSDistributedNotificationCenter
- func NSDistributedNotificationCenterNotificationCenterForType(notificationCenterType *NSString) *NSDistributedNotificationCenter
- func (o *NSDistributedNotificationCenter) AddObserverSelectorNameObjectSuspensionBehavior(observer objc.ID, selector objc.SEL, name *NSString, object *NSString, ...)
- func (o *NSDistributedNotificationCenter) PostNotificationNameObjectUserInfoDeliverImmediately(name *NSString, object *NSString, userInfo *NSDictionary[objc.ID, objc.ID], ...)
- func (o *NSDistributedNotificationCenter) PostNotificationNameObjectUserInfoOptions(name *NSString, object *NSString, userInfo *NSDictionary[objc.ID, objc.ID], ...)
- func (o *NSDistributedNotificationCenter) SetSuspended(suspended bool)
- func (o *NSDistributedNotificationCenter) Suspended() bool
- type NSDistributedNotificationOptions
- type NSEdgeInsets
- type NSEnergyFormatter
- func (o *NSEnergyFormatter) IsForFoodEnergyUse() bool
- func (o *NSEnergyFormatter) NumberFormatter() *NSNumberFormatter
- func (o *NSEnergyFormatter) SetForFoodEnergyUse(forFoodEnergyUse bool)
- func (o *NSEnergyFormatter) SetNumberFormatter(numberFormatter *NSNumberFormatter)
- func (o *NSEnergyFormatter) SetUnitStyle(unitStyle NSFormattingUnitStyle)
- func (o *NSEnergyFormatter) StringFromJoules(numberInJoules float64) *NSString
- func (o *NSEnergyFormatter) StringFromValueUnit(value float64, unit NSEnergyFormatterUnit) *NSString
- func (o *NSEnergyFormatter) UnitStringFromJoulesUsedUnit(numberInJoules float64, unitp *NSEnergyFormatterUnit) *NSString
- func (o *NSEnergyFormatter) UnitStringFromValueUnit(value float64, unit NSEnergyFormatterUnit) *NSString
- func (o *NSEnergyFormatter) UnitStyle() NSFormattingUnitStyle
- type NSEnergyFormatterUnit
- type NSEnumerationOptions
- type NSEnumerator
- type NSError
- func (o *NSError) Code() int
- func (o *NSError) Domain() *NSString
- func (o *NSError) HelpAnchor() *NSString
- func (o *NSError) InitWithDomainCodeUserInfo(domain *NSString, code int, dict *NSDictionary[*NSString, objc.ID]) *NSError
- func (o *NSError) LocalizedDescription() *NSString
- func (o *NSError) LocalizedFailureReason() *NSString
- func (o *NSError) LocalizedRecoveryOptions() *NSArray[*NSString]
- func (o *NSError) LocalizedRecoverySuggestion() *NSString
- func (o *NSError) RecoveryAttempter() objc.ID
- func (o *NSError) UnderlyingErrors() *NSArray[objc.ID]
- func (o *NSError) UserInfo() *NSDictionary[*NSString, objc.ID]
- type NSException
- func (o *NSException) CallStackReturnAddresses() *NSArray[*NSNumber]
- func (o *NSException) CallStackSymbols() *NSArray[*NSString]
- func (o *NSException) InitWithNameReasonUserInfo(aName *NSString, aReason *NSString, aUserInfo *NSDictionary[objc.ID, objc.ID]) *NSException
- func (o *NSException) Name() *NSString
- func (o *NSException) Raise()
- func (o *NSException) Reason() *NSString
- func (o *NSException) UserInfo() *NSDictionary[objc.ID, objc.ID]
- type NSExpression
- func NSExpressionExpressionForAggregate(subexpressions *NSArray[*NSExpression]) *NSExpression
- func NSExpressionExpressionForAnyKey() *NSExpression
- func NSExpressionExpressionForBlockArguments(block objc.Block, arguments *NSArray[*NSExpression]) *NSExpression
- func NSExpressionExpressionForConditionalTrueExpressionFalseExpression(predicate *NSPredicate, trueExpression *NSExpression, ...) *NSExpression
- func NSExpressionExpressionForConstantValue(obj objc.ID) *NSExpression
- func NSExpressionExpressionForEvaluatedObject() *NSExpression
- func NSExpressionExpressionForFunctionArguments(name *NSString, parameters *NSArray[objc.ID]) *NSExpression
- func NSExpressionExpressionForFunctionSelectorNameArguments(target *NSExpression, name *NSString, parameters *NSArray[objc.ID]) *NSExpression
- func NSExpressionExpressionForIntersectSetWith(left *NSExpression, right *NSExpression) *NSExpression
- func NSExpressionExpressionForKeyPath(keyPath *NSString) *NSExpression
- func NSExpressionExpressionForMinusSetWith(left *NSExpression, right *NSExpression) *NSExpression
- func NSExpressionExpressionForSubqueryUsingIteratorVariablePredicate(expression *NSExpression, variable *NSString, predicate *NSPredicate) *NSExpression
- func NSExpressionExpressionForUnionSetWith(left *NSExpression, right *NSExpression) *NSExpression
- func NSExpressionExpressionForVariable(string_ *NSString) *NSExpression
- func NSExpressionExpressionWithFormat(expressionFormat *NSString) *NSExpression
- func NSExpressionExpressionWithFormatArgumentArray(expressionFormat *NSString, arguments *NSArray[objc.ID]) *NSExpression
- func NSExpressionExpressionWithFormatArguments(expressionFormat *NSString, argList string) *NSExpression
- func NSExpressionFromID(id objc.ID) *NSExpression
- func (o *NSExpression) AllowEvaluation()
- func (o *NSExpression) Arguments() *NSArray[*NSExpression]
- func (o *NSExpression) Collection() objc.ID
- func (o *NSExpression) ConstantValue() objc.ID
- func (o *NSExpression) ExpressionBlock() objc.Block
- func (o *NSExpression) ExpressionType() NSExpressionType
- func (o *NSExpression) ExpressionValueWithObjectContext(object objc.ID, context_ *NSMutableDictionary[objc.ID, objc.ID]) objc.ID
- func (o *NSExpression) FalseExpression() *NSExpression
- func (o *NSExpression) Function() *NSString
- func (o *NSExpression) InitWithCoder(coder *NSCoder) *NSExpression
- func (o *NSExpression) InitWithExpressionType(type_ NSExpressionType) *NSExpression
- func (o *NSExpression) KeyPath() *NSString
- func (o *NSExpression) LeftExpression() *NSExpression
- func (o *NSExpression) Operand() *NSExpression
- func (o *NSExpression) Predicate() *NSPredicate
- func (o *NSExpression) RightExpression() *NSExpression
- func (o *NSExpression) TrueExpression() *NSExpression
- func (o *NSExpression) Variable() *NSString
- type NSExpressionType
- type NSExtensionContext
- func (o *NSExtensionContext) CancelRequestWithError(error_ unsafe.Pointer)
- func (o *NSExtensionContext) CompleteRequestReturningItemsCompletionHandler(items *NSArray[objc.ID], completionHandler func(bool))
- func (o *NSExtensionContext) InputItems() *NSArray[objc.ID]
- func (o *NSExtensionContext) OpenURLCompletionHandler(uRL *NSURL, completionHandler func(bool))
- type NSExtensionItem
- func (o *NSExtensionItem) Attachments() *NSArray[*NSItemProvider]
- func (o *NSExtensionItem) AttributedContentText() *NSAttributedString
- func (o *NSExtensionItem) AttributedTitle() *NSAttributedString
- func (o *NSExtensionItem) SetAttachments(attachments *NSArray[*NSItemProvider])
- func (o *NSExtensionItem) SetAttributedContentText(attributedContentText *NSAttributedString)
- func (o *NSExtensionItem) SetAttributedTitle(attributedTitle *NSAttributedString)
- func (o *NSExtensionItem) SetUserInfo(userInfo *NSDictionary[objc.ID, objc.ID])
- func (o *NSExtensionItem) UserInfo() *NSDictionary[objc.ID, objc.ID]
- type NSExtensionRequestHandling
- type NSFastEnumeration
- type NSFastEnumerationState
- type NSFileAccessIntent
- func NSFileAccessIntentFromID(id objc.ID) *NSFileAccessIntent
- func NSFileAccessIntentReadingIntentWithURLOptions(url *NSURL, options NSFileCoordinatorReadingOptions) *NSFileAccessIntent
- func NSFileAccessIntentWritingIntentWithURLOptions(url *NSURL, options NSFileCoordinatorWritingOptions) *NSFileAccessIntent
- type NSFileCoordinator
- func (o *NSFileCoordinator) Cancel()
- func (o *NSFileCoordinator) CoordinateAccessWithIntentsQueueByAccessor(intents *NSArray[*NSFileAccessIntent], queue *NSOperationQueue, ...)
- func (o *NSFileCoordinator) CoordinateReadingItemAtURLOptionsErrorByAccessor(url *NSURL, options NSFileCoordinatorReadingOptions, outError unsafe.Pointer, ...)
- func (o *NSFileCoordinator) CoordinateReadingItemAtURLOptionsWritingItemAtURLOptionsErrorByAccessor(readingURL *NSURL, readingOptions NSFileCoordinatorReadingOptions, ...)
- func (o *NSFileCoordinator) CoordinateWritingItemAtURLOptionsErrorByAccessor(url *NSURL, options NSFileCoordinatorWritingOptions, outError unsafe.Pointer, ...)
- func (o *NSFileCoordinator) CoordinateWritingItemAtURLOptionsWritingItemAtURLOptionsErrorByAccessor(url1 *NSURL, options1 NSFileCoordinatorWritingOptions, url2 *NSURL, ...)
- func (o *NSFileCoordinator) InitWithFilePresenter(filePresenterOrNil NSFilePresenter) *NSFileCoordinator
- func (o *NSFileCoordinator) ItemAtURLDidChangeUbiquityAttributes(url *NSURL, attributes *NSSet[*NSString])
- func (o *NSFileCoordinator) ItemAtURLDidMoveToURL(oldURL *NSURL, newURL *NSURL)
- func (o *NSFileCoordinator) ItemAtURLWillMoveToURL(oldURL *NSURL, newURL *NSURL)
- func (o *NSFileCoordinator) PrepareForReadingItemsAtURLsOptionsWritingItemsAtURLsOptionsErrorByAccessor(readingURLs *NSArray[*NSURL], readingOptions NSFileCoordinatorReadingOptions, ...)
- func (o *NSFileCoordinator) PurposeIdentifier() *NSString
- func (o *NSFileCoordinator) SetPurposeIdentifier(purposeIdentifier *NSString)
- type NSFileCoordinatorReadingOptions
- type NSFileCoordinatorWritingOptions
- type NSFileHandle
- func NSFileHandleFileHandleForReadingAtPath(path *NSString) *NSFileHandle
- func NSFileHandleFileHandleForReadingFromURLError(url *NSURL) (*NSFileHandle, error)
- func NSFileHandleFileHandleForUpdatingAtPath(path *NSString) *NSFileHandle
- func NSFileHandleFileHandleForUpdatingURLError(url *NSURL) (*NSFileHandle, error)
- func NSFileHandleFileHandleForWritingAtPath(path *NSString) *NSFileHandle
- func NSFileHandleFileHandleForWritingToURLError(url *NSURL) (*NSFileHandle, error)
- func NSFileHandleFileHandleWithNullDevice() *NSFileHandle
- func NSFileHandleFileHandleWithStandardError() *NSFileHandle
- func NSFileHandleFileHandleWithStandardInput() *NSFileHandle
- func NSFileHandleFileHandleWithStandardOutput() *NSFileHandle
- func NSFileHandleFromID(id objc.ID) *NSFileHandle
- func (o *NSFileHandle) AcceptConnectionInBackgroundAndNotify()
- func (o *NSFileHandle) AcceptConnectionInBackgroundAndNotifyForModes(modes *NSArray[*NSString])
- func (o *NSFileHandle) AvailableData() *NSData
- func (o *NSFileHandle) CloseAndReturnError() (bool, error)
- func (o *NSFileHandle) CloseFile()
- func (o *NSFileHandle) FileDescriptor() int
- func (o *NSFileHandle) GetOffsetError(offsetInFile *uint64) (bool, error)
- func (o *NSFileHandle) InitWithCoder(coder *NSCoder) *NSFileHandle
- func (o *NSFileHandle) InitWithFileDescriptor(fd int) *NSFileHandle
- func (o *NSFileHandle) InitWithFileDescriptorCloseOnDealloc(fd int, closeopt bool) *NSFileHandle
- func (o *NSFileHandle) OffsetInFile() uint64
- func (o *NSFileHandle) ReadDataOfLength(length uint) *NSData
- func (o *NSFileHandle) ReadDataToEndOfFile() *NSData
- func (o *NSFileHandle) ReadDataToEndOfFileAndReturnError() (*NSData, error)
- func (o *NSFileHandle) ReadDataUpToLengthError(length uint) (*NSData, error)
- func (o *NSFileHandle) ReadInBackgroundAndNotify()
- func (o *NSFileHandle) ReadInBackgroundAndNotifyForModes(modes *NSArray[*NSString])deprecated
- func (o *NSFileHandle) ReadToEndOfFileInBackgroundAndNotify()
- func (o *NSFileHandle) ReadToEndOfFileInBackgroundAndNotifyForModes(modes *NSArray[*NSString])
- func (o *NSFileHandle) ReadabilityHandler() objc.Block
- func (o *NSFileHandle) SeekToEndOfFile() uint64
- func (o *NSFileHandle) SeekToEndReturningOffsetError(offsetInFile *uint64) (bool, error)
- func (o *NSFileHandle) SeekToFileOffset(offset uint64)
- func (o *NSFileHandle) SeekToOffsetError(offset uint64) (bool, error)
- func (o *NSFileHandle) SetReadabilityHandler(readabilityHandler func(*NSFileHandle))
- func (o *NSFileHandle) SetWriteabilityHandler(writeabilityHandler func(*NSFileHandle))
- func (o *NSFileHandle) SynchronizeAndReturnError() (bool, error)
- func (o *NSFileHandle) SynchronizeFile()
- func (o *NSFileHandle) TruncateAtOffsetError(offset uint64) (bool, error)
- func (o *NSFileHandle) TruncateFileAtOffset(offset uint64)
- func (o *NSFileHandle) WaitForDataInBackgroundAndNotify()
- func (o *NSFileHandle) WaitForDataInBackgroundAndNotifyForModes(modes *NSArray[*NSString])
- func (o *NSFileHandle) WriteData(data *NSData)
- func (o *NSFileHandle) WriteDataError(data *NSData) (bool, error)
- func (o *NSFileHandle) WriteabilityHandler() objc.Block
- type NSFileManager
- func (o *NSFileManager) AttributesOfFileSystemForPathError(path *NSString) (*NSDictionary[*NSString, objc.ID], error)
- func (o *NSFileManager) AttributesOfItemAtPathError(path *NSString) (*NSDictionary[*NSString, objc.ID], error)
- func (o *NSFileManager) ChangeCurrentDirectoryPath(path *NSString) bool
- func (o *NSFileManager) ChangeFileAttributesAtPath(attributes *NSDictionary[objc.ID, objc.ID], path *NSString) booldeprecated
- func (o *NSFileManager) ComponentsToDisplayForPath(path *NSString) *NSArray[*NSString]
- func (o *NSFileManager) ContainerURLForSecurityApplicationGroupIdentifier(groupIdentifier *NSString) *NSURL
- func (o *NSFileManager) ContentsAtPath(path *NSString) *NSData
- func (o *NSFileManager) ContentsEqualAtPathAndPath(path1 *NSString, path2 *NSString) bool
- func (o *NSFileManager) ContentsOfDirectoryAtPathError(path *NSString) (*NSArray[*NSString], error)
- func (o *NSFileManager) ContentsOfDirectoryAtURLIncludingPropertiesForKeysOptionsError(url *NSURL, keys *NSArray[*NSString], mask NSDirectoryEnumerationOptions) (*NSArray[*NSURL], error)
- func (o *NSFileManager) CopyItemAtPathToPathError(srcPath *NSString, dstPath *NSString) (bool, error)
- func (o *NSFileManager) CopyItemAtURLToURLError(srcURL *NSURL, dstURL *NSURL) (bool, error)
- func (o *NSFileManager) CopyPathToPathHandler(src *NSString, dest *NSString, handler objc.ID) booldeprecated
- func (o *NSFileManager) CreateDirectoryAtPathAttributes(path *NSString, attributes *NSDictionary[objc.ID, objc.ID]) booldeprecated
- func (o *NSFileManager) CreateDirectoryAtPathWithIntermediateDirectoriesAttributesError(path *NSString, createIntermediates bool, ...) (bool, error)
- func (o *NSFileManager) CreateDirectoryAtURLWithIntermediateDirectoriesAttributesError(url *NSURL, createIntermediates bool, ...) (bool, error)
- func (o *NSFileManager) CreateFileAtPathContentsAttributes(path *NSString, data *NSData, attr *NSDictionary[*NSString, objc.ID]) bool
- func (o *NSFileManager) CreateSymbolicLinkAtPathPathContent(path *NSString, otherpath *NSString) booldeprecated
- func (o *NSFileManager) CreateSymbolicLinkAtPathWithDestinationPathError(path *NSString, destPath *NSString) (bool, error)
- func (o *NSFileManager) CreateSymbolicLinkAtURLWithDestinationURLError(url *NSURL, destURL *NSURL) (bool, error)
- func (o *NSFileManager) CurrentDirectoryPath() *NSString
- func (o *NSFileManager) Delegate() NSFileManagerDelegate
- func (o *NSFileManager) DestinationOfSymbolicLinkAtPathError(path *NSString) (*NSString, error)
- func (o *NSFileManager) DirectoryContentsAtPath(path *NSString) *NSArray[objc.ID]deprecated
- func (o *NSFileManager) DisplayNameAtPath(path *NSString) *NSString
- func (o *NSFileManager) EnumeratorAtPath(path *NSString) *NSDirectoryEnumerator[*NSString]
- func (o *NSFileManager) EnumeratorAtURLIncludingPropertiesForKeysOptionsErrorHandler(url *NSURL, keys *NSArray[*NSString], mask NSDirectoryEnumerationOptions, ...) *NSDirectoryEnumerator[*NSURL]
- func (o *NSFileManager) EvictUbiquitousItemAtURLError(url *NSURL) (bool, error)
- func (o *NSFileManager) FetchLatestRemoteVersionOfItemAtURLCompletionHandler(url *NSURL, completionHandler func(*NSFileVersion, unsafe.Pointer))
- func (o *NSFileManager) FileAttributesAtPathTraverseLink(path *NSString, yorn bool) *NSDictionary[objc.ID, objc.ID]deprecated
- func (o *NSFileManager) FileExistsAtPath(path *NSString) bool
- func (o *NSFileManager) FileExistsAtPathIsDirectory(path *NSString, isDirectory *bool) bool
- func (o *NSFileManager) FileSystemAttributesAtPath(path *NSString) *NSDictionary[objc.ID, objc.ID]deprecated
- func (o *NSFileManager) FileSystemRepresentationWithPath(path *NSString) string
- func (o *NSFileManager) GetFileProviderServicesForItemAtURLCompletionHandler(url *NSURL, ...)
- func (o *NSFileManager) GetRelationshipOfDirectoryAtURLToItemAtURLError(outRelationship *NSURLRelationship, directoryURL *NSURL, otherURL *NSURL) (bool, error)
- func (o *NSFileManager) GetRelationshipOfDirectoryInDomainToItemAtURLError(outRelationship *NSURLRelationship, directory NSSearchPathDirectory, ...) (bool, error)
- func (o *NSFileManager) HomeDirectoryForCurrentUser() *NSURL
- func (o *NSFileManager) HomeDirectoryForUser(userName *NSString) *NSURL
- func (o *NSFileManager) IsDeletableFileAtPath(path *NSString) bool
- func (o *NSFileManager) IsExecutableFileAtPath(path *NSString) bool
- func (o *NSFileManager) IsReadableFileAtPath(path *NSString) bool
- func (o *NSFileManager) IsUbiquitousItemAtURL(url *NSURL) bool
- func (o *NSFileManager) IsWritableFileAtPath(path *NSString) bool
- func (o *NSFileManager) LinkItemAtPathToPathError(srcPath *NSString, dstPath *NSString) (bool, error)
- func (o *NSFileManager) LinkItemAtURLToURLError(srcURL *NSURL, dstURL *NSURL) (bool, error)
- func (o *NSFileManager) LinkPathToPathHandler(src *NSString, dest *NSString, handler objc.ID) booldeprecated
- func (o *NSFileManager) MountedVolumeURLsIncludingResourceValuesForKeysOptions(propertyKeys *NSArray[*NSString], options NSVolumeEnumerationOptions) *NSArray[*NSURL]
- func (o *NSFileManager) MoveItemAtPathToPathError(srcPath *NSString, dstPath *NSString) (bool, error)
- func (o *NSFileManager) MoveItemAtURLToURLError(srcURL *NSURL, dstURL *NSURL) (bool, error)
- func (o *NSFileManager) MovePathToPathHandler(src *NSString, dest *NSString, handler objc.ID) booldeprecated
- func (o *NSFileManager) PathContentOfSymbolicLinkAtPath(path *NSString) *NSStringdeprecated
- func (o *NSFileManager) PauseSyncForUbiquitousItemAtURLCompletionHandler(url *NSURL, completionHandler func(unsafe.Pointer))
- func (o *NSFileManager) RemoveFileAtPathHandler(path *NSString, handler objc.ID) booldeprecated
- func (o *NSFileManager) RemoveItemAtPathError(path *NSString) (bool, error)
- func (o *NSFileManager) RemoveItemAtURLError(uRL *NSURL) (bool, error)
- func (o *NSFileManager) ReplaceItemAtURLWithItemAtURLBackupItemNameOptionsResultingItemURLError(originalItemURL *NSURL, newItemURL *NSURL, backupItemName *NSString, ...) (bool, error)
- func (o *NSFileManager) ResumeSyncForUbiquitousItemAtURLWithBehaviorCompletionHandler(url *NSURL, behavior NSFileManagerResumeSyncBehavior, ...)
- func (o *NSFileManager) SetAttributesOfItemAtPathError(attributes *NSDictionary[*NSString, objc.ID], path *NSString) (bool, error)
- func (o *NSFileManager) SetDelegate(delegate NSFileManagerDelegate)
- func (o *NSFileManager) SetUbiquitousItemAtURLDestinationURLError(flag bool, url *NSURL, destinationURL *NSURL) (bool, error)
- func (o *NSFileManager) StartDownloadingUbiquitousItemAtURLError(url *NSURL) (bool, error)
- func (o *NSFileManager) StringWithFileSystemRepresentationLength(str string, len_ uint) *NSString
- func (o *NSFileManager) SubpathsAtPath(path *NSString) *NSArray[*NSString]
- func (o *NSFileManager) SubpathsOfDirectoryAtPathError(path *NSString) (*NSArray[*NSString], error)
- func (o *NSFileManager) TemporaryDirectory() *NSURL
- func (o *NSFileManager) TrashItemAtURLResultingItemURLError(url *NSURL, outResultingURL *NSURL) (bool, error)
- func (o *NSFileManager) URLForDirectoryInDomainAppropriateForURLCreateError(directory NSSearchPathDirectory, domain NSSearchPathDomainMask, url *NSURL, ...) (*NSURL, error)
- func (o *NSFileManager) URLForPublishingUbiquitousItemAtURLExpirationDateError(url *NSURL, outDate *NSDate) (*NSURL, error)
- func (o *NSFileManager) URLForUbiquityContainerIdentifier(containerIdentifier *NSString) *NSURL
- func (o *NSFileManager) URLsForDirectoryInDomains(directory NSSearchPathDirectory, domainMask NSSearchPathDomainMask) *NSArray[*NSURL]
- func (o *NSFileManager) UbiquityIdentityToken() objc.ID
- func (o *NSFileManager) UnmountVolumeAtURLOptionsCompletionHandler(url *NSURL, mask NSFileManagerUnmountOptions, ...)
- func (o *NSFileManager) UploadLocalVersionOfUbiquitousItemAtURLWithConflictResolutionPolicyCompletionHandler(url *NSURL, ...)
- type NSFileManagerDelegate
- type NSFileManagerItemReplacementOptions
- type NSFileManagerResumeSyncBehavior
- type NSFileManagerSupportedSyncControls
- type NSFileManagerUnmountOptions
- type NSFileManagerUploadLocalVersionConflictPolicy
- type NSFilePresenter
- type NSFileProviderService
- type NSFileSecurity
- type NSFileVersion
- func NSFileVersionAddVersionOfItemAtURLWithContentsOfURLOptionsError(url *NSURL, contentsURL *NSURL, options NSFileVersionAddingOptions) (*NSFileVersion, error)
- func NSFileVersionCurrentVersionOfItemAtURL(url *NSURL) *NSFileVersion
- func NSFileVersionFromID(id objc.ID) *NSFileVersion
- func NSFileVersionVersionOfItemAtURLForPersistentIdentifier(url *NSURL, persistentIdentifier objc.ID) *NSFileVersion
- func (o *NSFileVersion) HasLocalContents() bool
- func (o *NSFileVersion) HasThumbnail() bool
- func (o *NSFileVersion) IsConflict() bool
- func (o *NSFileVersion) IsDiscardable() bool
- func (o *NSFileVersion) IsResolved() bool
- func (o *NSFileVersion) LocalizedName() *NSString
- func (o *NSFileVersion) LocalizedNameOfSavingComputer() *NSString
- func (o *NSFileVersion) ModificationDate() *NSDate
- func (o *NSFileVersion) OriginatorNameComponents() *NSPersonNameComponents
- func (o *NSFileVersion) PersistentIdentifier() NSCoding
- func (o *NSFileVersion) RemoveAndReturnError() (bool, error)
- func (o *NSFileVersion) ReplaceItemAtURLOptionsError(url *NSURL, options NSFileVersionReplacingOptions) (*NSURL, error)
- func (o *NSFileVersion) SetDiscardable(discardable bool)
- func (o *NSFileVersion) SetResolved(resolved bool)
- func (o *NSFileVersion) URL() *NSURL
- type NSFileVersionAddingOptions
- type NSFileVersionReplacingOptions
- type NSFileWrapper
- func (o *NSFileWrapper) AddFileWithPath(path *NSString) *NSStringdeprecated
- func (o *NSFileWrapper) AddFileWrapper(child *NSFileWrapper) *NSString
- func (o *NSFileWrapper) AddRegularFileWithContentsPreferredFilename(data *NSData, fileName *NSString) *NSString
- func (o *NSFileWrapper) AddSymbolicLinkWithDestinationPreferredFilename(path *NSString, filename *NSString) *NSStringdeprecated
- func (o *NSFileWrapper) FileAttributes() *NSDictionary[*NSString, objc.ID]
- func (o *NSFileWrapper) FileWrappers() *NSDictionary[*NSString, *NSFileWrapper]
- func (o *NSFileWrapper) Filename() *NSString
- func (o *NSFileWrapper) InitDirectoryWithFileWrappers(childrenByPreferredName *NSDictionary[*NSString, *NSFileWrapper]) *NSFileWrapper
- func (o *NSFileWrapper) InitRegularFileWithContents(contents *NSData) *NSFileWrapper
- func (o *NSFileWrapper) InitSymbolicLinkWithDestination(path *NSString) objc.IDdeprecated
- func (o *NSFileWrapper) InitSymbolicLinkWithDestinationURL(url *NSURL) *NSFileWrapper
- func (o *NSFileWrapper) InitWithCoder(inCoder *NSCoder) *NSFileWrapper
- func (o *NSFileWrapper) InitWithPath(path *NSString) objc.IDdeprecated
- func (o *NSFileWrapper) InitWithSerializedRepresentation(serializeRepresentation *NSData) *NSFileWrapper
- func (o *NSFileWrapper) InitWithURLOptionsError(url *NSURL, options NSFileWrapperReadingOptions) (*NSFileWrapper, error)
- func (o *NSFileWrapper) IsDirectory() bool
- func (o *NSFileWrapper) IsRegularFile() bool
- func (o *NSFileWrapper) IsSymbolicLink() bool
- func (o *NSFileWrapper) KeyForFileWrapper(child *NSFileWrapper) *NSString
- func (o *NSFileWrapper) MatchesContentsOfURL(url *NSURL) bool
- func (o *NSFileWrapper) NeedsToBeUpdatedFromPath(path *NSString) booldeprecated
- func (o *NSFileWrapper) PreferredFilename() *NSString
- func (o *NSFileWrapper) ReadFromURLOptionsError(url *NSURL, options NSFileWrapperReadingOptions) (bool, error)
- func (o *NSFileWrapper) RegularFileContents() *NSData
- func (o *NSFileWrapper) RemoveFileWrapper(child *NSFileWrapper)
- func (o *NSFileWrapper) SerializedRepresentation() *NSData
- func (o *NSFileWrapper) SetFileAttributes(fileAttributes *NSDictionary[*NSString, objc.ID])
- func (o *NSFileWrapper) SetFilename(filename *NSString)
- func (o *NSFileWrapper) SetPreferredFilename(preferredFilename *NSString)
- func (o *NSFileWrapper) SymbolicLinkDestination() *NSStringdeprecated
- func (o *NSFileWrapper) SymbolicLinkDestinationURL() *NSURL
- func (o *NSFileWrapper) UpdateFromPath(path *NSString) booldeprecated
- func (o *NSFileWrapper) WriteToFileAtomicallyUpdateFilenames(path *NSString, atomicFlag bool, updateFilenamesFlag bool) booldeprecated
- func (o *NSFileWrapper) WriteToURLOptionsOriginalContentsURLError(url *NSURL, options NSFileWrapperWritingOptions, originalContentsURL *NSURL) (bool, error)
- type NSFileWrapperReadingOptions
- type NSFileWrapperWritingOptions
- type NSFormatter
- func (o *NSFormatter) AttributedStringForObjectValueWithDefaultAttributes(obj objc.ID, attrs *NSDictionary[*NSString, objc.ID]) *NSAttributedString
- func (o *NSFormatter) EditingStringForObjectValue(obj objc.ID) *NSString
- func (o *NSFormatter) GetObjectValueForStringErrorDescription(obj **ObjcObject, string_ *NSString, error_ *NSString) bool
- func (o *NSFormatter) IsPartialStringValidNewEditingStringErrorDescription(partialString *NSString, newString *NSString, error_ *NSString) bool
- func (o *NSFormatter) IsPartialStringValidProposedSelectedRangeOriginalStringOriginalSelectedRangeErrorDescription(partialStringPtr *NSString, proposedSelRangePtr *NSRange, origString *NSString, ...) bool
- func (o *NSFormatter) StringForObjectValue(obj objc.ID) *NSString
- type NSFormattingContext
- type NSFormattingUnitStyle
- type NSGarbageCollector
- func (o *NSGarbageCollector) CollectExhaustively()
- func (o *NSGarbageCollector) CollectIfNeeded()
- func (o *NSGarbageCollector) Disable()deprecated
- func (o *NSGarbageCollector) DisableCollectorForPointer(ptr unsafe.Pointer)
- func (o *NSGarbageCollector) Enable()deprecated
- func (o *NSGarbageCollector) EnableCollectorForPointer(ptr unsafe.Pointer)
- func (o *NSGarbageCollector) IsCollecting() booldeprecated
- func (o *NSGarbageCollector) IsEnabled() booldeprecated
- func (o *NSGarbageCollector) Zone() unsafe.Pointer
- type NSGrammaticalCase
- type NSGrammaticalDefiniteness
- type NSGrammaticalDetermination
- type NSGrammaticalGender
- type NSGrammaticalNumber
- type NSGrammaticalPartOfSpeech
- type NSGrammaticalPerson
- type NSGrammaticalPronounType
- type NSHTTPCookie
- func (o *NSHTTPCookie) Comment() *NSString
- func (o *NSHTTPCookie) CommentURL() *NSURL
- func (o *NSHTTPCookie) Domain() *NSString
- func (o *NSHTTPCookie) ExpiresDate() *NSDate
- func (o *NSHTTPCookie) InitWithProperties(properties *NSDictionary[*NSString, objc.ID]) *NSHTTPCookie
- func (o *NSHTTPCookie) IsHTTPOnly() bool
- func (o *NSHTTPCookie) IsSecure() bool
- func (o *NSHTTPCookie) IsSessionOnly() bool
- func (o *NSHTTPCookie) Name() *NSString
- func (o *NSHTTPCookie) Path() *NSString
- func (o *NSHTTPCookie) PortList() *NSArray[*NSNumber]
- func (o *NSHTTPCookie) Properties() *NSDictionary[*NSString, objc.ID]
- func (o *NSHTTPCookie) SameSitePolicy() *NSString
- func (o *NSHTTPCookie) Value() *NSString
- type NSHTTPCookieAcceptPolicy
- type NSHTTPCookieStorage
- func (o *NSHTTPCookieStorage) CookieAcceptPolicy() NSHTTPCookieAcceptPolicy
- func (o *NSHTTPCookieStorage) Cookies() *NSArray[*NSHTTPCookie]
- func (o *NSHTTPCookieStorage) CookiesForURL(uRL *NSURL) *NSArray[*NSHTTPCookie]
- func (o *NSHTTPCookieStorage) DeleteCookie(cookie *NSHTTPCookie)
- func (o *NSHTTPCookieStorage) GetCookiesForTaskCompletionHandler(task *NSURLSessionTask, completionHandler func(*NSArray[*NSHTTPCookie]))
- func (o *NSHTTPCookieStorage) RemoveCookiesSinceDate(date *NSDate)
- func (o *NSHTTPCookieStorage) SetCookie(cookie *NSHTTPCookie)
- func (o *NSHTTPCookieStorage) SetCookieAcceptPolicy(cookieAcceptPolicy NSHTTPCookieAcceptPolicy)
- func (o *NSHTTPCookieStorage) SetCookiesForURLMainDocumentURL(cookies *NSArray[*NSHTTPCookie], uRL *NSURL, mainDocumentURL *NSURL)
- func (o *NSHTTPCookieStorage) SortedCookiesUsingDescriptors(sortOrder *NSArray[*NSSortDescriptor]) *NSArray[*NSHTTPCookie]
- func (o *NSHTTPCookieStorage) StoreCookiesForTask(cookies *NSArray[*NSHTTPCookie], task *NSURLSessionTask)
- type NSHTTPURLResponse
- func (o *NSHTTPURLResponse) AllHeaderFields() *NSDictionary[objc.ID, objc.ID]
- func (o *NSHTTPURLResponse) InitWithURLStatusCodeHTTPVersionHeaderFields(url *NSURL, statusCode int, hTTPVersion *NSString, ...) *NSHTTPURLResponse
- func (o *NSHTTPURLResponse) StatusCode() int
- func (o *NSHTTPURLResponse) ValueForHTTPHeaderField(field *NSString) *NSString
- type NSHashEnumerator
- type NSHashTable
- func NSCopyHashTableWithZone(table *NSHashTable[objc.ID], zone unsafe.Pointer) *NSHashTable[objc.ID]
- func NSCreateHashTable(callBacks NSHashTableCallBacks, capacity uint) *NSHashTable[objc.ID]
- func NSCreateHashTableWithZone(callBacks NSHashTableCallBacks, capacity uint, zone unsafe.Pointer) *NSHashTable[objc.ID]
- func NSHashTableFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSHashTable[ObjectType]
- func NSHashTableHashTableWithOptions(options NSPointerFunctionsOptions) *NSHashTable[objc.ID]
- func NSHashTableWeakObjectsHashTable() *NSHashTable[objc.ID]
- func (o *NSHashTable[ObjectType]) AddObject(object ObjectType)
- func (o *NSHashTable[ObjectType]) AllObjects() *NSArray[ObjectType]
- func (o *NSHashTable[ObjectType]) AnyObject() ObjectType
- func (o *NSHashTable[ObjectType]) ContainsObject(anObject ObjectType) bool
- func (o *NSHashTable[ObjectType]) Count() uint
- func (o *NSHashTable[ObjectType]) InitWithOptionsCapacity(options NSPointerFunctionsOptions, initialCapacity uint) *NSHashTable[ObjectType]
- func (o *NSHashTable[ObjectType]) InitWithPointerFunctionsCapacity(functions *NSPointerFunctions, initialCapacity uint) *NSHashTable[ObjectType]
- func (o *NSHashTable[ObjectType]) IntersectHashTable(other *NSHashTable[ObjectType])
- func (o *NSHashTable[ObjectType]) IntersectsHashTable(other *NSHashTable[ObjectType]) bool
- func (o *NSHashTable[ObjectType]) IsEqualToHashTable(other *NSHashTable[ObjectType]) bool
- func (o *NSHashTable[ObjectType]) IsSubsetOfHashTable(other *NSHashTable[ObjectType]) bool
- func (o *NSHashTable[ObjectType]) Member(object ObjectType) ObjectType
- func (o *NSHashTable[ObjectType]) MinusHashTable(other *NSHashTable[ObjectType])
- func (o *NSHashTable[ObjectType]) ObjectEnumerator() *NSEnumerator[ObjectType]
- func (o *NSHashTable[ObjectType]) PointerFunctions() *NSPointerFunctions
- func (o *NSHashTable[ObjectType]) RemoveAllObjects()
- func (o *NSHashTable[ObjectType]) RemoveObject(object ObjectType)
- func (o *NSHashTable[ObjectType]) SetRepresentation() *NSSet[ObjectType]
- func (o *NSHashTable[ObjectType]) UnionHashTable(other *NSHashTable[ObjectType])
- type NSHashTableCallBacks
- func NSIntHashCallBacks() NSHashTableCallBacksdeprecated
- func NSIntegerHashCallBacks() NSHashTableCallBacks
- func NSNonOwnedPointerHashCallBacks() NSHashTableCallBacks
- func NSNonRetainedObjectHashCallBacks() NSHashTableCallBacks
- func NSObjectHashCallBacks() NSHashTableCallBacks
- func NSOwnedObjectIdentityHashCallBacks() NSHashTableCallBacks
- func NSOwnedPointerHashCallBacks() NSHashTableCallBacks
- func NSPointerToStructHashCallBacks() NSHashTableCallBacks
- type NSHost
- type NSISO8601DateFormatOptions
- type NSISO8601DateFormatter
- func (o *NSISO8601DateFormatter) DateFromString(string_ *NSString) *NSDate
- func (o *NSISO8601DateFormatter) FormatOptions() NSISO8601DateFormatOptions
- func (o *NSISO8601DateFormatter) Init() *NSISO8601DateFormatter
- func (o *NSISO8601DateFormatter) SetFormatOptions(formatOptions NSISO8601DateFormatOptions)
- func (o *NSISO8601DateFormatter) SetTimeZone(timeZone *NSTimeZone)
- func (o *NSISO8601DateFormatter) StringFromDate(date *NSDate) *NSString
- func (o *NSISO8601DateFormatter) TimeZone() *NSTimeZone
- type NSIndexPath
- func (o *NSIndexPath) Compare(otherObject *NSIndexPath) NSComparisonResult
- func (o *NSIndexPath) GetIndexes(indexes *uint)
- func (o *NSIndexPath) GetIndexesRange(indexes *uint, positionRange NSRange)
- func (o *NSIndexPath) IndexAtPosition(position uint) uint
- func (o *NSIndexPath) IndexPathByAddingIndex(index uint) *NSIndexPath
- func (o *NSIndexPath) IndexPathByRemovingLastIndex() *NSIndexPath
- func (o *NSIndexPath) InitWithIndex(index uint) *NSIndexPath
- func (o *NSIndexPath) InitWithIndexesLength(indexes *uint, length uint) *NSIndexPath
- func (o *NSIndexPath) Length() uint
- type NSIndexSet
- func (o *NSIndexSet) ContainsIndex(value uint) bool
- func (o *NSIndexSet) ContainsIndexes(indexSet *NSIndexSet) bool
- func (o *NSIndexSet) ContainsIndexesInRange(range_ NSRange) bool
- func (o *NSIndexSet) Count() uint
- func (o *NSIndexSet) CountOfIndexesInRange(range_ NSRange) uint
- func (o *NSIndexSet) EnumerateIndexesInRangeOptionsUsing(range_ NSRange, opts NSEnumerationOptions, block func(uint, *bool))
- func (o *NSIndexSet) EnumerateIndexesUsing(block func(uint, *bool))
- func (o *NSIndexSet) EnumerateIndexesWithOptionsUsing(opts NSEnumerationOptions, block func(uint, *bool))
- func (o *NSIndexSet) EnumerateRangesInRangeOptionsUsing(range_ NSRange, opts NSEnumerationOptions, block objc.Block)
- func (o *NSIndexSet) EnumerateRangesUsing(block objc.Block)
- func (o *NSIndexSet) EnumerateRangesWithOptionsUsing(opts NSEnumerationOptions, block objc.Block)
- func (o *NSIndexSet) FirstIndex() uint
- func (o *NSIndexSet) GetIndexesMaxCountInIndexRange(indexBuffer *uint, bufferSize uint, range_ *NSRange) uint
- func (o *NSIndexSet) IndexGreaterThanIndex(value uint) uint
- func (o *NSIndexSet) IndexGreaterThanOrEqualToIndex(value uint) uint
- func (o *NSIndexSet) IndexInRangeOptionsPassingTest(range_ NSRange, opts NSEnumerationOptions, predicate func(uint, *bool) bool) uint
- func (o *NSIndexSet) IndexLessThanIndex(value uint) uint
- func (o *NSIndexSet) IndexLessThanOrEqualToIndex(value uint) uint
- func (o *NSIndexSet) IndexPassingTest(predicate func(uint, *bool) bool) uint
- func (o *NSIndexSet) IndexWithOptionsPassingTest(opts NSEnumerationOptions, predicate func(uint, *bool) bool) uint
- func (o *NSIndexSet) IndexesInRangeOptionsPassingTest(range_ NSRange, opts NSEnumerationOptions, predicate func(uint, *bool) bool) *NSIndexSet
- func (o *NSIndexSet) IndexesPassingTest(predicate func(uint, *bool) bool) *NSIndexSet
- func (o *NSIndexSet) IndexesWithOptionsPassingTest(opts NSEnumerationOptions, predicate func(uint, *bool) bool) *NSIndexSet
- func (o *NSIndexSet) InitWithIndex(value uint) *NSIndexSet
- func (o *NSIndexSet) InitWithIndexSet(indexSet *NSIndexSet) *NSIndexSet
- func (o *NSIndexSet) InitWithIndexesInRange(range_ NSRange) *NSIndexSet
- func (o *NSIndexSet) IntersectsIndexesInRange(range_ NSRange) bool
- func (o *NSIndexSet) IsEqualToIndexSet(indexSet *NSIndexSet) bool
- func (o *NSIndexSet) LastIndex() uint
- type NSIndexSpecifier
- type NSInflectionRule
- type NSInflectionRuleExplicit
- type NSInlinePresentationIntent
- type NSInputStream
- func (o *NSInputStream) GetBufferLength(buffer *uint8, len_ *uint) bool
- func (o *NSInputStream) HasBytesAvailable() bool
- func (o *NSInputStream) InitWithData(data *NSData) *NSInputStream
- func (o *NSInputStream) InitWithFileAtPath(path *NSString) *NSInputStream
- func (o *NSInputStream) InitWithURL(url *NSURL) *NSInputStream
- func (o *NSInputStream) ReadMaxLength(buffer *uint8, len_ uint) int
- type NSInsertionPosition
- type NSInvocation
- func (o *NSInvocation) ArgumentsRetained() bool
- func (o *NSInvocation) GetArgumentAtIndex(argumentLocation unsafe.Pointer, idx int)
- func (o *NSInvocation) GetReturnValue(retLoc unsafe.Pointer)
- func (o *NSInvocation) Invoke()
- func (o *NSInvocation) InvokeUsingIMP(imp unsafe.Pointer)
- func (o *NSInvocation) InvokeWithTarget(target objc.ID)
- func (o *NSInvocation) MethodSignature() *NSMethodSignature
- func (o *NSInvocation) RetainArguments()
- func (o *NSInvocation) Selector() objc.SEL
- func (o *NSInvocation) SetArgumentAtIndex(argumentLocation unsafe.Pointer, idx int)
- func (o *NSInvocation) SetReturnValue(retLoc unsafe.Pointer)
- func (o *NSInvocation) SetSelector(selector objc.SEL)
- func (o *NSInvocation) SetTarget(target objc.ID)
- func (o *NSInvocation) Target() objc.ID
- type NSInvocationOperation
- func (o *NSInvocationOperation) InitWithInvocation(inv *NSInvocation) *NSInvocationOperation
- func (o *NSInvocationOperation) InitWithTargetSelectorObject(target objc.ID, sel objc.SEL, arg objc.ID) *NSInvocationOperation
- func (o *NSInvocationOperation) Invocation() *NSInvocation
- func (o *NSInvocationOperation) Result() objc.ID
- type NSItemProvider
- func (o *NSItemProvider) CanLoadObjectOfClass(aClass unsafe.Pointer) bool
- func (o *NSItemProvider) HasItemConformingToTypeIdentifier(typeIdentifier *NSString) bool
- func (o *NSItemProvider) HasRepresentationConformingToTypeIdentifierFileOptions(typeIdentifier *NSString, fileOptions NSItemProviderFileOptions) bool
- func (o *NSItemProvider) Init() *NSItemProvider
- func (o *NSItemProvider) InitWithContentsOfURL(fileURL *NSURL) *NSItemProvider
- func (o *NSItemProvider) InitWithItemTypeIdentifier(item NSSecureCoding, typeIdentifier *NSString) *NSItemProvider
- func (o *NSItemProvider) InitWithObject(object NSItemProviderWriting) *NSItemProvider
- func (o *NSItemProvider) LoadDataRepresentationForTypeIdentifierCompletionHandler(typeIdentifier *NSString, completionHandler func(*NSData, unsafe.Pointer)) *NSProgress
- func (o *NSItemProvider) LoadFileRepresentationForTypeIdentifierCompletionHandler(typeIdentifier *NSString, completionHandler func(*NSURL, unsafe.Pointer)) *NSProgress
- func (o *NSItemProvider) LoadInPlaceFileRepresentationForTypeIdentifierCompletionHandler(typeIdentifier *NSString, completionHandler func(*NSURL, bool, unsafe.Pointer)) *NSProgress
- func (o *NSItemProvider) LoadItemForTypeIdentifierOptionsCompletionHandler(typeIdentifier *NSString, options *NSDictionary[objc.ID, objc.ID], ...)
- func (o *NSItemProvider) LoadObjectOfClassCompletionHandler(aClass unsafe.Pointer, completionHandler func(objc.ID, unsafe.Pointer)) *NSProgress
- func (o *NSItemProvider) LoadPreviewImageWithOptionsCompletionHandler(options *NSDictionary[objc.ID, objc.ID], ...)
- func (o *NSItemProvider) PreviewImageHandler() objc.Block
- func (o *NSItemProvider) RegisterDataRepresentationForTypeIdentifierVisibilityLoadHandler(typeIdentifier *NSString, visibility NSItemProviderRepresentationVisibility, ...)
- func (o *NSItemProvider) RegisterFileRepresentationForTypeIdentifierFileOptionsVisibilityLoadHandler(typeIdentifier *NSString, fileOptions NSItemProviderFileOptions, ...)
- func (o *NSItemProvider) RegisterItemForTypeIdentifierLoadHandler(typeIdentifier *NSString, loadHandler objc.Block)
- func (o *NSItemProvider) RegisterObjectOfClassVisibilityLoadHandler(aClass unsafe.Pointer, visibility NSItemProviderRepresentationVisibility, ...)
- func (o *NSItemProvider) RegisterObjectVisibility(object NSItemProviderWriting, ...)
- func (o *NSItemProvider) RegisteredTypeIdentifiers() *NSArray[*NSString]
- func (o *NSItemProvider) RegisteredTypeIdentifiersWithFileOptions(fileOptions NSItemProviderFileOptions) *NSArray[*NSString]
- func (o *NSItemProvider) SetPreviewImageHandler(previewImageHandler objc.Block)
- func (o *NSItemProvider) SetSuggestedName(suggestedName *NSString)
- func (o *NSItemProvider) SuggestedName() *NSString
- type NSItemProviderErrorCode
- type NSItemProviderFileOptions
- type NSItemProviderReading
- type NSItemProviderRepresentationVisibility
- type NSItemProviderWriting
- type NSJSONReadingOptions
- type NSJSONSerialization
- type NSJSONWritingOptions
- type NSKeyValueChange
- type NSKeyValueObservingOptions
- type NSKeyValueSetMutationKind
- type NSKeyValueSharedObservers
- func (o *NSKeyValueSharedObservers) AddSharedObserverForKeyOptionsContext(observer *NSObject, key *NSString, options NSKeyValueObservingOptions, ...)
- func (o *NSKeyValueSharedObservers) InitWithObservableClass(observableClass objc.Class) objc.ID
- func (o *NSKeyValueSharedObservers) Snapshot() *NSKeyValueSharedObserversSnapshot
- type NSKeyValueSharedObserversSnapshot
- type NSKeyedArchiver
- func (o *NSKeyedArchiver) ClassNameForClass(cls objc.Class) *NSString
- func (o *NSKeyedArchiver) Delegate() NSKeyedArchiverDelegatedeprecated
- func (o *NSKeyedArchiver) EncodedData() *NSData
- func (o *NSKeyedArchiver) FinishEncoding()
- func (o *NSKeyedArchiver) Init() *NSKeyedArchiver
- func (o *NSKeyedArchiver) InitForWritingWithMutableData(data *NSMutableData) *NSKeyedArchiverdeprecated
- func (o *NSKeyedArchiver) InitRequiringSecureCoding(requiresSecureCoding bool) *NSKeyedArchiver
- func (o *NSKeyedArchiver) OutputFormat() NSPropertyListFormat
- func (o *NSKeyedArchiver) SetClassNameForClass(codedName *NSString, cls objc.Class)
- func (o *NSKeyedArchiver) SetDelegate(delegate NSKeyedArchiverDelegate)
- func (o *NSKeyedArchiver) SetOutputFormat(outputFormat NSPropertyListFormat)
- func (o *NSKeyedArchiver) SetRequiresSecureCoding(requiresSecureCoding bool)
- type NSKeyedArchiverDelegate
- type NSKeyedUnarchiver
- func (o *NSKeyedUnarchiver) ClassForClassName(codedName *NSString) objc.Class
- func (o *NSKeyedUnarchiver) Delegate() NSKeyedUnarchiverDelegatedeprecated
- func (o *NSKeyedUnarchiver) FinishDecoding()
- func (o *NSKeyedUnarchiver) Init() *NSKeyedUnarchiverdeprecated
- func (o *NSKeyedUnarchiver) InitForReadingFromDataError(data *NSData) (*NSKeyedUnarchiver, error)
- func (o *NSKeyedUnarchiver) InitForReadingWithData(data *NSData) *NSKeyedUnarchiverdeprecated
- func (o *NSKeyedUnarchiver) SetClassForClassName(cls objc.Class, codedName *NSString)
- func (o *NSKeyedUnarchiver) SetDecodingFailurePolicy(decodingFailurePolicy NSDecodingFailurePolicy)
- func (o *NSKeyedUnarchiver) SetDelegate(delegate NSKeyedUnarchiverDelegate)
- func (o *NSKeyedUnarchiver) SetRequiresSecureCoding(requiresSecureCoding bool)
- type NSKeyedUnarchiverDelegate
- type NSLengthFormatter
- func (o *NSLengthFormatter) IsForPersonHeightUse() bool
- func (o *NSLengthFormatter) NumberFormatter() *NSNumberFormatter
- func (o *NSLengthFormatter) SetForPersonHeightUse(forPersonHeightUse bool)
- func (o *NSLengthFormatter) SetNumberFormatter(numberFormatter *NSNumberFormatter)
- func (o *NSLengthFormatter) SetUnitStyle(unitStyle NSFormattingUnitStyle)
- func (o *NSLengthFormatter) StringFromMeters(numberInMeters float64) *NSString
- func (o *NSLengthFormatter) StringFromValueUnit(value float64, unit NSLengthFormatterUnit) *NSString
- func (o *NSLengthFormatter) UnitStringFromMetersUsedUnit(numberInMeters float64, unitp *NSLengthFormatterUnit) *NSString
- func (o *NSLengthFormatter) UnitStringFromValueUnit(value float64, unit NSLengthFormatterUnit) *NSString
- func (o *NSLengthFormatter) UnitStyle() NSFormattingUnitStyle
- type NSLengthFormatterUnit
- type NSLinguisticTagger
- func (o *NSLinguisticTagger) DominantLanguage() *NSStringdeprecated
- func (o *NSLinguisticTagger) EnumerateTagsInRangeSchemeOptionsUsing(range_ NSRange, tagScheme *NSString, opts NSLinguisticTaggerOptions, ...)deprecated
- func (o *NSLinguisticTagger) EnumerateTagsInRangeUnitSchemeOptionsUsing(range_ NSRange, unit NSLinguisticTaggerUnit, scheme *NSString, ...)deprecated
- func (o *NSLinguisticTagger) InitWithTagSchemesOptions(tagSchemes *NSArray[*NSString], opts uint) *NSLinguisticTaggerdeprecated
- func (o *NSLinguisticTagger) OrthographyAtIndexEffectiveRange(charIndex uint, effectiveRange *NSRange) *NSOrthographydeprecated
- func (o *NSLinguisticTagger) PossibleTagsAtIndexSchemeTokenRangeSentenceRangeScores(charIndex uint, tagScheme *NSString, tokenRange *NSRange, ...) *NSArray[*NSString]deprecated
- func (o *NSLinguisticTagger) SentenceRangeForRange(range_ NSRange) NSRangedeprecated
- func (o *NSLinguisticTagger) SetOrthographyRange(orthography *NSOrthography, range_ NSRange)deprecated
- func (o *NSLinguisticTagger) SetString(string_ *NSString)deprecated
- func (o *NSLinguisticTagger) String() *NSStringdeprecated
- func (o *NSLinguisticTagger) StringEditedInRangeChangeInLength(newRange NSRange, delta int)deprecated
- func (o *NSLinguisticTagger) TagAtIndexSchemeTokenRangeSentenceRange(charIndex uint, scheme *NSString, tokenRange *NSRange, sentenceRange *NSRange) *NSStringdeprecated
- func (o *NSLinguisticTagger) TagAtIndexUnitSchemeTokenRange(charIndex uint, unit NSLinguisticTaggerUnit, scheme *NSString, ...) *NSStringdeprecated
- func (o *NSLinguisticTagger) TagSchemes() *NSArray[*NSString]deprecated
- func (o *NSLinguisticTagger) TagsInRangeSchemeOptionsTokenRanges(range_ NSRange, tagScheme *NSString, opts NSLinguisticTaggerOptions, ...) *NSArray[*NSString]deprecated
- func (o *NSLinguisticTagger) TagsInRangeUnitSchemeOptionsTokenRanges(range_ NSRange, unit NSLinguisticTaggerUnit, scheme *NSString, ...) *NSArray[*NSString]deprecated
- func (o *NSLinguisticTagger) TokenRangeAtIndexUnit(charIndex uint, unit NSLinguisticTaggerUnit) NSRangedeprecated
- type NSLinguisticTaggerOptions
- type NSLinguisticTaggerUnit
- type NSListFormatter
- func (o *NSListFormatter) ItemFormatter() *NSFormatter
- func (o *NSListFormatter) Locale() *NSLocale
- func (o *NSListFormatter) SetItemFormatter(itemFormatter *NSFormatter)
- func (o *NSListFormatter) SetLocale(locale *NSLocale)
- func (o *NSListFormatter) StringFromItems(items *NSArray[objc.ID]) *NSString
- type NSLocale
- func (o *NSLocale) AlternateQuotationBeginDelimiter() *NSString
- func (o *NSLocale) AlternateQuotationEndDelimiter() *NSString
- func (o *NSLocale) CalendarIdentifier() *NSString
- func (o *NSLocale) CollationIdentifier() *NSString
- func (o *NSLocale) CollatorIdentifier() *NSString
- func (o *NSLocale) CountryCode() *NSStringdeprecated
- func (o *NSLocale) CurrencyCode() *NSString
- func (o *NSLocale) CurrencySymbol() *NSString
- func (o *NSLocale) DecimalSeparator() *NSString
- func (o *NSLocale) DisplayNameForKeyValue(key *NSString, value objc.ID) *NSString
- func (o *NSLocale) ExemplarCharacterSet() *NSCharacterSet
- func (o *NSLocale) GroupingSeparator() *NSString
- func (o *NSLocale) InitWithCoder(coder *NSCoder) *NSLocale
- func (o *NSLocale) InitWithLocaleIdentifier(string_ *NSString) *NSLocale
- func (o *NSLocale) LanguageCode() *NSString
- func (o *NSLocale) LanguageIdentifier() *NSString
- func (o *NSLocale) LocaleIdentifier() *NSString
- func (o *NSLocale) LocalizedStringForCalendarIdentifier(calendarIdentifier *NSString) *NSString
- func (o *NSLocale) LocalizedStringForCollationIdentifier(collationIdentifier *NSString) *NSString
- func (o *NSLocale) LocalizedStringForCollatorIdentifier(collatorIdentifier *NSString) *NSString
- func (o *NSLocale) LocalizedStringForCountryCode(countryCode *NSString) *NSString
- func (o *NSLocale) LocalizedStringForCurrencyCode(currencyCode *NSString) *NSString
- func (o *NSLocale) LocalizedStringForLanguageCode(languageCode *NSString) *NSString
- func (o *NSLocale) LocalizedStringForLocaleIdentifier(localeIdentifier *NSString) *NSString
- func (o *NSLocale) LocalizedStringForScriptCode(scriptCode *NSString) *NSString
- func (o *NSLocale) LocalizedStringForVariantCode(variantCode *NSString) *NSString
- func (o *NSLocale) ObjectForKey(key *NSString) objc.ID
- func (o *NSLocale) QuotationBeginDelimiter() *NSString
- func (o *NSLocale) QuotationEndDelimiter() *NSString
- func (o *NSLocale) RegionCode() *NSString
- func (o *NSLocale) ScriptCode() *NSString
- func (o *NSLocale) UsesMetricSystem() bool
- func (o *NSLocale) VariantCode() *NSString
- type NSLocaleLanguageDirection
- type NSLocalizedNumberFormatRule
- type NSLock
- type NSLocking
- type NSLogicalTest
- type NSMachBootstrapServer
- type NSMachPort
- type NSMachPortDelegate
- type NSMachPortOptions
- type NSMapEnumerator
- type NSMapTable
- func NSMapTableFromID[KeyType pureobjc.AnyObject, ObjectType pureobjc.AnyObject](id objc.ID) *NSMapTable[KeyType, ObjectType]
- func NSMapTableMapTableWithKeyOptionsValueOptions(keyOptions NSPointerFunctionsOptions, valueOptions NSPointerFunctionsOptions) *NSMapTable[objc.ID, objc.ID]
- func NSMapTableStrongToStrongObjectsMapTable() *NSMapTable[objc.ID, objc.ID]
- func NSMapTableStrongToWeakObjectsMapTable() *NSMapTable[objc.ID, objc.ID]
- func NSMapTableWeakToStrongObjectsMapTable() *NSMapTable[objc.ID, objc.ID]
- func NSMapTableWeakToWeakObjectsMapTable() *NSMapTable[objc.ID, objc.ID]
- func (o *NSMapTable[KeyType, ObjectType]) Count() uint
- func (o *NSMapTable[KeyType, ObjectType]) DictionaryRepresentation() *NSDictionary[KeyType, ObjectType]
- func (o *NSMapTable[KeyType, ObjectType]) InitWithKeyOptionsValueOptionsCapacity(keyOptions NSPointerFunctionsOptions, valueOptions NSPointerFunctionsOptions, ...) *NSMapTable[KeyType, ObjectType]
- func (o *NSMapTable[KeyType, ObjectType]) InitWithKeyPointerFunctionsValuePointerFunctionsCapacity(keyFunctions *NSPointerFunctions, valueFunctions *NSPointerFunctions, ...) *NSMapTable[KeyType, ObjectType]
- func (o *NSMapTable[KeyType, ObjectType]) KeyEnumerator() *NSEnumerator[KeyType]
- func (o *NSMapTable[KeyType, ObjectType]) KeyPointerFunctions() *NSPointerFunctions
- func (o *NSMapTable[KeyType, ObjectType]) ObjectEnumerator() *NSEnumerator[ObjectType]
- func (o *NSMapTable[KeyType, ObjectType]) ObjectForKey(aKey KeyType) ObjectType
- func (o *NSMapTable[KeyType, ObjectType]) RemoveAllObjects()
- func (o *NSMapTable[KeyType, ObjectType]) RemoveObjectForKey(aKey KeyType)
- func (o *NSMapTable[KeyType, ObjectType]) SetObjectForKey(anObject ObjectType, aKey KeyType)
- func (o *NSMapTable[KeyType, ObjectType]) ValuePointerFunctions() *NSPointerFunctions
- type NSMapTableKeyCallBacks
- func NSIntMapKeyCallBacks() NSMapTableKeyCallBacksdeprecated
- func NSIntegerMapKeyCallBacks() NSMapTableKeyCallBacks
- func NSNonOwnedPointerMapKeyCallBacks() NSMapTableKeyCallBacks
- func NSNonOwnedPointerOrNullMapKeyCallBacks() NSMapTableKeyCallBacks
- func NSNonRetainedObjectMapKeyCallBacks() NSMapTableKeyCallBacks
- func NSObjectMapKeyCallBacks() NSMapTableKeyCallBacks
- func NSOwnedPointerMapKeyCallBacks() NSMapTableKeyCallBacks
- type NSMapTableValueCallBacks
- func NSIntMapValueCallBacks() NSMapTableValueCallBacksdeprecated
- func NSIntegerMapValueCallBacks() NSMapTableValueCallBacks
- func NSNonOwnedPointerMapValueCallBacks() NSMapTableValueCallBacks
- func NSNonRetainedObjectMapValueCallBacks() NSMapTableValueCallBacks
- func NSObjectMapValueCallBacks() NSMapTableValueCallBacks
- func NSOwnedPointerMapValueCallBacks() NSMapTableValueCallBacks
- type NSMassFormatter
- func (o *NSMassFormatter) IsForPersonMassUse() bool
- func (o *NSMassFormatter) NumberFormatter() *NSNumberFormatter
- func (o *NSMassFormatter) SetForPersonMassUse(forPersonMassUse bool)
- func (o *NSMassFormatter) SetNumberFormatter(numberFormatter *NSNumberFormatter)
- func (o *NSMassFormatter) SetUnitStyle(unitStyle NSFormattingUnitStyle)
- func (o *NSMassFormatter) StringFromKilograms(numberInKilograms float64) *NSString
- func (o *NSMassFormatter) StringFromValueUnit(value float64, unit NSMassFormatterUnit) *NSString
- func (o *NSMassFormatter) UnitStringFromKilogramsUsedUnit(numberInKilograms float64, unitp *NSMassFormatterUnit) *NSString
- func (o *NSMassFormatter) UnitStringFromValueUnit(value float64, unit NSMassFormatterUnit) *NSString
- func (o *NSMassFormatter) UnitStyle() NSFormattingUnitStyle
- type NSMassFormatterUnit
- type NSMatchingFlags
- type NSMatchingOptions
- type NSMeasurement
- func (o *NSMeasurement[UnitType]) CanBeConvertedToUnit(unit *NSUnit) bool
- func (o *NSMeasurement[UnitType]) DoubleValue() float64
- func (o *NSMeasurement[UnitType]) InitWithDoubleValueUnit(doubleValue float64, unit UnitType) *NSMeasurement[UnitType]
- func (o *NSMeasurement[UnitType]) MeasurementByAddingMeasurement(measurement *NSMeasurement[UnitType]) *NSMeasurement[UnitType]
- func (o *NSMeasurement[UnitType]) MeasurementByConvertingToUnit(unit *NSUnit) *NSMeasurement[objc.ID]
- func (o *NSMeasurement[UnitType]) MeasurementBySubtractingMeasurement(measurement *NSMeasurement[UnitType]) *NSMeasurement[UnitType]
- func (o *NSMeasurement[UnitType]) Unit() UnitType
- type NSMeasurementFormatter
- func (o *NSMeasurementFormatter) Locale() *NSLocale
- func (o *NSMeasurementFormatter) NumberFormatter() *NSNumberFormatter
- func (o *NSMeasurementFormatter) SetLocale(locale *NSLocale)
- func (o *NSMeasurementFormatter) SetNumberFormatter(numberFormatter *NSNumberFormatter)
- func (o *NSMeasurementFormatter) SetUnitOptions(unitOptions NSMeasurementFormatterUnitOptions)
- func (o *NSMeasurementFormatter) SetUnitStyle(unitStyle NSFormattingUnitStyle)
- func (o *NSMeasurementFormatter) StringFromMeasurement(measurement *NSMeasurement[objc.ID]) *NSString
- func (o *NSMeasurementFormatter) StringFromUnit(unit *NSUnit) *NSString
- func (o *NSMeasurementFormatter) UnitOptions() NSMeasurementFormatterUnitOptions
- func (o *NSMeasurementFormatter) UnitStyle() NSFormattingUnitStyle
- type NSMeasurementFormatterUnitOptions
- type NSMessagePort
- type NSMessagePortNameServer
- type NSMetadataItem
- type NSMetadataQuery
- func (o *NSMetadataQuery) Delegate() NSMetadataQueryDelegate
- func (o *NSMetadataQuery) DisableUpdates()
- func (o *NSMetadataQuery) EnableUpdates()
- func (o *NSMetadataQuery) EnumerateResultsUsing(block func(objc.ID, uint, *bool))
- func (o *NSMetadataQuery) EnumerateResultsWithOptionsUsing(opts NSEnumerationOptions, block func(objc.ID, uint, *bool))
- func (o *NSMetadataQuery) GroupedResults() *NSArray[*NSMetadataQueryResultGroup]
- func (o *NSMetadataQuery) GroupingAttributes() *NSArray[*NSString]
- func (o *NSMetadataQuery) IndexOfResult(result objc.ID) uint
- func (o *NSMetadataQuery) IsGathering() bool
- func (o *NSMetadataQuery) IsStarted() bool
- func (o *NSMetadataQuery) IsStopped() bool
- func (o *NSMetadataQuery) NotificationBatchingInterval() float64
- func (o *NSMetadataQuery) OperationQueue() *NSOperationQueue
- func (o *NSMetadataQuery) Predicate() *NSPredicate
- func (o *NSMetadataQuery) ResultAtIndex(idx uint) objc.ID
- func (o *NSMetadataQuery) ResultCount() uint
- func (o *NSMetadataQuery) Results() *NSArray[objc.ID]
- func (o *NSMetadataQuery) SearchItems() *NSArray[objc.ID]
- func (o *NSMetadataQuery) SearchScopes() *NSArray[objc.ID]
- func (o *NSMetadataQuery) SetDelegate(delegate NSMetadataQueryDelegate)
- func (o *NSMetadataQuery) SetGroupingAttributes(groupingAttributes *NSArray[*NSString])
- func (o *NSMetadataQuery) SetNotificationBatchingInterval(notificationBatchingInterval float64)
- func (o *NSMetadataQuery) SetOperationQueue(operationQueue *NSOperationQueue)
- func (o *NSMetadataQuery) SetPredicate(predicate *NSPredicate)
- func (o *NSMetadataQuery) SetSearchItems(searchItems *NSArray[objc.ID])
- func (o *NSMetadataQuery) SetSearchScopes(searchScopes *NSArray[objc.ID])
- func (o *NSMetadataQuery) SetSortDescriptors(sortDescriptors *NSArray[*NSSortDescriptor])
- func (o *NSMetadataQuery) SetValueListAttributes(valueListAttributes *NSArray[*NSString])
- func (o *NSMetadataQuery) SortDescriptors() *NSArray[*NSSortDescriptor]
- func (o *NSMetadataQuery) StartQuery() bool
- func (o *NSMetadataQuery) StopQuery()
- func (o *NSMetadataQuery) ValueListAttributes() *NSArray[*NSString]
- func (o *NSMetadataQuery) ValueLists() *NSDictionary[*NSString, objc.ID]
- func (o *NSMetadataQuery) ValueOfAttributeForResultAtIndex(attrName *NSString, idx uint) objc.ID
- type NSMetadataQueryAttributeValueTuple
- type NSMetadataQueryDelegate
- type NSMetadataQueryResultGroup
- func (o *NSMetadataQueryResultGroup) Attribute() *NSString
- func (o *NSMetadataQueryResultGroup) ResultAtIndex(idx uint) objc.ID
- func (o *NSMetadataQueryResultGroup) ResultCount() uint
- func (o *NSMetadataQueryResultGroup) Results() *NSArray[objc.ID]
- func (o *NSMetadataQueryResultGroup) Subgroups() *NSArray[*NSMetadataQueryResultGroup]
- func (o *NSMetadataQueryResultGroup) Value() objc.ID
- type NSMethodSignature
- func (o *NSMethodSignature) FrameLength() uint
- func (o *NSMethodSignature) GetArgumentTypeAtIndex(idx uint) string
- func (o *NSMethodSignature) IsOneway() bool
- func (o *NSMethodSignature) MethodReturnLength() uint
- func (o *NSMethodSignature) MethodReturnType() unsafe.Pointer
- func (o *NSMethodSignature) NumberOfArguments() uint
- type NSMorphology
- func (o *NSMorphology) CustomPronounForLanguage(language *NSString) *NSMorphologyCustomPronoundeprecated
- func (o *NSMorphology) Definiteness() NSGrammaticalDefiniteness
- func (o *NSMorphology) Determination() NSGrammaticalDetermination
- func (o *NSMorphology) GrammaticalCase() NSGrammaticalCase
- func (o *NSMorphology) GrammaticalGender() NSGrammaticalGender
- func (o *NSMorphology) GrammaticalPerson() NSGrammaticalPerson
- func (o *NSMorphology) IsUnspecified() bool
- func (o *NSMorphology) Number() NSGrammaticalNumber
- func (o *NSMorphology) PartOfSpeech() NSGrammaticalPartOfSpeech
- func (o *NSMorphology) PronounType() NSGrammaticalPronounType
- func (o *NSMorphology) SetCustomPronounForLanguageError(features *NSMorphologyCustomPronoun, language *NSString) (bool, error)deprecated
- func (o *NSMorphology) SetDefiniteness(definiteness NSGrammaticalDefiniteness)
- func (o *NSMorphology) SetDetermination(determination NSGrammaticalDetermination)
- func (o *NSMorphology) SetGrammaticalCase(grammaticalCase NSGrammaticalCase)
- func (o *NSMorphology) SetGrammaticalGender(grammaticalGender NSGrammaticalGender)
- func (o *NSMorphology) SetGrammaticalPerson(grammaticalPerson NSGrammaticalPerson)
- func (o *NSMorphology) SetNumber(number NSGrammaticalNumber)
- func (o *NSMorphology) SetPartOfSpeech(partOfSpeech NSGrammaticalPartOfSpeech)
- func (o *NSMorphology) SetPronounType(pronounType NSGrammaticalPronounType)
- type NSMorphologyCustomPronoun
- func (o *NSMorphologyCustomPronoun) ObjectForm() *NSString
- func (o *NSMorphologyCustomPronoun) PossessiveAdjectiveForm() *NSString
- func (o *NSMorphologyCustomPronoun) PossessiveForm() *NSString
- func (o *NSMorphologyCustomPronoun) ReflexiveForm() *NSString
- func (o *NSMorphologyCustomPronoun) SetObjectForm(objectForm *NSString)
- func (o *NSMorphologyCustomPronoun) SetPossessiveAdjectiveForm(possessiveAdjectiveForm *NSString)
- func (o *NSMorphologyCustomPronoun) SetPossessiveForm(possessiveForm *NSString)
- func (o *NSMorphologyCustomPronoun) SetReflexiveForm(reflexiveForm *NSString)
- func (o *NSMorphologyCustomPronoun) SetSubjectForm(subjectForm *NSString)
- func (o *NSMorphologyCustomPronoun) SubjectForm() *NSString
- type NSMorphologyPronoun
- func (o *NSMorphologyPronoun) DependentMorphology() *NSMorphology
- func (o *NSMorphologyPronoun) InitWithPronounMorphologyDependentMorphology(pronoun *NSString, morphology *NSMorphology, dependentMorphology *NSMorphology) *NSMorphologyPronoun
- func (o *NSMorphologyPronoun) Morphology() *NSMorphology
- func (o *NSMorphologyPronoun) Pronoun() *NSString
- type NSMoveCommand
- type NSMutableArray
- func NSMutableArrayArrayWithCapacity(numItems uint) *NSMutableArray[objc.ID]
- func NSMutableArrayArrayWithContentsOfFile(path *NSString) *NSMutableArray[objc.ID]
- func NSMutableArrayArrayWithContentsOfURL(url *NSURL) *NSMutableArray[objc.ID]
- func NSMutableArrayFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSMutableArray[ObjectType]
- func (o *NSMutableArray[ObjectType]) AddObject(anObject ObjectType)
- func (o *NSMutableArray[ObjectType]) AddObjectsFromArray(otherArray *NSArray[ObjectType])
- func (o *NSMutableArray[ObjectType]) ApplyDifference(difference *NSOrderedCollectionDifference[ObjectType])
- func (o *NSMutableArray[ObjectType]) ExchangeObjectAtIndexWithObjectAtIndex(idx1 uint, idx2 uint)
- func (o *NSMutableArray[ObjectType]) FilterUsingPredicate(predicate *NSPredicate)
- func (o *NSMutableArray[ObjectType]) Init() *NSMutableArray[ObjectType]
- func (o *NSMutableArray[ObjectType]) InitWithCapacity(numItems uint) *NSMutableArray[ObjectType]
- func (o *NSMutableArray[ObjectType]) InitWithCoder(coder *NSCoder) *NSMutableArray[ObjectType]
- func (o *NSMutableArray[ObjectType]) InitWithContentsOfFile(path *NSString) *NSMutableArray[ObjectType]
- func (o *NSMutableArray[ObjectType]) InitWithContentsOfURL(url *NSURL) *NSMutableArray[ObjectType]
- func (o *NSMutableArray[ObjectType]) InsertObjectAtIndex(anObject ObjectType, index uint)
- func (o *NSMutableArray[ObjectType]) InsertObjectsAtIndexes(objects *NSArray[ObjectType], indexes *NSIndexSet)
- func (o *NSMutableArray[ObjectType]) RemoveAllObjects()
- func (o *NSMutableArray[ObjectType]) RemoveLastObject()
- func (o *NSMutableArray[ObjectType]) RemoveObject(anObject ObjectType)
- func (o *NSMutableArray[ObjectType]) RemoveObjectAtIndex(index uint)
- func (o *NSMutableArray[ObjectType]) RemoveObjectIdenticalTo(anObject ObjectType)
- func (o *NSMutableArray[ObjectType]) RemoveObjectIdenticalToInRange(anObject ObjectType, range_ NSRange)
- func (o *NSMutableArray[ObjectType]) RemoveObjectInRange(anObject ObjectType, range_ NSRange)
- func (o *NSMutableArray[ObjectType]) RemoveObjectsAtIndexes(indexes *NSIndexSet)
- func (o *NSMutableArray[ObjectType]) RemoveObjectsFromIndicesNumIndices(indices *uint, cnt uint)deprecated
- func (o *NSMutableArray[ObjectType]) RemoveObjectsInArray(otherArray *NSArray[ObjectType])deprecated
- func (o *NSMutableArray[ObjectType]) RemoveObjectsInRange(range_ NSRange)deprecated
- func (o *NSMutableArray[ObjectType]) ReplaceObjectAtIndexWithObject(index uint, anObject ObjectType)
- func (o *NSMutableArray[ObjectType]) ReplaceObjectsAtIndexesWithObjects(indexes *NSIndexSet, objects *NSArray[ObjectType])
- func (o *NSMutableArray[ObjectType]) ReplaceObjectsInRangeWithObjectsFromArray(range_ NSRange, otherArray *NSArray[ObjectType])deprecated
- func (o *NSMutableArray[ObjectType]) ReplaceObjectsInRangeWithObjectsFromArrayRange(range_ NSRange, otherArray *NSArray[ObjectType], otherRange NSRange)deprecated
- func (o *NSMutableArray[ObjectType]) SetArray(otherArray *NSArray[ObjectType])
- func (o *NSMutableArray[ObjectType]) SetObjectAtIndexedSubscript(obj ObjectType, idx uint)
- func (o *NSMutableArray[ObjectType]) SortUsingComparator(cmptr func(objc.ID, objc.ID) NSComparisonResult)
- func (o *NSMutableArray[ObjectType]) SortUsingDescriptors(sortDescriptors *NSArray[*NSSortDescriptor])
- func (o *NSMutableArray[ObjectType]) SortUsingFunctionContext(compare unsafe.Pointer, context_ unsafe.Pointer)
- func (o *NSMutableArray[ObjectType]) SortUsingSelector(comparator objc.SEL)
- func (o *NSMutableArray[ObjectType]) SortWithOptionsUsingComparator(opts NSSortOptions, cmptr func(objc.ID, objc.ID) NSComparisonResult)
- type NSMutableAttributedString
- func (o *NSMutableAttributedString) AddAttributeValueRange(name *NSString, value objc.ID, range_ NSRange)
- func (o *NSMutableAttributedString) AddAttributesRange(attrs *NSDictionary[*NSString, objc.ID], range_ NSRange)
- func (o *NSMutableAttributedString) AppendAttributedString(attrString *NSAttributedString)
- func (o *NSMutableAttributedString) AppendLocalizedFormat(format *NSAttributedString)
- func (o *NSMutableAttributedString) BeginEditing()
- func (o *NSMutableAttributedString) DeleteCharactersInRange(range_ NSRange)
- func (o *NSMutableAttributedString) EndEditing()
- func (o *NSMutableAttributedString) InsertAttributedStringAtIndex(attrString *NSAttributedString, loc uint)
- func (o *NSMutableAttributedString) MutableString() *NSMutableString
- func (o *NSMutableAttributedString) RemoveAttributeRange(name *NSString, range_ NSRange)
- func (o *NSMutableAttributedString) ReplaceCharactersInRangeWithAttributedString(range_ NSRange, attrString *NSAttributedString)
- func (o *NSMutableAttributedString) ReplaceCharactersInRangeWithString(range_ NSRange, str *NSString)
- func (o *NSMutableAttributedString) SetAttributedString(attrString *NSAttributedString)
- func (o *NSMutableAttributedString) SetAttributesRange(attrs *NSDictionary[*NSString, objc.ID], range_ NSRange)
- type NSMutableCharacterSet
- func NSMutableCharacterSetAlphanumericCharacterSet() *NSMutableCharacterSet
- func NSMutableCharacterSetCapitalizedLetterCharacterSet() *NSMutableCharacterSet
- func NSMutableCharacterSetCharacterSetWithBitmapRepresentation(data *NSData) *NSMutableCharacterSet
- func NSMutableCharacterSetCharacterSetWithCharactersInString(aString *NSString) *NSMutableCharacterSet
- func NSMutableCharacterSetCharacterSetWithContentsOfFile(fName *NSString) *NSMutableCharacterSet
- func NSMutableCharacterSetCharacterSetWithRange(aRange NSRange) *NSMutableCharacterSet
- func NSMutableCharacterSetControlCharacterSet() *NSMutableCharacterSet
- func NSMutableCharacterSetDecimalDigitCharacterSet() *NSMutableCharacterSet
- func NSMutableCharacterSetDecomposableCharacterSet() *NSMutableCharacterSet
- func NSMutableCharacterSetFromID(id objc.ID) *NSMutableCharacterSet
- func NSMutableCharacterSetIllegalCharacterSet() *NSMutableCharacterSet
- func NSMutableCharacterSetLetterCharacterSet() *NSMutableCharacterSet
- func NSMutableCharacterSetLowercaseLetterCharacterSet() *NSMutableCharacterSet
- func NSMutableCharacterSetNewlineCharacterSet() *NSMutableCharacterSet
- func NSMutableCharacterSetNonBaseCharacterSet() *NSMutableCharacterSet
- func NSMutableCharacterSetPunctuationCharacterSet() *NSMutableCharacterSet
- func NSMutableCharacterSetSymbolCharacterSet() *NSMutableCharacterSet
- func NSMutableCharacterSetUppercaseLetterCharacterSet() *NSMutableCharacterSet
- func NSMutableCharacterSetWhitespaceAndNewlineCharacterSet() *NSMutableCharacterSet
- func NSMutableCharacterSetWhitespaceCharacterSet() *NSMutableCharacterSet
- func (o *NSMutableCharacterSet) AddCharactersInRange(aRange NSRange)
- func (o *NSMutableCharacterSet) AddCharactersInString(aString *NSString)
- func (o *NSMutableCharacterSet) FormIntersectionWithCharacterSet(otherSet *NSCharacterSet)
- func (o *NSMutableCharacterSet) FormUnionWithCharacterSet(otherSet *NSCharacterSet)
- func (o *NSMutableCharacterSet) Invert()
- func (o *NSMutableCharacterSet) RemoveCharactersInRange(aRange NSRange)
- func (o *NSMutableCharacterSet) RemoveCharactersInString(aString *NSString)
- type NSMutableCopying
- type NSMutableData
- func (o *NSMutableData) AppendBytesLength(bytes_ unsafe.Pointer, length uint)
- func (o *NSMutableData) AppendData(other *NSData)
- func (o *NSMutableData) CompressUsingAlgorithmError(algorithm NSDataCompressionAlgorithm) (bool, error)
- func (o *NSMutableData) DecompressUsingAlgorithmError(algorithm NSDataCompressionAlgorithm) (bool, error)
- func (o *NSMutableData) IncreaseLengthBy(extraLength uint)
- func (o *NSMutableData) InitWithCapacity(capacity uint) *NSMutableData
- func (o *NSMutableData) InitWithLength(length uint) *NSMutableData
- func (o *NSMutableData) MutableBytes() unsafe.Pointer
- func (o *NSMutableData) ReplaceBytesInRangeWithBytes(range_ NSRange, bytes_ unsafe.Pointer)
- func (o *NSMutableData) ReplaceBytesInRangeWithBytesLength(range_ NSRange, replacementBytes unsafe.Pointer, replacementLength uint)
- func (o *NSMutableData) ResetBytesInRange(range_ NSRange)
- func (o *NSMutableData) SetData(data *NSData)
- func (o *NSMutableData) SetLength(length uint)
- type NSMutableDictionary
- func NSMutableDictionaryDictionaryWithCapacity(numItems uint) *NSMutableDictionary[objc.ID, objc.ID]
- func NSMutableDictionaryDictionaryWithContentsOfFile(path *NSString) *NSMutableDictionary[objc.ID, objc.ID]
- func NSMutableDictionaryDictionaryWithContentsOfURL(url *NSURL) *NSMutableDictionary[objc.ID, objc.ID]
- func NSMutableDictionaryDictionaryWithSharedKeySet(keyset objc.ID) *NSMutableDictionary[objc.ID, objc.ID]
- func NSMutableDictionaryFromID[KeyType pureobjc.AnyObject, ObjectType pureobjc.AnyObject](id objc.ID) *NSMutableDictionary[KeyType, ObjectType]
- func (o *NSMutableDictionary[KeyType, ObjectType]) AddEntriesFromDictionary(otherDictionary *NSDictionary[KeyType, ObjectType])
- func (o *NSMutableDictionary[KeyType, ObjectType]) Init() *NSMutableDictionary[KeyType, ObjectType]
- func (o *NSMutableDictionary[KeyType, ObjectType]) InitWithCapacity(numItems uint) *NSMutableDictionary[KeyType, ObjectType]
- func (o *NSMutableDictionary[KeyType, ObjectType]) InitWithCoder(coder *NSCoder) *NSMutableDictionary[KeyType, ObjectType]
- func (o *NSMutableDictionary[KeyType, ObjectType]) InitWithContentsOfFile(path *NSString) *NSMutableDictionary[KeyType, ObjectType]
- func (o *NSMutableDictionary[KeyType, ObjectType]) InitWithContentsOfURL(url *NSURL) *NSMutableDictionary[KeyType, ObjectType]
- func (o *NSMutableDictionary[KeyType, ObjectType]) RemoveAllObjects()
- func (o *NSMutableDictionary[KeyType, ObjectType]) RemoveObjectForKey(aKey KeyType)
- func (o *NSMutableDictionary[KeyType, ObjectType]) RemoveObjectsForKeys(keyArray *NSArray[KeyType])
- func (o *NSMutableDictionary[KeyType, ObjectType]) SetDictionary(otherDictionary *NSDictionary[KeyType, ObjectType])
- func (o *NSMutableDictionary[KeyType, ObjectType]) SetObjectForKey(anObject ObjectType, aKey NSCopying)
- func (o *NSMutableDictionary[KeyType, ObjectType]) SetObjectForKeyedSubscript(obj ObjectType, key NSCopying)
- type NSMutableIndexSet
- func (o *NSMutableIndexSet) AddIndex(value uint)
- func (o *NSMutableIndexSet) AddIndexes(indexSet *NSIndexSet)
- func (o *NSMutableIndexSet) AddIndexesInRange(range_ NSRange)
- func (o *NSMutableIndexSet) RemoveAllIndexes()
- func (o *NSMutableIndexSet) RemoveIndex(value uint)
- func (o *NSMutableIndexSet) RemoveIndexes(indexSet *NSIndexSet)
- func (o *NSMutableIndexSet) RemoveIndexesInRange(range_ NSRange)
- func (o *NSMutableIndexSet) ShiftIndexesStartingAtIndexBy(index uint, delta int)
- type NSMutableOrderedSet
- func (o *NSMutableOrderedSet[ObjectType]) AddObject(object ObjectType)
- func (o *NSMutableOrderedSet[ObjectType]) AddObjectsCount(objects unsafe.Pointer, count uint)
- func (o *NSMutableOrderedSet[ObjectType]) AddObjectsFromArray(array *NSArray[ObjectType])
- func (o *NSMutableOrderedSet[ObjectType]) ApplyDifference(difference *NSOrderedCollectionDifference[ObjectType])
- func (o *NSMutableOrderedSet[ObjectType]) ExchangeObjectAtIndexWithObjectAtIndex(idx1 uint, idx2 uint)
- func (o *NSMutableOrderedSet[ObjectType]) FilterUsingPredicate(p *NSPredicate)
- func (o *NSMutableOrderedSet[ObjectType]) Init() *NSMutableOrderedSet[ObjectType]
- func (o *NSMutableOrderedSet[ObjectType]) InitWithCapacity(numItems uint) *NSMutableOrderedSet[ObjectType]
- func (o *NSMutableOrderedSet[ObjectType]) InitWithCoder(coder *NSCoder) *NSMutableOrderedSet[ObjectType]
- func (o *NSMutableOrderedSet[ObjectType]) InsertObjectAtIndex(object ObjectType, idx uint)
- func (o *NSMutableOrderedSet[ObjectType]) InsertObjectsAtIndexes(objects *NSArray[ObjectType], indexes *NSIndexSet)
- func (o *NSMutableOrderedSet[ObjectType]) IntersectOrderedSet(other *NSOrderedSet[ObjectType])
- func (o *NSMutableOrderedSet[ObjectType]) IntersectSet(other *NSSet[ObjectType])
- func (o *NSMutableOrderedSet[ObjectType]) MinusOrderedSet(other *NSOrderedSet[ObjectType])
- func (o *NSMutableOrderedSet[ObjectType]) MinusSet(other *NSSet[ObjectType])
- func (o *NSMutableOrderedSet[ObjectType]) MoveObjectsAtIndexesToIndex(indexes *NSIndexSet, idx uint)
- func (o *NSMutableOrderedSet[ObjectType]) RemoveAllObjects()
- func (o *NSMutableOrderedSet[ObjectType]) RemoveObject(object ObjectType)
- func (o *NSMutableOrderedSet[ObjectType]) RemoveObjectAtIndex(idx uint)
- func (o *NSMutableOrderedSet[ObjectType]) RemoveObjectsAtIndexes(indexes *NSIndexSet)
- func (o *NSMutableOrderedSet[ObjectType]) RemoveObjectsInArray(array *NSArray[ObjectType])
- func (o *NSMutableOrderedSet[ObjectType]) RemoveObjectsInRange(range_ NSRange)
- func (o *NSMutableOrderedSet[ObjectType]) ReplaceObjectAtIndexWithObject(idx uint, object ObjectType)
- func (o *NSMutableOrderedSet[ObjectType]) ReplaceObjectsAtIndexesWithObjects(indexes *NSIndexSet, objects *NSArray[ObjectType])
- func (o *NSMutableOrderedSet[ObjectType]) ReplaceObjectsInRangeWithObjectsCount(range_ NSRange, objects unsafe.Pointer, count uint)
- func (o *NSMutableOrderedSet[ObjectType]) SetObjectAtIndex(obj ObjectType, idx uint)
- func (o *NSMutableOrderedSet[ObjectType]) SetObjectAtIndexedSubscript(obj ObjectType, idx uint)
- func (o *NSMutableOrderedSet[ObjectType]) SortRangeOptionsUsingComparator(range_ NSRange, opts NSSortOptions, ...)
- func (o *NSMutableOrderedSet[ObjectType]) SortUsingComparator(cmptr func(objc.ID, objc.ID) NSComparisonResult)
- func (o *NSMutableOrderedSet[ObjectType]) SortUsingDescriptors(sortDescriptors *NSArray[*NSSortDescriptor])
- func (o *NSMutableOrderedSet[ObjectType]) SortWithOptionsUsingComparator(opts NSSortOptions, cmptr func(objc.ID, objc.ID) NSComparisonResult)
- func (o *NSMutableOrderedSet[ObjectType]) UnionOrderedSet(other *NSOrderedSet[ObjectType])
- func (o *NSMutableOrderedSet[ObjectType]) UnionSet(other *NSSet[ObjectType])
- type NSMutableSet
- func (o *NSMutableSet[ObjectType]) AddObject(object ObjectType)
- func (o *NSMutableSet[ObjectType]) AddObjectsFromArray(array *NSArray[ObjectType])
- func (o *NSMutableSet[ObjectType]) FilterUsingPredicate(predicate *NSPredicate)
- func (o *NSMutableSet[ObjectType]) Init() *NSMutableSet[ObjectType]
- func (o *NSMutableSet[ObjectType]) InitWithCapacity(numItems uint) *NSMutableSet[ObjectType]
- func (o *NSMutableSet[ObjectType]) InitWithCoder(coder *NSCoder) *NSMutableSet[ObjectType]
- func (o *NSMutableSet[ObjectType]) IntersectSet(otherSet *NSSet[ObjectType])
- func (o *NSMutableSet[ObjectType]) MinusSet(otherSet *NSSet[ObjectType])
- func (o *NSMutableSet[ObjectType]) RemoveAllObjects()
- func (o *NSMutableSet[ObjectType]) RemoveObject(object ObjectType)
- func (o *NSMutableSet[ObjectType]) SetSet(otherSet *NSSet[ObjectType])
- func (o *NSMutableSet[ObjectType]) UnionSet(otherSet *NSSet[ObjectType])
- type NSMutableString
- func (o *NSMutableString) AppendFormat(format *NSString)
- func (o *NSMutableString) AppendString(aString *NSString)
- func (o *NSMutableString) ApplyTransformReverseRangeUpdatedRange(transform *NSString, reverse bool, range_ NSRange, resultingRange *NSRange) bool
- func (o *NSMutableString) DeleteCharactersInRange(range_ NSRange)
- func (o *NSMutableString) InitWithCapacity(capacity uint) *NSMutableString
- func (o *NSMutableString) InsertStringAtIndex(aString *NSString, loc uint)
- func (o *NSMutableString) ReplaceCharactersInRangeWithString(range_ NSRange, aString *NSString)
- func (o *NSMutableString) ReplaceOccurrencesOfStringWithStringOptionsRange(target *NSString, replacement *NSString, options NSStringCompareOptions, ...) uint
- func (o *NSMutableString) SetString(aString *NSString)
- type NSMutableURLRequest
- func (o *NSMutableURLRequest) AddValueForHTTPHeaderField(value *NSString, field *NSString)
- func (o *NSMutableURLRequest) SetAllHTTPHeaderFields(allHTTPHeaderFields *NSDictionary[*NSString, *NSString])
- func (o *NSMutableURLRequest) SetAllowsCellularAccess(allowsCellularAccess bool)
- func (o *NSMutableURLRequest) SetAllowsConstrainedNetworkAccess(allowsConstrainedNetworkAccess bool)
- func (o *NSMutableURLRequest) SetAllowsExpensiveNetworkAccess(allowsExpensiveNetworkAccess bool)
- func (o *NSMutableURLRequest) SetAllowsPersistentDNS(allowsPersistentDNS bool)
- func (o *NSMutableURLRequest) SetAllowsUltraConstrainedNetworkAccess(allowsUltraConstrainedNetworkAccess bool)
- func (o *NSMutableURLRequest) SetAssumesHTTP3Capable(assumesHTTP3Capable bool)
- func (o *NSMutableURLRequest) SetAttribution(attribution NSURLRequestAttribution)
- func (o *NSMutableURLRequest) SetCachePolicy(cachePolicy NSURLRequestCachePolicy)
- func (o *NSMutableURLRequest) SetCookiePartitionIdentifier(cookiePartitionIdentifier *NSString)
- func (o *NSMutableURLRequest) SetHTTPBody(hTTPBody *NSData)
- func (o *NSMutableURLRequest) SetHTTPBodyStream(hTTPBodyStream *NSInputStream)
- func (o *NSMutableURLRequest) SetHTTPMethod(hTTPMethod *NSString)
- func (o *NSMutableURLRequest) SetHTTPShouldHandleCookies(hTTPShouldHandleCookies bool)
- func (o *NSMutableURLRequest) SetHTTPShouldUsePipelining(hTTPShouldUsePipelining bool)deprecated
- func (o *NSMutableURLRequest) SetMainDocumentURL(mainDocumentURL *NSURL)
- func (o *NSMutableURLRequest) SetNetworkServiceType(networkServiceType NSURLRequestNetworkServiceType)
- func (o *NSMutableURLRequest) SetRequiresDNSSECValidation(requiresDNSSECValidation bool)
- func (o *NSMutableURLRequest) SetTimeoutInterval(timeoutInterval float64)
- func (o *NSMutableURLRequest) SetURL(uRL *NSURL)
- func (o *NSMutableURLRequest) SetValueForHTTPHeaderField(value *NSString, field *NSString)
- type NSNameSpecifier
- func (o *NSNameSpecifier) InitWithCoder(inCoder *NSCoder) *NSNameSpecifier
- func (o *NSNameSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyName(classDesc *NSScriptClassDescription, container *NSScriptObjectSpecifier, ...) *NSNameSpecifier
- func (o *NSNameSpecifier) Name() *NSString
- func (o *NSNameSpecifier) SetName(name *NSString)
- type NSNetService
- func (o *NSNetService) Addresses() *NSArray[*NSData]
- func (o *NSNetService) Delegate() NSNetServiceDelegate
- func (o *NSNetService) Domain() *NSString
- func (o *NSNetService) GetInputStreamOutputStream(inputStream *NSInputStream, outputStream *NSOutputStream) bool
- func (o *NSNetService) HostName() *NSString
- func (o *NSNetService) IncludesPeerToPeer() bool
- func (o *NSNetService) InitWithDomainTypeName(domain *NSString, type_ *NSString, name *NSString) *NSNetService
- func (o *NSNetService) InitWithDomainTypeNamePort(domain *NSString, type_ *NSString, name *NSString, port int) *NSNetService
- func (o *NSNetService) Name() *NSString
- func (o *NSNetService) Port() int
- func (o *NSNetService) Publish()
- func (o *NSNetService) PublishWithOptions(options NSNetServiceOptions)
- func (o *NSNetService) RemoveFromRunLoopForMode(aRunLoop *NSRunLoop, mode *NSString)
- func (o *NSNetService) Resolve()deprecated
- func (o *NSNetService) ResolveWithTimeout(timeout float64)
- func (o *NSNetService) ScheduleInRunLoopForMode(aRunLoop *NSRunLoop, mode *NSString)
- func (o *NSNetService) SetDelegate(delegate NSNetServiceDelegate)
- func (o *NSNetService) SetIncludesPeerToPeer(includesPeerToPeer bool)
- func (o *NSNetService) SetTXTRecordData(recordData *NSData) bool
- func (o *NSNetService) StartMonitoring()
- func (o *NSNetService) Stop()deprecated
- func (o *NSNetService) StopMonitoring()
- func (o *NSNetService) TXTRecordData() *NSData
- func (o *NSNetService) Type() *NSString
- type NSNetServiceBrowser
- func (o *NSNetServiceBrowser) Delegate() NSNetServiceBrowserDelegate
- func (o *NSNetServiceBrowser) IncludesPeerToPeer() bool
- func (o *NSNetServiceBrowser) Init() *NSNetServiceBrowser
- func (o *NSNetServiceBrowser) RemoveFromRunLoopForMode(aRunLoop *NSRunLoop, mode *NSString)
- func (o *NSNetServiceBrowser) ScheduleInRunLoopForMode(aRunLoop *NSRunLoop, mode *NSString)
- func (o *NSNetServiceBrowser) SearchForBrowsableDomains()
- func (o *NSNetServiceBrowser) SearchForRegistrationDomains()
- func (o *NSNetServiceBrowser) SearchForServicesOfTypeInDomain(type_ *NSString, domainString *NSString)
- func (o *NSNetServiceBrowser) SetDelegate(delegate NSNetServiceBrowserDelegate)
- func (o *NSNetServiceBrowser) SetIncludesPeerToPeer(includesPeerToPeer bool)
- func (o *NSNetServiceBrowser) Stop()
- type NSNetServiceBrowserDelegate
- type NSNetServiceDelegate
- type NSNetServiceOptions
- type NSNetServicesError
- type NSNotification
- func (o *NSNotification) InitWithCoder(coder *NSCoder) *NSNotification
- func (o *NSNotification) InitWithNameObjectUserInfo(name *NSString, object objc.ID, userInfo *NSDictionary[objc.ID, objc.ID]) *NSNotification
- func (o *NSNotification) Name() *NSString
- func (o *NSNotification) Object() objc.ID
- func (o *NSNotification) UserInfo() *NSDictionary[objc.ID, objc.ID]
- type NSNotificationCenter
- func (o *NSNotificationCenter) AddObserverForNameObjectQueueUsing(name *NSString, obj objc.ID, queue *NSOperationQueue, ...) NSObjectProtocol
- func (o *NSNotificationCenter) AddObserverSelectorNameObject(observer objc.ID, aSelector objc.SEL, aName *NSString, anObject objc.ID)
- func (o *NSNotificationCenter) PostNotification(notification *NSNotification)
- func (o *NSNotificationCenter) PostNotificationNameObject(aName *NSString, anObject objc.ID)
- func (o *NSNotificationCenter) PostNotificationNameObjectUserInfo(aName *NSString, anObject objc.ID, aUserInfo *NSDictionary[objc.ID, objc.ID])
- func (o *NSNotificationCenter) RemoveObserver(observer objc.ID)
- func (o *NSNotificationCenter) RemoveObserverNameObject(observer objc.ID, aName *NSString, anObject objc.ID)
- type NSNotificationCoalescing
- type NSNotificationQueue
- func (o *NSNotificationQueue) DequeueNotificationsMatchingCoalesceMask(notification *NSNotification, coalesceMask uint)
- func (o *NSNotificationQueue) EnqueueNotificationPostingStyle(notification *NSNotification, postingStyle NSPostingStyle)
- func (o *NSNotificationQueue) EnqueueNotificationPostingStyleCoalesceMaskForModes(notification *NSNotification, postingStyle NSPostingStyle, ...)
- func (o *NSNotificationQueue) InitWithNotificationCenter(notificationCenter *NSNotificationCenter) *NSNotificationQueue
- type NSNotificationSuspensionBehavior
- type NSNull
- type NSNumber
- func NSNumberFromID(id objc.ID) *NSNumber
- func NSNumberNumberWithBool(value bool) *NSNumber
- func NSNumberNumberWithChar(value int8) *NSNumber
- func NSNumberNumberWithDouble(value float64) *NSNumber
- func NSNumberNumberWithFloat(value float32) *NSNumber
- func NSNumberNumberWithInt(value int) *NSNumber
- func NSNumberNumberWithInteger(value int) *NSNumber
- func NSNumberNumberWithLong(value int) *NSNumber
- func NSNumberNumberWithLongLong(value int64) *NSNumber
- func NSNumberNumberWithShort(value int16) *NSNumber
- func NSNumberNumberWithUnsignedChar(value uint8) *NSNumber
- func NSNumberNumberWithUnsignedInt(value uint) *NSNumber
- func NSNumberNumberWithUnsignedInteger(value uint) *NSNumber
- func NSNumberNumberWithUnsignedLong(value uint) *NSNumber
- func NSNumberNumberWithUnsignedLongLong(value uint64) *NSNumber
- func NSNumberNumberWithUnsignedShort(value uint16) *NSNumber
- func (o *NSNumber) BoolValue() bool
- func (o *NSNumber) CharValue() int8
- func (o *NSNumber) Compare(otherNumber *NSNumber) NSComparisonResult
- func (o *NSNumber) DecimalValue() NSDecimal
- func (o *NSNumber) DescriptionWithLocale(locale objc.ID) *NSString
- func (o *NSNumber) DoubleValue() float64
- func (o *NSNumber) FloatValue() float32
- func (o *NSNumber) InitWithBool(value bool) *NSNumber
- func (o *NSNumber) InitWithChar(value int8) *NSNumber
- func (o *NSNumber) InitWithCoder(coder *NSCoder) *NSNumber
- func (o *NSNumber) InitWithDouble(value float64) *NSNumber
- func (o *NSNumber) InitWithFloat(value float32) *NSNumber
- func (o *NSNumber) InitWithInt(value int) *NSNumber
- func (o *NSNumber) InitWithInteger(value int) *NSNumber
- func (o *NSNumber) InitWithLong(value int) *NSNumber
- func (o *NSNumber) InitWithLongLong(value int64) *NSNumber
- func (o *NSNumber) InitWithShort(value int16) *NSNumber
- func (o *NSNumber) InitWithUnsignedChar(value uint8) *NSNumber
- func (o *NSNumber) InitWithUnsignedInt(value uint) *NSNumber
- func (o *NSNumber) InitWithUnsignedInteger(value uint) *NSNumber
- func (o *NSNumber) InitWithUnsignedLong(value uint) *NSNumber
- func (o *NSNumber) InitWithUnsignedLongLong(value uint64) *NSNumber
- func (o *NSNumber) InitWithUnsignedShort(value uint16) *NSNumber
- func (o *NSNumber) IntValue() int
- func (o *NSNumber) IntegerValue() int
- func (o *NSNumber) IsEqualToNumber(number *NSNumber) bool
- func (o *NSNumber) LongLongValue() int64
- func (o *NSNumber) LongValue() int
- func (o *NSNumber) ShortValue() int16
- func (o *NSNumber) StringValue() *NSString
- func (o *NSNumber) UnsignedCharValue() uint8
- func (o *NSNumber) UnsignedIntValue() uint
- func (o *NSNumber) UnsignedIntegerValue() uint
- func (o *NSNumber) UnsignedLongLongValue() uint64
- func (o *NSNumber) UnsignedLongValue() uint
- func (o *NSNumber) UnsignedShortValue() uint16
- type NSNumberFormatter
- func (o *NSNumberFormatter) AllowsFloats() bool
- func (o *NSNumberFormatter) AlwaysShowsDecimalSeparator() bool
- func (o *NSNumberFormatter) AttributedStringForNil() *NSAttributedString
- func (o *NSNumberFormatter) AttributedStringForNotANumber() *NSAttributedString
- func (o *NSNumberFormatter) AttributedStringForZero() *NSAttributedString
- func (o *NSNumberFormatter) CurrencyCode() *NSString
- func (o *NSNumberFormatter) CurrencyDecimalSeparator() *NSString
- func (o *NSNumberFormatter) CurrencyGroupingSeparator() *NSString
- func (o *NSNumberFormatter) CurrencySymbol() *NSString
- func (o *NSNumberFormatter) DecimalSeparator() *NSString
- func (o *NSNumberFormatter) ExponentSymbol() *NSString
- func (o *NSNumberFormatter) Format() *NSString
- func (o *NSNumberFormatter) FormatWidth() uint
- func (o *NSNumberFormatter) FormatterBehavior() NSNumberFormatterBehavior
- func (o *NSNumberFormatter) FormattingContext() NSFormattingContext
- func (o *NSNumberFormatter) GeneratesDecimalNumbers() bool
- func (o *NSNumberFormatter) GetObjectValueForStringRangeError(obj **ObjcObject, string_ *NSString, rangep *NSRange) (bool, error)
- func (o *NSNumberFormatter) GroupingSeparator() *NSString
- func (o *NSNumberFormatter) GroupingSize() uint
- func (o *NSNumberFormatter) HasThousandSeparators() bool
- func (o *NSNumberFormatter) InternationalCurrencySymbol() *NSString
- func (o *NSNumberFormatter) IsLenient() bool
- func (o *NSNumberFormatter) IsPartialStringValidationEnabled() bool
- func (o *NSNumberFormatter) Locale() *NSLocale
- func (o *NSNumberFormatter) LocalizesFormat() bool
- func (o *NSNumberFormatter) Maximum() *NSNumber
- func (o *NSNumberFormatter) MaximumFractionDigits() uint
- func (o *NSNumberFormatter) MaximumIntegerDigits() uint
- func (o *NSNumberFormatter) MaximumSignificantDigits() uint
- func (o *NSNumberFormatter) Minimum() *NSNumber
- func (o *NSNumberFormatter) MinimumFractionDigits() uint
- func (o *NSNumberFormatter) MinimumGroupingDigits() int
- func (o *NSNumberFormatter) MinimumIntegerDigits() uint
- func (o *NSNumberFormatter) MinimumSignificantDigits() uint
- func (o *NSNumberFormatter) MinusSign() *NSString
- func (o *NSNumberFormatter) Multiplier() *NSNumber
- func (o *NSNumberFormatter) NegativeFormat() *NSString
- func (o *NSNumberFormatter) NegativeInfinitySymbol() *NSString
- func (o *NSNumberFormatter) NegativePrefix() *NSString
- func (o *NSNumberFormatter) NegativeSuffix() *NSString
- func (o *NSNumberFormatter) NilSymbol() *NSString
- func (o *NSNumberFormatter) NotANumberSymbol() *NSString
- func (o *NSNumberFormatter) NumberFromString(string_ *NSString) *NSNumber
- func (o *NSNumberFormatter) NumberStyle() NSNumberFormatterStyle
- func (o *NSNumberFormatter) PaddingCharacter() *NSString
- func (o *NSNumberFormatter) PaddingPosition() NSNumberFormatterPadPosition
- func (o *NSNumberFormatter) PerMillSymbol() *NSString
- func (o *NSNumberFormatter) PercentSymbol() *NSString
- func (o *NSNumberFormatter) PlusSign() *NSString
- func (o *NSNumberFormatter) PositiveFormat() *NSString
- func (o *NSNumberFormatter) PositiveInfinitySymbol() *NSString
- func (o *NSNumberFormatter) PositivePrefix() *NSString
- func (o *NSNumberFormatter) PositiveSuffix() *NSString
- func (o *NSNumberFormatter) RoundingBehavior() *NSDecimalNumberHandler
- func (o *NSNumberFormatter) RoundingIncrement() *NSNumber
- func (o *NSNumberFormatter) RoundingMode() NSNumberFormatterRoundingMode
- func (o *NSNumberFormatter) SecondaryGroupingSize() uint
- func (o *NSNumberFormatter) SetAllowsFloats(allowsFloats bool)
- func (o *NSNumberFormatter) SetAlwaysShowsDecimalSeparator(alwaysShowsDecimalSeparator bool)
- func (o *NSNumberFormatter) SetAttributedStringForNil(attributedStringForNil *NSAttributedString)
- func (o *NSNumberFormatter) SetAttributedStringForNotANumber(attributedStringForNotANumber *NSAttributedString)
- func (o *NSNumberFormatter) SetAttributedStringForZero(attributedStringForZero *NSAttributedString)
- func (o *NSNumberFormatter) SetCurrencyCode(currencyCode *NSString)
- func (o *NSNumberFormatter) SetCurrencyDecimalSeparator(currencyDecimalSeparator *NSString)
- func (o *NSNumberFormatter) SetCurrencyGroupingSeparator(currencyGroupingSeparator *NSString)
- func (o *NSNumberFormatter) SetCurrencySymbol(currencySymbol *NSString)
- func (o *NSNumberFormatter) SetDecimalSeparator(decimalSeparator *NSString)
- func (o *NSNumberFormatter) SetExponentSymbol(exponentSymbol *NSString)
- func (o *NSNumberFormatter) SetFormat(format *NSString)
- func (o *NSNumberFormatter) SetFormatWidth(formatWidth uint)
- func (o *NSNumberFormatter) SetFormatterBehavior(formatterBehavior NSNumberFormatterBehavior)
- func (o *NSNumberFormatter) SetFormattingContext(formattingContext NSFormattingContext)
- func (o *NSNumberFormatter) SetGeneratesDecimalNumbers(generatesDecimalNumbers bool)
- func (o *NSNumberFormatter) SetGroupingSeparator(groupingSeparator *NSString)
- func (o *NSNumberFormatter) SetGroupingSize(groupingSize uint)
- func (o *NSNumberFormatter) SetHasThousandSeparators(hasThousandSeparators bool)
- func (o *NSNumberFormatter) SetInternationalCurrencySymbol(internationalCurrencySymbol *NSString)
- func (o *NSNumberFormatter) SetLenient(lenient bool)
- func (o *NSNumberFormatter) SetLocale(locale *NSLocale)
- func (o *NSNumberFormatter) SetLocalizesFormat(localizesFormat bool)
- func (o *NSNumberFormatter) SetMaximum(maximum *NSNumber)
- func (o *NSNumberFormatter) SetMaximumFractionDigits(maximumFractionDigits uint)
- func (o *NSNumberFormatter) SetMaximumIntegerDigits(maximumIntegerDigits uint)
- func (o *NSNumberFormatter) SetMaximumSignificantDigits(maximumSignificantDigits uint)
- func (o *NSNumberFormatter) SetMinimum(minimum *NSNumber)
- func (o *NSNumberFormatter) SetMinimumFractionDigits(minimumFractionDigits uint)
- func (o *NSNumberFormatter) SetMinimumGroupingDigits(minimumGroupingDigits int)
- func (o *NSNumberFormatter) SetMinimumIntegerDigits(minimumIntegerDigits uint)
- func (o *NSNumberFormatter) SetMinimumSignificantDigits(minimumSignificantDigits uint)
- func (o *NSNumberFormatter) SetMinusSign(minusSign *NSString)
- func (o *NSNumberFormatter) SetMultiplier(multiplier *NSNumber)
- func (o *NSNumberFormatter) SetNegativeFormat(negativeFormat *NSString)
- func (o *NSNumberFormatter) SetNegativeInfinitySymbol(negativeInfinitySymbol *NSString)
- func (o *NSNumberFormatter) SetNegativePrefix(negativePrefix *NSString)
- func (o *NSNumberFormatter) SetNegativeSuffix(negativeSuffix *NSString)
- func (o *NSNumberFormatter) SetNilSymbol(nilSymbol *NSString)
- func (o *NSNumberFormatter) SetNotANumberSymbol(notANumberSymbol *NSString)
- func (o *NSNumberFormatter) SetNumberStyle(numberStyle NSNumberFormatterStyle)
- func (o *NSNumberFormatter) SetPaddingCharacter(paddingCharacter *NSString)
- func (o *NSNumberFormatter) SetPaddingPosition(paddingPosition NSNumberFormatterPadPosition)
- func (o *NSNumberFormatter) SetPartialStringValidationEnabled(partialStringValidationEnabled bool)
- func (o *NSNumberFormatter) SetPerMillSymbol(perMillSymbol *NSString)
- func (o *NSNumberFormatter) SetPercentSymbol(percentSymbol *NSString)
- func (o *NSNumberFormatter) SetPlusSign(plusSign *NSString)
- func (o *NSNumberFormatter) SetPositiveFormat(positiveFormat *NSString)
- func (o *NSNumberFormatter) SetPositiveInfinitySymbol(positiveInfinitySymbol *NSString)
- func (o *NSNumberFormatter) SetPositivePrefix(positivePrefix *NSString)
- func (o *NSNumberFormatter) SetPositiveSuffix(positiveSuffix *NSString)
- func (o *NSNumberFormatter) SetRoundingBehavior(roundingBehavior *NSDecimalNumberHandler)
- func (o *NSNumberFormatter) SetRoundingIncrement(roundingIncrement *NSNumber)
- func (o *NSNumberFormatter) SetRoundingMode(roundingMode NSNumberFormatterRoundingMode)
- func (o *NSNumberFormatter) SetSecondaryGroupingSize(secondaryGroupingSize uint)
- func (o *NSNumberFormatter) SetTextAttributesForNegativeInfinity(textAttributesForNegativeInfinity *NSDictionary[*NSString, objc.ID])
- func (o *NSNumberFormatter) SetTextAttributesForNegativeValues(textAttributesForNegativeValues *NSDictionary[*NSString, objc.ID])
- func (o *NSNumberFormatter) SetTextAttributesForNil(textAttributesForNil *NSDictionary[*NSString, objc.ID])
- func (o *NSNumberFormatter) SetTextAttributesForNotANumber(textAttributesForNotANumber *NSDictionary[*NSString, objc.ID])
- func (o *NSNumberFormatter) SetTextAttributesForPositiveInfinity(textAttributesForPositiveInfinity *NSDictionary[*NSString, objc.ID])
- func (o *NSNumberFormatter) SetTextAttributesForPositiveValues(textAttributesForPositiveValues *NSDictionary[*NSString, objc.ID])
- func (o *NSNumberFormatter) SetTextAttributesForZero(textAttributesForZero *NSDictionary[*NSString, objc.ID])
- func (o *NSNumberFormatter) SetThousandSeparator(thousandSeparator *NSString)
- func (o *NSNumberFormatter) SetUsesGroupingSeparator(usesGroupingSeparator bool)
- func (o *NSNumberFormatter) SetUsesSignificantDigits(usesSignificantDigits bool)
- func (o *NSNumberFormatter) SetZeroSymbol(zeroSymbol *NSString)
- func (o *NSNumberFormatter) StringFromNumber(number *NSNumber) *NSString
- func (o *NSNumberFormatter) TextAttributesForNegativeInfinity() *NSDictionary[*NSString, objc.ID]
- func (o *NSNumberFormatter) TextAttributesForNegativeValues() *NSDictionary[*NSString, objc.ID]
- func (o *NSNumberFormatter) TextAttributesForNil() *NSDictionary[*NSString, objc.ID]
- func (o *NSNumberFormatter) TextAttributesForNotANumber() *NSDictionary[*NSString, objc.ID]
- func (o *NSNumberFormatter) TextAttributesForPositiveInfinity() *NSDictionary[*NSString, objc.ID]
- func (o *NSNumberFormatter) TextAttributesForPositiveValues() *NSDictionary[*NSString, objc.ID]
- func (o *NSNumberFormatter) TextAttributesForZero() *NSDictionary[*NSString, objc.ID]
- func (o *NSNumberFormatter) ThousandSeparator() *NSString
- func (o *NSNumberFormatter) UsesGroupingSeparator() bool
- func (o *NSNumberFormatter) UsesSignificantDigits() bool
- func (o *NSNumberFormatter) ZeroSymbol() *NSString
- type NSNumberFormatterBehavior
- type NSNumberFormatterPadPosition
- type NSNumberFormatterRoundingMode
- type NSNumberFormatterStyle
- type NSObject
- func (o *NSObject) AddObserverForKeyPathOptionsContext(observer *NSObject, keyPath *NSString, options NSKeyValueObservingOptions, ...)
- func (o *NSObject) AttemptRecoveryFromErrorOptionIndex(error_ unsafe.Pointer, recoveryOptionIndex uint) bool
- func (o *NSObject) AttemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo(error_ unsafe.Pointer, recoveryOptionIndex uint, delegate objc.ID, ...)
- func (o *NSObject) AttributeKeys() *NSArray[*NSString]
- func (o *NSObject) AutoContentAccessingProxy() objc.ID
- func (o *NSObject) AwakeAfterUsingCoder(coder *NSCoder) objc.ID
- func (o *NSObject) ClassCode() uint
- func (o *NSObject) ClassDescription() *NSClassDescription
- func (o *NSObject) ClassForArchiver() objc.Class
- func (o *NSObject) ClassForCoder() objc.Class
- func (o *NSObject) ClassForKeyedArchiver() objc.Class
- func (o *NSObject) ClassForPortCoder() objc.Classdeprecated
- func (o *NSObject) ClassName() *NSString
- func (o *NSObject) CoerceValueForKey(value objc.ID, key *NSString) objc.ID
- func (o *NSObject) Copy() objc.ID
- func (o *NSObject) CopyScriptingValueForKeyWithProperties(value objc.ID, key *NSString, properties *NSDictionary[*NSString, objc.ID]) objc.ID
- func (o *NSObject) Dealloc()
- func (o *NSObject) DictionaryWithValuesForKeys(keys *NSArray[*NSString]) *NSDictionary[*NSString, objc.ID]
- func (o *NSObject) DidChangeValueForKey(key *NSString)
- func (o *NSObject) DidChangeValueForKeyWithSetMutationUsingObjects(key *NSString, mutationKind NSKeyValueSetMutationKind, objects *NSSet[objc.ID])
- func (o *NSObject) DidChangeValuesAtIndexesForKey(changeKind NSKeyValueChange, indexes *NSIndexSet, key *NSString)
- func (o *NSObject) DoesContain(object objc.ID) bool
- func (o *NSObject) DoesNotRecognizeSelector(aSelector objc.SEL)
- func (o *NSObject) FileManagerShouldProceedAfterError(fm *NSFileManager, errorInfo *NSDictionary[objc.ID, objc.ID]) booldeprecated
- func (o *NSObject) FileManagerWillProcessPath(fm *NSFileManager, path *NSString)deprecated
- func (o *NSObject) Finalize()
- func (o *NSObject) ForwardInvocation(anInvocation *NSInvocation)
- func (o *NSObject) ForwardingTargetForSelector(aSelector objc.SEL) objc.ID
- func (o *NSObject) HandleQueryWithUnboundKey(key *NSString) objc.IDdeprecated
- func (o *NSObject) HandleTakeValueForUnboundKey(value objc.ID, key *NSString)deprecated
- func (o *NSObject) IndicesOfObjectsByEvaluatingObjectSpecifier(specifier *NSScriptObjectSpecifier) *NSArray[*NSNumber]
- func (o *NSObject) Init() *NSObject
- func (o *NSObject) InitPtr(id objc.ID)
- func (o *NSObject) InsertValueAtIndexInPropertyWithKey(value objc.ID, index uint, key *NSString)
- func (o *NSObject) InsertValueInPropertyWithKey(value objc.ID, key *NSString)
- func (o *NSObject) InverseForRelationshipKey(relationshipKey *NSString) *NSString
- func (o *NSObject) IsCaseInsensitiveLike(object *NSString) bool
- func (o *NSObject) IsEqualTo(object objc.ID) bool
- func (o *NSObject) IsGreaterThan(object objc.ID) bool
- func (o *NSObject) IsGreaterThanOrEqualTo(object objc.ID) bool
- func (o *NSObject) IsLessThan(object objc.ID) bool
- func (o *NSObject) IsLessThanOrEqualTo(object objc.ID) bool
- func (o *NSObject) IsLike(object *NSString) bool
- func (o *NSObject) IsNotEqualTo(object objc.ID) bool
- func (o *NSObject) MethodForSelector(aSelector objc.SEL) unsafe.Pointer
- func (o *NSObject) MethodSignatureForSelector(aSelector objc.SEL) *NSMethodSignature
- func (o *NSObject) MutableArrayValueForKey(key *NSString) *NSMutableArray[objc.ID]
- func (o *NSObject) MutableArrayValueForKeyPath(keyPath *NSString) *NSMutableArray[objc.ID]
- func (o *NSObject) MutableCopy() objc.ID
- func (o *NSObject) MutableOrderedSetValueForKey(key *NSString) *NSMutableOrderedSet[objc.ID]
- func (o *NSObject) MutableOrderedSetValueForKeyPath(keyPath *NSString) *NSMutableOrderedSet[objc.ID]
- func (o *NSObject) MutableSetValueForKey(key *NSString) *NSMutableSet[objc.ID]
- func (o *NSObject) MutableSetValueForKeyPath(keyPath *NSString) *NSMutableSet[objc.ID]
- func (o *NSObject) NewScriptingObjectOfClassForValueForKeyWithContentsValueProperties(objectClass objc.Class, key *NSString, contentsValue objc.ID, ...) objc.ID
- func (o *NSObject) ObjectSpecifier() *NSScriptObjectSpecifier
- func (o *NSObject) ObservationInfo() unsafe.Pointer
- func (o *NSObject) ObserveValueForKeyPathOfObjectChangeContext(keyPath *NSString, object objc.ID, change *NSDictionary[*NSString, objc.ID], ...)
- func (o *NSObject) PerformSelectorInBackgroundWithObject(aSelector objc.SEL, arg objc.ID)
- func (o *NSObject) PerformSelectorOnMainThreadWithObjectWaitUntilDone(aSelector objc.SEL, arg objc.ID, wait bool)
- func (o *NSObject) PerformSelectorOnMainThreadWithObjectWaitUntilDoneModes(aSelector objc.SEL, arg objc.ID, wait bool, array *NSArray[*NSString])deprecated
- func (o *NSObject) PerformSelectorOnThreadWithObjectWaitUntilDone(aSelector objc.SEL, thr *NSThread, arg objc.ID, wait bool)
- func (o *NSObject) PerformSelectorOnThreadWithObjectWaitUntilDoneModes(aSelector objc.SEL, thr *NSThread, arg objc.ID, wait bool, ...)
- func (o *NSObject) PerformSelectorWithObjectAfterDelay(aSelector objc.SEL, anArgument objc.ID, delay float64)
- func (o *NSObject) PerformSelectorWithObjectAfterDelayInModes(aSelector objc.SEL, anArgument objc.ID, delay float64, ...)
- func (o *NSObject) Ptr() objc.ID
- func (o *NSObject) RemoveObserverForKeyPath(observer *NSObject, keyPath *NSString)
- func (o *NSObject) RemoveObserverForKeyPathContext(observer *NSObject, keyPath *NSString, context_ unsafe.Pointer)
- func (o *NSObject) RemoveValueAtIndexFromPropertyWithKey(index uint, key *NSString)
- func (o *NSObject) ReplaceValueAtIndexInPropertyWithKeyWithValue(index uint, key *NSString, value objc.ID)
- func (o *NSObject) ReplacementObjectForArchiver(archiver *NSArchiver) objc.IDdeprecated
- func (o *NSObject) ReplacementObjectForCoder(coder *NSCoder) objc.ID
- func (o *NSObject) ReplacementObjectForKeyedArchiver(archiver *NSKeyedArchiver) objc.ID
- func (o *NSObject) ReplacementObjectForPortCoder(coder *NSPortCoder) objc.IDdeprecated
- func (o *NSObject) ScriptingBeginsWith(object objc.ID) bool
- func (o *NSObject) ScriptingContains(object objc.ID) bool
- func (o *NSObject) ScriptingEndsWith(object objc.ID) bool
- func (o *NSObject) ScriptingIsEqualTo(object objc.ID) bool
- func (o *NSObject) ScriptingIsGreaterThan(object objc.ID) bool
- func (o *NSObject) ScriptingIsGreaterThanOrEqualTo(object objc.ID) bool
- func (o *NSObject) ScriptingIsLessThan(object objc.ID) bool
- func (o *NSObject) ScriptingIsLessThanOrEqualTo(object objc.ID) bool
- func (o *NSObject) ScriptingProperties() *NSDictionary[*NSString, objc.ID]
- func (o *NSObject) ScriptingValueForSpecifier(objectSpecifier *NSScriptObjectSpecifier) objc.ID
- func (o *NSObject) SetNilValueForKey(key *NSString)
- func (o *NSObject) SetObservationInfo(observationInfo unsafe.Pointer)
- func (o *NSObject) SetScriptingProperties(scriptingProperties *NSDictionary[*NSString, objc.ID])
- func (o *NSObject) SetSharedObservers(sharedObservers *NSKeyValueSharedObserversSnapshot)
- func (o *NSObject) SetValueForKey(value objc.ID, key *NSString)
- func (o *NSObject) SetValueForKeyPath(value objc.ID, keyPath *NSString)
- func (o *NSObject) SetValueForUndefinedKey(value objc.ID, key *NSString)
- func (o *NSObject) SetValuesForKeysWithDictionary(keyedValues *NSDictionary[*NSString, objc.ID])
- func (o *NSObject) StoredValueForKey(key *NSString) objc.IDdeprecated
- func (o *NSObject) TakeStoredValueForKey(value objc.ID, key *NSString)deprecated
- func (o *NSObject) TakeValueForKey(value objc.ID, key *NSString)deprecated
- func (o *NSObject) TakeValueForKeyPath(value objc.ID, keyPath *NSString)deprecated
- func (o *NSObject) TakeValuesFromDictionary(properties *NSDictionary[objc.ID, objc.ID])deprecated
- func (o *NSObject) ToManyRelationshipKeys() *NSArray[*NSString]
- func (o *NSObject) ToOneRelationshipKeys() *NSArray[*NSString]
- func (o *NSObject) URLResourceDataDidBecomeAvailable(sender *NSURL, newBytes *NSData)deprecated
- func (o *NSObject) URLResourceDidCancelLoading(sender *NSURL)deprecated
- func (o *NSObject) URLResourceDidFailLoadingWithReason(sender *NSURL, reason *NSString)deprecated
- func (o *NSObject) URLResourceDidFinishLoading(sender *NSURL)deprecated
- func (o *NSObject) UnableToSetNilForKey(key *NSString)deprecated
- func (o *NSObject) ValidateValueForKeyError(ioValue **ObjcObject, inKey *NSString) (bool, error)
- func (o *NSObject) ValidateValueForKeyPathError(ioValue **ObjcObject, inKeyPath *NSString) (bool, error)
- func (o *NSObject) ValueAtIndexInPropertyWithKey(index uint, key *NSString) objc.ID
- func (o *NSObject) ValueForKey(key *NSString) objc.ID
- func (o *NSObject) ValueForKeyPath(keyPath *NSString) objc.ID
- func (o *NSObject) ValueForUndefinedKey(key *NSString) objc.ID
- func (o *NSObject) ValueWithNameInPropertyWithKey(name *NSString, key *NSString) objc.ID
- func (o *NSObject) ValueWithUniqueIDInPropertyWithKey(uniqueID objc.ID, key *NSString) objc.ID
- func (o *NSObject) ValuesForKeys(keys *NSArray[objc.ID]) *NSDictionary[objc.ID, objc.ID]deprecated
- func (o *NSObject) WillChangeValueForKey(key *NSString)
- func (o *NSObject) WillChangeValueForKeyWithSetMutationUsingObjects(key *NSString, mutationKind NSKeyValueSetMutationKind, objects *NSSet[objc.ID])
- func (o *NSObject) WillChangeValuesAtIndexesForKey(changeKind NSKeyValueChange, indexes *NSIndexSet, key *NSString)
- type NSObjectProtocol
- type NSOperatingSystemVersiondeprecated
- type NSOperation
- func (o *NSOperation) AddDependency(op *NSOperation)
- func (o *NSOperation) Cancel()
- func (o *NSOperation) CompletionBlock() objc.Block
- func (o *NSOperation) Dependencies() *NSArray[*NSOperation]
- func (o *NSOperation) IsAsynchronous() bool
- func (o *NSOperation) IsCancelled() bool
- func (o *NSOperation) IsConcurrent() bool
- func (o *NSOperation) IsExecuting() bool
- func (o *NSOperation) IsFinished() bool
- func (o *NSOperation) IsReady() bool
- func (o *NSOperation) Main()
- func (o *NSOperation) Name() *NSString
- func (o *NSOperation) QualityOfService() NSQualityOfService
- func (o *NSOperation) QueuePriority() NSOperationQueuePriority
- func (o *NSOperation) RemoveDependency(op *NSOperation)
- func (o *NSOperation) SetCompletionBlock(completionBlock func())
- func (o *NSOperation) SetName(name *NSString)
- func (o *NSOperation) SetQualityOfService(qualityOfService NSQualityOfService)
- func (o *NSOperation) SetQueuePriority(queuePriority NSOperationQueuePriority)
- func (o *NSOperation) SetThreadPriority(threadPriority float64)deprecated
- func (o *NSOperation) Start()
- func (o *NSOperation) ThreadPriority() float64deprecated
- func (o *NSOperation) WaitUntilFinished()
- type NSOperationQueue
- func (o *NSOperationQueue) AddBarrierBlock(barrier func())
- func (o *NSOperationQueue) AddOperation(op *NSOperation)
- func (o *NSOperationQueue) AddOperationWith(block func())
- func (o *NSOperationQueue) AddOperationsWaitUntilFinished(ops *NSArray[*NSOperation], wait bool)
- func (o *NSOperationQueue) CancelAllOperations()
- func (o *NSOperationQueue) IsSuspended() bool
- func (o *NSOperationQueue) MaxConcurrentOperationCount() int
- func (o *NSOperationQueue) Name() *NSString
- func (o *NSOperationQueue) OperationCount() uintdeprecated
- func (o *NSOperationQueue) Operations() *NSArray[*NSOperation]deprecated
- func (o *NSOperationQueue) Progress() *NSProgress
- func (o *NSOperationQueue) QualityOfService() NSQualityOfService
- func (o *NSOperationQueue) SetMaxConcurrentOperationCount(maxConcurrentOperationCount int)
- func (o *NSOperationQueue) SetName(name *NSString)
- func (o *NSOperationQueue) SetQualityOfService(qualityOfService NSQualityOfService)
- func (o *NSOperationQueue) SetSuspended(suspended bool)
- func (o *NSOperationQueue) SetUnderlyingQueue(underlyingQueue *NSObject)
- func (o *NSOperationQueue) UnderlyingQueue() *NSObject
- func (o *NSOperationQueue) WaitUntilAllOperationsAreFinished()
- type NSOperationQueuePriority
- type NSOrderedCollectionChange
- func NSOrderedCollectionChangeChangeWithObjectTypeIndex(anObject objc.ID, type_ NSCollectionChangeType, index uint) *NSOrderedCollectionChange[objc.ID]
- func NSOrderedCollectionChangeChangeWithObjectTypeIndexAssociatedIndex(anObject objc.ID, type_ NSCollectionChangeType, index uint, ...) *NSOrderedCollectionChange[objc.ID]
- func NSOrderedCollectionChangeFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSOrderedCollectionChange[ObjectType]
- func (o *NSOrderedCollectionChange[ObjectType]) AssociatedIndex() uint
- func (o *NSOrderedCollectionChange[ObjectType]) ChangeType() NSCollectionChangeType
- func (o *NSOrderedCollectionChange[ObjectType]) Index() uint
- func (o *NSOrderedCollectionChange[ObjectType]) InitWithObjectTypeIndex(anObject ObjectType, type_ NSCollectionChangeType, index uint) *NSOrderedCollectionChange[ObjectType]
- func (o *NSOrderedCollectionChange[ObjectType]) InitWithObjectTypeIndexAssociatedIndex(anObject ObjectType, type_ NSCollectionChangeType, index uint, ...) *NSOrderedCollectionChange[ObjectType]
- func (o *NSOrderedCollectionChange[ObjectType]) Object() ObjectType
- type NSOrderedCollectionDifference
- func (o *NSOrderedCollectionDifference[ObjectType]) DifferenceByTransformingChangesWith(block objc.Block) *NSOrderedCollectionDifference[objc.ID]
- func (o *NSOrderedCollectionDifference[ObjectType]) HasChanges() bool
- func (o *NSOrderedCollectionDifference[ObjectType]) InitWithChanges(changes *NSArray[objc.ID]) *NSOrderedCollectionDifference[ObjectType]
- func (o *NSOrderedCollectionDifference[ObjectType]) InitWithInsertIndexesInsertedObjectsRemoveIndexesRemovedObjects(inserts *NSIndexSet, insertedObjects *NSArray[ObjectType], removes *NSIndexSet, ...) *NSOrderedCollectionDifference[ObjectType]
- func (o *NSOrderedCollectionDifference[ObjectType]) InitWithInsertIndexesInsertedObjectsRemoveIndexesRemovedObjectsAdditionalChanges(inserts *NSIndexSet, insertedObjects *NSArray[ObjectType], removes *NSIndexSet, ...) *NSOrderedCollectionDifference[ObjectType]
- func (o *NSOrderedCollectionDifference[ObjectType]) Insertions() *NSArray[objc.ID]
- func (o *NSOrderedCollectionDifference[ObjectType]) InverseDifference() *NSOrderedCollectionDifference[ObjectType]
- func (o *NSOrderedCollectionDifference[ObjectType]) Removals() *NSArray[objc.ID]
- type NSOrderedCollectionDifferenceCalculationOptions
- type NSOrderedSet
- func NSOrderedSetFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSOrderedSet[ObjectType]
- func NSOrderedSetOrderedSet() *NSOrderedSet[objc.ID]
- func NSOrderedSetOrderedSetWithArray(array *NSArray[objc.ID]) *NSOrderedSet[objc.ID]
- func NSOrderedSetOrderedSetWithArrayRangeCopyItems(array *NSArray[objc.ID], range_ NSRange, flag bool) *NSOrderedSet[objc.ID]
- func NSOrderedSetOrderedSetWithObject(object objc.ID) *NSOrderedSet[objc.ID]
- func NSOrderedSetOrderedSetWithObjectsCount(objects unsafe.Pointer, cnt uint) *NSOrderedSet[objc.ID]
- func NSOrderedSetOrderedSetWithOrderedSet(set *NSOrderedSet[objc.ID]) *NSOrderedSet[objc.ID]
- func NSOrderedSetOrderedSetWithOrderedSetRangeCopyItems(set *NSOrderedSet[objc.ID], range_ NSRange, flag bool) *NSOrderedSet[objc.ID]
- func NSOrderedSetOrderedSetWithSet(set *NSSet[objc.ID]) *NSOrderedSet[objc.ID]
- func NSOrderedSetOrderedSetWithSetCopyItems(set *NSSet[objc.ID], flag bool) *NSOrderedSet[objc.ID]
- func (o *NSOrderedSet[ObjectType]) Array() *NSArray[ObjectType]
- func (o *NSOrderedSet[ObjectType]) ContainsObject(object ObjectType) bool
- func (o *NSOrderedSet[ObjectType]) Count() uint
- func (o *NSOrderedSet[ObjectType]) DescriptionWithLocale(locale objc.ID) *NSString
- func (o *NSOrderedSet[ObjectType]) DescriptionWithLocaleIndent(locale objc.ID, level uint) *NSString
- func (o *NSOrderedSet[ObjectType]) DifferenceFromOrderedSet(other *NSOrderedSet[ObjectType]) *NSOrderedCollectionDifference[ObjectType]
- func (o *NSOrderedSet[ObjectType]) DifferenceFromOrderedSetWithOptions(other *NSOrderedSet[ObjectType], ...) *NSOrderedCollectionDifference[ObjectType]
- func (o *NSOrderedSet[ObjectType]) DifferenceFromOrderedSetWithOptionsUsingEquivalenceTest(other *NSOrderedSet[ObjectType], ...) *NSOrderedCollectionDifference[ObjectType]
- func (o *NSOrderedSet[ObjectType]) EnumerateObjectsAtIndexesOptionsUsing(s *NSIndexSet, opts NSEnumerationOptions, block objc.Block)
- func (o *NSOrderedSet[ObjectType]) EnumerateObjectsUsing(block objc.Block)
- func (o *NSOrderedSet[ObjectType]) EnumerateObjectsWithOptionsUsing(opts NSEnumerationOptions, block objc.Block)
- func (o *NSOrderedSet[ObjectType]) FilteredOrderedSetUsingPredicate(p *NSPredicate) *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) FirstObject() ObjectType
- func (o *NSOrderedSet[ObjectType]) GetObjectsRange(objects unsafe.Pointer, range_ NSRange)
- func (o *NSOrderedSet[ObjectType]) IndexOfObject(object ObjectType) uint
- func (o *NSOrderedSet[ObjectType]) IndexOfObjectAtIndexesOptionsPassingTest(s *NSIndexSet, opts NSEnumerationOptions, predicate objc.Block) uint
- func (o *NSOrderedSet[ObjectType]) IndexOfObjectInSortedRangeOptionsUsingComparator(object ObjectType, range_ NSRange, opts NSBinarySearchingOptions, ...) uint
- func (o *NSOrderedSet[ObjectType]) IndexOfObjectPassingTest(predicate objc.Block) uint
- func (o *NSOrderedSet[ObjectType]) IndexOfObjectWithOptionsPassingTest(opts NSEnumerationOptions, predicate objc.Block) uint
- func (o *NSOrderedSet[ObjectType]) IndexesOfObjectsAtIndexesOptionsPassingTest(s *NSIndexSet, opts NSEnumerationOptions, predicate objc.Block) *NSIndexSet
- func (o *NSOrderedSet[ObjectType]) IndexesOfObjectsPassingTest(predicate objc.Block) *NSIndexSet
- func (o *NSOrderedSet[ObjectType]) IndexesOfObjectsWithOptionsPassingTest(opts NSEnumerationOptions, predicate objc.Block) *NSIndexSet
- func (o *NSOrderedSet[ObjectType]) Init() *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) InitWithArray(array *NSArray[ObjectType]) *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) InitWithArrayCopyItems(set *NSArray[ObjectType], flag bool) *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) InitWithArrayRangeCopyItems(set *NSArray[ObjectType], range_ NSRange, flag bool) *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) InitWithCoder(coder *NSCoder) *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) InitWithObject(object ObjectType) *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) InitWithObjectsCount(objects unsafe.Pointer, cnt uint) *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) InitWithOrderedSet(set *NSOrderedSet[ObjectType]) *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) InitWithOrderedSetCopyItems(set *NSOrderedSet[ObjectType], flag bool) *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) InitWithOrderedSetRangeCopyItems(set *NSOrderedSet[ObjectType], range_ NSRange, flag bool) *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) InitWithSet(set *NSSet[ObjectType]) *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) InitWithSetCopyItems(set *NSSet[ObjectType], flag bool) *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) IntersectsOrderedSet(other *NSOrderedSet[ObjectType]) bool
- func (o *NSOrderedSet[ObjectType]) IntersectsSet(set *NSSet[ObjectType]) bool
- func (o *NSOrderedSet[ObjectType]) IsEqualToOrderedSet(other *NSOrderedSet[ObjectType]) bool
- func (o *NSOrderedSet[ObjectType]) IsSubsetOfOrderedSet(other *NSOrderedSet[ObjectType]) bool
- func (o *NSOrderedSet[ObjectType]) IsSubsetOfSet(set *NSSet[ObjectType]) bool
- func (o *NSOrderedSet[ObjectType]) LastObject() ObjectType
- func (o *NSOrderedSet[ObjectType]) ObjectAtIndex(idx uint) ObjectType
- func (o *NSOrderedSet[ObjectType]) ObjectAtIndexedSubscript(idx uint) ObjectType
- func (o *NSOrderedSet[ObjectType]) ObjectEnumerator() *NSEnumerator[ObjectType]
- func (o *NSOrderedSet[ObjectType]) ObjectsAtIndexes(indexes *NSIndexSet) *NSArray[ObjectType]
- func (o *NSOrderedSet[ObjectType]) OrderedSetByApplyingDifference(difference *NSOrderedCollectionDifference[ObjectType]) *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) ReverseObjectEnumerator() *NSEnumerator[ObjectType]
- func (o *NSOrderedSet[ObjectType]) ReversedOrderedSet() *NSOrderedSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) Set() *NSSet[ObjectType]
- func (o *NSOrderedSet[ObjectType]) SortedArrayUsingComparator(cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSArray[ObjectType]
- func (o *NSOrderedSet[ObjectType]) SortedArrayUsingDescriptors(sortDescriptors *NSArray[*NSSortDescriptor]) *NSArray[ObjectType]
- func (o *NSOrderedSet[ObjectType]) SortedArrayWithOptionsUsingComparator(opts NSSortOptions, cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSArray[ObjectType]
- type NSOrthography
- func (o *NSOrthography) AllLanguages() *NSArray[*NSString]
- func (o *NSOrthography) AllScripts() *NSArray[*NSString]
- func (o *NSOrthography) DominantLanguage() *NSString
- func (o *NSOrthography) DominantLanguageForScript(script *NSString) *NSString
- func (o *NSOrthography) DominantScript() *NSString
- func (o *NSOrthography) InitWithCoder(coder *NSCoder) *NSOrthography
- func (o *NSOrthography) InitWithDominantScriptLanguageMap(script *NSString, map_ *NSDictionary[*NSString, objc.ID]) *NSOrthography
- func (o *NSOrthography) LanguageMap() *NSDictionary[*NSString, objc.ID]
- func (o *NSOrthography) LanguagesForScript(script *NSString) *NSArray[*NSString]
- type NSOutputStream
- func NSOutputStreamFromID(id objc.ID) *NSOutputStream
- func NSOutputStreamOutputStreamToBufferCapacity(buffer *uint8, capacity uint) *NSOutputStream
- func NSOutputStreamOutputStreamToFileAtPathAppend(path *NSString, shouldAppend bool) *NSOutputStream
- func NSOutputStreamOutputStreamToMemory() *NSOutputStream
- func NSOutputStreamOutputStreamWithURLAppend(url *NSURL, shouldAppend bool) *NSOutputStream
- func (o *NSOutputStream) HasSpaceAvailable() bool
- func (o *NSOutputStream) InitToBufferCapacity(buffer *uint8, capacity uint) *NSOutputStream
- func (o *NSOutputStream) InitToFileAtPathAppend(path *NSString, shouldAppend bool) *NSOutputStream
- func (o *NSOutputStream) InitToMemory() *NSOutputStream
- func (o *NSOutputStream) InitWithURLAppend(url *NSURL, shouldAppend bool) *NSOutputStream
- func (o *NSOutputStream) WriteMaxLength(buffer *uint8, len_ uint) int
- type NSPersonNameComponents
- func (o *NSPersonNameComponents) FamilyName() *NSString
- func (o *NSPersonNameComponents) GivenName() *NSString
- func (o *NSPersonNameComponents) MiddleName() *NSString
- func (o *NSPersonNameComponents) NamePrefix() *NSString
- func (o *NSPersonNameComponents) NameSuffix() *NSString
- func (o *NSPersonNameComponents) Nickname() *NSString
- func (o *NSPersonNameComponents) PhoneticRepresentation() *NSPersonNameComponents
- func (o *NSPersonNameComponents) SetFamilyName(familyName *NSString)
- func (o *NSPersonNameComponents) SetGivenName(givenName *NSString)
- func (o *NSPersonNameComponents) SetMiddleName(middleName *NSString)
- func (o *NSPersonNameComponents) SetNamePrefix(namePrefix *NSString)
- func (o *NSPersonNameComponents) SetNameSuffix(nameSuffix *NSString)
- func (o *NSPersonNameComponents) SetNickname(nickname *NSString)
- func (o *NSPersonNameComponents) SetPhoneticRepresentation(phoneticRepresentation *NSPersonNameComponents)
- type NSPersonNameComponentsFormatter
- func (o *NSPersonNameComponentsFormatter) AnnotatedStringFromPersonNameComponents(components *NSPersonNameComponents) *NSAttributedString
- func (o *NSPersonNameComponentsFormatter) IsPhonetic() bool
- func (o *NSPersonNameComponentsFormatter) Locale() *NSLocale
- func (o *NSPersonNameComponentsFormatter) PersonNameComponentsFromString(string_ *NSString) *NSPersonNameComponents
- func (o *NSPersonNameComponentsFormatter) SetLocale(locale *NSLocale)
- func (o *NSPersonNameComponentsFormatter) SetPhonetic(phonetic bool)
- func (o *NSPersonNameComponentsFormatter) SetStyle(style NSPersonNameComponentsFormatterStyle)
- func (o *NSPersonNameComponentsFormatter) StringFromPersonNameComponents(components *NSPersonNameComponents) *NSString
- func (o *NSPersonNameComponentsFormatter) Style() NSPersonNameComponentsFormatterStyle
- type NSPersonNameComponentsFormatterOptions
- type NSPersonNameComponentsFormatterStyle
- type NSPipe
- type NSPointerArray
- func NSPointerArrayFromID(id objc.ID) *NSPointerArray
- func NSPointerArrayPointerArrayWithOptions(options NSPointerFunctionsOptions) *NSPointerArray
- func NSPointerArrayPointerArrayWithPointerFunctions(functions *NSPointerFunctions) *NSPointerArray
- func NSPointerArrayStrongObjectsPointerArray() *NSPointerArray
- func NSPointerArrayWeakObjectsPointerArray() *NSPointerArray
- func (o *NSPointerArray) AddPointer(pointer unsafe.Pointer)
- func (o *NSPointerArray) AllObjects() *NSArray[objc.ID]
- func (o *NSPointerArray) Compact()
- func (o *NSPointerArray) Count() uint
- func (o *NSPointerArray) InitWithOptions(options NSPointerFunctionsOptions) *NSPointerArray
- func (o *NSPointerArray) InitWithPointerFunctions(functions *NSPointerFunctions) *NSPointerArray
- func (o *NSPointerArray) InsertPointerAtIndex(item unsafe.Pointer, index uint)
- func (o *NSPointerArray) PointerAtIndex(index uint) unsafe.Pointer
- func (o *NSPointerArray) PointerFunctions() *NSPointerFunctions
- func (o *NSPointerArray) RemovePointerAtIndex(index uint)
- func (o *NSPointerArray) ReplacePointerAtIndexWithPointer(index uint, item unsafe.Pointer)
- func (o *NSPointerArray) SetCount(count uint)
- type NSPointerFunctions
- func (o *NSPointerFunctions) AcquireFunction() unsafe.Pointer
- func (o *NSPointerFunctions) DescriptionFunction() unsafe.Pointer
- func (o *NSPointerFunctions) HashFunction() unsafe.Pointer
- func (o *NSPointerFunctions) InitWithOptions(options NSPointerFunctionsOptions) *NSPointerFunctions
- func (o *NSPointerFunctions) IsEqualFunction() unsafe.Pointer
- func (o *NSPointerFunctions) RelinquishFunction() unsafe.Pointer
- func (o *NSPointerFunctions) SetAcquireFunction(acquireFunction unsafe.Pointer)
- func (o *NSPointerFunctions) SetDescriptionFunction(descriptionFunction unsafe.Pointer)
- func (o *NSPointerFunctions) SetHashFunction(hashFunction unsafe.Pointer)
- func (o *NSPointerFunctions) SetIsEqualFunction(isEqualFunction unsafe.Pointer)
- func (o *NSPointerFunctions) SetRelinquishFunction(relinquishFunction unsafe.Pointer)
- func (o *NSPointerFunctions) SetSizeFunction(sizeFunction unsafe.Pointer)
- func (o *NSPointerFunctions) SetUsesStrongWriteBarrier(usesStrongWriteBarrier bool)deprecated
- func (o *NSPointerFunctions) SetUsesWeakReadAndWriteBarriers(usesWeakReadAndWriteBarriers bool)deprecated
- func (o *NSPointerFunctions) SizeFunction() unsafe.Pointer
- func (o *NSPointerFunctions) UsesStrongWriteBarrier() booldeprecated
- func (o *NSPointerFunctions) UsesWeakReadAndWriteBarriers() booldeprecated
- type NSPointerFunctionsOptions
- type NSPort
- func (o *NSPort) AddConnectionToRunLoopForMode(conn *NSConnection, runLoop *NSRunLoop, mode *NSString)deprecated
- func (o *NSPort) Delegate() NSPortDelegate
- func (o *NSPort) Invalidate()
- func (o *NSPort) IsValid() bool
- func (o *NSPort) RemoveConnectionFromRunLoopForMode(conn *NSConnection, runLoop *NSRunLoop, mode *NSString)deprecated
- func (o *NSPort) RemoveFromRunLoopForMode(runLoop *NSRunLoop, mode *NSString)
- func (o *NSPort) ReservedSpaceLength() uint
- func (o *NSPort) ScheduleInRunLoopForMode(runLoop *NSRunLoop, mode *NSString)
- func (o *NSPort) SendBeforeDateComponentsFromReserved(limitDate *NSDate, components *NSMutableArray[objc.ID], receivePort *NSPort, ...) bool
- func (o *NSPort) SendBeforeDateMsgidComponentsFromReserved(limitDate *NSDate, msgID uint, components *NSMutableArray[objc.ID], ...) bool
- func (o *NSPort) SetDelegate(anObject NSPortDelegate)
- type NSPortCoder
- func (o *NSPortCoder) Connection() *NSConnectiondeprecated
- func (o *NSPortCoder) DecodePortObject() *NSPort
- func (o *NSPortCoder) Dispatch()deprecated
- func (o *NSPortCoder) EncodePortObject(aport *NSPort)
- func (o *NSPortCoder) InitWithReceivePortSendPortComponents(rcvPort *NSPort, sndPort *NSPort, comps *NSArray[objc.ID]) objc.IDdeprecated
- func (o *NSPortCoder) IsBycopy() booldeprecated
- func (o *NSPortCoder) IsByref() bool
- type NSPortDelegate
- type NSPortMessage
- func (o *NSPortMessage) Components() *NSArray[objc.ID]
- func (o *NSPortMessage) InitWithSendPortReceivePortComponents(sendPort *NSPort, replyPort *NSPort, components *NSArray[objc.ID]) *NSPortMessage
- func (o *NSPortMessage) Msgid() uint32
- func (o *NSPortMessage) ReceivePort() *NSPort
- func (o *NSPortMessage) SendBeforeDate(date *NSDate) bool
- func (o *NSPortMessage) SendPort() *NSPort
- func (o *NSPortMessage) SetMsgid(msgid uint32)
- type NSPortNameServer
- type NSPositionalSpecifier
- func (o *NSPositionalSpecifier) Evaluate()
- func (o *NSPositionalSpecifier) InitWithPositionObjectSpecifier(position NSInsertionPosition, specifier *NSScriptObjectSpecifier) *NSPositionalSpecifier
- func (o *NSPositionalSpecifier) InsertionContainer() objc.ID
- func (o *NSPositionalSpecifier) InsertionIndex() int
- func (o *NSPositionalSpecifier) InsertionKey() *NSString
- func (o *NSPositionalSpecifier) InsertionReplaces() bool
- func (o *NSPositionalSpecifier) Position() NSInsertionPosition
- func (o *NSPositionalSpecifier) SetInsertionClassDescription(classDescription *NSScriptClassDescription)
- type NSPostingStyle
- type NSPredicate
- func NSPredicateFromID(id objc.ID) *NSPredicate
- func NSPredicatePredicateFromMetadataQueryString(queryString *NSString) *NSPredicate
- func NSPredicatePredicateWith(block objc.Block) *NSPredicate
- func NSPredicatePredicateWithFormat(predicateFormat *NSString) *NSPredicate
- func NSPredicatePredicateWithFormatArgumentArray(predicateFormat *NSString, arguments *NSArray[objc.ID]) *NSPredicate
- func NSPredicatePredicateWithFormatArguments(predicateFormat *NSString, argList string) *NSPredicate
- func NSPredicatePredicateWithValue(value bool) *NSPredicate
- func (o *NSPredicate) AllowEvaluation()
- func (o *NSPredicate) AllowEvaluationWithValidatorError(validator NSPredicateValidating) (bool, error)
- func (o *NSPredicate) EvaluateWithObject(object objc.ID) bool
- func (o *NSPredicate) EvaluateWithObjectSubstitutionVariables(object objc.ID, bindings *NSDictionary[*NSString, objc.ID]) bool
- func (o *NSPredicate) PredicateFormat() *NSString
- func (o *NSPredicate) PredicateWithSubstitutionVariables(variables *NSDictionary[*NSString, objc.ID]) *NSPredicate
- type NSPredicateOperatorType
- type NSPredicateValidating
- type NSPresentationIntent
- func NSPresentationIntentBlockQuoteIntentWithIdentityNestedInsideIntent(identity int, parent *NSPresentationIntent) *NSPresentationIntent
- func NSPresentationIntentCodeBlockIntentWithIdentityLanguageHintNestedInsideIntent(identity int, languageHint *NSString, parent *NSPresentationIntent) *NSPresentationIntent
- func NSPresentationIntentFromID(id objc.ID) *NSPresentationIntent
- func NSPresentationIntentHeaderIntentWithIdentityLevelNestedInsideIntent(identity int, level int, parent *NSPresentationIntent) *NSPresentationIntent
- func NSPresentationIntentListItemIntentWithIdentityOrdinalNestedInsideIntent(identity int, ordinal int, parent *NSPresentationIntent) *NSPresentationIntent
- func NSPresentationIntentOrderedListIntentWithIdentityNestedInsideIntent(identity int, parent *NSPresentationIntent) *NSPresentationIntent
- func NSPresentationIntentParagraphIntentWithIdentityNestedInsideIntent(identity int, parent *NSPresentationIntent) *NSPresentationIntent
- func NSPresentationIntentTableCellIntentWithIdentityColumnNestedInsideIntent(identity int, column int, parent *NSPresentationIntent) *NSPresentationIntent
- func NSPresentationIntentTableHeaderRowIntentWithIdentityNestedInsideIntent(identity int, parent *NSPresentationIntent) *NSPresentationIntent
- func NSPresentationIntentTableIntentWithIdentityColumnCountAlignmentsNestedInsideIntent(identity int, columnCount int, alignments *NSArray[*NSNumber], ...) *NSPresentationIntent
- func NSPresentationIntentTableRowIntentWithIdentityRowNestedInsideIntent(identity int, row int, parent *NSPresentationIntent) *NSPresentationIntent
- func NSPresentationIntentThematicBreakIntentWithIdentityNestedInsideIntent(identity int, parent *NSPresentationIntent) *NSPresentationIntent
- func NSPresentationIntentUnorderedListIntentWithIdentityNestedInsideIntent(identity int, parent *NSPresentationIntent) *NSPresentationIntent
- func (o *NSPresentationIntent) Column() int
- func (o *NSPresentationIntent) ColumnAlignments() *NSArray[*NSNumber]
- func (o *NSPresentationIntent) ColumnCount() int
- func (o *NSPresentationIntent) HeaderLevel() int
- func (o *NSPresentationIntent) Identity() int
- func (o *NSPresentationIntent) IndentationLevel() int
- func (o *NSPresentationIntent) IntentKind() NSPresentationIntentKind
- func (o *NSPresentationIntent) IsEquivalentToPresentationIntent(other *NSPresentationIntent) bool
- func (o *NSPresentationIntent) LanguageHint() *NSString
- func (o *NSPresentationIntent) Ordinal() int
- func (o *NSPresentationIntent) ParentIntent() *NSPresentationIntent
- func (o *NSPresentationIntent) Row() int
- type NSPresentationIntentKind
- type NSPresentationIntentTableColumnAlignment
- type NSProcessInfo
- func (o *NSProcessInfo) ActiveProcessorCount() uint
- func (o *NSProcessInfo) Arguments() *NSArray[*NSString]
- func (o *NSProcessInfo) AutomaticTerminationSupportEnabled() bool
- func (o *NSProcessInfo) BeginActivityWithOptionsReason(options NSActivityOptions, reason *NSString) NSObjectProtocol
- func (o *NSProcessInfo) DisableAutomaticTermination(reason *NSString)
- func (o *NSProcessInfo) DisableSuddenTermination()
- func (o *NSProcessInfo) EnableAutomaticTermination(reason *NSString)
- func (o *NSProcessInfo) EnableSuddenTermination()
- func (o *NSProcessInfo) EndActivity(activity NSObjectProtocol)
- func (o *NSProcessInfo) Environment() *NSDictionary[*NSString, *NSString]
- func (o *NSProcessInfo) FullUserName() *NSString
- func (o *NSProcessInfo) GloballyUniqueString() *NSString
- func (o *NSProcessInfo) HostName() *NSString
- func (o *NSProcessInfo) IsLowPowerModeEnabled() bool
- func (o *NSProcessInfo) IsMacCatalystApp() bool
- func (o *NSProcessInfo) IsOperatingSystemAtLeastVersion(version NSOperatingSystemVersion) bool
- func (o *NSProcessInfo) IsiOSAppOnMac() bool
- func (o *NSProcessInfo) IsiOSAppOnVision() bool
- func (o *NSProcessInfo) OperatingSystem() uintdeprecated
- func (o *NSProcessInfo) OperatingSystemName() *NSStringdeprecated
- func (o *NSProcessInfo) OperatingSystemVersion() NSOperatingSystemVersion
- func (o *NSProcessInfo) OperatingSystemVersionString() *NSStringdeprecated
- func (o *NSProcessInfo) PerformActivityWithOptionsReasonUsing(options NSActivityOptions, reason *NSString, block func())
- func (o *NSProcessInfo) PhysicalMemory() uint64
- func (o *NSProcessInfo) ProcessIdentifier() int
- func (o *NSProcessInfo) ProcessName() *NSString
- func (o *NSProcessInfo) ProcessorCount() uint
- func (o *NSProcessInfo) SetAutomaticTerminationSupportEnabled(automaticTerminationSupportEnabled bool)
- func (o *NSProcessInfo) SetProcessName(processName *NSString)
- func (o *NSProcessInfo) SystemUptime() float64
- func (o *NSProcessInfo) ThermalState() NSProcessInfoThermalState
- func (o *NSProcessInfo) UserName() *NSString
- type NSProcessInfoThermalState
- type NSProgress
- func NSProgressCurrentProgress() *NSProgress
- func NSProgressDiscreteProgressWithTotalUnitCount(unitCount int64) *NSProgress
- func NSProgressFromID(id objc.ID) *NSProgress
- func NSProgressProgressWithTotalUnitCount(unitCount int64) *NSProgress
- func NSProgressProgressWithTotalUnitCountParentPendingUnitCount(unitCount int64, parent *NSProgress, portionOfParentTotalUnitCount int64) *NSProgress
- func (o *NSProgress) AddChildWithPendingUnitCount(child *NSProgress, inUnitCount int64)
- func (o *NSProgress) BecomeCurrentWithPendingUnitCount(unitCount int64)
- func (o *NSProgress) Cancel()
- func (o *NSProgress) CancellationHandler() objc.Block
- func (o *NSProgress) CompletedUnitCount() int64
- func (o *NSProgress) EstimatedTimeRemaining() *NSNumber
- func (o *NSProgress) FileCompletedCount() *NSNumber
- func (o *NSProgress) FileOperationKind() *NSString
- func (o *NSProgress) FileTotalCount() *NSNumber
- func (o *NSProgress) FileURL() *NSURL
- func (o *NSProgress) FractionCompleted() float64
- func (o *NSProgress) InitWithParentUserInfo(parentProgressOrNil *NSProgress, ...) *NSProgress
- func (o *NSProgress) IsCancellable() bool
- func (o *NSProgress) IsCancelled() bool
- func (o *NSProgress) IsFinished() bool
- func (o *NSProgress) IsIndeterminate() bool
- func (o *NSProgress) IsOld() bool
- func (o *NSProgress) IsPausable() bool
- func (o *NSProgress) IsPaused() bool
- func (o *NSProgress) Kind() *NSString
- func (o *NSProgress) LocalizedAdditionalDescription() *NSString
- func (o *NSProgress) LocalizedDescription() *NSString
- func (o *NSProgress) Pause()
- func (o *NSProgress) PausingHandler() objc.Block
- func (o *NSProgress) PerformAsCurrentWithPendingUnitCountUsing(unitCount int64, work func())
- func (o *NSProgress) Publish()
- func (o *NSProgress) ResignCurrent()
- func (o *NSProgress) Resume()
- func (o *NSProgress) ResumingHandler() objc.Block
- func (o *NSProgress) SetCancellable(cancellable bool)
- func (o *NSProgress) SetCancellationHandler(cancellationHandler func())
- func (o *NSProgress) SetCompletedUnitCount(completedUnitCount int64)
- func (o *NSProgress) SetEstimatedTimeRemaining(estimatedTimeRemaining *NSNumber)
- func (o *NSProgress) SetFileCompletedCount(fileCompletedCount *NSNumber)
- func (o *NSProgress) SetFileOperationKind(fileOperationKind *NSString)
- func (o *NSProgress) SetFileTotalCount(fileTotalCount *NSNumber)
- func (o *NSProgress) SetFileURL(fileURL *NSURL)
- func (o *NSProgress) SetKind(kind *NSString)
- func (o *NSProgress) SetLocalizedAdditionalDescription(localizedAdditionalDescription *NSString)
- func (o *NSProgress) SetLocalizedDescription(localizedDescription *NSString)
- func (o *NSProgress) SetPausable(pausable bool)
- func (o *NSProgress) SetPausingHandler(pausingHandler func())
- func (o *NSProgress) SetResumingHandler(resumingHandler func())
- func (o *NSProgress) SetThroughput(throughput *NSNumber)
- func (o *NSProgress) SetTotalUnitCount(totalUnitCount int64)
- func (o *NSProgress) SetUserInfoObjectForKey(objectOrNil objc.ID, key *NSString)
- func (o *NSProgress) Throughput() *NSNumber
- func (o *NSProgress) TotalUnitCount() int64
- func (o *NSProgress) Unpublish()
- func (o *NSProgress) UserInfo() *NSDictionary[*NSString, objc.ID]
- type NSProgressReporting
- type NSPropertyListFormat
- type NSPropertyListMutabilityOptions
- type NSPropertyListSerialization
- type NSProtocolChecker
- type NSProxy
- func (o *NSProxy) Dealloc()
- func (o *NSProxy) DebugDescription() *NSString
- func (o *NSProxy) Description() *NSString
- func (o *NSProxy) Finalize()
- func (o *NSProxy) ForwardInvocation(invocation *NSInvocation)
- func (o *NSProxy) InitPtr(id objc.ID)
- func (o *NSProxy) MethodSignatureForSelector(sel objc.SEL) *NSMethodSignature
- func (o *NSProxy) Ptr() objc.ID
- type NSPurgeableData
- type NSQualityOfService
- type NSQuitCommand
- type NSRange
- type NSRangeSpecifier
- func (o *NSRangeSpecifier) EndSpecifier() *NSScriptObjectSpecifier
- func (o *NSRangeSpecifier) InitWithCoder(inCoder *NSCoder) *NSRangeSpecifier
- func (o *NSRangeSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyStartSpecifierEndSpecifier(classDesc *NSScriptClassDescription, container *NSScriptObjectSpecifier, ...) *NSRangeSpecifier
- func (o *NSRangeSpecifier) SetEndSpecifier(endSpecifier *NSScriptObjectSpecifier)
- func (o *NSRangeSpecifier) SetStartSpecifier(startSpecifier *NSScriptObjectSpecifier)
- func (o *NSRangeSpecifier) StartSpecifier() *NSScriptObjectSpecifier
- type NSRectEdge
- type NSRecursiveLock
- type NSRegularExpression
- func (o *NSRegularExpression) EnumerateMatchesInStringOptionsRangeUsing(string_ *NSString, options NSMatchingOptions, range_ NSRange, ...)
- func (o *NSRegularExpression) FirstMatchInStringOptionsRange(string_ *NSString, options NSMatchingOptions, range_ NSRange) *NSTextCheckingResult
- func (o *NSRegularExpression) InitWithPatternOptionsError(pattern *NSString, options NSRegularExpressionOptions) (*NSRegularExpression, error)
- func (o *NSRegularExpression) MatchesInStringOptionsRange(string_ *NSString, options NSMatchingOptions, range_ NSRange) *NSArray[*NSTextCheckingResult]
- func (o *NSRegularExpression) NumberOfCaptureGroups() uint
- func (o *NSRegularExpression) NumberOfMatchesInStringOptionsRange(string_ *NSString, options NSMatchingOptions, range_ NSRange) uint
- func (o *NSRegularExpression) Options() NSRegularExpressionOptions
- func (o *NSRegularExpression) Pattern() *NSString
- func (o *NSRegularExpression) RangeOfFirstMatchInStringOptionsRange(string_ *NSString, options NSMatchingOptions, range_ NSRange) NSRange
- func (o *NSRegularExpression) ReplaceMatchesInStringOptionsRangeWithTemplate(string_ *NSMutableString, options NSMatchingOptions, range_ NSRange, ...) uint
- func (o *NSRegularExpression) ReplacementStringForResultInStringOffsetTemplate(result *NSTextCheckingResult, string_ *NSString, offset int, templ *NSString) *NSString
- func (o *NSRegularExpression) StringByReplacingMatchesInStringOptionsRangeWithTemplate(string_ *NSString, options NSMatchingOptions, range_ NSRange, templ *NSString) *NSString
- type NSRegularExpressionOptions
- type NSRelativeDateTimeFormatter
- func (o *NSRelativeDateTimeFormatter) Calendar() *NSCalendar
- func (o *NSRelativeDateTimeFormatter) DateTimeStyle() NSRelativeDateTimeFormatterStyle
- func (o *NSRelativeDateTimeFormatter) FormattingContext() NSFormattingContext
- func (o *NSRelativeDateTimeFormatter) Locale() *NSLocale
- func (o *NSRelativeDateTimeFormatter) LocalizedStringForDateRelativeToDate(date *NSDate, referenceDate *NSDate) *NSString
- func (o *NSRelativeDateTimeFormatter) LocalizedStringFromDateComponents(dateComponents *NSDateComponents) *NSString
- func (o *NSRelativeDateTimeFormatter) LocalizedStringFromTimeInterval(timeInterval float64) *NSString
- func (o *NSRelativeDateTimeFormatter) SetCalendar(calendar *NSCalendar)
- func (o *NSRelativeDateTimeFormatter) SetDateTimeStyle(dateTimeStyle NSRelativeDateTimeFormatterStyle)
- func (o *NSRelativeDateTimeFormatter) SetFormattingContext(formattingContext NSFormattingContext)
- func (o *NSRelativeDateTimeFormatter) SetLocale(locale *NSLocale)
- func (o *NSRelativeDateTimeFormatter) SetUnitsStyle(unitsStyle NSRelativeDateTimeFormatterUnitsStyle)
- func (o *NSRelativeDateTimeFormatter) UnitsStyle() NSRelativeDateTimeFormatterUnitsStyle
- type NSRelativeDateTimeFormatterStyle
- type NSRelativeDateTimeFormatterUnitsStyle
- type NSRelativePosition
- type NSRelativeSpecifier
- func (o *NSRelativeSpecifier) BaseSpecifier() *NSScriptObjectSpecifier
- func (o *NSRelativeSpecifier) InitWithCoder(inCoder *NSCoder) *NSRelativeSpecifier
- func (o *NSRelativeSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyRelativePositionBaseSpecifier(classDesc *NSScriptClassDescription, container *NSScriptObjectSpecifier, ...) *NSRelativeSpecifier
- func (o *NSRelativeSpecifier) RelativePosition() NSRelativePosition
- func (o *NSRelativeSpecifier) SetBaseSpecifier(baseSpecifier *NSScriptObjectSpecifier)
- func (o *NSRelativeSpecifier) SetRelativePosition(relativePosition NSRelativePosition)
- type NSRoundingMode
- type NSRunLoop
- func (o *NSRunLoop) AcceptInputForModeBeforeDate(mode *NSString, limitDate *NSDate)
- func (o *NSRunLoop) AddPortForMode(aPort *NSPort, mode *NSString)
- func (o *NSRunLoop) AddTimerForMode(timer *NSTimer, mode *NSString)
- func (o *NSRunLoop) CancelPerformSelectorTargetArgument(aSelector objc.SEL, target objc.ID, arg objc.ID)
- func (o *NSRunLoop) CancelPerformSelectorsWithTarget(target objc.ID)
- func (o *NSRunLoop) ConfigureAsServer()deprecated
- func (o *NSRunLoop) CurrentMode() *NSString
- func (o *NSRunLoop) GetCFRunLoop() unsafe.Pointer
- func (o *NSRunLoop) LimitDateForMode(mode *NSString) *NSDate
- func (o *NSRunLoop) PerformBlock(block func())
- func (o *NSRunLoop) PerformInModesBlock(modes *NSArray[*NSString], block func())
- func (o *NSRunLoop) PerformSelectorTargetArgumentOrderModes(aSelector objc.SEL, target objc.ID, arg objc.ID, order uint, ...)
- func (o *NSRunLoop) RemovePortForMode(aPort *NSPort, mode *NSString)
- func (o *NSRunLoop) Run()
- func (o *NSRunLoop) RunModeBeforeDate(mode *NSString, limitDate *NSDate) bool
- func (o *NSRunLoop) RunUntilDate(limitDate *NSDate)
- type NSSaveOptions
- type NSScanner
- func (o *NSScanner) CaseSensitive() bool
- func (o *NSScanner) CharactersToBeSkipped() *NSCharacterSet
- func (o *NSScanner) InitWithString(string_ *NSString) *NSScanner
- func (o *NSScanner) IsAtEnd() bool
- func (o *NSScanner) Locale() objc.ID
- func (o *NSScanner) ScanCharactersFromSetIntoString(set *NSCharacterSet, result *NSString) bool
- func (o *NSScanner) ScanDecimal(dcm *NSDecimal) bool
- func (o *NSScanner) ScanDouble(result *float64) bool
- func (o *NSScanner) ScanFloat(result *float32) bool
- func (o *NSScanner) ScanHexDouble(result *float64) bool
- func (o *NSScanner) ScanHexFloat(result *float32) bool
- func (o *NSScanner) ScanHexInt(result *uint32) bool
- func (o *NSScanner) ScanHexLongLong(result *uint64) bool
- func (o *NSScanner) ScanInt(result *int32) bool
- func (o *NSScanner) ScanInteger(result *int64) bool
- func (o *NSScanner) ScanLocation() uint
- func (o *NSScanner) ScanLongLong(result *int64) bool
- func (o *NSScanner) ScanStringIntoString(string_ *NSString, result *NSString) bool
- func (o *NSScanner) ScanUnsignedLongLong(result *uint64) bool
- func (o *NSScanner) ScanUpToCharactersFromSetIntoString(set *NSCharacterSet, result *NSString) bool
- func (o *NSScanner) ScanUpToStringIntoString(string_ *NSString, result *NSString) bool
- func (o *NSScanner) SetCaseSensitive(caseSensitive bool)
- func (o *NSScanner) SetCharactersToBeSkipped(charactersToBeSkipped *NSCharacterSet)
- func (o *NSScanner) SetLocale(locale objc.ID)
- func (o *NSScanner) SetScanLocation(scanLocation uint)
- func (o *NSScanner) String() *NSString
- type NSScriptClassDescription
- func (o *NSScriptClassDescription) AppleEventCode() uint
- func (o *NSScriptClassDescription) AppleEventCodeForKey(key *NSString) uint
- func (o *NSScriptClassDescription) ClassDescriptionForKey(key *NSString) *NSScriptClassDescription
- func (o *NSScriptClassDescription) DefaultSubcontainerAttributeKey() *NSString
- func (o *NSScriptClassDescription) HasOrderedToManyRelationshipForKey(key *NSString) bool
- func (o *NSScriptClassDescription) HasPropertyForKey(key *NSString) bool
- func (o *NSScriptClassDescription) HasReadablePropertyForKey(key *NSString) bool
- func (o *NSScriptClassDescription) HasWritablePropertyForKey(key *NSString) bool
- func (o *NSScriptClassDescription) ImplementationClassName() *NSString
- func (o *NSScriptClassDescription) InitWithSuiteNameClassNameDictionary(suiteName *NSString, className *NSString, ...) *NSScriptClassDescription
- func (o *NSScriptClassDescription) IsLocationRequiredToCreateForKey(toManyRelationshipKey *NSString) bool
- func (o *NSScriptClassDescription) IsReadOnlyKey(key *NSString) booldeprecated
- func (o *NSScriptClassDescription) KeyWithAppleEventCode(appleEventCode uint) *NSString
- func (o *NSScriptClassDescription) MatchesAppleEventCode(appleEventCode uint) bool
- func (o *NSScriptClassDescription) SelectorForCommand(commandDescription *NSScriptCommandDescription) objc.SEL
- func (o *NSScriptClassDescription) SuiteName() *NSString
- func (o *NSScriptClassDescription) SuperclassDescription() *NSScriptClassDescription
- func (o *NSScriptClassDescription) SupportsCommand(commandDescription *NSScriptCommandDescription) bool
- func (o *NSScriptClassDescription) TypeForKey(key *NSString) *NSString
- type NSScriptCoercionHandler
- type NSScriptCommand
- func (o *NSScriptCommand) AppleEvent() *NSAppleEventDescriptor
- func (o *NSScriptCommand) Arguments() *NSDictionary[*NSString, objc.ID]
- func (o *NSScriptCommand) CommandDescription() *NSScriptCommandDescription
- func (o *NSScriptCommand) DirectParameter() objc.ID
- func (o *NSScriptCommand) EvaluatedArguments() *NSDictionary[*NSString, objc.ID]
- func (o *NSScriptCommand) EvaluatedReceivers() objc.ID
- func (o *NSScriptCommand) ExecuteCommand() objc.ID
- func (o *NSScriptCommand) InitWithCoder(inCoder *NSCoder) *NSScriptCommand
- func (o *NSScriptCommand) InitWithCommandDescription(commandDef *NSScriptCommandDescription) *NSScriptCommand
- func (o *NSScriptCommand) IsWellFormed() bool
- func (o *NSScriptCommand) PerformDefaultImplementation() objc.ID
- func (o *NSScriptCommand) ReceiversSpecifier() *NSScriptObjectSpecifier
- func (o *NSScriptCommand) ResumeExecutionWithResult(result objc.ID)
- func (o *NSScriptCommand) ScriptErrorExpectedTypeDescriptor() *NSAppleEventDescriptor
- func (o *NSScriptCommand) ScriptErrorNumber() int
- func (o *NSScriptCommand) ScriptErrorOffendingObjectDescriptor() *NSAppleEventDescriptor
- func (o *NSScriptCommand) ScriptErrorString() *NSString
- func (o *NSScriptCommand) SetArguments(arguments *NSDictionary[*NSString, objc.ID])
- func (o *NSScriptCommand) SetDirectParameter(directParameter objc.ID)
- func (o *NSScriptCommand) SetReceiversSpecifier(receiversSpecifier *NSScriptObjectSpecifier)
- func (o *NSScriptCommand) SetScriptErrorExpectedTypeDescriptor(scriptErrorExpectedTypeDescriptor *NSAppleEventDescriptor)
- func (o *NSScriptCommand) SetScriptErrorNumber(scriptErrorNumber int)
- func (o *NSScriptCommand) SetScriptErrorOffendingObjectDescriptor(scriptErrorOffendingObjectDescriptor *NSAppleEventDescriptor)
- func (o *NSScriptCommand) SetScriptErrorString(scriptErrorString *NSString)
- func (o *NSScriptCommand) SuspendExecution()
- type NSScriptCommandDescription
- func (o *NSScriptCommandDescription) AppleEventClassCode() uint
- func (o *NSScriptCommandDescription) AppleEventCode() uint
- func (o *NSScriptCommandDescription) AppleEventCodeForArgumentWithName(argumentName *NSString) uint
- func (o *NSScriptCommandDescription) AppleEventCodeForReturnType() uint
- func (o *NSScriptCommandDescription) ArgumentNames() *NSArray[*NSString]
- func (o *NSScriptCommandDescription) CommandClassName() *NSString
- func (o *NSScriptCommandDescription) CommandName() *NSString
- func (o *NSScriptCommandDescription) CreateCommandInstance() *NSScriptCommand
- func (o *NSScriptCommandDescription) CreateCommandInstanceWithZone(zone unsafe.Pointer) *NSScriptCommand
- func (o *NSScriptCommandDescription) InitWithCoder(inCoder *NSCoder) *NSScriptCommandDescription
- func (o *NSScriptCommandDescription) InitWithSuiteNameCommandNameDictionary(suiteName *NSString, commandName *NSString, ...) *NSScriptCommandDescription
- func (o *NSScriptCommandDescription) IsOptionalArgumentWithName(argumentName *NSString) bool
- func (o *NSScriptCommandDescription) ReturnType() *NSString
- func (o *NSScriptCommandDescription) SuiteName() *NSString
- func (o *NSScriptCommandDescription) TypeForArgumentWithName(argumentName *NSString) *NSString
- type NSScriptExecutionContext
- func (o *NSScriptExecutionContext) ObjectBeingTested() objc.ID
- func (o *NSScriptExecutionContext) RangeContainerObject() objc.ID
- func (o *NSScriptExecutionContext) SetObjectBeingTested(objectBeingTested objc.ID)
- func (o *NSScriptExecutionContext) SetRangeContainerObject(rangeContainerObject objc.ID)
- func (o *NSScriptExecutionContext) SetTopLevelObject(topLevelObject objc.ID)
- func (o *NSScriptExecutionContext) TopLevelObject() objc.ID
- type NSScriptObjectSpecifier
- func (o *NSScriptObjectSpecifier) ChildSpecifier() *NSScriptObjectSpecifier
- func (o *NSScriptObjectSpecifier) ContainerClassDescription() *NSScriptClassDescription
- func (o *NSScriptObjectSpecifier) ContainerIsObjectBeingTested() bool
- func (o *NSScriptObjectSpecifier) ContainerIsRangeContainerObject() bool
- func (o *NSScriptObjectSpecifier) ContainerSpecifier() *NSScriptObjectSpecifier
- func (o *NSScriptObjectSpecifier) Descriptor() *NSAppleEventDescriptor
- func (o *NSScriptObjectSpecifier) EvaluationErrorNumber() int
- func (o *NSScriptObjectSpecifier) EvaluationErrorSpecifier() *NSScriptObjectSpecifier
- func (o *NSScriptObjectSpecifier) IndicesOfObjectsByEvaluatingWithContainerCount(container objc.ID, count *int64) *int64
- func (o *NSScriptObjectSpecifier) InitWithCoder(inCoder *NSCoder) *NSScriptObjectSpecifier
- func (o *NSScriptObjectSpecifier) InitWithContainerClassDescriptionContainerSpecifierKey(classDesc *NSScriptClassDescription, container *NSScriptObjectSpecifier, ...) *NSScriptObjectSpecifier
- func (o *NSScriptObjectSpecifier) InitWithContainerSpecifierKey(container *NSScriptObjectSpecifier, property *NSString) *NSScriptObjectSpecifier
- func (o *NSScriptObjectSpecifier) Key() *NSString
- func (o *NSScriptObjectSpecifier) KeyClassDescription() *NSScriptClassDescription
- func (o *NSScriptObjectSpecifier) ObjectsByEvaluatingSpecifier() objc.ID
- func (o *NSScriptObjectSpecifier) ObjectsByEvaluatingWithContainers(containers objc.ID) objc.ID
- func (o *NSScriptObjectSpecifier) SetChildSpecifier(childSpecifier *NSScriptObjectSpecifier)
- func (o *NSScriptObjectSpecifier) SetContainerClassDescription(containerClassDescription *NSScriptClassDescription)
- func (o *NSScriptObjectSpecifier) SetContainerIsObjectBeingTested(containerIsObjectBeingTested bool)
- func (o *NSScriptObjectSpecifier) SetContainerIsRangeContainerObject(containerIsRangeContainerObject bool)
- func (o *NSScriptObjectSpecifier) SetContainerSpecifier(containerSpecifier *NSScriptObjectSpecifier)
- func (o *NSScriptObjectSpecifier) SetEvaluationErrorNumber(evaluationErrorNumber int)
- func (o *NSScriptObjectSpecifier) SetKey(key *NSString)
- type NSScriptSuiteRegistry
- func (o *NSScriptSuiteRegistry) AeteResource(languageName *NSString) *NSData
- func (o *NSScriptSuiteRegistry) AppleEventCodeForSuite(suiteName *NSString) uint
- func (o *NSScriptSuiteRegistry) BundleForSuite(suiteName *NSString) *NSBundle
- func (o *NSScriptSuiteRegistry) ClassDescriptionWithAppleEventCode(appleEventCode uint) *NSScriptClassDescription
- func (o *NSScriptSuiteRegistry) ClassDescriptionsInSuite(suiteName *NSString) *NSDictionary[*NSString, *NSScriptClassDescription]
- func (o *NSScriptSuiteRegistry) CommandDescriptionWithAppleEventClassAndAppleEventCode(appleEventClassCode uint, appleEventIDCode uint) *NSScriptCommandDescription
- func (o *NSScriptSuiteRegistry) CommandDescriptionsInSuite(suiteName *NSString) *NSDictionary[*NSString, *NSScriptCommandDescription]
- func (o *NSScriptSuiteRegistry) LoadSuiteWithDictionaryFromBundle(suiteDeclaration *NSDictionary[objc.ID, objc.ID], bundle *NSBundle)
- func (o *NSScriptSuiteRegistry) LoadSuitesFromBundle(bundle *NSBundle)
- func (o *NSScriptSuiteRegistry) RegisterClassDescription(classDescription *NSScriptClassDescription)
- func (o *NSScriptSuiteRegistry) RegisterCommandDescription(commandDescription *NSScriptCommandDescription)
- func (o *NSScriptSuiteRegistry) SuiteForAppleEventCode(appleEventCode uint) *NSString
- func (o *NSScriptSuiteRegistry) SuiteNames() *NSArray[*NSString]
- type NSScriptWhoseTest
- type NSSearchPathDirectory
- type NSSearchPathDomainMask
- type NSSecureCoding
- type NSSecureUnarchiveFromDataTransformer
- type NSSet
- func NSObjectKeyPathsForValuesAffectingValueForKey(key *NSString) *NSSet[*NSString]
- func NSSetFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSSet[ObjectType]
- func NSSetSet() *NSSet[objc.ID]
- func NSSetSetWithArray(array *NSArray[objc.ID]) *NSSet[objc.ID]
- func NSSetSetWithObject(object objc.ID) *NSSet[objc.ID]
- func NSSetSetWithObjectsCount(objects unsafe.Pointer, cnt uint) *NSSet[objc.ID]
- func NSSetSetWithSet(set *NSSet[objc.ID]) *NSSet[objc.ID]
- func (o *NSSet[ObjectType]) AllObjects() *NSArray[ObjectType]
- func (o *NSSet[ObjectType]) AnyObject() ObjectType
- func (o *NSSet[ObjectType]) ContainsObject(anObject ObjectType) bool
- func (o *NSSet[ObjectType]) Count() uint
- func (o *NSSet[ObjectType]) DescriptionWithLocale(locale objc.ID) *NSString
- func (o *NSSet[ObjectType]) EnumerateObjectsUsing(block objc.Block)
- func (o *NSSet[ObjectType]) EnumerateObjectsWithOptionsUsing(opts NSEnumerationOptions, block objc.Block)
- func (o *NSSet[ObjectType]) FilteredSetUsingPredicate(predicate *NSPredicate) *NSSet[ObjectType]
- func (o *NSSet[ObjectType]) Init() *NSSet[ObjectType]
- func (o *NSSet[ObjectType]) InitWithArray(array *NSArray[ObjectType]) *NSSet[ObjectType]
- func (o *NSSet[ObjectType]) InitWithCoder(coder *NSCoder) *NSSet[ObjectType]
- func (o *NSSet[ObjectType]) InitWithObjectsCount(objects unsafe.Pointer, cnt uint) *NSSet[ObjectType]
- func (o *NSSet[ObjectType]) InitWithSet(set *NSSet[ObjectType]) *NSSet[ObjectType]
- func (o *NSSet[ObjectType]) InitWithSetCopyItems(set *NSSet[ObjectType], flag bool) *NSSet[ObjectType]
- func (o *NSSet[ObjectType]) IntersectsSet(otherSet *NSSet[ObjectType]) bool
- func (o *NSSet[ObjectType]) IsEqualToSet(otherSet *NSSet[ObjectType]) bool
- func (o *NSSet[ObjectType]) IsSubsetOfSet(otherSet *NSSet[ObjectType]) bool
- func (o *NSSet[ObjectType]) MakeObjectsPerformSelector(aSelector objc.SEL)
- func (o *NSSet[ObjectType]) MakeObjectsPerformSelectorWithObject(aSelector objc.SEL, argument objc.ID)
- func (o *NSSet[ObjectType]) Member(object ObjectType) ObjectType
- func (o *NSSet[ObjectType]) ObjectEnumerator() *NSEnumerator[ObjectType]
- func (o *NSSet[ObjectType]) ObjectsPassingTest(predicate objc.Block) *NSSet[ObjectType]
- func (o *NSSet[ObjectType]) ObjectsWithOptionsPassingTest(opts NSEnumerationOptions, predicate objc.Block) *NSSet[ObjectType]
- func (o *NSSet[ObjectType]) SetByAddingObject(anObject ObjectType) *NSSet[ObjectType]
- func (o *NSSet[ObjectType]) SetByAddingObjectsFromArray(other *NSArray[ObjectType]) *NSSet[ObjectType]
- func (o *NSSet[ObjectType]) SetByAddingObjectsFromSet(other *NSSet[ObjectType]) *NSSet[ObjectType]
- func (o *NSSet[ObjectType]) SortedArrayUsingDescriptors(sortDescriptors *NSArray[*NSSortDescriptor]) *NSArray[ObjectType]
- type NSSetCommand
- type NSSimpleCString
- type NSSocketPort
- func (o *NSSocketPort) Address() *NSData
- func (o *NSSocketPort) Init() *NSSocketPort
- func (o *NSSocketPort) InitRemoteWithProtocolFamilySocketTypeProtocolAddress(family int, type_ int, protocol int, address *NSData) *NSSocketPort
- func (o *NSSocketPort) InitRemoteWithTCPPortHost(port uint16, hostName *NSString) *NSSocketPort
- func (o *NSSocketPort) InitWithProtocolFamilySocketTypeProtocolAddress(family int, type_ int, protocol int, address *NSData) *NSSocketPort
- func (o *NSSocketPort) InitWithProtocolFamilySocketTypeProtocolSocket(family int, type_ int, protocol int, sock int) *NSSocketPort
- func (o *NSSocketPort) InitWithTCPPort(port uint16) *NSSocketPort
- func (o *NSSocketPort) Protocol() int
- func (o *NSSocketPort) ProtocolFamily() int
- func (o *NSSocketPort) Socket() int
- func (o *NSSocketPort) SocketType() int
- type NSSocketPortNameServer
- func (o *NSSocketPortNameServer) DefaultNameServerPortNumber() uint16
- func (o *NSSocketPortNameServer) PortForNameHostNameServerPortNumber(name *NSString, host *NSString, portNumber uint16) *NSPort
- func (o *NSSocketPortNameServer) RegisterPortNameNameServerPortNumber(port *NSPort, name *NSString, portNumber uint16) bool
- func (o *NSSocketPortNameServer) SetDefaultNameServerPortNumber(defaultNameServerPortNumber uint16)
- type NSSortDescriptor
- func NSSortDescriptorFromID(id objc.ID) *NSSortDescriptor
- func NSSortDescriptorSortDescriptorWithKeyAscending(key *NSString, ascending bool) *NSSortDescriptor
- func NSSortDescriptorSortDescriptorWithKeyAscendingComparator(key *NSString, ascending bool, cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSSortDescriptor
- func NSSortDescriptorSortDescriptorWithKeyAscendingSelector(key *NSString, ascending bool, selector objc.SEL) *NSSortDescriptor
- func (o *NSSortDescriptor) AllowEvaluation()
- func (o *NSSortDescriptor) Ascending() bool
- func (o *NSSortDescriptor) Comparator() objc.Block
- func (o *NSSortDescriptor) CompareObjectToObject(object1 objc.ID, object2 objc.ID) NSComparisonResult
- func (o *NSSortDescriptor) InitWithCoder(coder *NSCoder) *NSSortDescriptor
- func (o *NSSortDescriptor) InitWithKeyAscending(key *NSString, ascending bool) *NSSortDescriptor
- func (o *NSSortDescriptor) InitWithKeyAscendingComparator(key *NSString, ascending bool, cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSSortDescriptor
- func (o *NSSortDescriptor) InitWithKeyAscendingSelector(key *NSString, ascending bool, selector objc.SEL) *NSSortDescriptor
- func (o *NSSortDescriptor) Key() *NSString
- func (o *NSSortDescriptor) ReversedSortDescriptor() objc.ID
- func (o *NSSortDescriptor) Selector() objc.SEL
- type NSSortOptions
- type NSSpecifierTest
- type NSSpellServer
- func (o *NSSpellServer) Delegate() NSSpellServerDelegate
- func (o *NSSpellServer) IsWordInUserDictionariesCaseSensitive(word *NSString, flag bool) bool
- func (o *NSSpellServer) RegisterLanguageByVendor(language *NSString, vendor *NSString) bool
- func (o *NSSpellServer) Run()
- func (o *NSSpellServer) SetDelegate(delegate NSSpellServerDelegate)
- type NSSpellServerDelegate
- type NSStream
- func (o *NSStream) Close()
- func (o *NSStream) Delegate() NSStreamDelegate
- func (o *NSStream) Open()
- func (o *NSStream) PropertyForKey(key *NSString) objc.ID
- func (o *NSStream) RemoveFromRunLoopForMode(aRunLoop *NSRunLoop, mode *NSString)
- func (o *NSStream) ScheduleInRunLoopForMode(aRunLoop *NSRunLoop, mode *NSString)
- func (o *NSStream) SetDelegate(delegate NSStreamDelegate)
- func (o *NSStream) SetPropertyForKey(property objc.ID, key *NSString) bool
- func (o *NSStream) StreamError() unsafe.Pointer
- func (o *NSStream) StreamStatus() NSStreamStatus
- type NSStreamDelegate
- type NSStreamEvent
- type NSStreamStatus
- type NSString
- func NSAppleEventManagerWillProcessFirstEventNotification() *NSString
- func NSAverageKeyValueOperator() *NSString
- func NSBundleDidLoadNotification() *NSString
- func NSBundlePathForResourceOfTypeInDirectory(name *NSString, ext *NSString, bundlePath *NSString) *NSString
- func NSByteCountFormatterStringFromByteCountCountStyle(byteCount int64, countStyle NSByteCountFormatterCountStyle) *NSString
- func NSByteCountFormatterStringFromMeasurementCountStyle(measurement *NSMeasurement[*NSUnitInformationStorage], ...) *NSString
- func NSCalendarDayChangedNotification() *NSString
- func NSCalendarIdentifierBangla() *NSString
- func NSCalendarIdentifierBuddhist() *NSString
- func NSCalendarIdentifierChinese() *NSString
- func NSCalendarIdentifierCoptic() *NSString
- func NSCalendarIdentifierDangi() *NSString
- func NSCalendarIdentifierEthiopicAmeteAlem() *NSString
- func NSCalendarIdentifierEthiopicAmeteMihret() *NSString
- func NSCalendarIdentifierGregorian() *NSString
- func NSCalendarIdentifierGujarati() *NSString
- func NSCalendarIdentifierHebrew() *NSString
- func NSCalendarIdentifierISO8601() *NSString
- func NSCalendarIdentifierIndian() *NSString
- func NSCalendarIdentifierIslamic() *NSString
- func NSCalendarIdentifierIslamicCivil() *NSString
- func NSCalendarIdentifierIslamicTabular() *NSString
- func NSCalendarIdentifierIslamicUmmAlQura() *NSString
- func NSCalendarIdentifierJapanese() *NSString
- func NSCalendarIdentifierKannada() *NSString
- func NSCalendarIdentifierMalayalam() *NSString
- func NSCalendarIdentifierMarathi() *NSString
- func NSCalendarIdentifierOdia() *NSString
- func NSCalendarIdentifierPersian() *NSString
- func NSCalendarIdentifierRepublicOfChina() *NSString
- func NSCalendarIdentifierTamil() *NSString
- func NSCalendarIdentifierTelugu() *NSString
- func NSCalendarIdentifierVietnamese() *NSString
- func NSCalendarIdentifierVikram() *NSString
- func NSCharacterConversionException() *NSString
- func NSClassDescriptionNeededForClassNotification() *NSString
- func NSCocoaErrorDomain() *NSString
- func NSCountKeyValueOperator() *NSString
- func NSCurrentLocaleDidChangeNotification() *NSString
- func NSDateComponentsFormatterLocalizedStringFromDateComponentsUnitsStyle(components *NSDateComponents, unitsStyle NSDateComponentsFormatterUnitsStyle) *NSString
- func NSDateFormatterDateFormatFromTemplateOptionsLocale(tmplate *NSString, opts uint, locale *NSLocale) *NSString
- func NSDateFormatterLocalizedStringFromDateDateStyleTimeStyle(date *NSDate, dstyle NSDateFormatterStyle, tstyle NSDateFormatterStyle) *NSString
- func NSDebugDescriptionErrorKey() *NSString
- func NSDecimalNumberDivideByZeroException() *NSString
- func NSDecimalNumberExactnessException() *NSString
- func NSDecimalNumberOverflowException() *NSString
- func NSDecimalNumberUnderflowException() *NSString
- func NSDecimalString(dcm *NSDecimal, locale objc.ID) *NSString
- func NSDefaultRunLoopMode() *NSString
- func NSDestinationInvalidException() *NSString
- func NSDidBecomeSingleThreadedNotification() *NSStringdeprecated
- func NSDistinctUnionOfArraysKeyValueOperator() *NSString
- func NSDistinctUnionOfObjectsKeyValueOperator() *NSString
- func NSDistinctUnionOfSetsKeyValueOperator() *NSString
- func NSFileAppendOnly() *NSString
- func NSFileBusy() *NSString
- func NSFileCreationDate() *NSString
- func NSFileDeviceIdentifier() *NSString
- func NSFileExtensionHidden() *NSString
- func NSFileGroupOwnerAccountID() *NSString
- func NSFileGroupOwnerAccountName() *NSString
- func NSFileHFSCreatorCode() *NSString
- func NSFileHFSTypeCode() *NSString
- func NSFileHandleConnectionAcceptedNotification() *NSString
- func NSFileHandleDataAvailableNotification() *NSString
- func NSFileHandleOperationException() *NSString
- func NSFileHandleReadCompletionNotification() *NSString
- func NSFileHandleReadToEndOfFileCompletionNotification() *NSString
- func NSFileImmutable() *NSString
- func NSFileModificationDate() *NSString
- func NSFileOwnerAccountID() *NSString
- func NSFileOwnerAccountName() *NSString
- func NSFilePathErrorKey() *NSString
- func NSFilePosixPermissions() *NSString
- func NSFileProtectionComplete() *NSString
- func NSFileProtectionCompleteUnlessOpen() *NSString
- func NSFileProtectionCompleteUntilFirstUserAuthentication() *NSString
- func NSFileProtectionKey() *NSString
- func NSFileProtectionNone() *NSString
- func NSFileReferenceCount() *NSString
- func NSFileSize() *NSString
- func NSFileSystemFileNumber() *NSString
- func NSFileSystemFreeNodes() *NSString
- func NSFileSystemNumber() *NSString
- func NSFileType() *NSString
- func NSFileTypeBlockSpecial() *NSString
- func NSFileTypeCharacterSpecial() *NSString
- func NSFileTypeDirectory() *NSString
- func NSFileTypeForHFSTypeCode(hfsFileTypeCode uint) *NSString
- func NSFileTypeRegular() *NSString
- func NSFileTypeSocket() *NSString
- func NSFileTypeSymbolicLink() *NSString
- func NSFileTypeUnknown() *NSString
- func NSFullUserName() *NSString
- func NSGenericException() *NSString
- func NSHFSTypeOfFile(fullFilePath *NSString) *NSString
- func NSHTTPCookieComment() *NSString
- func NSHTTPCookieCommentURL() *NSString
- func NSHTTPCookieDiscard() *NSString
- func NSHTTPCookieDomain() *NSString
- func NSHTTPCookieExpires() *NSString
- func NSHTTPCookieManagerAcceptPolicyChangedNotification() *NSString
- func NSHTTPCookieManagerCookiesChangedNotification() *NSString
- func NSHTTPCookieMaximumAge() *NSString
- func NSHTTPCookieName() *NSString
- func NSHTTPCookieOriginURL() *NSString
- func NSHTTPCookiePath() *NSString
- func NSHTTPCookiePort() *NSString
- func NSHTTPCookieSameSiteLax() *NSString
- func NSHTTPCookieSameSitePolicy() *NSString
- func NSHTTPCookieSameSiteStrict() *NSString
- func NSHTTPCookieSecure() *NSString
- func NSHTTPCookieSetByJavaScript() *NSString
- func NSHTTPCookieValue() *NSString
- func NSHTTPCookieVersion() *NSString
- func NSHTTPURLResponseLocalizedStringForStatusCode(statusCode int) *NSString
- func NSHelpAnchorErrorKey() *NSString
- func NSHomeDirectory() *NSString
- func NSHomeDirectoryForUser(userName *NSString) *NSString
- func NSISO8601DateFormatterStringFromDateTimeZoneFormatOptions(date *NSDate, timeZone *NSTimeZone, formatOptions NSISO8601DateFormatOptions) *NSString
- func NSInconsistentArchiveException() *NSString
- func NSInflectionConceptsKey() *NSString
- func NSInternalInconsistencyException() *NSString
- func NSInvalidArchiveOperationException() *NSString
- func NSInvalidArgumentException() *NSString
- func NSInvalidReceivePortException() *NSString
- func NSInvalidSendPortException() *NSString
- func NSInvalidUnarchiveOperationException() *NSString
- func NSInvocationOperationCancelledException() *NSString
- func NSInvocationOperationVoidResultException() *NSString
- func NSIsNilTransformerName() *NSString
- func NSIsNotNilTransformerName() *NSString
- func NSKeyValueChangeIndexesKey() *NSString
- func NSKeyValueChangeKindKey() *NSString
- func NSKeyValueChangeNewKey() *NSString
- func NSKeyValueChangeNotificationIsPriorKey() *NSString
- func NSKeyValueChangeOldKey() *NSString
- func NSKeyedArchiverClassNameForClass(cls objc.Class) *NSString
- func NSKeyedUnarchiveFromDataTransformerName() *NSStringdeprecated
- func NSLinguisticTagAdjective() *NSStringdeprecated
- func NSLinguisticTagAdverb() *NSStringdeprecated
- func NSLinguisticTagClassifier() *NSStringdeprecated
- func NSLinguisticTagCloseParenthesis() *NSStringdeprecated
- func NSLinguisticTagCloseQuote() *NSStringdeprecated
- func NSLinguisticTagConjunction() *NSStringdeprecated
- func NSLinguisticTagDash() *NSStringdeprecated
- func NSLinguisticTagDeterminer() *NSStringdeprecated
- func NSLinguisticTagIdiom() *NSStringdeprecated
- func NSLinguisticTagInterjection() *NSStringdeprecated
- func NSLinguisticTagNoun() *NSStringdeprecated
- func NSLinguisticTagNumber() *NSStringdeprecated
- func NSLinguisticTagOpenParenthesis() *NSStringdeprecated
- func NSLinguisticTagOpenQuote() *NSStringdeprecated
- func NSLinguisticTagOrganizationName() *NSStringdeprecated
- func NSLinguisticTagOther() *NSStringdeprecated
- func NSLinguisticTagOtherPunctuation() *NSStringdeprecated
- func NSLinguisticTagOtherWhitespace() *NSStringdeprecated
- func NSLinguisticTagOtherWord() *NSStringdeprecated
- func NSLinguisticTagParagraphBreak() *NSStringdeprecated
- func NSLinguisticTagParticle() *NSStringdeprecated
- func NSLinguisticTagPersonalName() *NSStringdeprecated
- func NSLinguisticTagPlaceName() *NSStringdeprecated
- func NSLinguisticTagPreposition() *NSStringdeprecated
- func NSLinguisticTagPronoun() *NSStringdeprecated
- func NSLinguisticTagPunctuation() *NSStringdeprecated
- func NSLinguisticTagSchemeLanguage() *NSStringdeprecated
- func NSLinguisticTagSchemeLemma() *NSStringdeprecated
- func NSLinguisticTagSchemeLexicalClass() *NSStringdeprecated
- func NSLinguisticTagSchemeNameType() *NSStringdeprecated
- func NSLinguisticTagSchemeNameTypeOrLexicalClass() *NSStringdeprecated
- func NSLinguisticTagSchemeScript() *NSStringdeprecated
- func NSLinguisticTagSchemeTokenType() *NSStringdeprecated
- func NSLinguisticTagSentenceTerminator() *NSStringdeprecated
- func NSLinguisticTagVerb() *NSStringdeprecated
- func NSLinguisticTagWhitespace() *NSStringdeprecated
- func NSLinguisticTagWord() *NSStringdeprecated
- func NSLinguisticTagWordJoiner() *NSStringdeprecated
- func NSLinguisticTaggerDominantLanguageForString(string_ *NSString) *NSStringdeprecated
- func NSLinguisticTaggerTagForStringAtIndexUnitSchemeOrthographyTokenRange(string_ *NSString, charIndex uint, unit NSLinguisticTaggerUnit, ...) *NSStringdeprecated
- func NSListFormatterLocalizedStringByJoiningStrings(strings_ *NSArray[*NSString]) *NSString
- func NSLocalNotificationCenterType() *NSString
- func NSLocaleAlternateQuotationBeginDelimiterKey() *NSString
- func NSLocaleAlternateQuotationEndDelimiterKey() *NSString
- func NSLocaleCalendar() *NSString
- func NSLocaleCanonicalLanguageIdentifierFromString(string_ *NSString) *NSString
- func NSLocaleCanonicalLocaleIdentifierFromString(string_ *NSString) *NSString
- func NSLocaleCollationIdentifier() *NSString
- func NSLocaleCollatorIdentifier() *NSString
- func NSLocaleCountryCode() *NSString
- func NSLocaleCurrencyCode() *NSString
- func NSLocaleCurrencySymbol() *NSString
- func NSLocaleDecimalSeparator() *NSString
- func NSLocaleExemplarCharacterSet() *NSString
- func NSLocaleGroupingSeparator() *NSString
- func NSLocaleIdentifier() *NSString
- func NSLocaleLanguageCode() *NSString
- func NSLocaleLocaleIdentifierFromComponents(dict *NSDictionary[*NSString, *NSString]) *NSString
- func NSLocaleLocaleIdentifierFromWindowsLocaleCode(lcid uint32) *NSString
- func NSLocaleMeasurementSystem() *NSString
- func NSLocaleQuotationBeginDelimiterKey() *NSString
- func NSLocaleQuotationEndDelimiterKey() *NSString
- func NSLocaleScriptCode() *NSString
- func NSLocaleUsesMetricSystem() *NSString
- func NSLocaleVariantCode() *NSString
- func NSLocalizedDescriptionKey() *NSString
- func NSLocalizedFailureErrorKey() *NSString
- func NSLocalizedFailureReasonErrorKey() *NSString
- func NSLocalizedRecoveryOptionsErrorKey() *NSString
- func NSLocalizedRecoverySuggestionErrorKey() *NSString
- func NSMachErrorDomain() *NSString
- func NSMallocException() *NSString
- func NSMaximumKeyValueOperator() *NSString
- func NSMetadataQueryDidFinishGatheringNotification() *NSString
- func NSMetadataQueryDidStartGatheringNotification() *NSString
- func NSMetadataQueryDidUpdateNotification() *NSString
- func NSMetadataQueryGatheringProgressNotification() *NSString
- func NSMinimumKeyValueOperator() *NSString
- func NSMultipleUnderlyingErrorsKey() *NSString
- func NSNegateBooleanTransformerName() *NSString
- func NSNumberFormatterLocalizedStringFromNumberNumberStyle(num *NSNumber, nstyle NSNumberFormatterStyle) *NSString
- func NSOSStatusErrorDomain() *NSString
- func NSObjectDebugDescription() *NSString
- func NSObjectDescription() *NSString
- func NSObjectInaccessibleException() *NSString
- func NSObjectNotAvailableException() *NSString
- func NSOldStyleException() *NSString
- func NSOpenStepRootDirectory() *NSString
- func NSPOSIXErrorDomain() *NSString
- func NSParseErrorException() *NSString
- func NSPersonNameComponentsFormatterLocalizedStringFromPersonNameComponentsStyleOptions(components *NSPersonNameComponents, ...) *NSString
- func NSPortDidBecomeInvalidNotification() *NSString
- func NSPortReceiveException() *NSString
- func NSPortSendException() *NSString
- func NSPortTimeoutException() *NSString
- func NSPresentationIntentAttributeName() *NSString
- func NSProcessInfoPowerStateDidChangeNotification() *NSString
- func NSProcessInfoThermalStateDidChangeNotification() *NSString
- func NSProgressEstimatedTimeRemainingKey() *NSString
- func NSProgressFileCompletedCountKey() *NSString
- func NSProgressFileOperationKindCopying() *NSString
- func NSProgressFileOperationKindDecompressingAfterDownloading() *NSString
- func NSProgressFileOperationKindDownloading() *NSString
- func NSProgressFileOperationKindDuplicating() *NSString
- func NSProgressFileOperationKindKey() *NSString
- func NSProgressFileOperationKindReceiving() *NSString
- func NSProgressFileOperationKindUploading() *NSString
- func NSProgressFileTotalCountKey() *NSString
- func NSProgressFileURLKey() *NSString
- func NSProgressKindFile() *NSString
- func NSProgressThroughputKey() *NSString
- func NSRangeException() *NSString
- func NSRecoveryAttempterErrorKey() *NSString
- func NSRegularExpressionEscapedPatternForString(string_ *NSString) *NSString
- func NSRegularExpressionEscapedTemplateForString(string_ *NSString) *NSString
- func NSRunLoopCommonModes() *NSString
- func NSSecureUnarchiveFromDataTransformerName() *NSString
- func NSStreamDataWrittenToMemoryStreamKey() *NSString
- func NSStreamFileCurrentOffsetKey() *NSString
- func NSStreamNetworkServiceType() *NSString
- func NSStreamNetworkServiceTypeBackground() *NSString
- func NSStreamNetworkServiceTypeCallSignaling() *NSString
- func NSStreamNetworkServiceTypeVideo() *NSString
- func NSStreamNetworkServiceTypeVoIP() *NSString
- func NSStreamNetworkServiceTypeVoice() *NSString
- func NSStreamSOCKSErrorDomain() *NSString
- func NSStreamSOCKSProxyConfigurationKey() *NSString
- func NSStreamSOCKSProxyHostKey() *NSString
- func NSStreamSOCKSProxyPasswordKey() *NSString
- func NSStreamSOCKSProxyPortKey() *NSString
- func NSStreamSOCKSProxyUserKey() *NSString
- func NSStreamSOCKSProxyVersion4() *NSString
- func NSStreamSOCKSProxyVersion5() *NSString
- func NSStreamSOCKSProxyVersionKey() *NSString
- func NSStreamSocketSSLErrorDomain() *NSString
- func NSStreamSocketSecurityLevelKey() *NSString
- func NSStreamSocketSecurityLevelNegotiatedSSL() *NSString
- func NSStreamSocketSecurityLevelNone() *NSString
- func NSStreamSocketSecurityLevelSSLv2() *NSString
- func NSStreamSocketSecurityLevelSSLv3() *NSString
- func NSStreamSocketSecurityLevelTLSv1() *NSString
- func NSStringEncodingDetectionAllowLossyKey() *NSString
- func NSStringEncodingDetectionDisallowedEncodingsKey() *NSString
- func NSStringEncodingDetectionFromWindowsKey() *NSString
- func NSStringEncodingDetectionLikelyLanguageKey() *NSString
- func NSStringEncodingDetectionLossySubstitutionKey() *NSString
- func NSStringEncodingDetectionSuggestedEncodingsKey() *NSString
- func NSStringEncodingDetectionUseOnlySuggestedEncodingsKey() *NSString
- func NSStringEncodingErrorKey() *NSString
- func NSStringFromClass(aClass objc.Class) *NSString
- func NSStringFromHashTable(table *NSHashTable[objc.ID]) *NSString
- func NSStringFromID(id objc.ID) *NSString
- func NSStringFromMapTable(table *NSMapTable[objc.ID, objc.ID]) *NSString
- func NSStringFromPoint(aPoint corefoundation.CGPoint) *NSString
- func NSStringFromProtocol(proto unsafe.Pointer) *NSString
- func NSStringFromRange(range_ NSRange) *NSString
- func NSStringFromRect(aRect corefoundation.CGRect) *NSString
- func NSStringFromSelector(aSelector objc.SEL) *NSString
- func NSStringFromSize(aSize corefoundation.CGSize) *NSString
- func NSStringLocalizedNameOfStringEncoding(encoding uint) *NSString
- func NSStringLocalizedStringWithFormat(format *NSString) *NSString
- func NSStringLocalizedStringWithValidatedFormatValidFormatSpecifiersError(format *NSString, validFormatSpecifiers *NSString) (*NSString, error)
- func NSStringPathWithComponents(components *NSArray[*NSString]) *NSString
- func NSStringString() *NSString
- func NSStringStringWithCStringEncoding(cString string, enc uint) *NSString
- func NSStringStringWithCharactersLength(characters *uint16, length uint) *NSString
- func NSStringStringWithContentsOfFileEncodingError(path *NSString, enc uint) (*NSString, error)
- func NSStringStringWithContentsOfFileUsedEncodingError(path *NSString, enc *uint) (*NSString, error)
- func NSStringStringWithContentsOfURLEncodingError(url *NSURL, enc uint) (*NSString, error)
- func NSStringStringWithContentsOfURLUsedEncodingError(url *NSURL, enc *uint) (*NSString, error)
- func NSStringStringWithFormat(format *NSString) *NSString
- func NSStringStringWithString(string_ *NSString) *NSString
- func NSStringStringWithUTF8String(nullTerminatedCString string) *NSString
- func NSStringStringWithValidatedFormatValidFormatSpecifiersError(format *NSString, validFormatSpecifiers *NSString) (*NSString, error)
- func NSStringTransformFullwidthToHalfwidth() *NSString
- func NSStringTransformHiraganaToKatakana() *NSString
- func NSStringTransformLatinToArabic() *NSString
- func NSStringTransformLatinToCyrillic() *NSString
- func NSStringTransformLatinToGreek() *NSString
- func NSStringTransformLatinToHangul() *NSString
- func NSStringTransformLatinToHebrew() *NSString
- func NSStringTransformLatinToHiragana() *NSString
- func NSStringTransformLatinToKatakana() *NSString
- func NSStringTransformLatinToThai() *NSString
- func NSStringTransformMandarinToLatin() *NSString
- func NSStringTransformStripCombiningMarks() *NSString
- func NSStringTransformStripDiacritics() *NSString
- func NSStringTransformToLatin() *NSString
- func NSStringTransformToUnicodeName() *NSString
- func NSStringTransformToXMLHex() *NSString
- func NSSumKeyValueOperator() *NSString
- func NSSystemClockDidChangeNotification() *NSString
- func NSSystemTimeZoneDidChangeNotification() *NSString
- func NSTaskDidTerminateNotification() *NSString
- func NSTemporaryDirectory() *NSString
- func NSTextCheckingAirlineKey() *NSString
- func NSTextCheckingCityKey() *NSString
- func NSTextCheckingCountryKey() *NSString
- func NSTextCheckingFlightKey() *NSString
- func NSTextCheckingJobTitleKey() *NSString
- func NSTextCheckingNameKey() *NSString
- func NSTextCheckingOrganizationKey() *NSString
- func NSTextCheckingPhoneKey() *NSString
- func NSTextCheckingStateKey() *NSString
- func NSTextCheckingStreetKey() *NSString
- func NSTextCheckingZIPKey() *NSString
- func NSThreadWillExitNotification() *NSStringdeprecated
- func NSThumbnail1024x1024SizeKey() *NSStringdeprecated
- func NSTimeZoneTimeZoneDataVersion() *NSString
- func NSURLAddedToDirectoryDateKey() *NSString
- func NSURLAttributeModificationDateKey() *NSString
- func NSURLCanonicalPathKey() *NSString
- func NSURLContentAccessDateKey() *NSString
- func NSURLContentModificationDateKey() *NSString
- func NSURLContentTypeKey() *NSString
- func NSURLCreationDateKey() *NSString
- func NSURLCredentialStorageChangedNotification() *NSString
- func NSURLCustomIconKey() *NSString
- func NSURLDirectoryEntryCountKey() *NSString
- func NSURLDocumentIdentifierKey() *NSString
- func NSURLEffectiveIconKey() *NSString
- func NSURLErrorDomain() *NSString
- func NSURLErrorKey() *NSString
- func NSURLErrorNetworkUnavailableReasonKey() *NSString
- func NSURLFileAllocatedSizeKey() *NSString
- func NSURLFileContentIdentifierKey() *NSString
- func NSURLFileIdentifierKey() *NSString
- func NSURLFileProtectionComplete() *NSString
- func NSURLFileProtectionCompleteUnlessOpen() *NSString
- func NSURLFileProtectionCompleteUntilFirstUserAuthentication() *NSString
- func NSURLFileProtectionKey() *NSString
- func NSURLFileProtectionNone() *NSString
- func NSURLFileResourceIdentifierKey() *NSString
- func NSURLFileResourceTypeBlockSpecial() *NSString
- func NSURLFileResourceTypeCharacterSpecial() *NSString
- func NSURLFileResourceTypeDirectory() *NSString
- func NSURLFileResourceTypeKey() *NSString
- func NSURLFileResourceTypeNamedPipe() *NSString
- func NSURLFileResourceTypeRegular() *NSString
- func NSURLFileResourceTypeSocket() *NSString
- func NSURLFileResourceTypeSymbolicLink() *NSString
- func NSURLFileResourceTypeUnknown() *NSString
- func NSURLFileSecurityKey() *NSString
- func NSURLFileSizeKey() *NSString
- func NSURLGenerationIdentifierKey() *NSString
- func NSURLHasHiddenExtensionKey() *NSString
- func NSURLIsAliasFileKey() *NSString
- func NSURLIsApplicationKey() *NSString
- func NSURLIsDirectoryKey() *NSString
- func NSURLIsExcludedFromBackupKey() *NSString
- func NSURLIsExecutableKey() *NSString
- func NSURLIsHiddenKey() *NSString
- func NSURLIsMountTriggerKey() *NSString
- func NSURLIsPackageKey() *NSString
- func NSURLIsPurgeableKey() *NSString
- func NSURLIsReadableKey() *NSString
- func NSURLIsRegularFileKey() *NSString
- func NSURLIsSparseKey() *NSString
- func NSURLIsSymbolicLinkKey() *NSString
- func NSURLIsSystemImmutableKey() *NSString
- func NSURLIsUbiquitousItemKey() *NSString
- func NSURLIsUserImmutableKey() *NSString
- func NSURLIsVolumeKey() *NSString
- func NSURLIsWritableKey() *NSString
- func NSURLKeysOfUnsetValuesKey() *NSString
- func NSURLLabelColorKey() *NSString
- func NSURLLabelNumberKey() *NSString
- func NSURLLinkCountKey() *NSString
- func NSURLLocalizedLabelKey() *NSString
- func NSURLLocalizedNameKey() *NSString
- func NSURLLocalizedTypeDescriptionKey() *NSString
- func NSURLMayHaveExtendedAttributesKey() *NSString
- func NSURLMayShareFileContentKey() *NSString
- func NSURLNameKey() *NSString
- func NSURLParentDirectoryURLKey() *NSString
- func NSURLPathKey() *NSString
- func NSURLPreferredIOBlockSizeKey() *NSString
- func NSURLThumbnailDictionaryKey() *NSStringdeprecated
- func NSURLTotalFileAllocatedSizeKey() *NSString
- func NSURLTotalFileSizeKey() *NSString
- func NSURLTypeIdentifierKey() *NSStringdeprecated
- func NSURLUbiquitousItemContainerDisplayNameKey() *NSString
- func NSURLUbiquitousItemDownloadRequestedKey() *NSString
- func NSURLUbiquitousItemDownloadingErrorKey() *NSString
- func NSURLUbiquitousItemDownloadingStatusCurrent() *NSString
- func NSURLUbiquitousItemDownloadingStatusDownloaded() *NSString
- func NSURLUbiquitousItemDownloadingStatusKey() *NSString
- func NSURLUbiquitousItemDownloadingStatusNotDownloaded() *NSString
- func NSURLUbiquitousItemHasUnresolvedConflictsKey() *NSString
- func NSURLUbiquitousItemIsDownloadedKey() *NSStringdeprecated
- func NSURLUbiquitousItemIsDownloadingKey() *NSString
- func NSURLUbiquitousItemIsExcludedFromSyncKey() *NSString
- func NSURLUbiquitousItemIsSharedKey() *NSString
- func NSURLUbiquitousItemIsSyncPausedKey() *NSString
- func NSURLUbiquitousItemIsUploadedKey() *NSString
- func NSURLUbiquitousItemIsUploadingKey() *NSString
- func NSURLUbiquitousItemPercentDownloadedKey() *NSStringdeprecated
- func NSURLUbiquitousItemPercentUploadedKey() *NSStringdeprecated
- func NSURLUbiquitousItemSupportedSyncControlsKey() *NSString
- func NSURLUbiquitousItemUploadingErrorKey() *NSString
- func NSURLUbiquitousSharedItemCurrentUserPermissionsKey() *NSString
- func NSURLUbiquitousSharedItemCurrentUserRoleKey() *NSString
- func NSURLUbiquitousSharedItemMostRecentEditorNameComponentsKey() *NSString
- func NSURLUbiquitousSharedItemOwnerNameComponentsKey() *NSString
- func NSURLUbiquitousSharedItemPermissionsReadOnly() *NSString
- func NSURLUbiquitousSharedItemPermissionsReadWrite() *NSString
- func NSURLUbiquitousSharedItemRoleOwner() *NSString
- func NSURLUbiquitousSharedItemRoleParticipant() *NSString
- func NSURLVolumeAvailableCapacityForImportantUsageKey() *NSString
- func NSURLVolumeAvailableCapacityForOpportunisticUsageKey() *NSString
- func NSURLVolumeAvailableCapacityKey() *NSString
- func NSURLVolumeCreationDateKey() *NSString
- func NSURLVolumeIdentifierKey() *NSString
- func NSURLVolumeIsAutomountedKey() *NSString
- func NSURLVolumeIsBrowsableKey() *NSString
- func NSURLVolumeIsEjectableKey() *NSString
- func NSURLVolumeIsEncryptedKey() *NSString
- func NSURLVolumeIsInternalKey() *NSString
- func NSURLVolumeIsJournalingKey() *NSString
- func NSURLVolumeIsLocalKey() *NSString
- func NSURLVolumeIsReadOnlyKey() *NSString
- func NSURLVolumeIsRemovableKey() *NSString
- func NSURLVolumeIsRootFileSystemKey() *NSString
- func NSURLVolumeLocalizedFormatDescriptionKey() *NSString
- func NSURLVolumeLocalizedNameKey() *NSString
- func NSURLVolumeMaximumFileSizeKey() *NSString
- func NSURLVolumeMountFromLocationKey() *NSString
- func NSURLVolumeNameKey() *NSString
- func NSURLVolumeResourceCountKey() *NSString
- func NSURLVolumeSubtypeKey() *NSString
- func NSURLVolumeSupportsAccessPermissionsKey() *NSString
- func NSURLVolumeSupportsAdvisoryFileLockingKey() *NSString
- func NSURLVolumeSupportsCasePreservedNamesKey() *NSString
- func NSURLVolumeSupportsCaseSensitiveNamesKey() *NSString
- func NSURLVolumeSupportsCompressionKey() *NSString
- func NSURLVolumeSupportsExclusiveRenamingKey() *NSString
- func NSURLVolumeSupportsExtendedSecurityKey() *NSString
- func NSURLVolumeSupportsFileCloningKey() *NSString
- func NSURLVolumeSupportsFileProtectionKey() *NSString
- func NSURLVolumeSupportsHardLinksKey() *NSString
- func NSURLVolumeSupportsImmutableFilesKey() *NSString
- func NSURLVolumeSupportsJournalingKey() *NSString
- func NSURLVolumeSupportsPersistentIDsKey() *NSString
- func NSURLVolumeSupportsRenamingKey() *NSString
- func NSURLVolumeSupportsRootDirectoryDatesKey() *NSString
- func NSURLVolumeSupportsSparseFilesKey() *NSString
- func NSURLVolumeSupportsSwapRenamingKey() *NSString
- func NSURLVolumeSupportsSymbolicLinksKey() *NSString
- func NSURLVolumeSupportsVolumeSizesKey() *NSString
- func NSURLVolumeSupportsZeroRunsKey() *NSString
- func NSURLVolumeTotalCapacityKey() *NSString
- func NSURLVolumeTypeNameKey() *NSString
- func NSURLVolumeURLForRemountingKey() *NSString
- func NSURLVolumeURLKey() *NSString
- func NSURLVolumeUUIDStringKey() *NSString
- func NSUbiquitousKeyValueStoreDidChangeExternallyNotification() *NSString
- func NSUbiquityIdentityDidChangeNotification() *NSString
- func NSUnarchiveFromDataTransformerName() *NSStringdeprecated
- func NSUnarchiverClassNameDecodedForArchiveClassName(inArchiveName *NSString) *NSString
- func NSUndefinedKeyException() *NSString
- func NSUnderlyingErrorKey() *NSString
- func NSUndoManagerCheckpointNotification() *NSString
- func NSUndoManagerDidCloseUndoGroupNotification() *NSString
- func NSUndoManagerDidOpenUndoGroupNotification() *NSString
- func NSUndoManagerDidRedoChangeNotification() *NSString
- func NSUndoManagerDidUndoChangeNotification() *NSString
- func NSUndoManagerWillCloseUndoGroupNotification() *NSString
- func NSUndoManagerWillRedoChangeNotification() *NSString
- func NSUndoManagerWillUndoChangeNotification() *NSString
- func NSUnionOfArraysKeyValueOperator() *NSString
- func NSUnionOfObjectsKeyValueOperator() *NSString
- func NSUnionOfSetsKeyValueOperator() *NSString
- func NSUserDefaultsDidChangeNotification() *NSString
- func NSUserName() *NSString
- func NSWillBecomeMultiThreadedNotification() *NSStringdeprecated
- func NSXMLNodeLocalNameForName(name *NSString) *NSString
- func NSXMLNodePrefixForName(name *NSString) *NSString
- func NSXMLParserErrorDomain() *NSString
- func NSZoneName(zone unsafe.Pointer) *NSString
- func (o *NSString) BoolValue() bool
- func (o *NSString) CString() stringdeprecated
- func (o *NSString) CStringLength() uintdeprecated
- func (o *NSString) CStringUsingEncoding(encoding uint) string
- func (o *NSString) CanBeConvertedToEncoding(encoding uint) bool
- func (o *NSString) CapitalizedString() *NSString
- func (o *NSString) CapitalizedStringWithLocale(locale *NSLocale) *NSString
- func (o *NSString) CaseInsensitiveCompare(string_ *NSString) NSComparisonResult
- func (o *NSString) CharacterAtIndex(index uint) uint16
- func (o *NSString) CommonPrefixWithStringOptions(str *NSString, mask NSStringCompareOptions) *NSString
- func (o *NSString) Compare(string_ *NSString) NSComparisonResult
- func (o *NSString) CompareOptions(string_ *NSString, mask NSStringCompareOptions) NSComparisonResult
- func (o *NSString) CompareOptionsRange(string_ *NSString, mask NSStringCompareOptions, ...) NSComparisonResult
- func (o *NSString) CompareOptionsRangeLocale(string_ *NSString, mask NSStringCompareOptions, ...) NSComparisonResult
- func (o *NSString) CompletePathIntoStringCaseSensitiveMatchesIntoArrayFilterTypes(outputName *NSString, flag bool, outputArray *NSArray[*NSString], ...) uint
- func (o *NSString) ComponentsSeparatedByCharactersInSet(separator *NSCharacterSet) *NSArray[*NSString]
- func (o *NSString) ComponentsSeparatedByString(separator *NSString) *NSArray[*NSString]
- func (o *NSString) ContainsString(str *NSString) bool
- func (o *NSString) DataUsingEncoding(encoding uint) *NSData
- func (o *NSString) DataUsingEncodingAllowLossyConversion(encoding uint, lossy bool) *NSData
- func (o *NSString) DecomposedStringWithCanonicalMapping() *NSString
- func (o *NSString) DecomposedStringWithCompatibilityMapping() *NSString
- func (o *NSString) DoubleValue() float64
- func (o *NSString) EnumerateLinesUsing(block func(*NSString, *bool))
- func (o *NSString) EnumerateLinguisticTagsInRangeSchemeOptionsOrthographyUsing(range_ NSRange, scheme *NSString, options NSLinguisticTaggerOptions, ...)deprecated
- func (o *NSString) EnumerateSubstringsInRangeOptionsUsing(range_ NSRange, opts NSStringEnumerationOptions, block objc.Block)
- func (o *NSString) FastestEncoding() uint
- func (o *NSString) FileSystemRepresentation() unsafe.Pointer
- func (o *NSString) FloatValue() float32
- func (o *NSString) GetBytesMaxLengthUsedLengthEncodingOptionsRangeRemainingRange(buffer unsafe.Pointer, maxBufferCount uint, usedBufferCount *uint, ...) bool
- func (o *NSString) GetCString(bytes_ string)deprecated
- func (o *NSString) GetCStringMaxLength(bytes_ string, maxLength uint)deprecated
- func (o *NSString) GetCStringMaxLengthEncoding(buffer string, maxBufferCount uint, encoding uint) bool
- func (o *NSString) GetCStringMaxLengthRangeRemainingRange(bytes_ string, maxLength uint, aRange NSRange, leftoverRange *NSRange)deprecated
- func (o *NSString) GetCharacters(buffer *uint16)deprecated
- func (o *NSString) GetCharactersRange(buffer *uint16, range_ NSRange)
- func (o *NSString) GetFileSystemRepresentationMaxLength(cname string, max uint) bool
- func (o *NSString) GetLineStartEndContentsEndForRange(startPtr *uint, lineEndPtr *uint, contentsEndPtr *uint, range_ NSRange)
- func (o *NSString) GetParagraphStartEndContentsEndForRange(startPtr *uint, parEndPtr *uint, contentsEndPtr *uint, range_ NSRange)
- func (o *NSString) HasPrefix(str *NSString) bool
- func (o *NSString) HasSuffix(str *NSString) bool
- func (o *NSString) Init() *NSString
- func (o *NSString) InitWithBytesLengthEncoding(bytes_ unsafe.Pointer, len_ uint, encoding uint) *NSString
- func (o *NSString) InitWithBytesNoCopyLengthEncodingDeallocator(bytes_ unsafe.Pointer, len_ uint, encoding uint, ...) *NSString
- func (o *NSString) InitWithBytesNoCopyLengthEncodingFreeWhenDone(bytes_ unsafe.Pointer, len_ uint, encoding uint, freeBuffer bool) *NSString
- func (o *NSString) InitWithCString(bytes_ string) objc.IDdeprecated
- func (o *NSString) InitWithCStringEncoding(nullTerminatedCString string, encoding uint) *NSString
- func (o *NSString) InitWithCStringLength(bytes_ string, length uint) objc.IDdeprecated
- func (o *NSString) InitWithCStringNoCopyLengthFreeWhenDone(bytes_ string, length uint, freeBuffer bool) objc.IDdeprecated
- func (o *NSString) InitWithCharactersLength(characters *uint16, length uint) *NSString
- func (o *NSString) InitWithCharactersNoCopyLengthDeallocator(chars *uint16, len_ uint, deallocator func(*uint16, uint)) *NSString
- func (o *NSString) InitWithCharactersNoCopyLengthFreeWhenDone(characters *uint16, length uint, freeBuffer bool) *NSString
- func (o *NSString) InitWithCoder(coder *NSCoder) *NSString
- func (o *NSString) InitWithContentsOfFile(path *NSString) objc.IDdeprecated
- func (o *NSString) InitWithContentsOfFileEncodingError(path *NSString, enc uint) (*NSString, error)
- func (o *NSString) InitWithContentsOfFileUsedEncodingError(path *NSString, enc *uint) (*NSString, error)
- func (o *NSString) InitWithContentsOfURL(url *NSURL) objc.IDdeprecated
- func (o *NSString) InitWithContentsOfURLEncodingError(url *NSURL, enc uint) (*NSString, error)
- func (o *NSString) InitWithContentsOfURLUsedEncodingError(url *NSURL, enc *uint) (*NSString, error)
- func (o *NSString) InitWithDataEncoding(data *NSData, encoding uint) *NSString
- func (o *NSString) InitWithFormat(format *NSString) *NSString
- func (o *NSString) InitWithFormatArguments(format *NSString, argList string) *NSString
- func (o *NSString) InitWithFormatLocale(format *NSString, locale objc.ID) *NSString
- func (o *NSString) InitWithFormatLocaleArguments(format *NSString, locale objc.ID, argList string) *NSString
- func (o *NSString) InitWithString(aString *NSString) *NSString
- func (o *NSString) InitWithUTF8String(nullTerminatedCString string) *NSString
- func (o *NSString) InitWithValidatedFormatValidFormatSpecifiersArgumentsError(format *NSString, validFormatSpecifiers *NSString, argList string) (*NSString, error)
- func (o *NSString) InitWithValidatedFormatValidFormatSpecifiersError(format *NSString, validFormatSpecifiers *NSString) (*NSString, error)
- func (o *NSString) InitWithValidatedFormatValidFormatSpecifiersLocaleArgumentsError(format *NSString, validFormatSpecifiers *NSString, locale objc.ID, ...) (*NSString, error)
- func (o *NSString) InitWithValidatedFormatValidFormatSpecifiersLocaleError(format *NSString, validFormatSpecifiers *NSString, locale objc.ID) (*NSString, error)
- func (o *NSString) IntValue() int
- func (o *NSString) IntegerValue() int
- func (o *NSString) IsAbsolutePath() bool
- func (o *NSString) IsEqualToString(aString *NSString) bool
- func (o *NSString) LastPathComponent() *NSString
- func (o *NSString) Length() uint
- func (o *NSString) LengthOfBytesUsingEncoding(enc uint) uint
- func (o *NSString) LineRangeForRange(range_ NSRange) NSRange
- func (o *NSString) LinguisticTagsInRangeSchemeOptionsOrthographyTokenRanges(range_ NSRange, scheme *NSString, options NSLinguisticTaggerOptions, ...) *NSArray[*NSString]deprecated
- func (o *NSString) LocalizedCapitalizedString() *NSString
- func (o *NSString) LocalizedCaseInsensitiveCompare(string_ *NSString) NSComparisonResult
- func (o *NSString) LocalizedCaseInsensitiveContainsString(str *NSString) bool
- func (o *NSString) LocalizedCompare(string_ *NSString) NSComparisonResult
- func (o *NSString) LocalizedLowercaseString() *NSString
- func (o *NSString) LocalizedStandardCompare(string_ *NSString) NSComparisonResult
- func (o *NSString) LocalizedStandardContainsString(str *NSString) bool
- func (o *NSString) LocalizedStandardRangeOfString(str *NSString) NSRange
- func (o *NSString) LocalizedUppercaseString() *NSString
- func (o *NSString) LongLongValue() int64
- func (o *NSString) LossyCString() stringdeprecated
- func (o *NSString) LowercaseString() *NSString
- func (o *NSString) LowercaseStringWithLocale(locale *NSLocale) *NSString
- func (o *NSString) MaximumLengthOfBytesUsingEncoding(enc uint) uint
- func (o *NSString) ParagraphRangeForRange(range_ NSRange) NSRange
- func (o *NSString) PathComponents() *NSArray[*NSString]
- func (o *NSString) PathExtension() *NSString
- func (o *NSString) PrecomposedStringWithCanonicalMapping() *NSString
- func (o *NSString) PrecomposedStringWithCompatibilityMapping() *NSString
- func (o *NSString) PropertyList() objc.ID
- func (o *NSString) PropertyListFromStringsFileFormat() *NSDictionary[objc.ID, objc.ID]
- func (o *NSString) RangeOfCharacterFromSet(searchSet *NSCharacterSet) NSRange
- func (o *NSString) RangeOfCharacterFromSetOptions(searchSet *NSCharacterSet, mask NSStringCompareOptions) NSRange
- func (o *NSString) RangeOfCharacterFromSetOptionsRange(searchSet *NSCharacterSet, mask NSStringCompareOptions, ...) NSRange
- func (o *NSString) RangeOfComposedCharacterSequenceAtIndex(index uint) NSRange
- func (o *NSString) RangeOfComposedCharacterSequencesForRange(range_ NSRange) NSRange
- func (o *NSString) RangeOfString(searchString *NSString) NSRange
- func (o *NSString) RangeOfStringOptions(searchString *NSString, mask NSStringCompareOptions) NSRange
- func (o *NSString) RangeOfStringOptionsRange(searchString *NSString, mask NSStringCompareOptions, ...) NSRange
- func (o *NSString) RangeOfStringOptionsRangeLocale(searchString *NSString, mask NSStringCompareOptions, ...) NSRange
- func (o *NSString) SmallestEncoding() uint
- func (o *NSString) StringByAbbreviatingWithTildeInPath() *NSString
- func (o *NSString) StringByAddingPercentEncodingWithAllowedCharacters(allowedCharacters *NSCharacterSet) *NSString
- func (o *NSString) StringByAddingPercentEscapesUsingEncoding(enc uint) *NSStringdeprecated
- func (o *NSString) StringByAppendingFormat(format *NSString) *NSString
- func (o *NSString) StringByAppendingPathComponent(str *NSString) *NSString
- func (o *NSString) StringByAppendingPathExtension(str *NSString) *NSString
- func (o *NSString) StringByAppendingString(aString *NSString) *NSString
- func (o *NSString) StringByApplyingTransformReverse(transform *NSString, reverse bool) *NSString
- func (o *NSString) StringByDeletingLastPathComponent() *NSString
- func (o *NSString) StringByDeletingPathExtension() *NSString
- func (o *NSString) StringByExpandingTildeInPath() *NSString
- func (o *NSString) StringByFoldingWithOptionsLocale(options NSStringCompareOptions, locale *NSLocale) *NSString
- func (o *NSString) StringByPaddingToLengthWithStringStartingAtIndex(newLength uint, padString *NSString, padIndex uint) *NSString
- func (o *NSString) StringByRemovingPercentEncoding() *NSString
- func (o *NSString) StringByReplacingCharactersInRangeWithString(range_ NSRange, replacement *NSString) *NSString
- func (o *NSString) StringByReplacingOccurrencesOfStringWithString(target *NSString, replacement *NSString) *NSString
- func (o *NSString) StringByReplacingOccurrencesOfStringWithStringOptionsRange(target *NSString, replacement *NSString, options NSStringCompareOptions, ...) *NSString
- func (o *NSString) StringByReplacingPercentEscapesUsingEncoding(enc uint) *NSStringdeprecated
- func (o *NSString) StringByResolvingSymlinksInPath() *NSString
- func (o *NSString) StringByStandardizingPath() *NSString
- func (o *NSString) StringByTrimmingCharactersInSet(set *NSCharacterSet) *NSString
- func (o *NSString) StringsByAppendingPaths(paths *NSArray[*NSString]) *NSArray[*NSString]
- func (o *NSString) SubstringFromIndex(from uint) *NSString
- func (o *NSString) SubstringToIndex(to uint) *NSString
- func (o *NSString) SubstringWithRange(range_ NSRange) *NSString
- func (o *NSString) UTF8String() unsafe.Pointer
- func (o *NSString) UppercaseString() *NSString
- func (o *NSString) UppercaseStringWithLocale(locale *NSLocale) *NSString
- func (o *NSString) VariantFittingPresentationWidth(width int) *NSString
- func (o *NSString) WriteToFileAtomically(path *NSString, useAuxiliaryFile bool) booldeprecated
- func (o *NSString) WriteToFileAtomicallyEncodingError(path *NSString, useAuxiliaryFile bool, enc uint) (bool, error)
- func (o *NSString) WriteToURLAtomically(url *NSURL, atomically bool) booldeprecated
- func (o *NSString) WriteToURLAtomicallyEncodingError(url *NSURL, useAuxiliaryFile bool, enc uint) (bool, error)
- type NSStringCompareOptions
- type NSStringEncodingConversionOptions
- type NSStringEnumerationOptions
- type NSSwappedDouble
- type NSSwappedFloat
- type NSTask
- func NSTaskFromID(id objc.ID) *NSTask
- func NSTaskLaunchedTaskWithExecutableURLArgumentsErrorTerminationHandler(url *NSURL, arguments *NSArray[*NSString], error_ unsafe.Pointer, ...) *NSTask
- func NSTaskLaunchedTaskWithLaunchPathArguments(path *NSString, arguments *NSArray[*NSString]) *NSTaskdeprecated
- func (o *NSTask) Arguments() *NSArray[*NSString]
- func (o *NSTask) CurrentDirectoryPath() unsafe.Pointerdeprecated
- func (o *NSTask) CurrentDirectoryURL() *NSURL
- func (o *NSTask) Environment() *NSDictionary[*NSString, *NSString]
- func (o *NSTask) ExecutableURL() *NSURL
- func (o *NSTask) Init() *NSTask
- func (o *NSTask) Interrupt()
- func (o *NSTask) IsRunning() bool
- func (o *NSTask) Launch()deprecated
- func (o *NSTask) LaunchAndReturnError() (bool, error)
- func (o *NSTask) LaunchPath() unsafe.Pointerdeprecated
- func (o *NSTask) LaunchRequirementData() *NSData
- func (o *NSTask) ProcessIdentifier() int
- func (o *NSTask) QualityOfService() NSQualityOfService
- func (o *NSTask) Resume() bool
- func (o *NSTask) SetArguments(arguments *NSArray[*NSString])
- func (o *NSTask) SetCurrentDirectoryPath(currentDirectoryPath unsafe.Pointer)deprecated
- func (o *NSTask) SetCurrentDirectoryURL(currentDirectoryURL *NSURL)
- func (o *NSTask) SetEnvironment(environment *NSDictionary[*NSString, *NSString])
- func (o *NSTask) SetExecutableURL(executableURL *NSURL)
- func (o *NSTask) SetLaunchPath(launchPath unsafe.Pointer)deprecated
- func (o *NSTask) SetLaunchRequirementData(launchRequirementData *NSData)
- func (o *NSTask) SetQualityOfService(qualityOfService NSQualityOfService)
- func (o *NSTask) SetStandardError(standardError objc.ID)
- func (o *NSTask) SetStandardInput(standardInput objc.ID)
- func (o *NSTask) SetStandardOutput(standardOutput objc.ID)
- func (o *NSTask) SetTerminationHandler(terminationHandler func(*NSTask))
- func (o *NSTask) StandardError() objc.ID
- func (o *NSTask) StandardInput() objc.ID
- func (o *NSTask) StandardOutput() objc.ID
- func (o *NSTask) Suspend() bool
- func (o *NSTask) Terminate()
- func (o *NSTask) TerminationHandler() objc.Block
- func (o *NSTask) TerminationReason() NSTaskTerminationReason
- func (o *NSTask) TerminationStatus() int
- func (o *NSTask) WaitUntilExit()
- type NSTaskTerminationReason
- type NSTermOfAddress
- func NSTermOfAddressCurrentUser() *NSTermOfAddress
- func NSTermOfAddressFeminine() *NSTermOfAddress
- func NSTermOfAddressFromID(id objc.ID) *NSTermOfAddress
- func NSTermOfAddressLocalizedForLanguageIdentifierWithPronouns(language *NSString, pronouns *NSArray[*NSMorphologyPronoun]) *NSTermOfAddress
- func NSTermOfAddressMasculine() *NSTermOfAddress
- func NSTermOfAddressNeutral() *NSTermOfAddress
- type NSTestComparisonOperation
- type NSTextCheckingResult
- func NSTextCheckingResultAddressCheckingResultWithRangeComponents(range_ NSRange, components *NSDictionary[*NSString, *NSString]) *NSTextCheckingResult
- func NSTextCheckingResultCorrectionCheckingResultWithRangeReplacementString(range_ NSRange, replacementString *NSString) *NSTextCheckingResult
- func NSTextCheckingResultCorrectionCheckingResultWithRangeReplacementStringAlternativeStrings(range_ NSRange, replacementString *NSString, ...) *NSTextCheckingResult
- func NSTextCheckingResultDashCheckingResultWithRangeReplacementString(range_ NSRange, replacementString *NSString) *NSTextCheckingResult
- func NSTextCheckingResultDateCheckingResultWithRangeDate(range_ NSRange, date *NSDate) *NSTextCheckingResult
- func NSTextCheckingResultDateCheckingResultWithRangeDateTimeZoneDuration(range_ NSRange, date *NSDate, timeZone *NSTimeZone, duration float64) *NSTextCheckingResult
- func NSTextCheckingResultFromID(id objc.ID) *NSTextCheckingResult
- func NSTextCheckingResultGrammarCheckingResultWithRangeDetails(range_ NSRange, details *NSArray[objc.ID]) *NSTextCheckingResult
- func NSTextCheckingResultLinkCheckingResultWithRangeURL(range_ NSRange, url *NSURL) *NSTextCheckingResult
- func NSTextCheckingResultOrthographyCheckingResultWithRangeOrthography(range_ NSRange, orthography *NSOrthography) *NSTextCheckingResult
- func NSTextCheckingResultPhoneNumberCheckingResultWithRangePhoneNumber(range_ NSRange, phoneNumber *NSString) *NSTextCheckingResult
- func NSTextCheckingResultQuoteCheckingResultWithRangeReplacementString(range_ NSRange, replacementString *NSString) *NSTextCheckingResult
- func NSTextCheckingResultRegularExpressionCheckingResultWithRangesCountRegularExpression(ranges *NSRange, count uint, regularExpression *NSRegularExpression) *NSTextCheckingResult
- func NSTextCheckingResultReplacementCheckingResultWithRangeReplacementString(range_ NSRange, replacementString *NSString) *NSTextCheckingResult
- func NSTextCheckingResultSpellCheckingResultWithRange(range_ NSRange) *NSTextCheckingResult
- func NSTextCheckingResultTransitInformationCheckingResultWithRangeComponents(range_ NSRange, components *NSDictionary[*NSString, *NSString]) *NSTextCheckingResult
- func (o *NSTextCheckingResult) AddressComponents() *NSDictionary[*NSString, *NSString]
- func (o *NSTextCheckingResult) AlternativeStrings() *NSArray[*NSString]
- func (o *NSTextCheckingResult) Components() *NSDictionary[*NSString, *NSString]
- func (o *NSTextCheckingResult) Date() *NSDate
- func (o *NSTextCheckingResult) Duration() float64
- func (o *NSTextCheckingResult) GrammarDetails() *NSArray[objc.ID]
- func (o *NSTextCheckingResult) NumberOfRanges() uint
- func (o *NSTextCheckingResult) Orthography() *NSOrthography
- func (o *NSTextCheckingResult) PhoneNumber() *NSString
- func (o *NSTextCheckingResult) Range() NSRange
- func (o *NSTextCheckingResult) RangeAtIndex(idx uint) NSRange
- func (o *NSTextCheckingResult) RangeWithName(name *NSString) NSRange
- func (o *NSTextCheckingResult) RegularExpression() *NSRegularExpression
- func (o *NSTextCheckingResult) ReplacementString() *NSString
- func (o *NSTextCheckingResult) ResultByAdjustingRangesWithOffset(offset int) *NSTextCheckingResult
- func (o *NSTextCheckingResult) ResultType() NSTextCheckingType
- func (o *NSTextCheckingResult) TimeZone() *NSTimeZone
- func (o *NSTextCheckingResult) URL() *NSURL
- type NSTextCheckingType
- type NSThread
- func (o *NSThread) Cancel()
- func (o *NSThread) Init() *NSThread
- func (o *NSThread) InitWith(block func()) *NSThread
- func (o *NSThread) InitWithTargetSelectorObject(target objc.ID, selector objc.SEL, argument objc.ID) *NSThread
- func (o *NSThread) IsCancelled() bool
- func (o *NSThread) IsExecuting() bool
- func (o *NSThread) IsFinished() bool
- func (o *NSThread) IsMainThread() bool
- func (o *NSThread) Main()
- func (o *NSThread) Name() *NSString
- func (o *NSThread) QualityOfService() NSQualityOfService
- func (o *NSThread) SetName(name *NSString)
- func (o *NSThread) SetQualityOfService(qualityOfService NSQualityOfService)
- func (o *NSThread) SetStackSize(stackSize uint)
- func (o *NSThread) SetThreadPriority(threadPriority float64)
- func (o *NSThread) StackSize() uint
- func (o *NSThread) Start()
- func (o *NSThread) ThreadDictionary() *NSMutableDictionary[objc.ID, objc.ID]
- func (o *NSThread) ThreadPriority() float64
- type NSTimeZone
- func NSTimeZoneDefaultTimeZone() *NSTimeZone
- func NSTimeZoneFromID(id objc.ID) *NSTimeZone
- func NSTimeZoneLocalTimeZone() *NSTimeZone
- func NSTimeZoneSystemTimeZone() *NSTimeZone
- func NSTimeZoneTimeZoneForSecondsFromGMT(seconds int) *NSTimeZone
- func NSTimeZoneTimeZoneWithAbbreviation(abbreviation *NSString) *NSTimeZone
- func NSTimeZoneTimeZoneWithName(tzName *NSString) *NSTimeZone
- func NSTimeZoneTimeZoneWithNameData(tzName *NSString, aData *NSData) *NSTimeZone
- func (o *NSTimeZone) Abbreviation() *NSString
- func (o *NSTimeZone) AbbreviationForDate(aDate *NSDate) *NSString
- func (o *NSTimeZone) Data() *NSData
- func (o *NSTimeZone) DaylightSavingTimeOffset() float64
- func (o *NSTimeZone) DaylightSavingTimeOffsetForDate(aDate *NSDate) float64
- func (o *NSTimeZone) InitWithName(tzName *NSString) *NSTimeZone
- func (o *NSTimeZone) InitWithNameData(tzName *NSString, aData *NSData) *NSTimeZone
- func (o *NSTimeZone) IsDaylightSavingTime() bool
- func (o *NSTimeZone) IsDaylightSavingTimeForDate(aDate *NSDate) bool
- func (o *NSTimeZone) IsEqualToTimeZone(aTimeZone *NSTimeZone) bool
- func (o *NSTimeZone) LocalizedNameLocale(style NSTimeZoneNameStyle, locale *NSLocale) *NSString
- func (o *NSTimeZone) Name() *NSString
- func (o *NSTimeZone) NextDaylightSavingTimeTransition() *NSDate
- func (o *NSTimeZone) NextDaylightSavingTimeTransitionAfterDate(aDate *NSDate) *NSDate
- func (o *NSTimeZone) SecondsFromGMT() int
- func (o *NSTimeZone) SecondsFromGMTForDate(aDate *NSDate) int
- type NSTimeZoneNameStyle
- type NSTimer
- func NSTimerFromID(id objc.ID) *NSTimer
- func NSTimerScheduledTimerWithTimeIntervalInvocationRepeats(ti float64, invocation *NSInvocation, yesOrNo bool) *NSTimer
- func NSTimerScheduledTimerWithTimeIntervalRepeatsBlock(interval float64, repeats bool, block func(*NSTimer)) *NSTimer
- func NSTimerScheduledTimerWithTimeIntervalTargetSelectorUserInfoRepeats(ti float64, aTarget objc.ID, aSelector objc.SEL, userInfo objc.ID, ...) *NSTimer
- func NSTimerTimerWithTimeIntervalInvocationRepeats(ti float64, invocation *NSInvocation, yesOrNo bool) *NSTimer
- func NSTimerTimerWithTimeIntervalRepeatsBlock(interval float64, repeats bool, block func(*NSTimer)) *NSTimer
- func NSTimerTimerWithTimeIntervalTargetSelectorUserInfoRepeats(ti float64, aTarget objc.ID, aSelector objc.SEL, userInfo objc.ID, ...) *NSTimer
- func (o *NSTimer) Fire()
- func (o *NSTimer) FireDate() *NSDate
- func (o *NSTimer) InitWithFireDateIntervalRepeatsBlock(date *NSDate, interval float64, repeats bool, block func(*NSTimer)) *NSTimer
- func (o *NSTimer) InitWithFireDateIntervalTargetSelectorUserInfoRepeats(date *NSDate, ti float64, t objc.ID, s objc.SEL, ui objc.ID, rep bool) *NSTimer
- func (o *NSTimer) Invalidate()
- func (o *NSTimer) IsValid() bool
- func (o *NSTimer) SetFireDate(fireDate *NSDate)
- func (o *NSTimer) SetTolerance(tolerance float64)
- func (o *NSTimer) TimeInterval() float64
- func (o *NSTimer) Tolerance() float64
- func (o *NSTimer) UserInfo() objc.ID
- type NSURL
- func NSBundleURLForResourceWithExtensionSubdirectoryInBundleWithURL(name *NSString, ext *NSString, subpath *NSString, bundleURL *NSURL) *NSURL
- func NSFileVersionTemporaryDirectoryURLForNewVersionOfItemAtURL(url *NSURL) *NSURL
- func NSURLAbsoluteURLWithDataRepresentationRelativeToURL(data *NSData, baseURL *NSURL) *NSURL
- func NSURLFileURLWithFileSystemRepresentationIsDirectoryRelativeToURL(path string, isDir bool, baseURL *NSURL) *NSURL
- func NSURLFileURLWithPath(path *NSString) *NSURL
- func NSURLFileURLWithPathComponents(components *NSArray[*NSString]) *NSURL
- func NSURLFileURLWithPathIsDirectory(path *NSString, isDir bool) *NSURL
- func NSURLFileURLWithPathIsDirectoryRelativeToURL(path *NSString, isDir bool, baseURL *NSURL) *NSURL
- func NSURLFileURLWithPathRelativeToURL(path *NSString, baseURL *NSURL) *NSURL
- func NSURLFromID(id objc.ID) *NSURL
- func NSURLURLByResolvingAliasFileAtURLOptionsError(url *NSURL, options NSURLBookmarkResolutionOptions) (*NSURL, error)
- func NSURLURLByResolvingBookmarkDataOptionsRelativeToURLBookmarkDataIsStaleError(bookmarkData *NSData, options NSURLBookmarkResolutionOptions, ...) (*NSURL, error)
- func NSURLURLWithDataRepresentationRelativeToURL(data *NSData, baseURL *NSURL) *NSURL
- func NSURLURLWithString(uRLString *NSString) *NSURL
- func NSURLURLWithStringEncodingInvalidCharacters(uRLString *NSString, encodingInvalidCharacters bool) *NSURL
- func NSURLURLWithStringRelativeToURL(uRLString *NSString, baseURL *NSURL) *NSURL
- func (o *NSURL) AbsoluteString() *NSString
- func (o *NSURL) AbsoluteURL() *NSURL
- func (o *NSURL) BaseURL() *NSURL
- func (o *NSURL) BookmarkDataWithOptionsIncludingResourceValuesForKeysRelativeToURLError(options NSURLBookmarkCreationOptions, keys *NSArray[*NSString], ...) (*NSData, error)
- func (o *NSURL) CheckPromisedItemIsReachableAndReturnError() (bool, error)
- func (o *NSURL) CheckResourceIsReachableAndReturnError() (bool, error)
- func (o *NSURL) DataRepresentation() *NSData
- func (o *NSURL) FilePathURL() *NSURL
- func (o *NSURL) FileReferenceURL() *NSURL
- func (o *NSURL) FileSystemRepresentation() unsafe.Pointer
- func (o *NSURL) Fragment() *NSString
- func (o *NSURL) GetFileSystemRepresentationMaxLength(buffer string, maxBufferLength uint) bool
- func (o *NSURL) GetPromisedItemResourceValueForKeyError(value **ObjcObject, key *NSString) (bool, error)
- func (o *NSURL) GetResourceValueForKeyError(value **ObjcObject, key *NSString) (bool, error)
- func (o *NSURL) HasDirectoryPath() bool
- func (o *NSURL) Host() *NSString
- func (o *NSURL) InitAbsoluteURLWithDataRepresentationRelativeToURL(data *NSData, baseURL *NSURL) *NSURL
- func (o *NSURL) InitByResolvingBookmarkDataOptionsRelativeToURLBookmarkDataIsStaleError(bookmarkData *NSData, options NSURLBookmarkResolutionOptions, ...) (*NSURL, error)
- func (o *NSURL) InitFileURLWithFileSystemRepresentationIsDirectoryRelativeToURL(path string, isDir bool, baseURL *NSURL) *NSURL
- func (o *NSURL) InitFileURLWithPath(path *NSString) *NSURL
- func (o *NSURL) InitFileURLWithPathIsDirectory(path *NSString, isDir bool) *NSURL
- func (o *NSURL) InitFileURLWithPathIsDirectoryRelativeToURL(path *NSString, isDir bool, baseURL *NSURL) *NSURL
- func (o *NSURL) InitFileURLWithPathRelativeToURL(path *NSString, baseURL *NSURL) *NSURL
- func (o *NSURL) InitWithDataRepresentationRelativeToURL(data *NSData, baseURL *NSURL) *NSURL
- func (o *NSURL) InitWithSchemeHostPath(scheme *NSString, host *NSString, path *NSString) *NSURLdeprecated
- func (o *NSURL) InitWithString(uRLString *NSString) *NSURL
- func (o *NSURL) InitWithStringEncodingInvalidCharacters(uRLString *NSString, encodingInvalidCharacters bool) *NSURL
- func (o *NSURL) InitWithStringRelativeToURL(uRLString *NSString, baseURL *NSURL) *NSURL
- func (o *NSURL) IsFileReferenceURL() bool
- func (o *NSURL) IsFileURL() bool
- func (o *NSURL) LastPathComponent() *NSString
- func (o *NSURL) LoadResourceDataNotifyingClientUsingCache(client objc.ID, shouldUseCache bool)deprecated
- func (o *NSURL) ParameterString() *NSStringdeprecated
- func (o *NSURL) Password() *NSString
- func (o *NSURL) Path() *NSString
- func (o *NSURL) PathComponents() *NSArray[*NSString]
- func (o *NSURL) PathExtension() *NSString
- func (o *NSURL) Port() *NSNumber
- func (o *NSURL) PromisedItemResourceValuesForKeysError(keys *NSArray[*NSString]) (*NSDictionary[*NSString, objc.ID], error)
- func (o *NSURL) PropertyForKey(propertyKey *NSString) objc.IDdeprecated
- func (o *NSURL) Query() *NSStringdeprecated
- func (o *NSURL) RelativePath() *NSStringdeprecated
- func (o *NSURL) RelativeString() *NSString
- func (o *NSURL) RemoveAllCachedResourceValues()
- func (o *NSURL) RemoveCachedResourceValueForKey(key *NSString)
- func (o *NSURL) ResourceDataUsingCache(shouldUseCache bool) *NSDatadeprecated
- func (o *NSURL) ResourceSpecifier() *NSString
- func (o *NSURL) ResourceValuesForKeysError(keys *NSArray[*NSString]) (*NSDictionary[*NSString, objc.ID], error)
- func (o *NSURL) Scheme() *NSString
- func (o *NSURL) SetPropertyForKey(property objc.ID, propertyKey *NSString) booldeprecated
- func (o *NSURL) SetResourceData(data *NSData) booldeprecated
- func (o *NSURL) SetResourceValueForKeyError(value objc.ID, key *NSString) (bool, error)
- func (o *NSURL) SetResourceValuesError(keyedValues *NSDictionary[*NSString, objc.ID]) (bool, error)
- func (o *NSURL) SetTemporaryResourceValueForKey(value objc.ID, key *NSString)
- func (o *NSURL) StandardizedURL() *NSURL
- func (o *NSURL) StartAccessingSecurityScopedResource() bool
- func (o *NSURL) StopAccessingSecurityScopedResource()
- func (o *NSURL) URLByAppendingPathComponent(pathComponent *NSString) *NSURL
- func (o *NSURL) URLByAppendingPathComponentIsDirectory(pathComponent *NSString, isDirectory bool) *NSURL
- func (o *NSURL) URLByAppendingPathExtension(pathExtension *NSString) *NSURL
- func (o *NSURL) URLByDeletingLastPathComponent() *NSURL
- func (o *NSURL) URLByDeletingPathExtension() *NSURL
- func (o *NSURL) URLByResolvingSymlinksInPath() *NSURL
- func (o *NSURL) URLByStandardizingPath() *NSURL
- func (o *NSURL) URLHandleUsingCache(shouldUseCache bool) *NSURLHandledeprecated
- func (o *NSURL) User() *NSString
- type NSURLAuthenticationChallenge
- func (o *NSURLAuthenticationChallenge) Error() unsafe.Pointer
- func (o *NSURLAuthenticationChallenge) FailureResponse() *NSURLResponse
- func (o *NSURLAuthenticationChallenge) InitWithAuthenticationChallengeSender(challenge *NSURLAuthenticationChallenge, ...) *NSURLAuthenticationChallenge
- func (o *NSURLAuthenticationChallenge) InitWithProtectionSpaceProposedCredentialPreviousFailureCountFailureResponseErrorSender(space *NSURLProtectionSpace, credential *NSURLCredential, ...) *NSURLAuthenticationChallenge
- func (o *NSURLAuthenticationChallenge) PreviousFailureCount() int
- func (o *NSURLAuthenticationChallenge) ProposedCredential() *NSURLCredential
- func (o *NSURLAuthenticationChallenge) ProtectionSpace() *NSURLProtectionSpace
- func (o *NSURLAuthenticationChallenge) Sender() NSURLAuthenticationChallengeSender
- type NSURLAuthenticationChallengeSender
- type NSURLBookmarkCreationOptions
- type NSURLBookmarkResolutionOptions
- type NSURLCache
- func (o *NSURLCache) CachedResponseForRequest(request *NSURLRequest) *NSCachedURLResponse
- func (o *NSURLCache) CurrentDiskUsage() uint
- func (o *NSURLCache) CurrentMemoryUsage() uint
- func (o *NSURLCache) DiskCapacity() uint
- func (o *NSURLCache) GetCachedResponseForDataTaskCompletionHandler(dataTask *NSURLSessionDataTask, completionHandler func(*NSCachedURLResponse))
- func (o *NSURLCache) InitWithMemoryCapacityDiskCapacityDirectoryURL(memoryCapacity uint, diskCapacity uint, directoryURL *NSURL) *NSURLCache
- func (o *NSURLCache) InitWithMemoryCapacityDiskCapacityDiskPath(memoryCapacity uint, diskCapacity uint, path *NSString) *NSURLCache
- func (o *NSURLCache) MemoryCapacity() uint
- func (o *NSURLCache) RemoveAllCachedResponses()
- func (o *NSURLCache) RemoveCachedResponseForDataTask(dataTask *NSURLSessionDataTask)
- func (o *NSURLCache) RemoveCachedResponseForRequest(request *NSURLRequest)
- func (o *NSURLCache) RemoveCachedResponsesSinceDate(date *NSDate)
- func (o *NSURLCache) SetDiskCapacity(diskCapacity uint)
- func (o *NSURLCache) SetMemoryCapacity(memoryCapacity uint)
- func (o *NSURLCache) StoreCachedResponseForDataTask(cachedResponse *NSCachedURLResponse, dataTask *NSURLSessionDataTask)
- func (o *NSURLCache) StoreCachedResponseForRequest(cachedResponse *NSCachedURLResponse, request *NSURLRequest)
- type NSURLCacheStoragePolicy
- type NSURLComponents
- func NSURLComponentsComponentsWithString(uRLString *NSString) *NSURLComponents
- func NSURLComponentsComponentsWithStringEncodingInvalidCharacters(uRLString *NSString, encodingInvalidCharacters bool) *NSURLComponents
- func NSURLComponentsComponentsWithURLResolvingAgainstBaseURL(url *NSURL, resolve bool) *NSURLComponents
- func NSURLComponentsFromID(id objc.ID) *NSURLComponents
- func (o *NSURLComponents) EncodedHost() *NSString
- func (o *NSURLComponents) Fragment() *NSString
- func (o *NSURLComponents) Host() *NSString
- func (o *NSURLComponents) Init() *NSURLComponents
- func (o *NSURLComponents) InitWithString(uRLString *NSString) *NSURLComponents
- func (o *NSURLComponents) InitWithStringEncodingInvalidCharacters(uRLString *NSString, encodingInvalidCharacters bool) *NSURLComponents
- func (o *NSURLComponents) InitWithURLResolvingAgainstBaseURL(url *NSURL, resolve bool) *NSURLComponents
- func (o *NSURLComponents) Password() *NSString
- func (o *NSURLComponents) Path() *NSString
- func (o *NSURLComponents) PercentEncodedFragment() *NSStringdeprecated
- func (o *NSURLComponents) PercentEncodedHost() *NSStringdeprecated
- func (o *NSURLComponents) PercentEncodedPassword() *NSString
- func (o *NSURLComponents) PercentEncodedPath() *NSStringdeprecated
- func (o *NSURLComponents) PercentEncodedQuery() *NSStringdeprecated
- func (o *NSURLComponents) PercentEncodedQueryItems() *NSArray[*NSURLQueryItem]
- func (o *NSURLComponents) PercentEncodedUser() *NSString
- func (o *NSURLComponents) Port() *NSNumber
- func (o *NSURLComponents) Query() *NSString
- func (o *NSURLComponents) QueryItems() *NSArray[*NSURLQueryItem]
- func (o *NSURLComponents) RangeOfFragment() NSRange
- func (o *NSURLComponents) RangeOfHost() NSRange
- func (o *NSURLComponents) RangeOfPassword() NSRange
- func (o *NSURLComponents) RangeOfPath() NSRange
- func (o *NSURLComponents) RangeOfPort() NSRange
- func (o *NSURLComponents) RangeOfQuery() NSRange
- func (o *NSURLComponents) RangeOfScheme() NSRange
- func (o *NSURLComponents) RangeOfUser() NSRange
- func (o *NSURLComponents) Scheme() *NSString
- func (o *NSURLComponents) SetEncodedHost(encodedHost *NSString)
- func (o *NSURLComponents) SetFragment(fragment *NSString)
- func (o *NSURLComponents) SetHost(host *NSString)
- func (o *NSURLComponents) SetPassword(password *NSString)
- func (o *NSURLComponents) SetPath(path *NSString)
- func (o *NSURLComponents) SetPercentEncodedFragment(percentEncodedFragment *NSString)
- func (o *NSURLComponents) SetPercentEncodedHost(percentEncodedHost *NSString)deprecated
- func (o *NSURLComponents) SetPercentEncodedPassword(percentEncodedPassword *NSString)
- func (o *NSURLComponents) SetPercentEncodedPath(percentEncodedPath *NSString)
- func (o *NSURLComponents) SetPercentEncodedQuery(percentEncodedQuery *NSString)
- func (o *NSURLComponents) SetPercentEncodedQueryItems(percentEncodedQueryItems *NSArray[*NSURLQueryItem])
- func (o *NSURLComponents) SetPercentEncodedUser(percentEncodedUser *NSString)
- func (o *NSURLComponents) SetPort(port *NSNumber)
- func (o *NSURLComponents) SetQuery(query *NSString)
- func (o *NSURLComponents) SetQueryItems(queryItems *NSArray[*NSURLQueryItem])
- func (o *NSURLComponents) SetScheme(scheme *NSString)
- func (o *NSURLComponents) SetUser(user *NSString)
- func (o *NSURLComponents) String() *NSString
- func (o *NSURLComponents) URL() *NSURL
- func (o *NSURLComponents) URLRelativeToURL(baseURL *NSURL) *NSURL
- func (o *NSURLComponents) User() *NSString
- type NSURLConnection
- func (o *NSURLConnection) Cancel()
- func (o *NSURLConnection) CurrentRequest() *NSURLRequest
- func (o *NSURLConnection) InitWithRequestDelegate(request *NSURLRequest, delegate objc.ID) *NSURLConnectiondeprecated
- func (o *NSURLConnection) InitWithRequestDelegateStartImmediately(request *NSURLRequest, delegate objc.ID, startImmediately bool) *NSURLConnectiondeprecated
- func (o *NSURLConnection) OriginalRequest() *NSURLRequest
- func (o *NSURLConnection) ScheduleInRunLoopForMode(aRunLoop *NSRunLoop, mode *NSString)
- func (o *NSURLConnection) SetDelegateQueue(queue *NSOperationQueue)
- func (o *NSURLConnection) Start()
- func (o *NSURLConnection) UnscheduleFromRunLoopForMode(aRunLoop *NSRunLoop, mode *NSString)
- type NSURLConnectionDataDelegate
- type NSURLConnectionDelegate
- type NSURLConnectionDownloadDelegate
- type NSURLCredential
- func NSURLCredentialCredentialForTrust(trust unsafe.Pointer) *NSURLCredential
- func NSURLCredentialCredentialWithIdentityCertificatesPersistence(identity unsafe.Pointer, certArray *NSArray[objc.ID], ...) *NSURLCredential
- func NSURLCredentialCredentialWithUserPasswordPersistence(user *NSString, password *NSString, persistence NSURLCredentialPersistence) *NSURLCredential
- func NSURLCredentialFromID(id objc.ID) *NSURLCredential
- func (o *NSURLCredential) Certificates() *NSArray[objc.ID]
- func (o *NSURLCredential) HasPassword() bool
- func (o *NSURLCredential) Identity() unsafe.Pointer
- func (o *NSURLCredential) InitWithIdentityCertificatesPersistence(identity unsafe.Pointer, certArray *NSArray[objc.ID], ...) *NSURLCredential
- func (o *NSURLCredential) InitWithTrust(trust unsafe.Pointer) *NSURLCredential
- func (o *NSURLCredential) InitWithUserPasswordPersistence(user *NSString, password *NSString, persistence NSURLCredentialPersistence) *NSURLCredential
- func (o *NSURLCredential) Password() *NSString
- func (o *NSURLCredential) Persistence() NSURLCredentialPersistence
- func (o *NSURLCredential) User() *NSString
- type NSURLCredentialPersistence
- type NSURLCredentialStorage
- func (o *NSURLCredentialStorage) AllCredentials() *NSDictionary[*NSURLProtectionSpace, objc.ID]
- func (o *NSURLCredentialStorage) CredentialsForProtectionSpace(space *NSURLProtectionSpace) *NSDictionary[*NSString, *NSURLCredential]
- func (o *NSURLCredentialStorage) DefaultCredentialForProtectionSpace(space *NSURLProtectionSpace) *NSURLCredential
- func (o *NSURLCredentialStorage) GetCredentialsForProtectionSpaceTaskCompletionHandler(protectionSpace *NSURLProtectionSpace, task *NSURLSessionTask, ...)
- func (o *NSURLCredentialStorage) GetDefaultCredentialForProtectionSpaceTaskCompletionHandler(space *NSURLProtectionSpace, task *NSURLSessionTask, ...)
- func (o *NSURLCredentialStorage) RemoveCredentialForProtectionSpace(credential *NSURLCredential, space *NSURLProtectionSpace)
- func (o *NSURLCredentialStorage) RemoveCredentialForProtectionSpaceOptions(credential *NSURLCredential, space *NSURLProtectionSpace, ...)
- func (o *NSURLCredentialStorage) RemoveCredentialForProtectionSpaceOptionsTask(credential *NSURLCredential, protectionSpace *NSURLProtectionSpace, ...)
- func (o *NSURLCredentialStorage) SetCredentialForProtectionSpace(credential *NSURLCredential, space *NSURLProtectionSpace)
- func (o *NSURLCredentialStorage) SetCredentialForProtectionSpaceTask(credential *NSURLCredential, protectionSpace *NSURLProtectionSpace, ...)
- func (o *NSURLCredentialStorage) SetDefaultCredentialForProtectionSpace(credential *NSURLCredential, space *NSURLProtectionSpace)
- func (o *NSURLCredentialStorage) SetDefaultCredentialForProtectionSpaceTask(credential *NSURLCredential, protectionSpace *NSURLProtectionSpace, ...)
- type NSURLDownload
- func (o *NSURLDownload) Cancel()
- func (o *NSURLDownload) DeletesFileUponFailure() bool
- func (o *NSURLDownload) InitWithRequestDelegate(request *NSURLRequest, delegate NSURLDownloadDelegate) *NSURLDownload
- func (o *NSURLDownload) InitWithResumeDataDelegatePath(resumeData *NSData, delegate NSURLDownloadDelegate, path *NSString) *NSURLDownload
- func (o *NSURLDownload) Request() *NSURLRequest
- func (o *NSURLDownload) ResumeData() *NSData
- func (o *NSURLDownload) SetDeletesFileUponFailure(deletesFileUponFailure bool)
- func (o *NSURLDownload) SetDestinationAllowOverwrite(path *NSString, allowOverwrite bool)
- type NSURLDownloadDelegate
- type NSURLErrorNetworkUnavailableReason
- type NSURLHandle
- func (o *NSURLHandle) AddClient(client NSURLHandleClient)deprecated
- func (o *NSURLHandle) AvailableResourceData() *NSDatadeprecated
- func (o *NSURLHandle) BackgroundLoadDidFailWithReason(reason *NSString)deprecated
- func (o *NSURLHandle) BeginLoadInBackground()deprecated
- func (o *NSURLHandle) CancelLoadInBackground()deprecated
- func (o *NSURLHandle) DidLoadBytesLoadComplete(newBytes *NSData, yorn bool)deprecated
- func (o *NSURLHandle) EndLoadInBackground()deprecated
- func (o *NSURLHandle) ExpectedResourceDataSize() int64deprecated
- func (o *NSURLHandle) FailureReason() *NSStringdeprecated
- func (o *NSURLHandle) FlushCachedData()deprecated
- func (o *NSURLHandle) InitWithURLCached(anURL *NSURL, willCache bool) objc.IDdeprecated
- func (o *NSURLHandle) LoadInBackground()deprecated
- func (o *NSURLHandle) LoadInForeground() *NSDatadeprecated
- func (o *NSURLHandle) PropertyForKey(propertyKey *NSString) objc.IDdeprecated
- func (o *NSURLHandle) PropertyForKeyIfAvailable(propertyKey *NSString) objc.IDdeprecated
- func (o *NSURLHandle) RemoveClient(client NSURLHandleClient)deprecated
- func (o *NSURLHandle) ResourceData() *NSDatadeprecated
- func (o *NSURLHandle) Status() NSURLHandleStatusdeprecated
- func (o *NSURLHandle) WriteData(data *NSData) booldeprecated
- func (o *NSURLHandle) WritePropertyForKey(propertyValue objc.ID, propertyKey *NSString) booldeprecated
- type NSURLHandleClient
- type NSURLHandleStatus
- type NSURLProtectionSpace
- func (o *NSURLProtectionSpace) AuthenticationMethod() *NSString
- func (o *NSURLProtectionSpace) DistinguishedNames() *NSArray[*NSData]
- func (o *NSURLProtectionSpace) Host() *NSString
- func (o *NSURLProtectionSpace) InitWithHostPortProtocolRealmAuthenticationMethod(host *NSString, port int, protocol *NSString, realm *NSString, ...) *NSURLProtectionSpace
- func (o *NSURLProtectionSpace) InitWithProxyHostPortTypeRealmAuthenticationMethod(host *NSString, port int, type_ *NSString, realm *NSString, ...) *NSURLProtectionSpace
- func (o *NSURLProtectionSpace) IsProxy() bool
- func (o *NSURLProtectionSpace) Port() int
- func (o *NSURLProtectionSpace) Protocol() *NSString
- func (o *NSURLProtectionSpace) ProxyType() *NSString
- func (o *NSURLProtectionSpace) Realm() *NSString
- func (o *NSURLProtectionSpace) ReceivesCredentialSecurely() bool
- func (o *NSURLProtectionSpace) ServerTrust() unsafe.Pointer
- type NSURLProtocol
- func (o *NSURLProtocol) CachedResponse() *NSCachedURLResponse
- func (o *NSURLProtocol) Client() NSURLProtocolClient
- func (o *NSURLProtocol) InitWithRequestCachedResponseClient(request *NSURLRequest, cachedResponse *NSCachedURLResponse, ...) *NSURLProtocol
- func (o *NSURLProtocol) InitWithTaskCachedResponseClient(task *NSURLSessionTask, cachedResponse *NSCachedURLResponse, ...) *NSURLProtocol
- func (o *NSURLProtocol) Request() *NSURLRequest
- func (o *NSURLProtocol) StartLoading()
- func (o *NSURLProtocol) StopLoading()
- func (o *NSURLProtocol) Task() *NSURLSessionTask
- type NSURLProtocolClient
- type NSURLQueryItem
- type NSURLRelationship
- type NSURLRequest
- func NSURLProtocolCanonicalRequestForRequest(request *NSURLRequest) *NSURLRequest
- func NSURLRequestFromID(id objc.ID) *NSURLRequest
- func NSURLRequestRequestWithURL(uRL *NSURL) *NSURLRequest
- func NSURLRequestRequestWithURLCachePolicyTimeoutInterval(uRL *NSURL, cachePolicy NSURLRequestCachePolicy, timeoutInterval float64) *NSURLRequest
- func (o *NSURLRequest) AllHTTPHeaderFields() *NSDictionary[*NSString, *NSString]
- func (o *NSURLRequest) AllowsCellularAccess() bool
- func (o *NSURLRequest) AllowsConstrainedNetworkAccess() bool
- func (o *NSURLRequest) AllowsExpensiveNetworkAccess() bool
- func (o *NSURLRequest) AllowsPersistentDNS() bool
- func (o *NSURLRequest) AllowsUltraConstrainedNetworkAccess() bool
- func (o *NSURLRequest) AssumesHTTP3Capable() bool
- func (o *NSURLRequest) Attribution() NSURLRequestAttribution
- func (o *NSURLRequest) CachePolicy() NSURLRequestCachePolicy
- func (o *NSURLRequest) CookiePartitionIdentifier() *NSString
- func (o *NSURLRequest) HTTPBody() *NSData
- func (o *NSURLRequest) HTTPBodyStream() *NSInputStream
- func (o *NSURLRequest) HTTPMethod() *NSString
- func (o *NSURLRequest) HTTPShouldHandleCookies() bool
- func (o *NSURLRequest) HTTPShouldUsePipelining() bool
- func (o *NSURLRequest) InitWithURL(uRL *NSURL) *NSURLRequest
- func (o *NSURLRequest) InitWithURLCachePolicyTimeoutInterval(uRL *NSURL, cachePolicy NSURLRequestCachePolicy, timeoutInterval float64) *NSURLRequest
- func (o *NSURLRequest) MainDocumentURL() *NSURL
- func (o *NSURLRequest) NetworkServiceType() NSURLRequestNetworkServiceType
- func (o *NSURLRequest) RequiresDNSSECValidation() bool
- func (o *NSURLRequest) TimeoutInterval() float64
- func (o *NSURLRequest) URL() *NSURL
- func (o *NSURLRequest) ValueForHTTPHeaderField(field *NSString) *NSString
- type NSURLRequestAttribution
- type NSURLRequestCachePolicy
- type NSURLRequestNetworkServiceType
- type NSURLResponse
- func (o *NSURLResponse) ExpectedContentLength() int64
- func (o *NSURLResponse) InitWithURLMIMETypeExpectedContentLengthTextEncodingName(uRL *NSURL, mIMEType *NSString, length int, name *NSString) *NSURLResponse
- func (o *NSURLResponse) MIMEType() *NSString
- func (o *NSURLResponse) SuggestedFilename() *NSString
- func (o *NSURLResponse) TextEncodingName() *NSString
- func (o *NSURLResponse) URL() *NSURL
- type NSURLSession
- func NSURLSessionFromID(id objc.ID) *NSURLSession
- func NSURLSessionNew() *NSURLSessiondeprecated
- func NSURLSessionSessionWithConfiguration(configuration *NSURLSessionConfiguration) *NSURLSession
- func NSURLSessionSessionWithConfigurationDelegateDelegateQueue(configuration *NSURLSessionConfiguration, delegate NSURLSessionDelegate, ...) *NSURLSession
- func NSURLSessionSharedSession() *NSURLSession
- func (o *NSURLSession) Configuration() *NSURLSessionConfiguration
- func (o *NSURLSession) DataTaskWithRequest(request *NSURLRequest) *NSURLSessionDataTask
- func (o *NSURLSession) DataTaskWithRequestCompletionHandler(request *NSURLRequest, ...) *NSURLSessionDataTask
- func (o *NSURLSession) DataTaskWithURL(url *NSURL) *NSURLSessionDataTask
- func (o *NSURLSession) DataTaskWithURLCompletionHandler(url *NSURL, completionHandler func(*NSData, *NSURLResponse, unsafe.Pointer)) *NSURLSessionDataTask
- func (o *NSURLSession) Delegate() NSURLSessionDelegate
- func (o *NSURLSession) DelegateQueue() *NSOperationQueue
- func (o *NSURLSession) DownloadTaskWithRequest(request *NSURLRequest) *NSURLSessionDownloadTask
- func (o *NSURLSession) DownloadTaskWithRequestCompletionHandler(request *NSURLRequest, ...) *NSURLSessionDownloadTask
- func (o *NSURLSession) DownloadTaskWithResumeData(resumeData *NSData) *NSURLSessionDownloadTask
- func (o *NSURLSession) DownloadTaskWithResumeDataCompletionHandler(resumeData *NSData, ...) *NSURLSessionDownloadTask
- func (o *NSURLSession) DownloadTaskWithURL(url *NSURL) *NSURLSessionDownloadTask
- func (o *NSURLSession) DownloadTaskWithURLCompletionHandler(url *NSURL, completionHandler func(*NSURL, *NSURLResponse, unsafe.Pointer)) *NSURLSessionDownloadTask
- func (o *NSURLSession) FinishTasksAndInvalidate()
- func (o *NSURLSession) FlushWithCompletionHandler(completionHandler func())
- func (o *NSURLSession) GetAllTasksWithCompletionHandler(completionHandler func(*NSArray[*NSURLSessionTask]))
- func (o *NSURLSession) GetTasksWithCompletionHandler(...)
- func (o *NSURLSession) Init() *NSURLSessiondeprecated
- func (o *NSURLSession) InvalidateAndCancel()
- func (o *NSURLSession) ResetWithCompletionHandler(completionHandler func())
- func (o *NSURLSession) SessionDescription() *NSString
- func (o *NSURLSession) SetSessionDescription(sessionDescription *NSString)
- func (o *NSURLSession) StreamTaskWithHostNamePort(hostname *NSString, port int) *NSURLSessionStreamTask
- func (o *NSURLSession) StreamTaskWithNetService(service *NSNetService) *NSURLSessionStreamTaskdeprecated
- func (o *NSURLSession) UploadTaskWithRequestFromData(request *NSURLRequest, bodyData *NSData) *NSURLSessionUploadTask
- func (o *NSURLSession) UploadTaskWithRequestFromDataCompletionHandler(request *NSURLRequest, bodyData *NSData, ...) *NSURLSessionUploadTask
- func (o *NSURLSession) UploadTaskWithRequestFromFile(request *NSURLRequest, fileURL *NSURL) *NSURLSessionUploadTask
- func (o *NSURLSession) UploadTaskWithRequestFromFileCompletionHandler(request *NSURLRequest, fileURL *NSURL, ...) *NSURLSessionUploadTask
- func (o *NSURLSession) UploadTaskWithResumeData(resumeData *NSData) *NSURLSessionUploadTask
- func (o *NSURLSession) UploadTaskWithResumeDataCompletionHandler(resumeData *NSData, ...) *NSURLSessionUploadTask
- func (o *NSURLSession) UploadTaskWithStreamedRequest(request *NSURLRequest) *NSURLSessionUploadTask
- func (o *NSURLSession) WebSocketTaskWithRequest(request *NSURLRequest) *NSURLSessionWebSocketTask
- func (o *NSURLSession) WebSocketTaskWithURL(url *NSURL) *NSURLSessionWebSocketTask
- func (o *NSURLSession) WebSocketTaskWithURLProtocols(url *NSURL, protocols *NSArray[*NSString]) *NSURLSessionWebSocketTask
- type NSURLSessionAuthChallengeDisposition
- type NSURLSessionConfiguration
- func NSURLSessionConfigurationBackgroundSessionConfiguration(identifier *NSString) *NSURLSessionConfigurationdeprecated
- func NSURLSessionConfigurationBackgroundSessionConfigurationWithIdentifier(identifier *NSString) *NSURLSessionConfiguration
- func NSURLSessionConfigurationDefaultSessionConfiguration() *NSURLSessionConfiguration
- func NSURLSessionConfigurationEphemeralSessionConfiguration() *NSURLSessionConfiguration
- func NSURLSessionConfigurationFromID(id objc.ID) *NSURLSessionConfiguration
- func NSURLSessionConfigurationNew() *NSURLSessionConfigurationdeprecated
- func (o *NSURLSessionConfiguration) AllowsCellularAccess() bool
- func (o *NSURLSessionConfiguration) AllowsConstrainedNetworkAccess() bool
- func (o *NSURLSessionConfiguration) AllowsExpensiveNetworkAccess() bool
- func (o *NSURLSessionConfiguration) AllowsUltraConstrainedNetworkAccess() bool
- func (o *NSURLSessionConfiguration) ConnectionProxyDictionary() *NSDictionary[objc.ID, objc.ID]
- func (o *NSURLSessionConfiguration) EnablesEarlyData() bool
- func (o *NSURLSessionConfiguration) HTTPAdditionalHeaders() *NSDictionary[objc.ID, objc.ID]
- func (o *NSURLSessionConfiguration) HTTPCookieAcceptPolicy() NSHTTPCookieAcceptPolicy
- func (o *NSURLSessionConfiguration) HTTPCookieStorage() *NSHTTPCookieStorage
- func (o *NSURLSessionConfiguration) HTTPMaximumConnectionsPerHost() int
- func (o *NSURLSessionConfiguration) HTTPShouldSetCookies() booldeprecated
- func (o *NSURLSessionConfiguration) HTTPShouldUsePipelining() booldeprecated
- func (o *NSURLSessionConfiguration) Identifier() *NSString
- func (o *NSURLSessionConfiguration) Init() *NSURLSessionConfigurationdeprecated
- func (o *NSURLSessionConfiguration) IsDiscretionary() bool
- func (o *NSURLSessionConfiguration) NetworkServiceType() NSURLRequestNetworkServiceType
- func (o *NSURLSessionConfiguration) ProtocolClasses() *NSArray[objc.Class]
- func (o *NSURLSessionConfiguration) RequestCachePolicy() NSURLRequestCachePolicy
- func (o *NSURLSessionConfiguration) RequiresDNSSECValidation() bool
- func (o *NSURLSessionConfiguration) SessionSendsLaunchEvents() bool
- func (o *NSURLSessionConfiguration) SetAllowsCellularAccess(allowsCellularAccess bool)
- func (o *NSURLSessionConfiguration) SetAllowsConstrainedNetworkAccess(allowsConstrainedNetworkAccess bool)
- func (o *NSURLSessionConfiguration) SetAllowsExpensiveNetworkAccess(allowsExpensiveNetworkAccess bool)
- func (o *NSURLSessionConfiguration) SetAllowsUltraConstrainedNetworkAccess(allowsUltraConstrainedNetworkAccess bool)
- func (o *NSURLSessionConfiguration) SetConnectionProxyDictionary(connectionProxyDictionary *NSDictionary[objc.ID, objc.ID])
- func (o *NSURLSessionConfiguration) SetDiscretionary(discretionary bool)
- func (o *NSURLSessionConfiguration) SetEnablesEarlyData(enablesEarlyData bool)
- func (o *NSURLSessionConfiguration) SetHTTPAdditionalHeaders(hTTPAdditionalHeaders *NSDictionary[objc.ID, objc.ID])
- func (o *NSURLSessionConfiguration) SetHTTPCookieAcceptPolicy(hTTPCookieAcceptPolicy NSHTTPCookieAcceptPolicy)
- func (o *NSURLSessionConfiguration) SetHTTPCookieStorage(hTTPCookieStorage *NSHTTPCookieStorage)
- func (o *NSURLSessionConfiguration) SetHTTPMaximumConnectionsPerHost(hTTPMaximumConnectionsPerHost int)
- func (o *NSURLSessionConfiguration) SetHTTPShouldSetCookies(hTTPShouldSetCookies bool)
- func (o *NSURLSessionConfiguration) SetHTTPShouldUsePipelining(hTTPShouldUsePipelining bool)deprecated
- func (o *NSURLSessionConfiguration) SetNetworkServiceType(networkServiceType NSURLRequestNetworkServiceType)
- func (o *NSURLSessionConfiguration) SetProtocolClasses(protocolClasses *NSArray[objc.Class])
- func (o *NSURLSessionConfiguration) SetRequestCachePolicy(requestCachePolicy NSURLRequestCachePolicy)
- func (o *NSURLSessionConfiguration) SetRequiresDNSSECValidation(requiresDNSSECValidation bool)
- func (o *NSURLSessionConfiguration) SetSessionSendsLaunchEvents(sessionSendsLaunchEvents bool)
- func (o *NSURLSessionConfiguration) SetSharedContainerIdentifier(sharedContainerIdentifier *NSString)
- func (o *NSURLSessionConfiguration) SetShouldUseExtendedBackgroundIdleMode(shouldUseExtendedBackgroundIdleMode bool)deprecated
- func (o *NSURLSessionConfiguration) SetTLSMaximumSupportedProtocol(tLSMaximumSupportedProtocol security.SSLProtocol)deprecated
- func (o *NSURLSessionConfiguration) SetTLSMaximumSupportedProtocolVersion(tLSMaximumSupportedProtocolVersion security.Tls_protocol_version_t)
- func (o *NSURLSessionConfiguration) SetTLSMinimumSupportedProtocol(tLSMinimumSupportedProtocol security.SSLProtocol)deprecated
- func (o *NSURLSessionConfiguration) SetTLSMinimumSupportedProtocolVersion(tLSMinimumSupportedProtocolVersion security.Tls_protocol_version_t)
- func (o *NSURLSessionConfiguration) SetTimeoutIntervalForRequest(timeoutIntervalForRequest float64)
- func (o *NSURLSessionConfiguration) SetTimeoutIntervalForResource(timeoutIntervalForResource float64)
- func (o *NSURLSessionConfiguration) SetURLCache(uRLCache *NSURLCache)
- func (o *NSURLSessionConfiguration) SetURLCredentialStorage(uRLCredentialStorage *NSURLCredentialStorage)
- func (o *NSURLSessionConfiguration) SetUsesClassicLoadingMode(usesClassicLoadingMode bool)
- func (o *NSURLSessionConfiguration) SetWaitsForConnectivity(waitsForConnectivity bool)
- func (o *NSURLSessionConfiguration) SharedContainerIdentifier() *NSString
- func (o *NSURLSessionConfiguration) ShouldUseExtendedBackgroundIdleMode() booldeprecated
- func (o *NSURLSessionConfiguration) TLSMaximumSupportedProtocol() security.SSLProtocoldeprecated
- func (o *NSURLSessionConfiguration) TLSMaximumSupportedProtocolVersion() security.Tls_protocol_version_t
- func (o *NSURLSessionConfiguration) TLSMinimumSupportedProtocol() security.SSLProtocoldeprecated
- func (o *NSURLSessionConfiguration) TLSMinimumSupportedProtocolVersion() security.Tls_protocol_version_t
- func (o *NSURLSessionConfiguration) TimeoutIntervalForRequest() float64
- func (o *NSURLSessionConfiguration) TimeoutIntervalForResource() float64
- func (o *NSURLSessionConfiguration) URLCache() *NSURLCache
- func (o *NSURLSessionConfiguration) URLCredentialStorage() *NSURLCredentialStorage
- func (o *NSURLSessionConfiguration) UsesClassicLoadingMode() bool
- func (o *NSURLSessionConfiguration) WaitsForConnectivity() bool
- type NSURLSessionDataDelegate
- type NSURLSessionDataTask
- type NSURLSessionDelayedRequestDisposition
- type NSURLSessionDelegate
- type NSURLSessionDownloadDelegate
- type NSURLSessionDownloadTask
- type NSURLSessionResponseDisposition
- type NSURLSessionStreamDelegate
- type NSURLSessionStreamTask
- func (o *NSURLSessionStreamTask) CaptureStreams()
- func (o *NSURLSessionStreamTask) CloseRead()
- func (o *NSURLSessionStreamTask) CloseWrite()
- func (o *NSURLSessionStreamTask) Init() *NSURLSessionStreamTaskdeprecated
- func (o *NSURLSessionStreamTask) ReadDataOfMinLengthMaxLengthTimeoutCompletionHandler(minBytes uint, maxBytes uint, timeout float64, ...)
- func (o *NSURLSessionStreamTask) StartSecureConnection()
- func (o *NSURLSessionStreamTask) StopSecureConnection()deprecated
- func (o *NSURLSessionStreamTask) WriteDataTimeoutCompletionHandler(data *NSData, timeout float64, completionHandler func(unsafe.Pointer))
- type NSURLSessionTask
- func (o *NSURLSessionTask) Cancel()
- func (o *NSURLSessionTask) CountOfBytesClientExpectsToReceive() int64
- func (o *NSURLSessionTask) CountOfBytesClientExpectsToSend() int64
- func (o *NSURLSessionTask) CountOfBytesExpectedToReceive() int64
- func (o *NSURLSessionTask) CountOfBytesExpectedToSend() int64
- func (o *NSURLSessionTask) CountOfBytesReceived() int64
- func (o *NSURLSessionTask) CountOfBytesSent() int64
- func (o *NSURLSessionTask) CurrentRequest() *NSURLRequest
- func (o *NSURLSessionTask) Delegate() NSURLSessionTaskDelegate
- func (o *NSURLSessionTask) EarliestBeginDate() *NSDate
- func (o *NSURLSessionTask) Error() unsafe.Pointer
- func (o *NSURLSessionTask) Init() *NSURLSessionTaskdeprecated
- func (o *NSURLSessionTask) OriginalRequest() *NSURLRequest
- func (o *NSURLSessionTask) PrefersIncrementalDelivery() bool
- func (o *NSURLSessionTask) Priority() float32
- func (o *NSURLSessionTask) Progress() *NSProgress
- func (o *NSURLSessionTask) Response() *NSURLResponse
- func (o *NSURLSessionTask) Resume()
- func (o *NSURLSessionTask) SetCountOfBytesClientExpectsToReceive(countOfBytesClientExpectsToReceive int64)
- func (o *NSURLSessionTask) SetCountOfBytesClientExpectsToSend(countOfBytesClientExpectsToSend int64)
- func (o *NSURLSessionTask) SetDelegate(delegate NSURLSessionTaskDelegate)
- func (o *NSURLSessionTask) SetEarliestBeginDate(earliestBeginDate *NSDate)
- func (o *NSURLSessionTask) SetPrefersIncrementalDelivery(prefersIncrementalDelivery bool)
- func (o *NSURLSessionTask) SetPriority(priority float32)
- func (o *NSURLSessionTask) SetTaskDescription(taskDescription *NSString)
- func (o *NSURLSessionTask) State() NSURLSessionTaskState
- func (o *NSURLSessionTask) Suspend()
- func (o *NSURLSessionTask) TaskDescription() *NSString
- func (o *NSURLSessionTask) TaskIdentifier() uint
- type NSURLSessionTaskDelegate
- type NSURLSessionTaskMetrics
- type NSURLSessionTaskMetricsDomainResolutionProtocol
- type NSURLSessionTaskMetricsResourceFetchType
- type NSURLSessionTaskState
- type NSURLSessionTaskTransactionMetrics
- func (o *NSURLSessionTaskTransactionMetrics) ConnectEndDate() *NSDate
- func (o *NSURLSessionTaskTransactionMetrics) ConnectStartDate() *NSDate
- func (o *NSURLSessionTaskTransactionMetrics) CountOfRequestBodyBytesBeforeEncoding() int64
- func (o *NSURLSessionTaskTransactionMetrics) CountOfRequestBodyBytesSent() int64
- func (o *NSURLSessionTaskTransactionMetrics) CountOfRequestHeaderBytesSent() int64
- func (o *NSURLSessionTaskTransactionMetrics) CountOfResponseBodyBytesAfterDecoding() int64
- func (o *NSURLSessionTaskTransactionMetrics) CountOfResponseBodyBytesReceived() int64
- func (o *NSURLSessionTaskTransactionMetrics) CountOfResponseHeaderBytesReceived() int64
- func (o *NSURLSessionTaskTransactionMetrics) DomainLookupEndDate() *NSDate
- func (o *NSURLSessionTaskTransactionMetrics) DomainLookupStartDate() *NSDate
- func (o *NSURLSessionTaskTransactionMetrics) DomainResolutionProtocol() NSURLSessionTaskMetricsDomainResolutionProtocol
- func (o *NSURLSessionTaskTransactionMetrics) FetchStartDate() *NSDate
- func (o *NSURLSessionTaskTransactionMetrics) Init() *NSURLSessionTaskTransactionMetricsdeprecated
- func (o *NSURLSessionTaskTransactionMetrics) IsCellular() bool
- func (o *NSURLSessionTaskTransactionMetrics) IsConstrained() bool
- func (o *NSURLSessionTaskTransactionMetrics) IsExpensive() bool
- func (o *NSURLSessionTaskTransactionMetrics) IsMultipath() bool
- func (o *NSURLSessionTaskTransactionMetrics) IsProxyConnection() bool
- func (o *NSURLSessionTaskTransactionMetrics) IsReusedConnection() bool
- func (o *NSURLSessionTaskTransactionMetrics) LocalAddress() *NSString
- func (o *NSURLSessionTaskTransactionMetrics) LocalPort() *NSNumber
- func (o *NSURLSessionTaskTransactionMetrics) NegotiatedTLSCipherSuite() *NSNumber
- func (o *NSURLSessionTaskTransactionMetrics) NegotiatedTLSProtocolVersion() *NSNumber
- func (o *NSURLSessionTaskTransactionMetrics) NetworkProtocolName() *NSString
- func (o *NSURLSessionTaskTransactionMetrics) RemoteAddress() *NSString
- func (o *NSURLSessionTaskTransactionMetrics) RemotePort() *NSNumber
- func (o *NSURLSessionTaskTransactionMetrics) Request() *NSURLRequest
- func (o *NSURLSessionTaskTransactionMetrics) RequestEndDate() *NSDate
- func (o *NSURLSessionTaskTransactionMetrics) RequestStartDate() *NSDate
- func (o *NSURLSessionTaskTransactionMetrics) ResourceFetchType() NSURLSessionTaskMetricsResourceFetchType
- func (o *NSURLSessionTaskTransactionMetrics) Response() *NSURLResponse
- func (o *NSURLSessionTaskTransactionMetrics) ResponseEndDate() *NSDate
- func (o *NSURLSessionTaskTransactionMetrics) ResponseStartDate() *NSDate
- func (o *NSURLSessionTaskTransactionMetrics) SecureConnectionEndDate() *NSDate
- func (o *NSURLSessionTaskTransactionMetrics) SecureConnectionStartDate() *NSDate
- type NSURLSessionUploadTask
- type NSURLSessionWebSocketCloseCode
- type NSURLSessionWebSocketDelegate
- type NSURLSessionWebSocketMessage
- func (o *NSURLSessionWebSocketMessage) Data() *NSData
- func (o *NSURLSessionWebSocketMessage) InitWithData(data *NSData) *NSURLSessionWebSocketMessage
- func (o *NSURLSessionWebSocketMessage) InitWithString(string_ *NSString) *NSURLSessionWebSocketMessage
- func (o *NSURLSessionWebSocketMessage) String() *NSString
- func (o *NSURLSessionWebSocketMessage) Type() NSURLSessionWebSocketMessageType
- type NSURLSessionWebSocketMessageType
- type NSURLSessionWebSocketTask
- func (o *NSURLSessionWebSocketTask) CancelWithCloseCodeReason(closeCode NSURLSessionWebSocketCloseCode, reason *NSData)
- func (o *NSURLSessionWebSocketTask) CloseCode() NSURLSessionWebSocketCloseCode
- func (o *NSURLSessionWebSocketTask) CloseReason() *NSData
- func (o *NSURLSessionWebSocketTask) MaximumMessageSize() int
- func (o *NSURLSessionWebSocketTask) ReceiveMessageWithCompletionHandler(completionHandler func(*NSURLSessionWebSocketMessage, unsafe.Pointer))
- func (o *NSURLSessionWebSocketTask) SendMessageCompletionHandler(message *NSURLSessionWebSocketMessage, completionHandler func(unsafe.Pointer))
- func (o *NSURLSessionWebSocketTask) SendPingWithPongReceiveHandler(pongReceiveHandler func(unsafe.Pointer))
- func (o *NSURLSessionWebSocketTask) SetMaximumMessageSize(maximumMessageSize int)
- type NSUUID
- type NSUbiquitousKeyValueStore
- func (o *NSUbiquitousKeyValueStore) ArrayForKey(aKey *NSString) *NSArray[objc.ID]
- func (o *NSUbiquitousKeyValueStore) BoolForKey(aKey *NSString) bool
- func (o *NSUbiquitousKeyValueStore) DataForKey(aKey *NSString) *NSData
- func (o *NSUbiquitousKeyValueStore) DictionaryForKey(aKey *NSString) *NSDictionary[*NSString, objc.ID]
- func (o *NSUbiquitousKeyValueStore) DictionaryRepresentation() *NSDictionary[*NSString, objc.ID]
- func (o *NSUbiquitousKeyValueStore) DoubleForKey(aKey *NSString) float64
- func (o *NSUbiquitousKeyValueStore) LongLongForKey(aKey *NSString) int64
- func (o *NSUbiquitousKeyValueStore) ObjectForKey(aKey *NSString) objc.ID
- func (o *NSUbiquitousKeyValueStore) RemoveObjectForKey(aKey *NSString)
- func (o *NSUbiquitousKeyValueStore) SetArrayForKey(anArray *NSArray[objc.ID], aKey *NSString)
- func (o *NSUbiquitousKeyValueStore) SetBoolForKey(value bool, aKey *NSString)
- func (o *NSUbiquitousKeyValueStore) SetDataForKey(aData *NSData, aKey *NSString)
- func (o *NSUbiquitousKeyValueStore) SetDictionaryForKey(aDictionary *NSDictionary[*NSString, objc.ID], aKey *NSString)
- func (o *NSUbiquitousKeyValueStore) SetDoubleForKey(value float64, aKey *NSString)
- func (o *NSUbiquitousKeyValueStore) SetLongLongForKey(value int64, aKey *NSString)
- func (o *NSUbiquitousKeyValueStore) SetObjectForKey(anObject objc.ID, aKey *NSString)
- func (o *NSUbiquitousKeyValueStore) SetStringForKey(aString *NSString, aKey *NSString)
- func (o *NSUbiquitousKeyValueStore) StringForKey(aKey *NSString) *NSString
- func (o *NSUbiquitousKeyValueStore) Synchronize() bool
- type NSUnarchiver
- func (o *NSUnarchiver) ClassNameDecodedForArchiveClassName(inArchiveName *NSString) *NSString
- func (o *NSUnarchiver) DecodeClassNameAsClassName(inArchiveName *NSString, trueName *NSString)
- func (o *NSUnarchiver) InitForReadingWithData(data *NSData) *NSUnarchiver
- func (o *NSUnarchiver) IsAtEnd() bool
- func (o *NSUnarchiver) ReplaceObjectWithObject(object objc.ID, newObject objc.ID)
- type NSUndoManager
- func (o *NSUndoManager) BeginUndoGrouping()
- func (o *NSUndoManager) CanRedo() bool
- func (o *NSUndoManager) CanUndo() bool
- func (o *NSUndoManager) DisableUndoRegistration()
- func (o *NSUndoManager) EnableUndoRegistration()
- func (o *NSUndoManager) EndUndoGrouping()
- func (o *NSUndoManager) GroupingLevel() int
- func (o *NSUndoManager) GroupsByEvent() bool
- func (o *NSUndoManager) IsRedoing() bool
- func (o *NSUndoManager) IsUndoRegistrationEnabled() bool
- func (o *NSUndoManager) IsUndoing() bool
- func (o *NSUndoManager) LevelsOfUndo() uint
- func (o *NSUndoManager) PrepareWithInvocationTarget(target objc.ID) objc.ID
- func (o *NSUndoManager) Redo()
- func (o *NSUndoManager) RedoActionIsDiscardable() bool
- func (o *NSUndoManager) RedoActionName() *NSString
- func (o *NSUndoManager) RedoActionUserInfoValueForKey(key *NSString) objc.ID
- func (o *NSUndoManager) RedoCount() uint
- func (o *NSUndoManager) RedoMenuItemTitle() *NSString
- func (o *NSUndoManager) RedoMenuTitleForUndoActionName(actionName *NSString) *NSString
- func (o *NSUndoManager) RegisterUndoWithTargetHandler(target objc.ID, undoHandler func(objc.ID))
- func (o *NSUndoManager) RegisterUndoWithTargetSelectorObject(target objc.ID, selector objc.SEL, object objc.ID)
- func (o *NSUndoManager) RemoveAllActions()
- func (o *NSUndoManager) RemoveAllActionsWithTarget(target objc.ID)
- func (o *NSUndoManager) RunLoopModes() *NSArray[*NSString]
- func (o *NSUndoManager) SetActionIsDiscardable(discardable bool)
- func (o *NSUndoManager) SetActionName(actionName *NSString)
- func (o *NSUndoManager) SetActionUserInfoValueForKey(info objc.ID, key *NSString)
- func (o *NSUndoManager) SetGroupsByEvent(groupsByEvent bool)
- func (o *NSUndoManager) SetLevelsOfUndo(levelsOfUndo uint)
- func (o *NSUndoManager) SetRunLoopModes(runLoopModes *NSArray[*NSString])
- func (o *NSUndoManager) Undo()
- func (o *NSUndoManager) UndoActionIsDiscardable() bool
- func (o *NSUndoManager) UndoActionName() *NSString
- func (o *NSUndoManager) UndoActionUserInfoValueForKey(key *NSString) objc.ID
- func (o *NSUndoManager) UndoCount() uint
- func (o *NSUndoManager) UndoMenuItemTitle() *NSString
- func (o *NSUndoManager) UndoMenuTitleForUndoActionName(actionName *NSString) *NSString
- func (o *NSUndoManager) UndoNestedGroup()
- type NSUniqueIDSpecifier
- func (o *NSUniqueIDSpecifier) InitWithCoder(inCoder *NSCoder) *NSUniqueIDSpecifier
- func (o *NSUniqueIDSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyUniqueID(classDesc *NSScriptClassDescription, container *NSScriptObjectSpecifier, ...) *NSUniqueIDSpecifier
- func (o *NSUniqueIDSpecifier) SetUniqueID(uniqueID objc.ID)
- func (o *NSUniqueIDSpecifier) UniqueID() objc.ID
- type NSUnit
- type NSUnitAcceleration
- type NSUnitAngle
- type NSUnitArea
- func NSUnitAreaAcres() *NSUnitArea
- func NSUnitAreaAres() *NSUnitArea
- func NSUnitAreaFromID(id objc.ID) *NSUnitArea
- func NSUnitAreaHectares() *NSUnitArea
- func NSUnitAreaSquareCentimeters() *NSUnitArea
- func NSUnitAreaSquareFeet() *NSUnitArea
- func NSUnitAreaSquareInches() *NSUnitArea
- func NSUnitAreaSquareKilometers() *NSUnitArea
- func NSUnitAreaSquareMegameters() *NSUnitArea
- func NSUnitAreaSquareMeters() *NSUnitArea
- func NSUnitAreaSquareMicrometers() *NSUnitArea
- func NSUnitAreaSquareMiles() *NSUnitArea
- func NSUnitAreaSquareMillimeters() *NSUnitArea
- func NSUnitAreaSquareNanometers() *NSUnitArea
- func NSUnitAreaSquareYards() *NSUnitArea
- type NSUnitConcentrationMass
- func NSUnitConcentrationMassFromID(id objc.ID) *NSUnitConcentrationMass
- func NSUnitConcentrationMassGramsPerLiter() *NSUnitConcentrationMass
- func NSUnitConcentrationMassMilligramsPerDeciliter() *NSUnitConcentrationMass
- func NSUnitConcentrationMassMillimolesPerLiterWithGramsPerMole(gramsPerMole float64) *NSUnitConcentrationMass
- type NSUnitConverter
- type NSUnitConverterLinear
- func (o *NSUnitConverterLinear) Coefficient() float64
- func (o *NSUnitConverterLinear) Constant() float64
- func (o *NSUnitConverterLinear) InitWithCoefficient(coefficient float64) *NSUnitConverterLinear
- func (o *NSUnitConverterLinear) InitWithCoefficientConstant(coefficient float64, constant float64) *NSUnitConverterLinear
- type NSUnitDispersion
- type NSUnitDuration
- func NSUnitDurationFromID(id objc.ID) *NSUnitDuration
- func NSUnitDurationHours() *NSUnitDuration
- func NSUnitDurationMicroseconds() *NSUnitDuration
- func NSUnitDurationMilliseconds() *NSUnitDuration
- func NSUnitDurationMinutes() *NSUnitDuration
- func NSUnitDurationNanoseconds() *NSUnitDuration
- func NSUnitDurationPicoseconds() *NSUnitDuration
- func NSUnitDurationSeconds() *NSUnitDuration
- type NSUnitElectricCharge
- func NSUnitElectricChargeAmpereHours() *NSUnitElectricCharge
- func NSUnitElectricChargeCoulombs() *NSUnitElectricCharge
- func NSUnitElectricChargeFromID(id objc.ID) *NSUnitElectricCharge
- func NSUnitElectricChargeKiloampereHours() *NSUnitElectricCharge
- func NSUnitElectricChargeMegaampereHours() *NSUnitElectricCharge
- func NSUnitElectricChargeMicroampereHours() *NSUnitElectricCharge
- func NSUnitElectricChargeMilliampereHours() *NSUnitElectricCharge
- type NSUnitElectricCurrent
- func NSUnitElectricCurrentAmperes() *NSUnitElectricCurrent
- func NSUnitElectricCurrentFromID(id objc.ID) *NSUnitElectricCurrent
- func NSUnitElectricCurrentKiloamperes() *NSUnitElectricCurrent
- func NSUnitElectricCurrentMegaamperes() *NSUnitElectricCurrent
- func NSUnitElectricCurrentMicroamperes() *NSUnitElectricCurrent
- func NSUnitElectricCurrentMilliamperes() *NSUnitElectricCurrent
- type NSUnitElectricPotentialDifference
- func NSUnitElectricPotentialDifferenceFromID(id objc.ID) *NSUnitElectricPotentialDifference
- func NSUnitElectricPotentialDifferenceKilovolts() *NSUnitElectricPotentialDifference
- func NSUnitElectricPotentialDifferenceMegavolts() *NSUnitElectricPotentialDifference
- func NSUnitElectricPotentialDifferenceMicrovolts() *NSUnitElectricPotentialDifference
- func NSUnitElectricPotentialDifferenceMillivolts() *NSUnitElectricPotentialDifference
- func NSUnitElectricPotentialDifferenceVolts() *NSUnitElectricPotentialDifference
- type NSUnitElectricResistance
- func NSUnitElectricResistanceFromID(id objc.ID) *NSUnitElectricResistance
- func NSUnitElectricResistanceKiloohms() *NSUnitElectricResistance
- func NSUnitElectricResistanceMegaohms() *NSUnitElectricResistance
- func NSUnitElectricResistanceMicroohms() *NSUnitElectricResistance
- func NSUnitElectricResistanceMilliohms() *NSUnitElectricResistance
- func NSUnitElectricResistanceOhms() *NSUnitElectricResistance
- type NSUnitEnergy
- type NSUnitFrequency
- func NSUnitFrequencyFramesPerSecond() *NSUnitFrequency
- func NSUnitFrequencyFromID(id objc.ID) *NSUnitFrequency
- func NSUnitFrequencyGigahertz() *NSUnitFrequency
- func NSUnitFrequencyHertz() *NSUnitFrequency
- func NSUnitFrequencyKilohertz() *NSUnitFrequency
- func NSUnitFrequencyMegahertz() *NSUnitFrequency
- func NSUnitFrequencyMicrohertz() *NSUnitFrequency
- func NSUnitFrequencyMillihertz() *NSUnitFrequency
- func NSUnitFrequencyNanohertz() *NSUnitFrequency
- func NSUnitFrequencyTerahertz() *NSUnitFrequency
- type NSUnitFuelEfficiency
- type NSUnitIlluminance
- type NSUnitInformationStorage
- func NSUnitInformationStorageBits() *NSUnitInformationStorage
- func NSUnitInformationStorageBytes() *NSUnitInformationStorage
- func NSUnitInformationStorageExabits() *NSUnitInformationStorage
- func NSUnitInformationStorageExabytes() *NSUnitInformationStorage
- func NSUnitInformationStorageExbibits() *NSUnitInformationStorage
- func NSUnitInformationStorageExbibytes() *NSUnitInformationStorage
- func NSUnitInformationStorageFromID(id objc.ID) *NSUnitInformationStorage
- func NSUnitInformationStorageGibibits() *NSUnitInformationStorage
- func NSUnitInformationStorageGibibytes() *NSUnitInformationStorage
- func NSUnitInformationStorageGigabits() *NSUnitInformationStorage
- func NSUnitInformationStorageGigabytes() *NSUnitInformationStorage
- func NSUnitInformationStorageKibibits() *NSUnitInformationStorage
- func NSUnitInformationStorageKibibytes() *NSUnitInformationStorage
- func NSUnitInformationStorageKilobits() *NSUnitInformationStorage
- func NSUnitInformationStorageKilobytes() *NSUnitInformationStorage
- func NSUnitInformationStorageMebibits() *NSUnitInformationStorage
- func NSUnitInformationStorageMebibytes() *NSUnitInformationStorage
- func NSUnitInformationStorageMegabits() *NSUnitInformationStorage
- func NSUnitInformationStorageMegabytes() *NSUnitInformationStorage
- func NSUnitInformationStorageNibbles() *NSUnitInformationStorage
- func NSUnitInformationStoragePebibits() *NSUnitInformationStorage
- func NSUnitInformationStoragePebibytes() *NSUnitInformationStorage
- func NSUnitInformationStoragePetabits() *NSUnitInformationStorage
- func NSUnitInformationStoragePetabytes() *NSUnitInformationStorage
- func NSUnitInformationStorageTebibits() *NSUnitInformationStorage
- func NSUnitInformationStorageTebibytes() *NSUnitInformationStorage
- func NSUnitInformationStorageTerabits() *NSUnitInformationStorage
- func NSUnitInformationStorageTerabytes() *NSUnitInformationStorage
- func NSUnitInformationStorageYobibits() *NSUnitInformationStorage
- func NSUnitInformationStorageYobibytes() *NSUnitInformationStorage
- func NSUnitInformationStorageYottabits() *NSUnitInformationStorage
- func NSUnitInformationStorageYottabytes() *NSUnitInformationStorage
- func NSUnitInformationStorageZebibits() *NSUnitInformationStorage
- func NSUnitInformationStorageZebibytes() *NSUnitInformationStorage
- func NSUnitInformationStorageZettabits() *NSUnitInformationStorage
- func NSUnitInformationStorageZettabytes() *NSUnitInformationStorage
- type NSUnitLength
- func NSUnitLengthAstronomicalUnits() *NSUnitLength
- func NSUnitLengthCentimeters() *NSUnitLength
- func NSUnitLengthDecameters() *NSUnitLength
- func NSUnitLengthDecimeters() *NSUnitLength
- func NSUnitLengthFathoms() *NSUnitLength
- func NSUnitLengthFeet() *NSUnitLength
- func NSUnitLengthFromID(id objc.ID) *NSUnitLength
- func NSUnitLengthFurlongs() *NSUnitLength
- func NSUnitLengthHectometers() *NSUnitLength
- func NSUnitLengthInches() *NSUnitLength
- func NSUnitLengthKilometers() *NSUnitLength
- func NSUnitLengthLightyears() *NSUnitLength
- func NSUnitLengthMegameters() *NSUnitLength
- func NSUnitLengthMeters() *NSUnitLength
- func NSUnitLengthMicrometers() *NSUnitLength
- func NSUnitLengthMiles() *NSUnitLength
- func NSUnitLengthMillimeters() *NSUnitLength
- func NSUnitLengthNanometers() *NSUnitLength
- func NSUnitLengthNauticalMiles() *NSUnitLength
- func NSUnitLengthParsecs() *NSUnitLength
- func NSUnitLengthPicometers() *NSUnitLength
- func NSUnitLengthScandinavianMiles() *NSUnitLength
- func NSUnitLengthYards() *NSUnitLength
- type NSUnitMass
- func NSUnitMassCarats() *NSUnitMass
- func NSUnitMassCentigrams() *NSUnitMass
- func NSUnitMassDecigrams() *NSUnitMass
- func NSUnitMassFromID(id objc.ID) *NSUnitMass
- func NSUnitMassGrams() *NSUnitMass
- func NSUnitMassKilograms() *NSUnitMass
- func NSUnitMassMetricTons() *NSUnitMass
- func NSUnitMassMicrograms() *NSUnitMass
- func NSUnitMassMilligrams() *NSUnitMass
- func NSUnitMassNanograms() *NSUnitMass
- func NSUnitMassOunces() *NSUnitMass
- func NSUnitMassOuncesTroy() *NSUnitMass
- func NSUnitMassPicograms() *NSUnitMass
- func NSUnitMassPoundsMass() *NSUnitMass
- func NSUnitMassShortTons() *NSUnitMass
- func NSUnitMassSlugs() *NSUnitMass
- func NSUnitMassStones() *NSUnitMass
- type NSUnitPower
- func NSUnitPowerFemtowatts() *NSUnitPower
- func NSUnitPowerFromID(id objc.ID) *NSUnitPower
- func NSUnitPowerGigawatts() *NSUnitPower
- func NSUnitPowerHorsepower() *NSUnitPower
- func NSUnitPowerKilowatts() *NSUnitPower
- func NSUnitPowerMegawatts() *NSUnitPower
- func NSUnitPowerMicrowatts() *NSUnitPower
- func NSUnitPowerMilliwatts() *NSUnitPower
- func NSUnitPowerNanowatts() *NSUnitPower
- func NSUnitPowerPicowatts() *NSUnitPower
- func NSUnitPowerTerawatts() *NSUnitPower
- func NSUnitPowerWatts() *NSUnitPower
- type NSUnitPressure
- func NSUnitPressureBars() *NSUnitPressure
- func NSUnitPressureFromID(id objc.ID) *NSUnitPressure
- func NSUnitPressureGigapascals() *NSUnitPressure
- func NSUnitPressureHectopascals() *NSUnitPressure
- func NSUnitPressureInchesOfMercury() *NSUnitPressure
- func NSUnitPressureKilopascals() *NSUnitPressure
- func NSUnitPressureMegapascals() *NSUnitPressure
- func NSUnitPressureMillibars() *NSUnitPressure
- func NSUnitPressureMillimetersOfMercury() *NSUnitPressure
- func NSUnitPressureNewtonsPerMetersSquared() *NSUnitPressure
- func NSUnitPressurePoundsForcePerSquareInch() *NSUnitPressure
- type NSUnitSpeed
- type NSUnitTemperature
- type NSUnitVolume
- func NSUnitVolumeAcreFeet() *NSUnitVolume
- func NSUnitVolumeBushels() *NSUnitVolume
- func NSUnitVolumeCentiliters() *NSUnitVolume
- func NSUnitVolumeCubicCentimeters() *NSUnitVolume
- func NSUnitVolumeCubicDecimeters() *NSUnitVolume
- func NSUnitVolumeCubicFeet() *NSUnitVolume
- func NSUnitVolumeCubicInches() *NSUnitVolume
- func NSUnitVolumeCubicKilometers() *NSUnitVolume
- func NSUnitVolumeCubicMeters() *NSUnitVolume
- func NSUnitVolumeCubicMiles() *NSUnitVolume
- func NSUnitVolumeCubicMillimeters() *NSUnitVolume
- func NSUnitVolumeCubicYards() *NSUnitVolume
- func NSUnitVolumeCups() *NSUnitVolume
- func NSUnitVolumeDeciliters() *NSUnitVolume
- func NSUnitVolumeFluidOunces() *NSUnitVolume
- func NSUnitVolumeFromID(id objc.ID) *NSUnitVolume
- func NSUnitVolumeGallons() *NSUnitVolume
- func NSUnitVolumeImperialFluidOunces() *NSUnitVolume
- func NSUnitVolumeImperialGallons() *NSUnitVolume
- func NSUnitVolumeImperialPints() *NSUnitVolume
- func NSUnitVolumeImperialQuarts() *NSUnitVolume
- func NSUnitVolumeImperialTablespoons() *NSUnitVolume
- func NSUnitVolumeImperialTeaspoons() *NSUnitVolume
- func NSUnitVolumeKiloliters() *NSUnitVolume
- func NSUnitVolumeLiters() *NSUnitVolume
- func NSUnitVolumeMegaliters() *NSUnitVolume
- func NSUnitVolumeMetricCups() *NSUnitVolume
- func NSUnitVolumeMilliliters() *NSUnitVolume
- func NSUnitVolumePints() *NSUnitVolume
- func NSUnitVolumeQuarts() *NSUnitVolume
- func NSUnitVolumeTablespoons() *NSUnitVolume
- func NSUnitVolumeTeaspoons() *NSUnitVolume
- type NSUserActivity
- func (o *NSUserActivity) ActivityType() *NSStringdeprecated
- func (o *NSUserActivity) AddUserInfoEntriesFromDictionary(otherDictionary *NSDictionary[objc.ID, objc.ID])
- func (o *NSUserActivity) BecomeCurrent()
- func (o *NSUserActivity) Delegate() NSUserActivityDelegate
- func (o *NSUserActivity) ExpirationDate() *NSDate
- func (o *NSUserActivity) GetContinuationStreamsWithCompletionHandler(completionHandler func(*NSInputStream, *NSOutputStream, unsafe.Pointer))
- func (o *NSUserActivity) Init() *NSUserActivitydeprecated
- func (o *NSUserActivity) InitWithActivityType(activityType *NSString) *NSUserActivity
- func (o *NSUserActivity) Invalidate()
- func (o *NSUserActivity) IsEligibleForHandoff() bool
- func (o *NSUserActivity) IsEligibleForPublicIndexing() bool
- func (o *NSUserActivity) IsEligibleForSearch() bool
- func (o *NSUserActivity) Keywords() *NSSet[*NSString]
- func (o *NSUserActivity) NeedsSave() bool
- func (o *NSUserActivity) PersistentIdentifier() *NSString
- func (o *NSUserActivity) ReferrerURL() *NSURL
- func (o *NSUserActivity) RequiredUserInfoKeys() *NSSet[*NSString]
- func (o *NSUserActivity) ResignCurrent()
- func (o *NSUserActivity) SetDelegate(delegate NSUserActivityDelegate)
- func (o *NSUserActivity) SetEligibleForHandoff(eligibleForHandoff bool)
- func (o *NSUserActivity) SetEligibleForPublicIndexing(eligibleForPublicIndexing bool)
- func (o *NSUserActivity) SetEligibleForSearch(eligibleForSearch bool)
- func (o *NSUserActivity) SetExpirationDate(expirationDate *NSDate)
- func (o *NSUserActivity) SetKeywords(keywords *NSSet[*NSString])
- func (o *NSUserActivity) SetNeedsSave(needsSave bool)
- func (o *NSUserActivity) SetPersistentIdentifier(persistentIdentifier *NSString)
- func (o *NSUserActivity) SetReferrerURL(referrerURL *NSURL)
- func (o *NSUserActivity) SetRequiredUserInfoKeys(requiredUserInfoKeys *NSSet[*NSString])
- func (o *NSUserActivity) SetSupportsContinuationStreams(supportsContinuationStreams bool)
- func (o *NSUserActivity) SetTargetContentIdentifier(targetContentIdentifier *NSString)
- func (o *NSUserActivity) SetTitle(title *NSString)
- func (o *NSUserActivity) SetUserInfo(userInfo *NSDictionary[objc.ID, objc.ID])
- func (o *NSUserActivity) SetWebpageURL(webpageURL *NSURL)
- func (o *NSUserActivity) SupportsContinuationStreams() bool
- func (o *NSUserActivity) TargetContentIdentifier() *NSString
- func (o *NSUserActivity) Title() *NSString
- func (o *NSUserActivity) UserInfo() *NSDictionary[objc.ID, objc.ID]
- func (o *NSUserActivity) WebpageURL() *NSURL
- type NSUserActivityDelegate
- type NSUserAppleScriptTask
- type NSUserAutomatorTask
- type NSUserDefaults
- func (o *NSUserDefaults) AddSuiteNamed(suiteName *NSString)
- func (o *NSUserDefaults) ArrayForKey(defaultName *NSString) *NSArray[objc.ID]
- func (o *NSUserDefaults) BoolForKey(defaultName *NSString) bool
- func (o *NSUserDefaults) DataForKey(defaultName *NSString) *NSData
- func (o *NSUserDefaults) DictionaryForKey(defaultName *NSString) *NSDictionary[*NSString, objc.ID]
- func (o *NSUserDefaults) DictionaryRepresentation() *NSDictionary[*NSString, objc.ID]
- func (o *NSUserDefaults) DoubleForKey(defaultName *NSString) float64
- func (o *NSUserDefaults) FloatForKey(defaultName *NSString) float32
- func (o *NSUserDefaults) Init() *NSUserDefaults
- func (o *NSUserDefaults) InitWithSuiteName(suitename *NSString) *NSUserDefaults
- func (o *NSUserDefaults) InitWithUser(username *NSString) objc.ID
- func (o *NSUserDefaults) IntegerForKey(defaultName *NSString) int
- func (o *NSUserDefaults) ObjectForKey(defaultName *NSString) objc.ID
- func (o *NSUserDefaults) ObjectIsForcedForKey(key *NSString) bool
- func (o *NSUserDefaults) ObjectIsForcedForKeyInDomain(key *NSString, domain *NSString) bool
- func (o *NSUserDefaults) PersistentDomainForName(domainName *NSString) *NSDictionary[*NSString, objc.ID]
- func (o *NSUserDefaults) PersistentDomainNames() *NSArray[objc.ID]
- func (o *NSUserDefaults) RegisterDefaults(registrationDictionary *NSDictionary[*NSString, objc.ID])
- func (o *NSUserDefaults) RemoveObjectForKey(defaultName *NSString)
- func (o *NSUserDefaults) RemovePersistentDomainForName(domainName *NSString)
- func (o *NSUserDefaults) RemoveSuiteNamed(suiteName *NSString)
- func (o *NSUserDefaults) RemoveVolatileDomainForName(domainName *NSString)
- func (o *NSUserDefaults) SetBoolForKey(value bool, defaultName *NSString)
- func (o *NSUserDefaults) SetDoubleForKey(value float64, defaultName *NSString)
- func (o *NSUserDefaults) SetFloatForKey(value float32, defaultName *NSString)
- func (o *NSUserDefaults) SetIntegerForKey(value int, defaultName *NSString)
- func (o *NSUserDefaults) SetObjectForKey(value objc.ID, defaultName *NSString)
- func (o *NSUserDefaults) SetPersistentDomainForName(domain *NSDictionary[*NSString, objc.ID], domainName *NSString)
- func (o *NSUserDefaults) SetURLForKey(url *NSURL, defaultName *NSString)
- func (o *NSUserDefaults) SetVolatileDomainForName(domain *NSDictionary[*NSString, objc.ID], domainName *NSString)
- func (o *NSUserDefaults) StringArrayForKey(defaultName *NSString) *NSArray[*NSString]
- func (o *NSUserDefaults) StringForKey(defaultName *NSString) *NSString
- func (o *NSUserDefaults) Synchronize() bool
- func (o *NSUserDefaults) URLForKey(defaultName *NSString) *NSURL
- func (o *NSUserDefaults) VolatileDomainForName(domainName *NSString) *NSDictionary[*NSString, objc.ID]
- func (o *NSUserDefaults) VolatileDomainNames() *NSArray[*NSString]
- type NSUserNotification
- func (o *NSUserNotification) ActionButtonTitle() *NSString
- func (o *NSUserNotification) ActivationType() NSUserNotificationActivationType
- func (o *NSUserNotification) ActualDeliveryDate() *NSDate
- func (o *NSUserNotification) AdditionalActions() *NSArray[*NSUserNotificationAction]
- func (o *NSUserNotification) AdditionalActivationAction() *NSUserNotificationAction
- func (o *NSUserNotification) ContentImage() objc.ID
- func (o *NSUserNotification) DeliveryDate() *NSDate
- func (o *NSUserNotification) DeliveryRepeatInterval() *NSDateComponents
- func (o *NSUserNotification) DeliveryTimeZone() *NSTimeZone
- func (o *NSUserNotification) HasActionButton() bool
- func (o *NSUserNotification) HasReplyButton() bool
- func (o *NSUserNotification) Identifier() *NSString
- func (o *NSUserNotification) InformativeText() *NSString
- func (o *NSUserNotification) Init() *NSUserNotification
- func (o *NSUserNotification) IsPresented() bool
- func (o *NSUserNotification) IsRemote() bool
- func (o *NSUserNotification) OtherButtonTitle() *NSString
- func (o *NSUserNotification) Response() *NSAttributedString
- func (o *NSUserNotification) ResponsePlaceholder() *NSString
- func (o *NSUserNotification) SetActionButtonTitle(actionButtonTitle *NSString)
- func (o *NSUserNotification) SetAdditionalActions(additionalActions *NSArray[*NSUserNotificationAction])
- func (o *NSUserNotification) SetContentImage(contentImage objc.ID)
- func (o *NSUserNotification) SetDeliveryDate(deliveryDate *NSDate)
- func (o *NSUserNotification) SetDeliveryRepeatInterval(deliveryRepeatInterval *NSDateComponents)
- func (o *NSUserNotification) SetDeliveryTimeZone(deliveryTimeZone *NSTimeZone)
- func (o *NSUserNotification) SetHasActionButton(hasActionButton bool)
- func (o *NSUserNotification) SetHasReplyButton(hasReplyButton bool)
- func (o *NSUserNotification) SetIdentifier(identifier *NSString)
- func (o *NSUserNotification) SetInformativeText(informativeText *NSString)
- func (o *NSUserNotification) SetOtherButtonTitle(otherButtonTitle *NSString)
- func (o *NSUserNotification) SetResponsePlaceholder(responsePlaceholder *NSString)
- func (o *NSUserNotification) SetSoundName(soundName *NSString)
- func (o *NSUserNotification) SetSubtitle(subtitle *NSString)
- func (o *NSUserNotification) SetTitle(title *NSString)
- func (o *NSUserNotification) SetUserInfo(userInfo *NSDictionary[*NSString, objc.ID])
- func (o *NSUserNotification) SoundName() *NSString
- func (o *NSUserNotification) Subtitle() *NSString
- func (o *NSUserNotification) Title() *NSString
- func (o *NSUserNotification) UserInfo() *NSDictionary[*NSString, objc.ID]
- type NSUserNotificationAction
- type NSUserNotificationActivationTypedeprecated
- type NSUserNotificationCenter
- func (o *NSUserNotificationCenter) Delegate() NSUserNotificationCenterDelegate
- func (o *NSUserNotificationCenter) DeliverNotification(notification *NSUserNotification)
- func (o *NSUserNotificationCenter) DeliveredNotifications() *NSArray[*NSUserNotification]
- func (o *NSUserNotificationCenter) RemoveAllDeliveredNotifications()
- func (o *NSUserNotificationCenter) RemoveDeliveredNotification(notification *NSUserNotification)
- func (o *NSUserNotificationCenter) RemoveScheduledNotification(notification *NSUserNotification)
- func (o *NSUserNotificationCenter) ScheduleNotification(notification *NSUserNotification)
- func (o *NSUserNotificationCenter) ScheduledNotifications() *NSArray[*NSUserNotification]
- func (o *NSUserNotificationCenter) SetDelegate(delegate NSUserNotificationCenterDelegate)
- func (o *NSUserNotificationCenter) SetScheduledNotifications(scheduledNotifications *NSArray[*NSUserNotification])
- type NSUserNotificationCenterDelegate
- type NSUserScriptTask
- type NSUserUnixTask
- func (o *NSUserUnixTask) ExecuteWithArgumentsCompletionHandler(arguments *NSArray[*NSString], handler func(unsafe.Pointer))
- func (o *NSUserUnixTask) SetStandardError(standardError *NSFileHandle)
- func (o *NSUserUnixTask) SetStandardInput(standardInput *NSFileHandle)
- func (o *NSUserUnixTask) SetStandardOutput(standardOutput *NSFileHandle)
- func (o *NSUserUnixTask) StandardError() *NSFileHandle
- func (o *NSUserUnixTask) StandardInput() *NSFileHandle
- func (o *NSUserUnixTask) StandardOutput() *NSFileHandle
- type NSValue
- func NSValueFromID(id objc.ID) *NSValue
- func NSValueValueWithBytesObjCType(value unsafe.Pointer, type_ string) *NSValue
- func NSValueValueWithEdgeInsets(insets NSEdgeInsets) *NSValue
- func NSValueValueWithNonretainedObject(anObject objc.ID) *NSValue
- func NSValueValueWithObjCType(value unsafe.Pointer, type_ string) *NSValue
- func NSValueValueWithPoint(point corefoundation.CGPoint) *NSValue
- func NSValueValueWithPointer(pointer unsafe.Pointer) *NSValue
- func NSValueValueWithRange(range_ NSRange) *NSValue
- func NSValueValueWithRect(rect corefoundation.CGRect) *NSValue
- func NSValueValueWithSize(size corefoundation.CGSize) *NSValue
- func (o *NSValue) EdgeInsetsValue() NSEdgeInsets
- func (o *NSValue) GetValue(value unsafe.Pointer)deprecated
- func (o *NSValue) GetValueSize(value unsafe.Pointer, size uint)
- func (o *NSValue) InitWithBytesObjCType(value unsafe.Pointer, type_ string) *NSValue
- func (o *NSValue) InitWithCoder(coder *NSCoder) *NSValue
- func (o *NSValue) IsEqualToValue(value *NSValue) bool
- func (o *NSValue) NonretainedObjectValue() objc.ID
- func (o *NSValue) ObjCType() unsafe.Pointer
- func (o *NSValue) PointValue() corefoundation.CGPoint
- func (o *NSValue) PointerValue() unsafe.Pointer
- func (o *NSValue) RangeValue() NSRange
- func (o *NSValue) RectValue() corefoundation.CGRect
- func (o *NSValue) SizeValue() corefoundation.CGSize
- type NSValueTransformer
- type NSVolumeEnumerationOptions
- type NSWhoseSpecifier
- func (o *NSWhoseSpecifier) EndSubelementIdentifier() NSWhoseSubelementIdentifier
- func (o *NSWhoseSpecifier) EndSubelementIndex() int
- func (o *NSWhoseSpecifier) InitWithCoder(inCoder *NSCoder) *NSWhoseSpecifier
- func (o *NSWhoseSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyTest(classDesc *NSScriptClassDescription, container *NSScriptObjectSpecifier, ...) *NSWhoseSpecifier
- func (o *NSWhoseSpecifier) SetEndSubelementIdentifier(endSubelementIdentifier NSWhoseSubelementIdentifier)
- func (o *NSWhoseSpecifier) SetEndSubelementIndex(endSubelementIndex int)
- func (o *NSWhoseSpecifier) SetStartSubelementIdentifier(startSubelementIdentifier NSWhoseSubelementIdentifier)
- func (o *NSWhoseSpecifier) SetStartSubelementIndex(startSubelementIndex int)
- func (o *NSWhoseSpecifier) SetTest(test *NSScriptWhoseTest)
- func (o *NSWhoseSpecifier) StartSubelementIdentifier() NSWhoseSubelementIdentifier
- func (o *NSWhoseSpecifier) StartSubelementIndex() int
- func (o *NSWhoseSpecifier) Test() *NSScriptWhoseTest
- type NSWhoseSubelementIdentifier
- type NSXMLDTD
- func (o *NSXMLDTD) AddChild(child *NSXMLNode)
- func (o *NSXMLDTD) AttributeDeclarationForNameElementName(name *NSString, elementName *NSString) *NSXMLDTDNode
- func (o *NSXMLDTD) ElementDeclarationForName(name *NSString) *NSXMLDTDNode
- func (o *NSXMLDTD) EntityDeclarationForName(name *NSString) *NSXMLDTDNode
- func (o *NSXMLDTD) Init() *NSXMLDTD
- func (o *NSXMLDTD) InsertChildAtIndex(child *NSXMLNode, index uint)
- func (o *NSXMLDTD) InsertChildrenAtIndex(children *NSArray[*NSXMLNode], index uint)
- func (o *NSXMLDTD) NotationDeclarationForName(name *NSString) *NSXMLDTDNode
- func (o *NSXMLDTD) PublicID() *NSString
- func (o *NSXMLDTD) RemoveChildAtIndex(index uint)
- func (o *NSXMLDTD) ReplaceChildAtIndexWithNode(index uint, node *NSXMLNode)
- func (o *NSXMLDTD) SetChildren(children *NSArray[*NSXMLNode])
- func (o *NSXMLDTD) SetPublicID(publicID *NSString)
- func (o *NSXMLDTD) SetSystemID(systemID *NSString)
- func (o *NSXMLDTD) SystemID() *NSString
- type NSXMLDTDNode
- func (o *NSXMLDTDNode) DTDKind() NSXMLDTDNodeKind
- func (o *NSXMLDTDNode) Init() *NSXMLDTDNode
- func (o *NSXMLDTDNode) InitWithKindOptions(kind NSXMLNodeKind, options NSXMLNodeOptions) *NSXMLDTDNode
- func (o *NSXMLDTDNode) InitWithXMLString(string_ *NSString) *NSXMLDTDNode
- func (o *NSXMLDTDNode) IsExternal() bool
- func (o *NSXMLDTDNode) NotationName() *NSString
- func (o *NSXMLDTDNode) PublicID() *NSString
- func (o *NSXMLDTDNode) SetDTDKind(dTDKind NSXMLDTDNodeKind)
- func (o *NSXMLDTDNode) SetNotationName(notationName *NSString)
- func (o *NSXMLDTDNode) SetPublicID(publicID *NSString)
- func (o *NSXMLDTDNode) SetSystemID(systemID *NSString)
- func (o *NSXMLDTDNode) SystemID() *NSString
- type NSXMLDTDNodeKind
- type NSXMLDocument
- func (o *NSXMLDocument) AddChild(child *NSXMLNode)
- func (o *NSXMLDocument) CharacterEncoding() *NSString
- func (o *NSXMLDocument) DTD() *NSXMLDTD
- func (o *NSXMLDocument) DocumentContentKind() NSXMLDocumentContentKind
- func (o *NSXMLDocument) Init() *NSXMLDocument
- func (o *NSXMLDocument) InitWithContentsOfURLOptionsError(url *NSURL, mask NSXMLNodeOptions) (*NSXMLDocument, error)
- func (o *NSXMLDocument) InitWithDataOptionsError(data *NSData, mask NSXMLNodeOptions) (*NSXMLDocument, error)
- func (o *NSXMLDocument) InitWithRootElement(element *NSXMLElement) *NSXMLDocument
- func (o *NSXMLDocument) InitWithXMLStringOptionsError(string_ *NSString, mask NSXMLNodeOptions) (*NSXMLDocument, error)
- func (o *NSXMLDocument) InsertChildAtIndex(child *NSXMLNode, index uint)
- func (o *NSXMLDocument) InsertChildrenAtIndex(children *NSArray[*NSXMLNode], index uint)
- func (o *NSXMLDocument) IsStandalone() bool
- func (o *NSXMLDocument) MIMEType() *NSString
- func (o *NSXMLDocument) ObjectByApplyingXSLTArgumentsError(xslt *NSData, arguments *NSDictionary[*NSString, *NSString]) (objc.ID, error)
- func (o *NSXMLDocument) ObjectByApplyingXSLTAtURLArgumentsError(xsltURL *NSURL, argument *NSDictionary[*NSString, *NSString]) (objc.ID, error)
- func (o *NSXMLDocument) ObjectByApplyingXSLTStringArgumentsError(xslt *NSString, arguments *NSDictionary[*NSString, *NSString]) (objc.ID, error)
- func (o *NSXMLDocument) RemoveChildAtIndex(index uint)
- func (o *NSXMLDocument) ReplaceChildAtIndexWithNode(index uint, node *NSXMLNode)
- func (o *NSXMLDocument) RootElement() *NSXMLElement
- func (o *NSXMLDocument) SetCharacterEncoding(characterEncoding *NSString)
- func (o *NSXMLDocument) SetChildren(children *NSArray[*NSXMLNode])
- func (o *NSXMLDocument) SetDTD(dTD *NSXMLDTD)
- func (o *NSXMLDocument) SetDocumentContentKind(documentContentKind NSXMLDocumentContentKind)
- func (o *NSXMLDocument) SetMIMEType(mIMEType *NSString)
- func (o *NSXMLDocument) SetRootElement(root *NSXMLElement)
- func (o *NSXMLDocument) SetStandalone(standalone bool)
- func (o *NSXMLDocument) ValidateAndReturnError() (bool, error)
- func (o *NSXMLDocument) XMLData() *NSData
- func (o *NSXMLDocument) XMLDataWithOptions(options NSXMLNodeOptions) *NSData
- type NSXMLDocumentContentKind
- type NSXMLElement
- func (o *NSXMLElement) AddAttribute(attribute *NSXMLNode)
- func (o *NSXMLElement) AddChild(child *NSXMLNode)
- func (o *NSXMLElement) AddNamespace(aNamespace *NSXMLNode)
- func (o *NSXMLElement) AttributeForLocalNameURI(localName *NSString, uRI *NSString) *NSXMLNode
- func (o *NSXMLElement) AttributeForName(name *NSString) *NSXMLNode
- func (o *NSXMLElement) Attributes() *NSArray[*NSXMLNode]
- func (o *NSXMLElement) ElementsForLocalNameURI(localName *NSString, uRI *NSString) *NSArray[*NSXMLElement]
- func (o *NSXMLElement) ElementsForName(name *NSString) *NSArray[*NSXMLElement]
- func (o *NSXMLElement) InitWithKindOptions(kind NSXMLNodeKind, options NSXMLNodeOptions) *NSXMLElement
- func (o *NSXMLElement) InitWithName(name *NSString) *NSXMLElement
- func (o *NSXMLElement) InitWithNameStringValue(name *NSString, string_ *NSString) *NSXMLElement
- func (o *NSXMLElement) InitWithNameURI(name *NSString, uRI *NSString) *NSXMLElement
- func (o *NSXMLElement) InitWithXMLStringError(string_ *NSString) (*NSXMLElement, error)
- func (o *NSXMLElement) InsertChildAtIndex(child *NSXMLNode, index uint)
- func (o *NSXMLElement) InsertChildrenAtIndex(children *NSArray[*NSXMLNode], index uint)
- func (o *NSXMLElement) NamespaceForPrefix(name *NSString) *NSXMLNode
- func (o *NSXMLElement) Namespaces() *NSArray[*NSXMLNode]
- func (o *NSXMLElement) NormalizeAdjacentTextNodesPreservingCDATA(preserve bool)
- func (o *NSXMLElement) RemoveAttributeForName(name *NSString)
- func (o *NSXMLElement) RemoveChildAtIndex(index uint)
- func (o *NSXMLElement) RemoveNamespaceForPrefix(name *NSString)
- func (o *NSXMLElement) ReplaceChildAtIndexWithNode(index uint, node *NSXMLNode)
- func (o *NSXMLElement) ResolveNamespaceForName(name *NSString) *NSXMLNode
- func (o *NSXMLElement) ResolvePrefixForNamespaceURI(namespaceURI *NSString) *NSString
- func (o *NSXMLElement) SetAttributes(attributes *NSArray[*NSXMLNode])
- func (o *NSXMLElement) SetAttributesAsDictionary(attributes *NSDictionary[objc.ID, objc.ID])
- func (o *NSXMLElement) SetAttributesWithDictionary(attributes *NSDictionary[*NSString, *NSString])
- func (o *NSXMLElement) SetChildren(children *NSArray[*NSXMLNode])
- func (o *NSXMLElement) SetNamespaces(namespaces *NSArray[*NSXMLNode])
- type NSXMLNode
- func (o *NSXMLNode) CanonicalXMLStringPreservingComments(comments bool) *NSString
- func (o *NSXMLNode) ChildAtIndex(index uint) *NSXMLNode
- func (o *NSXMLNode) ChildCount() uint
- func (o *NSXMLNode) Children() *NSArray[*NSXMLNode]
- func (o *NSXMLNode) Detach()
- func (o *NSXMLNode) Index() uint
- func (o *NSXMLNode) Init() *NSXMLNode
- func (o *NSXMLNode) InitWithKind(kind NSXMLNodeKind) *NSXMLNode
- func (o *NSXMLNode) InitWithKindOptions(kind NSXMLNodeKind, options NSXMLNodeOptions) *NSXMLNode
- func (o *NSXMLNode) Kind() NSXMLNodeKind
- func (o *NSXMLNode) Level() uint
- func (o *NSXMLNode) LocalName() *NSString
- func (o *NSXMLNode) Name() *NSString
- func (o *NSXMLNode) NextNode() *NSXMLNode
- func (o *NSXMLNode) NextSibling() *NSXMLNode
- func (o *NSXMLNode) NodesForXPathError(xpath *NSString) (*NSArray[*NSXMLNode], error)
- func (o *NSXMLNode) ObjectValue() objc.ID
- func (o *NSXMLNode) ObjectsForXQueryConstantsError(xquery *NSString, constants *NSDictionary[*NSString, objc.ID]) (*NSArray[objc.ID], error)
- func (o *NSXMLNode) ObjectsForXQueryError(xquery *NSString) (*NSArray[objc.ID], error)
- func (o *NSXMLNode) Parent() *NSXMLNode
- func (o *NSXMLNode) Prefix() *NSString
- func (o *NSXMLNode) PreviousNode() *NSXMLNode
- func (o *NSXMLNode) PreviousSibling() *NSXMLNode
- func (o *NSXMLNode) RootDocument() *NSXMLDocument
- func (o *NSXMLNode) SetName(name *NSString)
- func (o *NSXMLNode) SetObjectValue(objectValue objc.ID)
- func (o *NSXMLNode) SetStringValue(stringValue *NSString)
- func (o *NSXMLNode) SetStringValueResolvingEntities(string_ *NSString, resolve bool)
- func (o *NSXMLNode) SetURI(uRI *NSString)
- func (o *NSXMLNode) StringValue() *NSString
- func (o *NSXMLNode) URI() *NSString
- func (o *NSXMLNode) XMLString() *NSString
- func (o *NSXMLNode) XMLStringWithOptions(options NSXMLNodeOptions) *NSString
- func (o *NSXMLNode) XPath() *NSString
- type NSXMLNodeKind
- type NSXMLNodeOptions
- type NSXMLParser
- func (o *NSXMLParser) AbortParsing()
- func (o *NSXMLParser) AllowedExternalEntityURLs() *NSSet[*NSURL]
- func (o *NSXMLParser) ColumnNumber() int
- func (o *NSXMLParser) Delegate() NSXMLParserDelegate
- func (o *NSXMLParser) ExternalEntityResolvingPolicy() NSXMLParserExternalEntityResolvingPolicy
- func (o *NSXMLParser) InitWithContentsOfURL(url *NSURL) *NSXMLParser
- func (o *NSXMLParser) InitWithData(data *NSData) *NSXMLParser
- func (o *NSXMLParser) InitWithStream(stream *NSInputStream) *NSXMLParser
- func (o *NSXMLParser) LineNumber() int
- func (o *NSXMLParser) Parse() bool
- func (o *NSXMLParser) ParserError() unsafe.Pointer
- func (o *NSXMLParser) PublicID() *NSString
- func (o *NSXMLParser) SetAllowedExternalEntityURLs(allowedExternalEntityURLs *NSSet[*NSURL])
- func (o *NSXMLParser) SetDelegate(delegate NSXMLParserDelegate)
- func (o *NSXMLParser) SetExternalEntityResolvingPolicy(externalEntityResolvingPolicy NSXMLParserExternalEntityResolvingPolicy)
- func (o *NSXMLParser) SetShouldProcessNamespaces(shouldProcessNamespaces bool)
- func (o *NSXMLParser) SetShouldReportNamespacePrefixes(shouldReportNamespacePrefixes bool)
- func (o *NSXMLParser) SetShouldResolveExternalEntities(shouldResolveExternalEntities bool)
- func (o *NSXMLParser) ShouldProcessNamespaces() bool
- func (o *NSXMLParser) ShouldReportNamespacePrefixes() bool
- func (o *NSXMLParser) ShouldResolveExternalEntities() bool
- func (o *NSXMLParser) SystemID() *NSString
- type NSXMLParserDelegate
- type NSXMLParserError
- type NSXMLParserExternalEntityResolvingPolicy
- type NSXPCCoder
- func (o *NSXPCCoder) Connection() *NSXPCConnection
- func (o *NSXPCCoder) DecodeXPCObjectOfTypeForKey(type_ unsafe.Pointer, key *NSString) *NSObject
- func (o *NSXPCCoder) EncodeXPCObjectForKey(xpcObject *NSObject, key *NSString)
- func (o *NSXPCCoder) SetUserInfo(userInfo NSObjectProtocol)
- func (o *NSXPCCoder) UserInfo() NSObjectProtocol
- type NSXPCConnection
- func (o *NSXPCConnection) Activate()
- func (o *NSXPCConnection) AuditSessionIdentifier() int
- func (o *NSXPCConnection) EffectiveGroupIdentifier() uint
- func (o *NSXPCConnection) EffectiveUserIdentifier() uint
- func (o *NSXPCConnection) Endpoint() *NSXPCListenerEndpoint
- func (o *NSXPCConnection) ExportedInterface() *NSXPCInterface
- func (o *NSXPCConnection) ExportedObject() objc.ID
- func (o *NSXPCConnection) InitWithListenerEndpoint(endpoint *NSXPCListenerEndpoint) *NSXPCConnection
- func (o *NSXPCConnection) InitWithMachServiceNameOptions(name *NSString, options NSXPCConnectionOptions) *NSXPCConnection
- func (o *NSXPCConnection) InitWithServiceName(serviceName *NSString) *NSXPCConnection
- func (o *NSXPCConnection) InterruptionHandler() objc.Block
- func (o *NSXPCConnection) Invalidate()
- func (o *NSXPCConnection) InvalidationHandler() objc.Block
- func (o *NSXPCConnection) ProcessIdentifier() int
- func (o *NSXPCConnection) RemoteObjectInterface() *NSXPCInterface
- func (o *NSXPCConnection) RemoteObjectProxy() objc.ID
- func (o *NSXPCConnection) RemoteObjectProxyWithErrorHandler(handler func(unsafe.Pointer)) objc.ID
- func (o *NSXPCConnection) Resume()
- func (o *NSXPCConnection) ScheduleSendBarrierBlock(block func())
- func (o *NSXPCConnection) ServiceName() *NSString
- func (o *NSXPCConnection) SetCodeSigningRequirement(requirement *NSString)
- func (o *NSXPCConnection) SetExportedInterface(exportedInterface *NSXPCInterface)
- func (o *NSXPCConnection) SetExportedObject(exportedObject objc.ID)
- func (o *NSXPCConnection) SetInterruptionHandler(interruptionHandler func())
- func (o *NSXPCConnection) SetInvalidationHandler(invalidationHandler func())
- func (o *NSXPCConnection) SetRemoteObjectInterface(remoteObjectInterface *NSXPCInterface)
- func (o *NSXPCConnection) Suspend()
- func (o *NSXPCConnection) SynchronousRemoteObjectProxyWithErrorHandler(handler func(unsafe.Pointer)) objc.ID
- type NSXPCConnectionOptions
- type NSXPCInterface
- func (o *NSXPCInterface) ClassesForSelectorArgumentIndexOfReply(sel objc.SEL, arg uint, ofReply bool) *NSSet[objc.Class]
- func (o *NSXPCInterface) InterfaceForSelectorArgumentIndexOfReply(sel objc.SEL, arg uint, ofReply bool) *NSXPCInterface
- func (o *NSXPCInterface) Protocol() unsafe.Pointer
- func (o *NSXPCInterface) SetClassesForSelectorArgumentIndexOfReply(classes *NSSet[objc.Class], sel objc.SEL, arg uint, ofReply bool)
- func (o *NSXPCInterface) SetInterfaceForSelectorArgumentIndexOfReply(ifc *NSXPCInterface, sel objc.SEL, arg uint, ofReply bool)
- func (o *NSXPCInterface) SetProtocol(protocol unsafe.Pointer)
- func (o *NSXPCInterface) SetXPCTypeForSelectorArgumentIndexOfReply(type_ unsafe.Pointer, sel objc.SEL, arg uint, ofReply bool)
- func (o *NSXPCInterface) XPCTypeForSelectorArgumentIndexOfReply(sel objc.SEL, arg uint, ofReply bool) unsafe.Pointer
- type NSXPCListener
- func (o *NSXPCListener) Activate()
- func (o *NSXPCListener) Delegate() NSXPCListenerDelegate
- func (o *NSXPCListener) Endpoint() *NSXPCListenerEndpoint
- func (o *NSXPCListener) InitWithMachServiceName(name *NSString) *NSXPCListener
- func (o *NSXPCListener) Invalidate()
- func (o *NSXPCListener) Resume()
- func (o *NSXPCListener) SetConnectionCodeSigningRequirement(requirement *NSString)
- func (o *NSXPCListener) SetDelegate(delegate NSXPCListenerDelegate)
- func (o *NSXPCListener) Suspend()
- type NSXPCListenerDelegate
- type NSXPCListenerEndpoint
- type NSXPCProxyCreating
- type NSZone
- type ObjcClass
- type ObjcObject
- type ObjcSelector
- type Os_clockid_t
- type Ptrauth_key
- type Qos_class_t
- type Virtual_memory_guard_exception_code_t
- type Xpc_listener_create_flags_t
- type Xpc_session_create_flags_t
Constants ¶
const ( NSASCIIStringEncoding = 1 NSISO2022JPStringEncoding = 21 NSISOLatin1StringEncoding = 5 NSISOLatin2StringEncoding = 9 NSJapaneseEUCStringEncoding = 3 NSMacOSRomanStringEncoding = 30 NSNEXTSTEPStringEncoding = 2 NSNonLossyASCIIStringEncoding = 7 NSShiftJISStringEncoding = 8 NSSymbolStringEncoding = 6 NSUTF16BigEndianStringEncoding = 2415919360 NSUTF16LittleEndianStringEncoding = 2483028224 NSUTF16StringEncoding = 10 NSUTF32BigEndianStringEncoding = 2550137088 NSUTF32LittleEndianStringEncoding = 2617245952 NSUTF32StringEncoding = 2348810496 NSUTF8StringEncoding = 4 NSUnicodeStringEncoding = 10 NSWindowsCP1250StringEncoding = 15 NSWindowsCP1251StringEncoding = 11 NSWindowsCP1252StringEncoding = 12 NSWindowsCP1253StringEncoding = 13 NSWindowsCP1254StringEncoding = 14 )
const ( NSBundleExecutableArchitectureARM64 = 16777228 NSBundleExecutableArchitectureI386 = 7 NSBundleExecutableArchitecturePPC = 18 NSBundleExecutableArchitecturePPC64 = 16777234 NSBundleExecutableArchitectureX86_64 = 16777223 )
const ( NSDateComponentUndefined = 9223372036854775807 NSUndefinedDateComponent = 9223372036854775807 )
const ( NSBundleErrorMaximum = 5119 NSBundleErrorMinimum = 4992 NSBundleOnDemandResourceExceededMaximumSizeError = 4993 NSBundleOnDemandResourceInvalidTagError = 4994 NSBundleOnDemandResourceOutOfSpaceError = 4992 NSCloudSharingConflictError = 5123 NSCloudSharingErrorMaximum = 5375 NSCloudSharingErrorMinimum = 5120 NSCloudSharingNetworkFailureError = 5120 NSCloudSharingNoPermissionError = 5124 NSCloudSharingOtherError = 5375 NSCloudSharingQuotaExceededError = 5121 NSCloudSharingTooManyParticipantsError = 5122 NSCoderErrorMaximum = 4991 NSCoderErrorMinimum = 4864 NSCoderInvalidValueError = 4866 NSCoderReadCorruptError = 4864 NSCoderValueNotFoundError = 4865 NSCompressionErrorMaximum = 5503 NSCompressionErrorMinimum = 5376 NSCompressionFailedError = 5376 NSDecompressionFailedError = 5377 NSExecutableArchitectureMismatchError = 3585 NSExecutableErrorMaximum = 3839 NSExecutableErrorMinimum = 3584 NSExecutableLinkError = 3588 NSExecutableLoadError = 3587 NSExecutableNotLoadableError = 3584 NSExecutableRuntimeMismatchError = 3586 NSFeatureUnsupportedError = 3328 NSFileErrorMaximum = 1023 NSFileErrorMinimum = 0 NSFileLockingError = 255 NSFileManagerUnmountBusyError = 769 NSFileManagerUnmountUnknownError = 768 NSFileNoSuchFileError = 4 NSFileReadCorruptFileError = 259 NSFileReadInapplicableStringEncodingError = 261 NSFileReadInvalidFileNameError = 258 NSFileReadNoPermissionError = 257 NSFileReadNoSuchFileError = 260 NSFileReadTooLargeError = 263 NSFileReadUnknownError = 256 NSFileReadUnknownStringEncodingError = 264 NSFileReadUnsupportedSchemeError = 262 NSFileWriteFileExistsError = 516 NSFileWriteInapplicableStringEncodingError = 517 NSFileWriteInvalidFileNameError = 514 NSFileWriteNoPermissionError = 513 NSFileWriteOutOfSpaceError = 640 NSFileWriteUnknownError = 512 NSFileWriteUnsupportedSchemeError = 518 NSFileWriteVolumeReadOnlyError = 642 NSFormattingError = 2048 NSFormattingErrorMaximum = 2559 NSFormattingErrorMinimum = 2048 NSKeyValueValidationError = 1024 NSPropertyListErrorMaximum = 4095 NSPropertyListErrorMinimum = 3840 NSPropertyListReadCorruptError = 3840 NSPropertyListReadStreamError = 3842 NSPropertyListReadUnknownVersionError = 3841 NSPropertyListWriteInvalidError = 3852 NSPropertyListWriteStreamError = 3851 NSUbiquitousFileErrorMaximum = 4607 NSUbiquitousFileErrorMinimum = 4352 NSUbiquitousFileNotUploadedDueToQuotaError = 4354 NSUbiquitousFileUbiquityServerNotAvailable = 4355 NSUserActivityErrorMaximum = 4863 NSUserActivityErrorMinimum = 4608 NSUserActivityHandoffFailedError = 4608 NSUserActivityHandoffUserInfoTooLargeError = 4611 NSUserActivityRemoteApplicationTimedOutError = 4610 NSUserCancelledError = 3072 NSValidationErrorMaximum = 2047 NSValidationErrorMinimum = 1024 NSXPCConnectionCodeSigningRequirementFailure = 4102 NSXPCConnectionErrorMaximum = 4224 NSXPCConnectionErrorMinimum = 4096 NSXPCConnectionInterrupted = 4097 NSXPCConnectionInvalid = 4099 NSXPCConnectionReplyInvalid = 4101 )
const ( NSArgumentEvaluationScriptError = 3 NSArgumentsWrongScriptError = 6 NSCannotCreateScriptCommandError = 10 NSInternalScriptError = 8 NSKeySpecifierEvaluationScriptError = 2 NSNoScriptError = 0 NSOperationNotSupportedForKeyScriptError = 9 NSReceiverEvaluationScriptError = 1 NSReceiversCantHandleCommandScriptError = 4 NSRequiredArgumentsMissingScriptError = 5 NSUnknownKeyScriptError = 7 )
const ( NSContainerSpecifierError = 2 NSInternalSpecifierError = 5 NSInvalidIndexSpecifierError = 4 NSNoSpecifierError = 0 NSNoTopLevelContainersSpecifierError = 1 NSOperationNotSupportedForKeySpecifierError = 6 NSUnknownKeySpecifierError = 3 )
const ( NSCollectorDisabledOption = 2 NSScannedOption = 1 )
const ( NSTextCheckingAllCustomTypes = 18446744069414584320 NSTextCheckingAllSystemTypes = 4294967295 NSTextCheckingAllTypes = 18446744073709551615 )
const ( NSURLErrorCancelledReasonBackgroundUpdatesDisabled = 1 NSURLErrorCancelledReasonInsufficientSystemResources = 2 NSURLErrorCancelledReasonUserForceQuitApplication = 0 )
const ( NSURLErrorAppTransportSecurityRequiresSecureConnection = -1022 NSURLErrorBackgroundSessionInUseByAnotherProcess = -996 NSURLErrorBackgroundSessionWasDisconnected = -997 NSURLErrorBadServerResponse = -1011 NSURLErrorBadURL = -1000 NSURLErrorCallIsActive = -1019 NSURLErrorCancelled = -999 NSURLErrorCannotCloseFile = -3002 NSURLErrorCannotConnectToHost = -1004 NSURLErrorCannotCreateFile = -3000 NSURLErrorCannotDecodeContentData = -1016 NSURLErrorCannotDecodeRawData = -1015 NSURLErrorCannotFindHost = -1003 NSURLErrorCannotLoadFromNetwork = -2000 NSURLErrorCannotMoveFile = -3005 NSURLErrorCannotOpenFile = -3001 NSURLErrorCannotParseResponse = -1017 NSURLErrorCannotRemoveFile = -3004 NSURLErrorCannotWriteToFile = -3003 NSURLErrorClientCertificateRejected = -1205 NSURLErrorClientCertificateRequired = -1206 NSURLErrorDNSLookupFailed = -1006 NSURLErrorDataLengthExceedsMaximum = -1103 NSURLErrorDataNotAllowed = -1020 NSURLErrorDownloadDecodingFailedMidStream = -3006 NSURLErrorDownloadDecodingFailedToComplete = -3007 NSURLErrorFileDoesNotExist = -1100 NSURLErrorFileIsDirectory = -1101 NSURLErrorFileOutsideSafeArea = -1104 NSURLErrorHTTPTooManyRedirects = -1007 NSURLErrorInternationalRoamingOff = -1018 NSURLErrorNetworkConnectionLost = -1005 NSURLErrorNoPermissionsToReadFile = -1102 NSURLErrorNotConnectedToInternet = -1009 NSURLErrorRedirectToNonExistentLocation = -1010 NSURLErrorRequestBodyStreamExhausted = -1021 NSURLErrorSecureConnectionFailed = -1200 NSURLErrorServerCertificateHasBadDate = -1201 NSURLErrorServerCertificateHasUnknownRoot = -1203 NSURLErrorServerCertificateNotYetValid = -1204 NSURLErrorServerCertificateUntrusted = -1202 NSURLErrorTimedOut = -1001 NSURLErrorUnknown = -1 NSURLErrorUnsupportedURL = -1002 NSURLErrorUserAuthenticationRequired = -1013 NSURLErrorUserCancelledAuthentication = -1012 NSURLErrorZeroByteResource = -1014 )
const ( NSUbiquitousKeyValueStoreAccountChange = 3 NSUbiquitousKeyValueStoreInitialSyncChange = 1 NSUbiquitousKeyValueStoreQuotaViolationChange = 2 NSUbiquitousKeyValueStoreServerChange = 0 )
const ( NSHPUXOperatingSystem = 4 NSMACHOperatingSystem = 5 NSOSF1OperatingSystem = 7 NSSolarisOperatingSystem = 3 NSSunOSOperatingSystem = 6 NSWindows95OperatingSystem = 2 NSWindowsNTOperatingSystem = 1 )
const ( NS_BigEndian = 2 NS_LittleEndian = 1 NS_UnknownByteOrder = 0 )
const (
NSOpenStepUnicodeReservedBase = 62464
)
const (
NSProprietaryStringEncoding = 65536
)
const (
NSWrapCalendarComponents = 1
)
Variables ¶
This section is empty.
Functions ¶
func NSAMPMDesignation
deprecated
func NSAMPMDesignation() uintptr
Deprecated: since macOS 10.5.
func NSAllocateMemoryPages ¶
func NSAllocateObject ¶
func NSAlternateDescriptionAttributeName ¶
func NSAlternateDescriptionAttributeName() uintptr
func NSAppleEventTimeOutDefault ¶
func NSAppleEventTimeOutDefault() uintptr
func NSAppleEventTimeOutNone ¶
func NSAppleEventTimeOutNone() uintptr
func NSAppleScriptErrorAppName ¶
func NSAppleScriptErrorAppName() uintptr
func NSAppleScriptErrorBriefMessage ¶
func NSAppleScriptErrorBriefMessage() uintptr
func NSAppleScriptErrorMessage ¶
func NSAppleScriptErrorMessage() uintptr
func NSAppleScriptErrorNumber ¶
func NSAppleScriptErrorNumber() uintptr
func NSAppleScriptErrorRange ¶
func NSAppleScriptErrorRange() uintptr
func NSArgumentDomain ¶
func NSArgumentDomain() uintptr
NSArgumentDomain identifies a search list entry containing the commandline arguments the application was launched with, if any. Arguments must be formatted as '-key plistvalue'. NSArgumentDomain is automatically included in all search lists, after forced defaults, but before all other entries. This can be useful for testing purposes.
func NSAssertionHandlerKey ¶
func NSAssertionHandlerKey() uintptr
func NSBuddhistCalendar
deprecated
func NSBuddhistCalendar() uintptr
Deprecated: since macOS 10.10.
func NSCalendarDateCalendarDate
deprecated
func NSCalendarDateDateWithStringCalendarFormat
deprecated
func NSCalendarDateDateWithYearMonthDayHourMinuteSecondTimeZone
deprecated
func NSChineseCalendar
deprecated
func NSChineseCalendar() uintptr
Deprecated: since macOS 10.10.
func NSClassDescriptionInvalidateClassDescriptionCache ¶
func NSClassDescriptionInvalidateClassDescriptionCache()
func NSClassDescriptionRegisterClassDescriptionForClass ¶
func NSClassDescriptionRegisterClassDescriptionForClass(description *NSClassDescription, aClass objc.Class)
func NSClassFromString ¶
func NSCompareHashTables ¶
func NSCompareHashTables(table1 *NSHashTable[objc.ID], table2 *NSHashTable[objc.ID]) bool
func NSCompareMapTables ¶
func NSConnectionDidDieNotification
deprecated
func NSConnectionDidDieNotification() uintptr
Deprecated: Use NSXPCConnection instead
func NSConnectionDidInitializeNotification
deprecated
func NSConnectionDidInitializeNotification() uintptr
Deprecated: Use NSXPCConnection instead
func NSConnectionReplyMode
deprecated
func NSConnectionReplyMode() uintptr
Deprecated: Use NSXPCConnection instead
func NSContainsRect ¶
func NSContainsRect(aRect corefoundation.CGRect, bRect corefoundation.CGRect) bool
func NSConvertSwappedDoubleToHost ¶
func NSConvertSwappedDoubleToHost(x NSSwappedDouble) float64
func NSConvertSwappedFloatToHost ¶
func NSConvertSwappedFloatToHost(x NSSwappedFloat) float32
func NSCopyMapTableWithZone ¶
func NSCopyMemoryPages ¶
func NSCountHashTable ¶
func NSCountHashTable(table *NSHashTable[objc.ID]) uint
func NSCountMapTable ¶
func NSCreateMapTable ¶
func NSCreateMapTable(keyCallBacks NSMapTableKeyCallBacks, valueCallBacks NSMapTableValueCallBacks, capacity uint) unsafe.Pointer
func NSCreateMapTableWithZone ¶
func NSCreateMapTableWithZone(keyCallBacks NSMapTableKeyCallBacks, valueCallBacks NSMapTableValueCallBacks, capacity uint, zone unsafe.Pointer) unsafe.Pointer
func NSCreateZone ¶
func NSCurrencySymbol
deprecated
func NSCurrencySymbol() uintptr
Deprecated: since macOS 10.5.
func NSDataDataWithContentsOfMappedFile
deprecated
func NSDateDateWithNaturalLanguageString
deprecated
func NSDateDateWithString
deprecated
func NSDateFormatString
deprecated
func NSDateFormatString() uintptr
Deprecated: since macOS 10.5.
func NSDateFormatterSetDefaultFormatterBehavior ¶
func NSDateFormatterSetDefaultFormatterBehavior(defaultFormatterBehavior NSDateFormatterBehavior)
func NSDateTimeIntervalSinceReferenceDate ¶
func NSDateTimeIntervalSinceReferenceDate() float64
func NSDateTimeOrdering
deprecated
func NSDateTimeOrdering() uintptr
Deprecated: since macOS 10.5.
func NSDeallocateObject ¶
func NSDecimalCompact ¶
func NSDecimalCompact(number *NSDecimal)
func NSDecimalCopy ¶
func NSDecimalDigits
deprecated
func NSDecimalDigits() uintptr
Deprecated: since macOS 10.5.
func NSDecimalIsNotANumber ¶
func NSDecimalNumberSetDefaultBehavior ¶
func NSDecimalNumberSetDefaultBehavior(defaultBehavior NSDecimalNumberBehaviors)
func NSDecimalRound ¶
func NSDecimalRound(result *NSDecimal, number *NSDecimal, scale int, roundingMode NSRoundingMode)
func NSDecimalSeparator
deprecated
func NSDecimalSeparator() uintptr
Deprecated: since macOS 10.5.
func NSDefaultMallocZone ¶
func NSDistantObjectProxyWithLocalConnection ¶
func NSDistantObjectProxyWithLocalConnection(target objc.ID, connection *NSConnection) objc.ID
func NSDistantObjectProxyWithTargetConnection ¶
func NSDistantObjectProxyWithTargetConnection(target objc.ID, connection *NSConnection) objc.ID
func NSDivideRect ¶
func NSDivideRect(inRect corefoundation.CGRect, slice *corefoundation.CGRect, rem *corefoundation.CGRect, amount float64, edge NSRectEdge)
func NSEarlierTimeDesignations
deprecated
func NSEarlierTimeDesignations() uintptr
Deprecated: since macOS 10.5.
func NSEdgeInsetsEqual ¶
func NSEdgeInsetsEqual(aInsets NSEdgeInsets, bInsets NSEdgeInsets) bool
func NSEndHashTableEnumeration ¶
func NSEndHashTableEnumeration(enumerator *NSHashEnumerator)
func NSEndMapTableEnumeration ¶
func NSEndMapTableEnumeration(enumerator *NSMapEnumerator)
func NSEqualPoints ¶
func NSEqualPoints(aPoint corefoundation.CGPoint, bPoint corefoundation.CGPoint) bool
func NSEqualRanges ¶
func NSEqualRects ¶
func NSEqualRects(aRect corefoundation.CGRect, bRect corefoundation.CGRect) bool
func NSEqualSizes ¶
func NSEqualSizes(aSize corefoundation.CGSize, bSize corefoundation.CGSize) bool
func NSErrorFailingURLStringKey ¶
func NSErrorFailingURLStringKey() uintptr
@const NSErrorFailingURLStringKey @abstract The NSError userInfo dictionary key used to store and retrieve the NSString object for the URL which caused a load to fail. @discussion This constant is deprecated in Mac OS X 10.6, and is superseded by NSURLErrorFailingURLStringErrorKey. Both constants refer to the same value for backward-compatibility, but the new symbol name has a better prefix. Deprecated: Use NSURLErrorFailingURLErrorKey instead
func NSExceptionRaiseFormat ¶
func NSExtensionItemAttachmentsKey ¶
func NSExtensionItemAttachmentsKey() uintptr
func NSExtensionItemAttributedContentTextKey ¶
func NSExtensionItemAttributedContentTextKey() uintptr
func NSExtensionItemAttributedTitleKey ¶
func NSExtensionItemAttributedTitleKey() uintptr
func NSExtensionItemsAndErrorsKey ¶
func NSExtensionItemsAndErrorsKey() uintptr
func NSExtensionJavaScriptPreprocessingResultsKey ¶
func NSExtensionJavaScriptPreprocessingResultsKey() uintptr
func NSExtraRefCount ¶
func NSFTPPropertyActiveTransferModeKey
deprecated
func NSFTPPropertyActiveTransferModeKey() uintptr
Deprecated: since macOS 10.4.
func NSFTPPropertyFTPProxy
deprecated
func NSFTPPropertyFTPProxy() uintptr
Deprecated: since macOS 10.4.
func NSFTPPropertyFileOffsetKey
deprecated
func NSFTPPropertyFileOffsetKey() uintptr
Deprecated: since macOS 10.4.
func NSFTPPropertyUserLoginKey
deprecated
func NSFTPPropertyUserLoginKey() uintptr
Deprecated: since macOS 10.4.
func NSFTPPropertyUserPasswordKey
deprecated
func NSFTPPropertyUserPasswordKey() uintptr
Deprecated: since macOS 10.4.
func NSFailedAuthenticationException
deprecated
func NSFailedAuthenticationException() uintptr
Deprecated: Use NSXPCConnection instead
func NSFileCoordinatorAddFilePresenter ¶
func NSFileCoordinatorAddFilePresenter(filePresenter NSFilePresenter)
func NSFileCoordinatorRemoveFilePresenter ¶
func NSFileCoordinatorRemoveFilePresenter(filePresenter NSFilePresenter)
func NSFileHandleNotificationDataItem ¶
func NSFileHandleNotificationDataItem() uintptr
func NSFileHandleNotificationFileHandleItem ¶
func NSFileHandleNotificationFileHandleItem() uintptr
func NSFileHandleNotificationMonitorModes
deprecated
func NSFileHandleNotificationMonitorModes() uintptr
Deprecated: Not supported
func NSFileManagerUnmountDissentingProcessIdentifierErrorKey ¶
func NSFileManagerUnmountDissentingProcessIdentifierErrorKey() uintptr
func NSFileVersionGetNonlocalVersionsOfItemAtURLCompletionHandler ¶
func NSFileVersionGetNonlocalVersionsOfItemAtURLCompletionHandler(url *NSURL, completionHandler func(*NSArray[*NSFileVersion], unsafe.Pointer))
func NSFoundationVersionNumber ¶
func NSFoundationVersionNumber() float64
func NSFreeHashTable ¶
func NSFreeHashTable(table *NSHashTable[objc.ID])
func NSFreeMapTable ¶
func NSFreeMapTable(table *NSMapTable[objc.ID, objc.ID])
func NSGetSizeAndAlignment ¶
func NSGlobalDomain ¶
func NSGlobalDomain() uintptr
NSGlobalDomain identifies a domain shared between all applications for a given user. NSGlobalDomain is automatically included in all search lists, after the entries for the search list's domain.
func NSGrammarCorrections ¶
func NSGrammarCorrections() uintptr
func NSGrammarRange ¶
func NSGrammarRange() uintptr
func NSGrammarUserDescription ¶
func NSGrammarUserDescription() uintptr
func NSGregorianCalendar
deprecated
func NSGregorianCalendar() uintptr
Deprecated: since macOS 10.10.
func NSHTTPPropertyErrorPageDataKey
deprecated
func NSHTTPPropertyErrorPageDataKey() uintptr
Deprecated: since macOS 10.4.
func NSHTTPPropertyHTTPProxy
deprecated
func NSHTTPPropertyHTTPProxy() uintptr
Deprecated: since macOS 10.4.
func NSHTTPPropertyRedirectionHeadersKey
deprecated
func NSHTTPPropertyRedirectionHeadersKey() uintptr
Deprecated: since macOS 10.4.
func NSHTTPPropertyServerHTTPVersionKey
deprecated
func NSHTTPPropertyServerHTTPVersionKey() uintptr
Deprecated: since macOS 10.4.
func NSHTTPPropertyStatusCodeKey
deprecated
func NSHTTPPropertyStatusCodeKey() uintptr
Deprecated: since macOS 10.4.
func NSHTTPPropertyStatusReasonKey
deprecated
func NSHTTPPropertyStatusReasonKey() uintptr
Deprecated: since macOS 10.4.
func NSHashInsert ¶
func NSHashInsert(table *NSHashTable[objc.ID], pointer unsafe.Pointer)
func NSHashInsertIfAbsent ¶
func NSHashInsertKnownAbsent ¶
func NSHashInsertKnownAbsent(table *NSHashTable[objc.ID], pointer unsafe.Pointer)
func NSHashRemove ¶
func NSHashRemove(table *NSHashTable[objc.ID], pointer unsafe.Pointer)
func NSHashTableHashTableWithWeakObjects
deprecated
func NSHebrewCalendar
deprecated
func NSHebrewCalendar() uintptr
Deprecated: since macOS 10.10.
func NSHeight ¶
func NSHeight(aRect corefoundation.CGRect) float64
func NSHostByteOrder ¶
func NSHostByteOrder() int
func NSHostFlushHostCache
deprecated
func NSHostFlushHostCache()
Deprecated: Caching no longer supported
func NSHostIsHostCacheEnabled
deprecated
func NSHostIsHostCacheEnabled() bool
Deprecated: Caching no longer supported
func NSHostSetHostCacheEnabled
deprecated
func NSHostSetHostCacheEnabled(flag bool)
Deprecated: Caching no longer supported
func NSHourNameDesignations
deprecated
func NSHourNameDesignations() uintptr
Deprecated: since macOS 10.5.
func NSISO8601Calendar
deprecated
func NSISO8601Calendar() uintptr
Deprecated: since macOS 10.10.
func NSImageURLAttributeName ¶
func NSImageURLAttributeName() uintptr
func NSIncrementExtraRefCount
deprecated
func NSIndianCalendar
deprecated
func NSIndianCalendar() uintptr
Deprecated: since macOS 10.10.
func NSInflectionAgreementArgumentAttributeName ¶
func NSInflectionAgreementArgumentAttributeName() uintptr
func NSInflectionAgreementConceptAttributeName ¶
func NSInflectionAgreementConceptAttributeName() uintptr
func NSInflectionAlternativeAttributeName ¶
func NSInflectionAlternativeAttributeName() uintptr
func NSInflectionReferentConceptAttributeName ¶
func NSInflectionReferentConceptAttributeName() uintptr
func NSInflectionRuleAttributeName ¶
func NSInflectionRuleAttributeName() uintptr
func NSInflectionRuleCanInflectPreferredLocalization ¶
func NSInflectionRuleCanInflectPreferredLocalization() bool
func NSInlinePresentationIntentAttributeName ¶
func NSInlinePresentationIntentAttributeName() uintptr
func NSInsetRect ¶
func NSInsetRect(aRect corefoundation.CGRect, dX float64, dY float64) corefoundation.CGRect
func NSIntegralRect ¶
func NSIntegralRect(aRect corefoundation.CGRect) corefoundation.CGRect
func NSIntegralRectWithOptions ¶
func NSIntegralRectWithOptions(aRect corefoundation.CGRect, opts NSAlignmentOptions) corefoundation.CGRect
func NSInternationalCurrencyString
deprecated
func NSInternationalCurrencyString() uintptr
Deprecated: since macOS 10.5.
func NSIntersectionRect ¶
func NSIntersectionRect(aRect corefoundation.CGRect, bRect corefoundation.CGRect) corefoundation.CGRect
func NSIntersectsRect ¶
func NSIntersectsRect(aRect corefoundation.CGRect, bRect corefoundation.CGRect) bool
func NSIsEmptyRect ¶
func NSIsEmptyRect(aRect corefoundation.CGRect) bool
func NSIslamicCalendar
deprecated
func NSIslamicCalendar() uintptr
Deprecated: since macOS 10.10.
func NSIslamicCivilCalendar
deprecated
func NSIslamicCivilCalendar() uintptr
Deprecated: since macOS 10.10.
func NSItemProviderErrorDomain ¶
func NSItemProviderErrorDomain() uintptr
func NSItemProviderPreferredImageSizeKey ¶
func NSItemProviderPreferredImageSizeKey() uintptr
func NSJSONSerializationJSONObjectWithDataOptionsError ¶
func NSJSONSerializationJSONObjectWithDataOptionsError(data *NSData, opt NSJSONReadingOptions) (objc.ID, error)
func NSJSONSerializationJSONObjectWithStreamOptionsError ¶
func NSJSONSerializationJSONObjectWithStreamOptionsError(stream *NSInputStream, opt NSJSONReadingOptions) (objc.ID, error)
func NSJSONSerializationWriteJSONObjectToStreamOptionsError ¶
func NSJSONSerializationWriteJSONObjectToStreamOptionsError(obj objc.ID, stream *NSOutputStream, opt NSJSONWritingOptions) (int, error)
func NSJapaneseCalendar
deprecated
func NSJapaneseCalendar() uintptr
Deprecated: since macOS 10.10.
func NSKeyedArchiveRootObjectKey ¶
func NSKeyedArchiveRootObjectKey() uintptr
func NSKeyedArchiverArchiveRootObjectToFile
deprecated
func NSKeyedUnarchiverUnarchiveObjectWithData
deprecated
func NSKeyedUnarchiverUnarchiveObjectWithFile
deprecated
func NSKeyedUnarchiverUnarchiveTopLevelObjectWithDataError
deprecated
func NSKeyedUnarchiverUnarchivedObjectOfClassFromDataError ¶
func NSKeyedUnarchiverUnarchivedObjectOfClassFromDataError(cls objc.Class, data *NSData) (objc.ID, error)
Decodes the root object of the given class from the given archive, previously encoded by \c NSKeyedArchiver. Enables \c requiresSecureCoding and sets the \c decodingFailurePolicy to \c NSDecodingFailurePolicySetErrorAndReturn. Returns \c nil if the given data is not valid or cannot be decoded, and sets the \c error out parameter.
func NSKeyedUnarchiverUnarchivedObjectOfClassesFromDataError ¶
func NSKeyedUnarchiverUnarchivedObjectOfClassesFromDataError(classes *NSSet[objc.Class], data *NSData) (objc.ID, error)
Decodes the root object of one of the given classes from the given archive, previously encoded by \c NSKeyedArchiver. Enables \c requiresSecureCoding and sets the \c decodingFailurePolicy to \c NSDecodingFailurePolicySetErrorAndReturn. Returns \c nil if the given data is not valid or cannot be decoded, and sets the \c error out parameter.
func NSLanguageIdentifierAttributeName ¶
func NSLanguageIdentifierAttributeName() uintptr
func NSLaterTimeDesignations
deprecated
func NSLaterTimeDesignations() uintptr
Deprecated: since macOS 10.5.
func NSLinguisticTaggerEnumerateTagsForStringRangeUnitSchemeOptionsOrthographyUsing
deprecated
func NSLinguisticTaggerEnumerateTagsForStringRangeUnitSchemeOptionsOrthographyUsing(string_ *NSString, range_ NSRange, unit NSLinguisticTaggerUnit, scheme *NSString, options NSLinguisticTaggerOptions, orthography *NSOrthography, block objc.Block)
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSListItemDelimiterAttributeName ¶
func NSListItemDelimiterAttributeName() uintptr
func NSLoadedClasses ¶
func NSLoadedClasses() uintptr
func NSLocalizedNumberFormatAttributeName ¶
func NSLocalizedNumberFormatAttributeName() uintptr
func NSLocationInRange ¶
func NSLogPageSize ¶
func NSLogPageSize() uint
func NSMakePoint ¶
func NSMakePoint(x float64, y float64) corefoundation.CGPoint
func NSMakeRect ¶
func NSMakeSize ¶
func NSMakeSize(w float64, h float64) corefoundation.CGSize
func NSMapInsert ¶
func NSMapInsertIfAbsent ¶
func NSMapInsertKnownAbsent ¶
func NSMapMember ¶
func NSMapRemove ¶
func NSMapTableMapTableWithStrongToStrongObjects
deprecated
func NSMapTableMapTableWithStrongToWeakObjects
deprecated
func NSMapTableMapTableWithWeakToStrongObjects
deprecated
func NSMapTableMapTableWithWeakToWeakObjects
deprecated
func NSMarkdownSourcePositionAttributeName ¶
func NSMarkdownSourcePositionAttributeName() uintptr
func NSMaxRange ¶
func NSMaxX ¶
func NSMaxX(aRect corefoundation.CGRect) float64
func NSMaxY ¶
func NSMaxY(aRect corefoundation.CGRect) float64
func NSMetadataItemAcquisitionMakeKey ¶
func NSMetadataItemAcquisitionMakeKey() uintptr
func NSMetadataItemAcquisitionModelKey ¶
func NSMetadataItemAcquisitionModelKey() uintptr
func NSMetadataItemAlbumKey ¶
func NSMetadataItemAlbumKey() uintptr
func NSMetadataItemAltitudeKey ¶
func NSMetadataItemAltitudeKey() uintptr
func NSMetadataItemApertureKey ¶
func NSMetadataItemApertureKey() uintptr
func NSMetadataItemAppleLoopDescriptorsKey ¶
func NSMetadataItemAppleLoopDescriptorsKey() uintptr
func NSMetadataItemAppleLoopsKeyFilterTypeKey ¶
func NSMetadataItemAppleLoopsKeyFilterTypeKey() uintptr
func NSMetadataItemAppleLoopsLoopModeKey ¶
func NSMetadataItemAppleLoopsLoopModeKey() uintptr
func NSMetadataItemAppleLoopsRootKeyKey ¶
func NSMetadataItemAppleLoopsRootKeyKey() uintptr
func NSMetadataItemApplicationCategoriesKey ¶
func NSMetadataItemApplicationCategoriesKey() uintptr
func NSMetadataItemAttributeChangeDateKey ¶
func NSMetadataItemAttributeChangeDateKey() uintptr
func NSMetadataItemAudiencesKey ¶
func NSMetadataItemAudiencesKey() uintptr
func NSMetadataItemAudioBitRateKey ¶
func NSMetadataItemAudioBitRateKey() uintptr
func NSMetadataItemAudioChannelCountKey ¶
func NSMetadataItemAudioChannelCountKey() uintptr
func NSMetadataItemAudioEncodingApplicationKey ¶
func NSMetadataItemAudioEncodingApplicationKey() uintptr
func NSMetadataItemAudioSampleRateKey ¶
func NSMetadataItemAudioSampleRateKey() uintptr
func NSMetadataItemAudioTrackNumberKey ¶
func NSMetadataItemAudioTrackNumberKey() uintptr
func NSMetadataItemAuthorAddressesKey ¶
func NSMetadataItemAuthorAddressesKey() uintptr
func NSMetadataItemAuthorEmailAddressesKey ¶
func NSMetadataItemAuthorEmailAddressesKey() uintptr
func NSMetadataItemAuthorsKey ¶
func NSMetadataItemAuthorsKey() uintptr
func NSMetadataItemBitsPerSampleKey ¶
func NSMetadataItemBitsPerSampleKey() uintptr
func NSMetadataItemCFBundleIdentifierKey ¶
func NSMetadataItemCFBundleIdentifierKey() uintptr
func NSMetadataItemCameraOwnerKey ¶
func NSMetadataItemCameraOwnerKey() uintptr
func NSMetadataItemCityKey ¶
func NSMetadataItemCityKey() uintptr
func NSMetadataItemCodecsKey ¶
func NSMetadataItemCodecsKey() uintptr
func NSMetadataItemColorSpaceKey ¶
func NSMetadataItemColorSpaceKey() uintptr
func NSMetadataItemCommentKey ¶
func NSMetadataItemCommentKey() uintptr
func NSMetadataItemComposerKey ¶
func NSMetadataItemComposerKey() uintptr
func NSMetadataItemContactKeywordsKey ¶
func NSMetadataItemContactKeywordsKey() uintptr
func NSMetadataItemContentCreationDateKey ¶
func NSMetadataItemContentCreationDateKey() uintptr
func NSMetadataItemContentModificationDateKey ¶
func NSMetadataItemContentModificationDateKey() uintptr
func NSMetadataItemContentTypeKey ¶
func NSMetadataItemContentTypeKey() uintptr
func NSMetadataItemContentTypeTreeKey ¶
func NSMetadataItemContentTypeTreeKey() uintptr
func NSMetadataItemContributorsKey ¶
func NSMetadataItemContributorsKey() uintptr
func NSMetadataItemCopyrightKey ¶
func NSMetadataItemCopyrightKey() uintptr
func NSMetadataItemCountryKey ¶
func NSMetadataItemCountryKey() uintptr
func NSMetadataItemCoverageKey ¶
func NSMetadataItemCoverageKey() uintptr
func NSMetadataItemCreatorKey ¶
func NSMetadataItemCreatorKey() uintptr
func NSMetadataItemDateAddedKey ¶
func NSMetadataItemDateAddedKey() uintptr
func NSMetadataItemDeliveryTypeKey ¶
func NSMetadataItemDeliveryTypeKey() uintptr
func NSMetadataItemDescriptionKey ¶
func NSMetadataItemDescriptionKey() uintptr
func NSMetadataItemDirectorKey ¶
func NSMetadataItemDirectorKey() uintptr
func NSMetadataItemDisplayNameKey ¶
func NSMetadataItemDisplayNameKey() uintptr
func NSMetadataItemDownloadedDateKey ¶
func NSMetadataItemDownloadedDateKey() uintptr
func NSMetadataItemDueDateKey ¶
func NSMetadataItemDueDateKey() uintptr
func NSMetadataItemDurationSecondsKey ¶
func NSMetadataItemDurationSecondsKey() uintptr
func NSMetadataItemEXIFGPSVersionKey ¶
func NSMetadataItemEXIFGPSVersionKey() uintptr
func NSMetadataItemEXIFVersionKey ¶
func NSMetadataItemEXIFVersionKey() uintptr
func NSMetadataItemEditorsKey ¶
func NSMetadataItemEditorsKey() uintptr
func NSMetadataItemEmailAddressesKey ¶
func NSMetadataItemEmailAddressesKey() uintptr
func NSMetadataItemEncodingApplicationsKey ¶
func NSMetadataItemEncodingApplicationsKey() uintptr
func NSMetadataItemExecutableArchitecturesKey ¶
func NSMetadataItemExecutableArchitecturesKey() uintptr
func NSMetadataItemExecutablePlatformKey ¶
func NSMetadataItemExecutablePlatformKey() uintptr
func NSMetadataItemExposureModeKey ¶
func NSMetadataItemExposureModeKey() uintptr
func NSMetadataItemExposureProgramKey ¶
func NSMetadataItemExposureProgramKey() uintptr
func NSMetadataItemExposureTimeSecondsKey ¶
func NSMetadataItemExposureTimeSecondsKey() uintptr
func NSMetadataItemExposureTimeStringKey ¶
func NSMetadataItemExposureTimeStringKey() uintptr
func NSMetadataItemFNumberKey ¶
func NSMetadataItemFNumberKey() uintptr
func NSMetadataItemFSContentChangeDateKey ¶
func NSMetadataItemFSContentChangeDateKey() uintptr
func NSMetadataItemFSCreationDateKey ¶
func NSMetadataItemFSCreationDateKey() uintptr
func NSMetadataItemFSNameKey ¶
func NSMetadataItemFSNameKey() uintptr
func NSMetadataItemFSSizeKey ¶
func NSMetadataItemFSSizeKey() uintptr
func NSMetadataItemFinderCommentKey ¶
func NSMetadataItemFinderCommentKey() uintptr
func NSMetadataItemFlashOnOffKey ¶
func NSMetadataItemFlashOnOffKey() uintptr
func NSMetadataItemFocalLength35mmKey ¶
func NSMetadataItemFocalLength35mmKey() uintptr
func NSMetadataItemFocalLengthKey ¶
func NSMetadataItemFocalLengthKey() uintptr
func NSMetadataItemFontsKey ¶
func NSMetadataItemFontsKey() uintptr
func NSMetadataItemGPSAreaInformationKey ¶
func NSMetadataItemGPSAreaInformationKey() uintptr
func NSMetadataItemGPSDOPKey ¶
func NSMetadataItemGPSDOPKey() uintptr
func NSMetadataItemGPSDateStampKey ¶
func NSMetadataItemGPSDateStampKey() uintptr
func NSMetadataItemGPSDestBearingKey ¶
func NSMetadataItemGPSDestBearingKey() uintptr
func NSMetadataItemGPSDestDistanceKey ¶
func NSMetadataItemGPSDestDistanceKey() uintptr
func NSMetadataItemGPSDestLatitudeKey ¶
func NSMetadataItemGPSDestLatitudeKey() uintptr
func NSMetadataItemGPSDestLongitudeKey ¶
func NSMetadataItemGPSDestLongitudeKey() uintptr
func NSMetadataItemGPSDifferentalKey ¶
func NSMetadataItemGPSDifferentalKey() uintptr
func NSMetadataItemGPSMapDatumKey ¶
func NSMetadataItemGPSMapDatumKey() uintptr
func NSMetadataItemGPSMeasureModeKey ¶
func NSMetadataItemGPSMeasureModeKey() uintptr
func NSMetadataItemGPSProcessingMethodKey ¶
func NSMetadataItemGPSProcessingMethodKey() uintptr
func NSMetadataItemGPSStatusKey ¶
func NSMetadataItemGPSStatusKey() uintptr
func NSMetadataItemGPSTrackKey ¶
func NSMetadataItemGPSTrackKey() uintptr
func NSMetadataItemGenreKey ¶
func NSMetadataItemGenreKey() uintptr
func NSMetadataItemHasAlphaChannelKey ¶
func NSMetadataItemHasAlphaChannelKey() uintptr
func NSMetadataItemHeadlineKey ¶
func NSMetadataItemHeadlineKey() uintptr
func NSMetadataItemISOSpeedKey ¶
func NSMetadataItemISOSpeedKey() uintptr
func NSMetadataItemIdentifierKey ¶
func NSMetadataItemIdentifierKey() uintptr
func NSMetadataItemImageDirectionKey ¶
func NSMetadataItemImageDirectionKey() uintptr
func NSMetadataItemInformationKey ¶
func NSMetadataItemInformationKey() uintptr
func NSMetadataItemInstantMessageAddressesKey ¶
func NSMetadataItemInstantMessageAddressesKey() uintptr
func NSMetadataItemInstructionsKey ¶
func NSMetadataItemInstructionsKey() uintptr
func NSMetadataItemIsApplicationManagedKey ¶
func NSMetadataItemIsApplicationManagedKey() uintptr
func NSMetadataItemIsGeneralMIDISequenceKey ¶
func NSMetadataItemIsGeneralMIDISequenceKey() uintptr
func NSMetadataItemIsLikelyJunkKey ¶
func NSMetadataItemIsLikelyJunkKey() uintptr
func NSMetadataItemIsUbiquitousKey ¶
func NSMetadataItemIsUbiquitousKey() uintptr
func NSMetadataItemKeySignatureKey ¶
func NSMetadataItemKeySignatureKey() uintptr
func NSMetadataItemKeywordsKey ¶
func NSMetadataItemKeywordsKey() uintptr
func NSMetadataItemKindKey ¶
func NSMetadataItemKindKey() uintptr
func NSMetadataItemLanguagesKey ¶
func NSMetadataItemLanguagesKey() uintptr
func NSMetadataItemLastUsedDateKey ¶
func NSMetadataItemLastUsedDateKey() uintptr
func NSMetadataItemLatitudeKey ¶
func NSMetadataItemLatitudeKey() uintptr
func NSMetadataItemLayerNamesKey ¶
func NSMetadataItemLayerNamesKey() uintptr
func NSMetadataItemLensModelKey ¶
func NSMetadataItemLensModelKey() uintptr
func NSMetadataItemLongitudeKey ¶
func NSMetadataItemLongitudeKey() uintptr
func NSMetadataItemLyricistKey ¶
func NSMetadataItemLyricistKey() uintptr
func NSMetadataItemMaxApertureKey ¶
func NSMetadataItemMaxApertureKey() uintptr
func NSMetadataItemMediaTypesKey ¶
func NSMetadataItemMediaTypesKey() uintptr
func NSMetadataItemMeteringModeKey ¶
func NSMetadataItemMeteringModeKey() uintptr
func NSMetadataItemMusicalGenreKey ¶
func NSMetadataItemMusicalGenreKey() uintptr
func NSMetadataItemMusicalInstrumentCategoryKey ¶
func NSMetadataItemMusicalInstrumentCategoryKey() uintptr
func NSMetadataItemMusicalInstrumentNameKey ¶
func NSMetadataItemMusicalInstrumentNameKey() uintptr
func NSMetadataItemNamedLocationKey ¶
func NSMetadataItemNamedLocationKey() uintptr
func NSMetadataItemNumberOfPagesKey ¶
func NSMetadataItemNumberOfPagesKey() uintptr
func NSMetadataItemOrganizationsKey ¶
func NSMetadataItemOrganizationsKey() uintptr
func NSMetadataItemOrientationKey ¶
func NSMetadataItemOrientationKey() uintptr
func NSMetadataItemOriginalFormatKey ¶
func NSMetadataItemOriginalFormatKey() uintptr
func NSMetadataItemOriginalSourceKey ¶
func NSMetadataItemOriginalSourceKey() uintptr
func NSMetadataItemPageHeightKey ¶
func NSMetadataItemPageHeightKey() uintptr
func NSMetadataItemPageWidthKey ¶
func NSMetadataItemPageWidthKey() uintptr
func NSMetadataItemParticipantsKey ¶
func NSMetadataItemParticipantsKey() uintptr
func NSMetadataItemPathKey ¶
func NSMetadataItemPathKey() uintptr
func NSMetadataItemPerformersKey ¶
func NSMetadataItemPerformersKey() uintptr
func NSMetadataItemPhoneNumbersKey ¶
func NSMetadataItemPhoneNumbersKey() uintptr
func NSMetadataItemPixelCountKey ¶
func NSMetadataItemPixelCountKey() uintptr
func NSMetadataItemPixelHeightKey ¶
func NSMetadataItemPixelHeightKey() uintptr
func NSMetadataItemPixelWidthKey ¶
func NSMetadataItemPixelWidthKey() uintptr
func NSMetadataItemProducerKey ¶
func NSMetadataItemProducerKey() uintptr
func NSMetadataItemProfileNameKey ¶
func NSMetadataItemProfileNameKey() uintptr
func NSMetadataItemProjectsKey ¶
func NSMetadataItemProjectsKey() uintptr
func NSMetadataItemPublishersKey ¶
func NSMetadataItemPublishersKey() uintptr
func NSMetadataItemRecipientAddressesKey ¶
func NSMetadataItemRecipientAddressesKey() uintptr
func NSMetadataItemRecipientEmailAddressesKey ¶
func NSMetadataItemRecipientEmailAddressesKey() uintptr
func NSMetadataItemRecipientsKey ¶
func NSMetadataItemRecipientsKey() uintptr
func NSMetadataItemRecordingDateKey ¶
func NSMetadataItemRecordingDateKey() uintptr
func NSMetadataItemRecordingYearKey ¶
func NSMetadataItemRecordingYearKey() uintptr
func NSMetadataItemRedEyeOnOffKey ¶
func NSMetadataItemRedEyeOnOffKey() uintptr
func NSMetadataItemResolutionHeightDPIKey ¶
func NSMetadataItemResolutionHeightDPIKey() uintptr
func NSMetadataItemResolutionWidthDPIKey ¶
func NSMetadataItemResolutionWidthDPIKey() uintptr
func NSMetadataItemRightsKey ¶
func NSMetadataItemRightsKey() uintptr
func NSMetadataItemSecurityMethodKey ¶
func NSMetadataItemSecurityMethodKey() uintptr
func NSMetadataItemSpeedKey ¶
func NSMetadataItemSpeedKey() uintptr
func NSMetadataItemStarRatingKey ¶
func NSMetadataItemStarRatingKey() uintptr
func NSMetadataItemStateOrProvinceKey ¶
func NSMetadataItemStateOrProvinceKey() uintptr
func NSMetadataItemStreamableKey ¶
func NSMetadataItemStreamableKey() uintptr
func NSMetadataItemSubjectKey ¶
func NSMetadataItemSubjectKey() uintptr
func NSMetadataItemTempoKey ¶
func NSMetadataItemTempoKey() uintptr
func NSMetadataItemTextContentKey ¶
func NSMetadataItemTextContentKey() uintptr
func NSMetadataItemThemeKey ¶
func NSMetadataItemThemeKey() uintptr
func NSMetadataItemTimeSignatureKey ¶
func NSMetadataItemTimeSignatureKey() uintptr
func NSMetadataItemTimestampKey ¶
func NSMetadataItemTimestampKey() uintptr
func NSMetadataItemTitleKey ¶
func NSMetadataItemTitleKey() uintptr
func NSMetadataItemTotalBitRateKey ¶
func NSMetadataItemTotalBitRateKey() uintptr
func NSMetadataItemURLKey ¶
func NSMetadataItemURLKey() uintptr
func NSMetadataItemVersionKey ¶
func NSMetadataItemVersionKey() uintptr
func NSMetadataItemVideoBitRateKey ¶
func NSMetadataItemVideoBitRateKey() uintptr
func NSMetadataItemWhereFromsKey ¶
func NSMetadataItemWhereFromsKey() uintptr
func NSMetadataItemWhiteBalanceKey ¶
func NSMetadataItemWhiteBalanceKey() uintptr
func NSMetadataQueryAccessibleUbiquitousExternalDocumentsScope ¶
func NSMetadataQueryAccessibleUbiquitousExternalDocumentsScope() uintptr
func NSMetadataQueryIndexedLocalComputerScope ¶
func NSMetadataQueryIndexedLocalComputerScope() uintptr
func NSMetadataQueryIndexedNetworkScope ¶
func NSMetadataQueryIndexedNetworkScope() uintptr
func NSMetadataQueryLocalComputerScope ¶
func NSMetadataQueryLocalComputerScope() uintptr
func NSMetadataQueryNetworkScope ¶
func NSMetadataQueryNetworkScope() uintptr
func NSMetadataQueryResultContentRelevanceAttribute ¶
func NSMetadataQueryResultContentRelevanceAttribute() uintptr
func NSMetadataQueryUbiquitousDataScope ¶
func NSMetadataQueryUbiquitousDataScope() uintptr
func NSMetadataQueryUbiquitousDocumentsScope ¶
func NSMetadataQueryUbiquitousDocumentsScope() uintptr
func NSMetadataQueryUpdateAddedItemsKey ¶
func NSMetadataQueryUpdateAddedItemsKey() uintptr
func NSMetadataQueryUpdateChangedItemsKey ¶
func NSMetadataQueryUpdateChangedItemsKey() uintptr
func NSMetadataQueryUpdateRemovedItemsKey ¶
func NSMetadataQueryUpdateRemovedItemsKey() uintptr
func NSMetadataQueryUserHomeScope ¶
func NSMetadataQueryUserHomeScope() uintptr
func NSMetadataUbiquitousItemContainerDisplayNameKey ¶
func NSMetadataUbiquitousItemContainerDisplayNameKey() uintptr
func NSMetadataUbiquitousItemDownloadRequestedKey ¶
func NSMetadataUbiquitousItemDownloadRequestedKey() uintptr
func NSMetadataUbiquitousItemDownloadingErrorKey ¶
func NSMetadataUbiquitousItemDownloadingErrorKey() uintptr
func NSMetadataUbiquitousItemDownloadingStatusCurrent ¶
func NSMetadataUbiquitousItemDownloadingStatusCurrent() uintptr
func NSMetadataUbiquitousItemDownloadingStatusDownloaded ¶
func NSMetadataUbiquitousItemDownloadingStatusDownloaded() uintptr
func NSMetadataUbiquitousItemDownloadingStatusKey ¶
func NSMetadataUbiquitousItemDownloadingStatusKey() uintptr
func NSMetadataUbiquitousItemDownloadingStatusNotDownloaded ¶
func NSMetadataUbiquitousItemDownloadingStatusNotDownloaded() uintptr
func NSMetadataUbiquitousItemHasUnresolvedConflictsKey ¶
func NSMetadataUbiquitousItemHasUnresolvedConflictsKey() uintptr
func NSMetadataUbiquitousItemIsDownloadedKey
deprecated
func NSMetadataUbiquitousItemIsDownloadedKey() uintptr
Deprecated: Use NSMetadataUbiquitousItemDownloadingStatusKey instead
func NSMetadataUbiquitousItemIsDownloadingKey ¶
func NSMetadataUbiquitousItemIsDownloadingKey() uintptr
func NSMetadataUbiquitousItemIsExternalDocumentKey ¶
func NSMetadataUbiquitousItemIsExternalDocumentKey() uintptr
func NSMetadataUbiquitousItemIsSharedKey ¶
func NSMetadataUbiquitousItemIsSharedKey() uintptr
func NSMetadataUbiquitousItemIsUploadedKey ¶
func NSMetadataUbiquitousItemIsUploadedKey() uintptr
func NSMetadataUbiquitousItemIsUploadingKey ¶
func NSMetadataUbiquitousItemIsUploadingKey() uintptr
func NSMetadataUbiquitousItemPercentDownloadedKey ¶
func NSMetadataUbiquitousItemPercentDownloadedKey() uintptr
func NSMetadataUbiquitousItemPercentUploadedKey ¶
func NSMetadataUbiquitousItemPercentUploadedKey() uintptr
func NSMetadataUbiquitousItemURLInLocalContainerKey ¶
func NSMetadataUbiquitousItemURLInLocalContainerKey() uintptr
func NSMetadataUbiquitousItemUploadingErrorKey ¶
func NSMetadataUbiquitousItemUploadingErrorKey() uintptr
func NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey ¶
func NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey() uintptr
func NSMetadataUbiquitousSharedItemCurrentUserRoleKey ¶
func NSMetadataUbiquitousSharedItemCurrentUserRoleKey() uintptr
func NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey ¶
func NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey() uintptr
func NSMetadataUbiquitousSharedItemOwnerNameComponentsKey ¶
func NSMetadataUbiquitousSharedItemOwnerNameComponentsKey() uintptr
func NSMetadataUbiquitousSharedItemPermissionsReadOnly ¶
func NSMetadataUbiquitousSharedItemPermissionsReadOnly() uintptr
func NSMetadataUbiquitousSharedItemPermissionsReadWrite ¶
func NSMetadataUbiquitousSharedItemPermissionsReadWrite() uintptr
func NSMetadataUbiquitousSharedItemRoleOwner ¶
func NSMetadataUbiquitousSharedItemRoleOwner() uintptr
func NSMetadataUbiquitousSharedItemRoleParticipant ¶
func NSMetadataUbiquitousSharedItemRoleParticipant() uintptr
func NSMidX ¶
func NSMidX(aRect corefoundation.CGRect) float64
func NSMidY ¶
func NSMidY(aRect corefoundation.CGRect) float64
func NSMinX ¶
func NSMinX(aRect corefoundation.CGRect) float64
func NSMinY ¶
func NSMinY(aRect corefoundation.CGRect) float64
func NSMonthNameArray
deprecated
func NSMonthNameArray() uintptr
Deprecated: since macOS 10.5.
func NSMorphologyAttributeName ¶
func NSMorphologyAttributeName() uintptr
func NSMorphologyCustomPronounIsSupportedForLanguage
deprecated
func NSMouseInRect ¶
func NSMouseInRect(aPoint corefoundation.CGPoint, aRect corefoundation.CGRect, flipped bool) bool
func NSNegativeCurrencyFormatString
deprecated
func NSNegativeCurrencyFormatString() uintptr
Deprecated: since macOS 10.5.
func NSNetServicesErrorCode ¶
func NSNetServicesErrorCode() uintptr
func NSNetServicesErrorDomain ¶
func NSNetServicesErrorDomain() uintptr
func NSNextDayDesignations
deprecated
func NSNextDayDesignations() uintptr
Deprecated: since macOS 10.5.
func NSNextHashEnumeratorItem ¶
func NSNextHashEnumeratorItem(enumerator *NSHashEnumerator) unsafe.Pointer
func NSNextNextDayDesignations
deprecated
func NSNextNextDayDesignations() uintptr
Deprecated: since macOS 10.5.
func NSNumberFormatterSetDefaultFormatterBehavior ¶
func NSNumberFormatterSetDefaultFormatterBehavior(behavior NSNumberFormatterBehavior)
func NSObjectAccessInstanceVariablesDirectly ¶
func NSObjectAccessInstanceVariablesDirectly() bool
func NSObjectClass ¶
func NSObjectHash ¶
func NSObjectHash() uint
func NSObjectSetKeysTriggerChangeNotificationsForDependentKey
deprecated
func NSObjectSetVersion ¶
func NSObjectSetVersion(aVersion int)
func NSObjectSuperclass ¶
func NSObjectUseStoredAccessor
deprecated
func NSObjectUseStoredAccessor() bool
Deprecated: Legacy KVC API
func NSObjectVersion ¶
func NSObjectVersion() int
func NSOffsetRect ¶
func NSOffsetRect(aRect corefoundation.CGRect, dX float64, dY float64) corefoundation.CGRect
func NSOperationNotSupportedForKeyException ¶
func NSOperationNotSupportedForKeyException() uintptr
func NSPageSize ¶
func NSPageSize() uint
func NSPersianCalendar
deprecated
func NSPersianCalendar() uintptr
Deprecated: since macOS 10.10.
func NSPersonNameComponentDelimiter ¶
func NSPersonNameComponentDelimiter() uintptr
func NSPersonNameComponentFamilyName ¶
func NSPersonNameComponentFamilyName() uintptr
func NSPersonNameComponentGivenName ¶
func NSPersonNameComponentGivenName() uintptr
func NSPersonNameComponentKey ¶
func NSPersonNameComponentKey() uintptr
func NSPersonNameComponentMiddleName ¶
func NSPersonNameComponentMiddleName() uintptr
func NSPersonNameComponentNickname ¶
func NSPersonNameComponentNickname() uintptr
func NSPersonNameComponentPrefix ¶
func NSPersonNameComponentPrefix() uintptr
func NSPersonNameComponentSuffix ¶
func NSPersonNameComponentSuffix() uintptr
func NSPointFromCGPoint ¶
func NSPointFromCGPoint(cgpoint corefoundation.CGPoint) corefoundation.CGPoint
func NSPointFromString ¶
func NSPointFromString(aString *NSString) corefoundation.CGPoint
func NSPointInRect ¶
func NSPointInRect(aPoint corefoundation.CGPoint, aRect corefoundation.CGRect) bool
func NSPointToCGPoint ¶
func NSPointToCGPoint(nspoint corefoundation.CGPoint) corefoundation.CGPoint
func NSPointerArrayPointerArrayWithStrongObjects
deprecated
func NSPointerArrayPointerArrayWithWeakObjects
deprecated
func NSPositiveCurrencyFormatString
deprecated
func NSPositiveCurrencyFormatString() uintptr
Deprecated: since macOS 10.5.
func NSPriorDayDesignations
deprecated
func NSPriorDayDesignations() uintptr
Deprecated: since macOS 10.5.
func NSProgressFileAnimationImageKey ¶
func NSProgressFileAnimationImageKey() uintptr
func NSProgressFileAnimationImageOriginalRectKey ¶
func NSProgressFileAnimationImageOriginalRectKey() uintptr
func NSProgressFileIconKey ¶
func NSProgressFileIconKey() uintptr
func NSPropertyListSerializationPropertyListFromDataMutabilityOptionFormatErrorDescription
deprecated
func NSPropertyListSerializationPropertyListFromDataMutabilityOptionFormatErrorDescription(data *NSData, opt NSPropertyListMutabilityOptions, format *NSPropertyListFormat, errorString *NSString) objc.ID
Deprecated: Use propertyListWithData:options:format:error: instead.
func NSPropertyListSerializationPropertyListIsValidForFormat ¶
func NSPropertyListSerializationPropertyListIsValidForFormat(plist objc.ID, format NSPropertyListFormat) bool
func NSPropertyListSerializationPropertyListWithDataOptionsFormatError ¶
func NSPropertyListSerializationPropertyListWithDataOptionsFormatError(data *NSData, opt NSPropertyListMutabilityOptions, format *NSPropertyListFormat) (objc.ID, error)
func NSPropertyListSerializationPropertyListWithStreamOptionsFormatError ¶
func NSPropertyListSerializationPropertyListWithStreamOptionsFormatError(stream *NSInputStream, opt NSPropertyListMutabilityOptions, format *NSPropertyListFormat) (objc.ID, error)
func NSPropertyListSerializationWritePropertyListToStreamFormatOptionsError ¶
func NSPropertyListSerializationWritePropertyListToStreamFormatOptionsError(plist objc.ID, stream *NSOutputStream, format NSPropertyListFormat, opt uint) (int, error)
func NSProtocolFromString ¶
func NSProxyAlloc ¶
func NSProxyClass ¶
func NSRealMemoryAvailable
deprecated
func NSRealMemoryAvailable() uint
Deprecated: Use NSProcessInfo instead
func NSRectFromCGRect ¶
func NSRectFromCGRect(cgrect corefoundation.CGRect) corefoundation.CGRect
func NSRectFromString ¶
func NSRectFromString(aString *NSString) corefoundation.CGRect
func NSRectToCGRect ¶
func NSRectToCGRect(nsrect corefoundation.CGRect) corefoundation.CGRect
func NSRecycleZone ¶
func NSRegistrationDomain ¶
func NSRegistrationDomain() uintptr
NSRegistrationDomain identifies a search list entry containing all defaults set with -registerDefaults:, if any. NSRegistrationDomain is automatically included as the final entry of all search lists.
func NSReplacementIndexAttributeName ¶
func NSReplacementIndexAttributeName() uintptr
func NSRepublicOfChinaCalendar
deprecated
func NSRepublicOfChinaCalendar() uintptr
Deprecated: since macOS 10.10.
func NSResetHashTable ¶
func NSResetHashTable(table *NSHashTable[objc.ID])
func NSResetMapTable ¶
func NSResetMapTable(table *NSMapTable[objc.ID, objc.ID])
func NSScriptSuiteRegistrySetSharedScriptSuiteRegistry ¶
func NSScriptSuiteRegistrySetSharedScriptSuiteRegistry(registry *NSScriptSuiteRegistry)
func NSSelectorFromString ¶
func NSSetZoneName ¶
func NSShortDateFormatString
deprecated
func NSShortDateFormatString() uintptr
Deprecated: since macOS 10.5.
func NSShortMonthNameArray
deprecated
func NSShortMonthNameArray() uintptr
Deprecated: since macOS 10.5.
func NSShortTimeDateFormatString
deprecated
func NSShortTimeDateFormatString() uintptr
Deprecated: since macOS 10.5.
func NSShortWeekDayNameArray
deprecated
func NSShortWeekDayNameArray() uintptr
Deprecated: since macOS 10.5.
func NSSizeFromCGSize ¶
func NSSizeFromCGSize(cgsize corefoundation.CGSize) corefoundation.CGSize
func NSSizeFromString ¶
func NSSizeFromString(aString *NSString) corefoundation.CGSize
func NSSizeToCGSize ¶
func NSSizeToCGSize(nssize corefoundation.CGSize) corefoundation.CGSize
func NSStreamGetBoundStreamsWithBufferSizeInputStreamOutputStream ¶
func NSStreamGetBoundStreamsWithBufferSizeInputStreamOutputStream(bufferSize uint, inputStream *NSInputStream, outputStream *NSOutputStream)
func NSStreamGetStreamsToHostPortInputStreamOutputStream
deprecated
func NSStreamGetStreamsToHostPortInputStreamOutputStream(host *NSHost, port int, inputStream *NSInputStream, outputStream *NSOutputStream)
Deprecated: Use nw_connection_t in Network framework instead
func NSStreamGetStreamsToHostWithNamePortInputStreamOutputStream
deprecated
func NSStreamGetStreamsToHostWithNamePortInputStreamOutputStream(hostname *NSString, port int, inputStream *NSInputStream, outputStream *NSOutputStream)
Deprecated: Use nw_connection_t in Network framework instead
func NSStringAvailableStringEncodings ¶
func NSStringAvailableStringEncodings() *uint
func NSStringDefaultCStringEncoding ¶
func NSStringDefaultCStringEncoding() uint
func NSStringStringWithCString
deprecated
func NSStringStringWithCStringLength
deprecated
func NSStringStringWithContentsOfFile
deprecated
func NSStringStringWithContentsOfURL
deprecated
func NSSwapBigDoubleToHost ¶
func NSSwapBigDoubleToHost(x NSSwappedDouble) float64
func NSSwapBigFloatToHost ¶
func NSSwapBigFloatToHost(x NSSwappedFloat) float32
func NSSwapBigIntToHost ¶
func NSSwapBigLongToHost ¶
func NSSwapBigShortToHost ¶
func NSSwapHostIntToBig ¶
func NSSwapHostIntToLittle ¶
func NSSwapHostLongToBig ¶
func NSSwapHostLongToLittle ¶
func NSSwapHostShortToBig ¶
func NSSwapLittleDoubleToHost ¶
func NSSwapLittleDoubleToHost(x NSSwappedDouble) float64
func NSSwapLittleFloatToHost ¶
func NSSwapLittleFloatToHost(x NSSwappedFloat) float32
func NSSwapLittleIntToHost ¶
func NSSwapLittleLongToHost ¶
func NSSwapLong ¶
func NSSwapLongLong ¶
func NSSwapShort ¶
func NSThisDayDesignations
deprecated
func NSThisDayDesignations() uintptr
Deprecated: since macOS 10.5.
func NSThousandsSeparator
deprecated
func NSThousandsSeparator() uintptr
Deprecated: since macOS 10.5.
func NSThreadDetachNewThreadWith ¶
func NSThreadDetachNewThreadWith(block func())
func NSThreadExit ¶
func NSThreadExit()
func NSThreadIsMainThread ¶
func NSThreadIsMainThread() bool
func NSThreadIsMultiThreaded ¶
func NSThreadIsMultiThreaded() bool
func NSThreadSleepForTimeInterval ¶
func NSThreadSleepForTimeInterval(ti float64)
func NSThreadSleepUntilDate ¶
func NSThreadSleepUntilDate(date *NSDate)
func NSThreadThreadPriority ¶
func NSThreadThreadPriority() float64
func NSTimeDateFormatString
deprecated
func NSTimeDateFormatString() uintptr
Deprecated: since macOS 10.5.
func NSTimeFormatString
deprecated
func NSTimeFormatString() uintptr
Deprecated: since macOS 10.5.
func NSTimeZoneResetSystemTimeZone ¶
func NSTimeZoneResetSystemTimeZone()
func NSTimeZoneSetAbbreviationDictionary ¶
func NSTimeZoneSetAbbreviationDictionary(abbreviationDictionary *NSDictionary[*NSString, *NSString])
func NSTimeZoneSetDefaultTimeZone ¶
func NSTimeZoneSetDefaultTimeZone(defaultTimeZone *NSTimeZone)
func NSURLApplicationIsScriptableKey ¶
func NSURLApplicationIsScriptableKey() uintptr
func NSURLAuthenticationMethodClientCertificate ¶
func NSURLAuthenticationMethodClientCertificate() uintptr
@const NSURLAuthenticationMethodClientCertificate @abstract SSL Client certificate. Applies to any protocol.
func NSURLAuthenticationMethodDefault ¶
func NSURLAuthenticationMethodDefault() uintptr
@const NSURLAuthenticationMethodDefault @abstract The default authentication method for a protocol
func NSURLAuthenticationMethodHTMLForm ¶
func NSURLAuthenticationMethodHTMLForm() uintptr
@const NSURLAuthenticationMethodHTMLForm @abstract HTML form authentication. Applies to any protocol.
func NSURLAuthenticationMethodHTTPBasic ¶
func NSURLAuthenticationMethodHTTPBasic() uintptr
@const NSURLAuthenticationMethodHTTPBasic @abstract HTTP basic authentication. Equivalent to NSURLAuthenticationMethodDefault for http.
func NSURLAuthenticationMethodHTTPDigest ¶
func NSURLAuthenticationMethodHTTPDigest() uintptr
@const NSURLAuthenticationMethodHTTPDigest @abstract HTTP digest authentication.
func NSURLAuthenticationMethodNTLM ¶
func NSURLAuthenticationMethodNTLM() uintptr
@const NSURLAuthenticationMethodNTLM @abstract NTLM authentication.
func NSURLAuthenticationMethodNegotiate ¶
func NSURLAuthenticationMethodNegotiate() uintptr
@const NSURLAuthenticationMethodNegotiate @abstract Negotiate authentication.
func NSURLAuthenticationMethodServerTrust ¶
func NSURLAuthenticationMethodServerTrust() uintptr
@const NSURLAuthenticationMethodServerTrust @abstract SecTrustRef validation required. Applies to any protocol.
func NSURLCacheSetSharedURLCache ¶
func NSURLCacheSetSharedURLCache(sharedURLCache *NSURLCache)
func NSURLConnectionCanHandleRequest ¶
func NSURLConnectionCanHandleRequest(request *NSURLRequest) bool
@method canHandleRequest: @abstract Performs a "preflight" operation that performs some speculative checks to see if a connection can be initialized, and the associated I/O that is started in the initializer methods can begin. @discussion The result of this method is valid only as long as no protocols are registered or unregistered, and as long as the request is not mutated (if the request is mutable). Hence, clients should be prepared to handle failures even if they have performed request preflighting by calling this method. @param request The request to preflight. @result YES if it is likely that the given request can be used to initialize a connection and the associated I/O can be started, NO otherwise.
func NSURLConnectionSendAsynchronousRequestQueueCompletionHandler ¶
func NSURLConnectionSendAsynchronousRequestQueueCompletionHandler(request *NSURLRequest, queue *NSOperationQueue, handler func(*NSURLResponse, *NSData, unsafe.Pointer))
@method sendAsynchronousRequest:queue:completionHandler: @abstract Performs an asynchronous load of the given request. When the request has completed or failed, the block will be executed from the context of the specified NSOperationQueue. @discussion This is a convenience routine that allows for asynchronous loading of a url-based resource. If the resource load is successful, the data parameter to the callback will contain the resource data and the error parameter will be nil. If the resource load fails, the data parameter will be nil and the error will contain information about the failure. @param request The request to load. Note that the request is deep-copied as part of the initialization process. Changes made to the request argument after this method returns do not affect the request that is used for the loading process. @param queue An NSOperationQueue upon which the handler block will be dispatched. @param handler A block which receives the results of the resource load. Deprecated: Use [NSURLSession dataTaskWithRequest:completionHandler:] (see NSURLSession.h
func NSURLCredentialStorageRemoveSynchronizableCredentials ¶
func NSURLCredentialStorageRemoveSynchronizableCredentials() uintptr
func NSURLDownloadCanResumeDownloadDecodedWithEncodingMIMEType ¶
@method canResumeDownloadDecodedWithEncodingMIMEType: @abstract Returns whether or not NSURLDownload can resume a download that was decoded with a given encoding MIME type. @param MIMEType The encoding MIME type. @description canResumeDownloadDecodedWithEncodingMIMEType: returns whether or not NSURLDownload can resume a download that was decoded with a given encoding MIME type. NSURLDownload cannot resume a download that was partially decoded in the gzip format for example. In order to ensure that a download can be later resumed, canResumeDownloadDecodedWithEncodingMIMEType: should be used when download:shouldDecodeSourceDataOfMIMEType: is called.
func NSURLErrorBackgroundTaskCancelledReasonKey ¶
func NSURLErrorBackgroundTaskCancelledReasonKey() uintptr
@const NSURLErrorBackgroundTaskCancelledReasonKey @abstract The NSError userInfo dictionary key used to store and retrieve the NSNumber corresponding to the reason why a background NSURLSessionTask was cancelled
func NSURLErrorFailingURLErrorKey ¶
func NSURLErrorFailingURLErrorKey() uintptr
@const NSURLErrorFailingURLErrorKey @abstract The NSError userInfo dictionary key used to store and retrieve the URL which caused a load to fail.
func NSURLErrorFailingURLPeerTrustErrorKey ¶
func NSURLErrorFailingURLPeerTrustErrorKey() uintptr
@const NSURLErrorFailingURLPeerTrustErrorKey @abstract The NSError userInfo dictionary key used to store and retrieve the SecTrustRef object representing the state of a failed SSL handshake.
func NSURLErrorFailingURLStringErrorKey ¶
func NSURLErrorFailingURLStringErrorKey() uintptr
@const NSURLErrorFailingURLStringErrorKey @abstract The NSError userInfo dictionary key used to store and retrieve the NSString object for the URL which caused a load to fail. @discussion This constant supersedes NSErrorFailingURLStringKey, which was deprecated in Mac OS X 10.6. Both constants refer to the same value for backward-compatibility, but this symbol name has a better prefix. Deprecated: Use NSURLErrorFailingURLErrorKey instead
func NSURLFileScheme ¶
func NSURLFileScheme() uintptr
func NSURLHandleCanInitWithURL
deprecated
func NSURLHandleRegisterURLHandleClass
deprecated
func NSURLHandleURLHandleClassForURL
deprecated
func NSURLProtectionSpaceFTP ¶
func NSURLProtectionSpaceFTP() uintptr
@const NSURLProtectionSpaceFTP @abstract The protocol for FTP Deprecated: FTP is deprecated and only supported in the classic loading mode
func NSURLProtectionSpaceFTPProxy ¶
func NSURLProtectionSpaceFTPProxy() uintptr
@const NSURLProtectionSpaceFTPProxy @abstract The proxy type for ftp proxies Deprecated: FTP is deprecated and only supported in the classic loading mode
func NSURLProtectionSpaceHTTP ¶
func NSURLProtectionSpaceHTTP() uintptr
@const NSURLProtectionSpaceHTTP @abstract The protocol for HTTP
func NSURLProtectionSpaceHTTPProxy ¶
func NSURLProtectionSpaceHTTPProxy() uintptr
@const NSURLProtectionSpaceHTTPProxy @abstract The proxy type for http proxies
func NSURLProtectionSpaceHTTPS ¶
func NSURLProtectionSpaceHTTPS() uintptr
@const NSURLProtectionSpaceHTTPS @abstract The protocol for HTTPS
func NSURLProtectionSpaceHTTPSProxy ¶
func NSURLProtectionSpaceHTTPSProxy() uintptr
@const NSURLProtectionSpaceHTTPSProxy @abstract The proxy type for https proxies
func NSURLProtectionSpaceSOCKSProxy ¶
func NSURLProtectionSpaceSOCKSProxy() uintptr
@const NSURLProtectionSpaceSOCKSProxy @abstract The proxy type for SOCKS proxies
func NSURLProtocolCanInitWithRequest ¶
func NSURLProtocolCanInitWithRequest(request *NSURLRequest) bool
@method canInitWithRequest: @abstract This method determines whether this protocol can handle the given request. @discussion A concrete subclass should inspect the given request and determine whether or not the implementation can perform a load with that request. This is an abstract method. Subclasses must provide an implementation. @param request A request to inspect. @result YES if the protocol can handle the given request, NO if not.
func NSURLProtocolCanInitWithTask ¶
func NSURLProtocolCanInitWithTask(task *NSURLSessionTask) bool
func NSURLProtocolPropertyForKeyInRequest ¶
func NSURLProtocolPropertyForKeyInRequest(key *NSString, request *NSURLRequest) objc.ID
@method propertyForKey:inRequest: @abstract Returns the property in the given request previously stored with the given key. @discussion The purpose of this method is to provide an interface for protocol implementors to access protocol-specific information associated with NSURLRequest objects. @param key The string to use for the property lookup. @param request The request to use for the property lookup. @result The property stored with the given key, or nil if no property had previously been stored with the given key in the given request.
func NSURLProtocolRegisterClass ¶
@method registerClass: @abstract This method registers a protocol class, making it visible to several other NSURLProtocol class methods. @discussion When the URL loading system begins to load a request, each protocol class that has been registered is consulted in turn to see if it can be initialized with a given request. The first protocol handler class to provide a YES answer to <tt>+canInitWithRequest:</tt> "wins" and that protocol implementation is used to perform the URL load. There is no guarantee that all registered protocol classes will be consulted. Hence, it should be noted that registering a class places it first on the list of classes that will be consulted in calls to <tt>+canInitWithRequest:</tt>, moving it in front of all classes that had been registered previously. <p>A similar design governs the process to create the canonical form of a request with the <tt>+canonicalRequestForRequest:</tt> class method. @param protocolClass the class to register. @result YES if the protocol was registered successfully, NO if not. The only way that failure can occur is if the given class is not a subclass of NSURLProtocol.
func NSURLProtocolRemovePropertyForKeyInRequest ¶
func NSURLProtocolRemovePropertyForKeyInRequest(key *NSString, request *NSMutableURLRequest)
@method removePropertyForKey:inRequest: @abstract Remove any property stored under the given key @discussion Like setProperty:forKey:inRequest: above, the purpose of this method is to give protocol implementors the ability to store protocol-specific information in an NSURLRequest @param key The key whose value should be removed @param request The request to be modified
func NSURLProtocolRequestIsCacheEquivalentToRequest ¶
func NSURLProtocolRequestIsCacheEquivalentToRequest(a *NSURLRequest, b *NSURLRequest) bool
@method requestIsCacheEquivalent:toRequest: @abstract Compares two requests for equivalence with regard to caching. @discussion Requests are considered equivalent for cache purposes if and only if they would be handled by the same protocol AND that protocol declares them equivalent after performing implementation-specific checks. @result YES if the two requests are cache-equivalent, NO otherwise.
func NSURLProtocolSetPropertyForKeyInRequest ¶
func NSURLProtocolSetPropertyForKeyInRequest(value objc.ID, key *NSString, request *NSMutableURLRequest)
@method setProperty:forKey:inRequest: @abstract Stores the given property in the given request using the given key. @discussion The purpose of this method is to provide an interface for protocol implementors to customize protocol-specific information associated with NSMutableURLRequest objects. @param value The property to store. @param key The string to use for the property storage. @param request The request in which to store the property.
func NSURLProtocolUnregisterClass ¶
@method unregisterClass: @abstract This method unregisters a protocol. @discussion After unregistration, a protocol class is no longer consulted in calls to NSURLProtocol class methods. @param protocolClass The class to unregister.
func NSURLQuarantinePropertiesKey ¶
func NSURLQuarantinePropertiesKey() uintptr
func NSURLRequestSupportsSecureCoding ¶
func NSURLRequestSupportsSecureCoding() bool
@property supportsSecureCoding @abstract Indicates that NSURLRequest implements the NSSecureCoding protocol. @result A BOOL value set to YES.
func NSURLSessionDownloadTaskResumeData ¶
func NSURLSessionDownloadTaskResumeData() uintptr
func NSURLSessionTaskPriorityDefault ¶
func NSURLSessionTaskPriorityDefault() uintptr
func NSURLSessionTaskPriorityHigh ¶
func NSURLSessionTaskPriorityHigh() uintptr
func NSURLSessionTaskPriorityLow ¶
func NSURLSessionTaskPriorityLow() uintptr
func NSURLSessionTransferSizeUnknown ¶
func NSURLSessionTransferSizeUnknown() int64
func NSURLSessionUploadTaskResumeData ¶
func NSURLSessionUploadTaskResumeData() uintptr
Key in the userInfo dictionary of an NSError received during a failed upload.
func NSURLTagNamesKey ¶
func NSURLTagNamesKey() uintptr
func NSURLThumbnailKey
deprecated
func NSURLThumbnailKey() uintptr
Deprecated: Use the QuickLookThumbnailing framework and extension point instead
func NSUbiquitousKeyValueStoreChangeReasonKey ¶
func NSUbiquitousKeyValueStoreChangeReasonKey() uintptr
func NSUbiquitousKeyValueStoreChangedKeysKey ¶
func NSUbiquitousKeyValueStoreChangedKeysKey() uintptr
func NSUndoManagerGroupIsDiscardableKey ¶
func NSUndoManagerGroupIsDiscardableKey() uintptr
func NSUnionRect ¶
func NSUnionRect(aRect corefoundation.CGRect, bRect corefoundation.CGRect) corefoundation.CGRect
func NSUserActivityDeleteAllSavedUserActivitiesWithCompletionHandler ¶
func NSUserActivityDeleteAllSavedUserActivitiesWithCompletionHandler(handler func())
func NSUserActivityTypeBrowsingWeb ¶
func NSUserActivityTypeBrowsingWeb() uintptr
func NSUserDefaultsResetStandardUserDefaults ¶
func NSUserDefaultsResetStandardUserDefaults()
+resetStandardUserDefaults releases the standardUserDefaults and sets it to nil. A new standardUserDefaults will be created the next time it's accessed. The only visible effect this has is that all KVO observers of the previous standardUserDefaults will no longer be observing it.
func NSUserNotificationDefaultSoundName
deprecated
func NSUserNotificationDefaultSoundName() uintptr
Deprecated: All NSUserNotifications API should be replaced with UserNotifications.frameworks API
func NSValueTransformerAllowsReverseTransformation ¶
func NSValueTransformerAllowsReverseTransformation() bool
func NSValueTransformerSetValueTransformerForName ¶
func NSValueTransformerSetValueTransformerForName(transformer *NSValueTransformer, name *NSString)
func NSWeekDayNameArray
deprecated
func NSWeekDayNameArray() uintptr
Deprecated: since macOS 10.5.
func NSWidth ¶
func NSWidth(aRect corefoundation.CGRect) float64
func NSXMLNodeAttributeWithNameStringValue ¶
@method attributeWithName:stringValue: @abstract Returns an attribute <tt>name="stringValue"</tt>.
func NSXMLNodeAttributeWithNameURIStringValue ¶
func NSXMLNodeAttributeWithNameURIStringValue(name *NSString, uRI *NSString, stringValue *NSString) objc.ID
@method attributeWithLocalName:URI:stringValue: @abstract Returns an attribute whose full QName is specified.
func NSXMLNodeCommentWithStringValue ¶
@method commentWithStringValue: @abstract Returns a comment <tt><--stringValue--></tt>.
func NSXMLNodeDTDNodeWithXMLString ¶
@method DTDNodeWithXMLString: @abstract Returns an element, attribute, entity, or notation DTD node based on the full XML string.
func NSXMLNodeDocument ¶
@method document: @abstract Returns an empty document.
func NSXMLNodeDocumentWithRootElement ¶
func NSXMLNodeDocumentWithRootElement(element *NSXMLElement) objc.ID
@method documentWithRootElement: @abstract Returns a document @param element The document's root node.
func NSXMLNodeElementWithName ¶
@method elementWithName: @abstract Returns an element <tt><name></name></tt>.
func NSXMLNodeElementWithNameChildrenAttributes ¶
func NSXMLNodeElementWithNameChildrenAttributes(name *NSString, children *NSArray[*NSXMLNode], attributes *NSArray[*NSXMLNode]) objc.ID
@method elementWithName:children:attributes: @abstract Returns an element children and attributes <tt><name attr1="foo" attr2="bar"><-- child1 -->child2</name></tt>.
func NSXMLNodeElementWithNameStringValue ¶
@method elementWithName:stringValue: @abstract Returns an element with a single text node child <tt><name>string</name></tt>.
func NSXMLNodeElementWithNameURI ¶
@method elementWithName:URI: @abstract Returns an element whose full QName is specified.
func NSXMLNodeNamespaceWithNameStringValue ¶
@method namespaceWithName:stringValue: @abstract Returns a namespace <tt>xmlns:name="stringValue"</tt>.
func NSXMLNodeProcessingInstructionWithNameStringValue ¶
func NSXMLNodeProcessingInstructionWithNameStringValue(name *NSString, stringValue *NSString) objc.ID
@method processingInstructionWithName:stringValue: @abstract Returns a processing instruction <tt><?name stringValue></tt>.
func NSXMLNodeTextWithStringValue ¶
@method textWithStringValue: @abstract Returns a text node.
func NSYearMonthWeekDesignations
deprecated
func NSYearMonthWeekDesignations() uintptr
Deprecated: since macOS 10.5.
func NSZeroPoint ¶
func NSZeroPoint() corefoundation.CGPoint
func NSZeroRect ¶
func NSZeroRect() corefoundation.CGRect
func NSZeroSize ¶
func NSZeroSize() corefoundation.CGSize
func NSZoneCalloc ¶
func NSZoneRealloc ¶
func ObjectGetClassName ¶
Returns the class name of a given object. @param obj An Objective-C object. @return The name of the class of which \e obj is an instance. C function: object_getClassName
func ObjectGetIndexedIvars ¶
Returns a pointer to any extra bytes allocated with an instance given object. @param obj An Objective-C object. @return A pointer to any extra bytes allocated with \e obj. If \e obj was not allocated with any extra bytes, then dereferencing the returned pointer is undefined. @note This function returns a pointer to any extra bytes allocated with the instance (as specified by \c class_createInstance with extraBytes>0). This memory follows the object's ordinary ivars, but may not be adjacent to the last ivar. @note The returned pointer is guaranteed to be pointer-size aligned, even if the area following the object's last ivar is less aligned than that. Alignment greater than pointer-size is never guaranteed, even if the area following the object's last ivar is more aligned than that. @note In a garbage-collected environment, the memory is scanned conservatively. C function: object_getIndexedIvars
func SelGetName ¶
Returns the name of the method specified by a given selector. @param sel A pointer of type \c SEL. Pass the selector whose name you wish to determine. @return A C string indicating the name of the selector. C function: sel_getName
func SelGetUid ¶
Registers a method name with the Objective-C runtime system. @param str A pointer to a C string. Pass the name of the method you wish to register. @return A pointer of type SEL specifying the selector for the named method. @note The implementation of this method is identical to the implementation of \c sel_registerName. @note Prior to OS X version 10.0, this method tried to find the selector mapped to the given name and returned \c NULL if the selector was not found. This was changed for safety, because it was observed that many of the callers of this function did not check the return value for \c NULL. C function: sel_getUid
func SelIsMapped ¶
Identifies a selector as being valid or invalid. @param sel The selector you want to identify. @return YES if selector is valid and has a function implementation, NO otherwise. @warning On some platforms, an invalid reference (to invalid memory addresses) can cause a crash. C function: sel_isMapped
func SelRegisterName ¶
Registers a method with the Objective-C runtime system, maps the method name to a selector, and returns the selector value. @param str A pointer to a C string. Pass the name of the method you wish to register. @return A pointer of type SEL specifying the selector for the named method. @note You must register a method name with the Objective-C runtime system to obtain the method’s selector before you can add the method to a class definition. If the method name has already been registered, this function simply returns the selector. C function: sel_registerName
func SymbolAvailable ¶
SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.
Types ¶
type Acl_entry_id_t ¶
type Acl_entry_id_t int64
const ( ACL_FIRST_ENTRY Acl_entry_id_t = 0 ACL_NEXT_ENTRY Acl_entry_id_t = -1 ACL_LAST_ENTRY Acl_entry_id_t = -2 )
func (Acl_entry_id_t) String ¶
func (e Acl_entry_id_t) String() string
type Acl_flag_t ¶
type Acl_flag_t int64
const ( ACL_FLAG_DEFER_INHERIT Acl_flag_t = 1 ACL_FLAG_NO_INHERIT Acl_flag_t = 131072 ACL_ENTRY_INHERITED Acl_flag_t = 16 ACL_ENTRY_FILE_INHERIT Acl_flag_t = 32 ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64 ACL_ENTRY_LIMIT_INHERIT Acl_flag_t = 128 ACL_ENTRY_ONLY_INHERIT Acl_flag_t = 256 )
func (Acl_flag_t) String ¶
func (e Acl_flag_t) String() string
type Acl_perm_t ¶
type Acl_perm_t int64
const ( ACL_READ_DATA Acl_perm_t = 2 ACL_LIST_DIRECTORY Acl_perm_t = 2 ACL_WRITE_DATA Acl_perm_t = 4 ACL_ADD_FILE Acl_perm_t = 4 ACL_EXECUTE Acl_perm_t = 8 ACL_SEARCH Acl_perm_t = 8 ACL_DELETE Acl_perm_t = 16 ACL_APPEND_DATA Acl_perm_t = 32 ACL_ADD_SUBDIRECTORY Acl_perm_t = 32 ACL_DELETE_CHILD Acl_perm_t = 64 ACL_READ_ATTRIBUTES Acl_perm_t = 128 ACL_WRITE_ATTRIBUTES Acl_perm_t = 256 ACL_READ_EXTATTRIBUTES Acl_perm_t = 512 ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024 ACL_READ_SECURITY Acl_perm_t = 2048 ACL_WRITE_SECURITY Acl_perm_t = 4096 ACL_CHANGE_OWNER Acl_perm_t = 8192 ACL_SYNCHRONIZE Acl_perm_t = 1048576 )
func (Acl_perm_t) String ¶
func (e Acl_perm_t) String() string
type Acl_type_t ¶
type Acl_type_t int64
const ( ACL_TYPE_EXTENDED Acl_type_t = 256 ACL_TYPE_ACCESS Acl_type_t = 0 ACL_TYPE_DEFAULT Acl_type_t = 1 ACL_TYPE_AFS Acl_type_t = 2 ACL_TYPE_CODA Acl_type_t = 3 ACL_TYPE_NTFS Acl_type_t = 4 ACL_TYPE_NWFS Acl_type_t = 5 )
func (Acl_type_t) String ¶
func (e Acl_type_t) String() string
type Dispatch_autorelease_frequency_t ¶
type Dispatch_autorelease_frequency_t uint64
const ( DISPATCH_AUTORELEASE_FREQUENCY_INHERIT Dispatch_autorelease_frequency_t = 0 DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1 DISPATCH_AUTORELEASE_FREQUENCY_NEVER Dispatch_autorelease_frequency_t = 2 )
func (Dispatch_autorelease_frequency_t) String ¶
func (e Dispatch_autorelease_frequency_t) String() string
type Dispatch_block_flags_t ¶
type Dispatch_block_flags_t uint64
const ( DISPATCH_BLOCK_BARRIER Dispatch_block_flags_t = 1 DISPATCH_BLOCK_DETACHED Dispatch_block_flags_t = 2 DISPATCH_BLOCK_ASSIGN_CURRENT Dispatch_block_flags_t = 4 DISPATCH_BLOCK_NO_QOS_CLASS Dispatch_block_flags_t = 8 DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16 DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32 )
func (Dispatch_block_flags_t) String ¶
func (e Dispatch_block_flags_t) String() string
type Filesec_property_t ¶
type Filesec_property_t int64
const ( FILESEC_OWNER Filesec_property_t = 1 FILESEC_GROUP Filesec_property_t = 2 FILESEC_UUID Filesec_property_t = 3 FILESEC_MODE Filesec_property_t = 4 FILESEC_ACL Filesec_property_t = 5 FILESEC_GRPUUID Filesec_property_t = 6 FILESEC_ACL_RAW Filesec_property_t = 100 FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101 )
func (Filesec_property_t) String ¶
func (e Filesec_property_t) String() string
type Ipc_info_object_type_t ¶
type Ipc_info_object_type_t int64
const ( IPC_OTYPE_NONE Ipc_info_object_type_t = 0 IPC_OTYPE_THREAD_CONTROL Ipc_info_object_type_t = 1 IPC_OTYPE_TASK_CONTROL Ipc_info_object_type_t = 2 IPC_OTYPE_HOST Ipc_info_object_type_t = 3 IPC_OTYPE_HOST_PRIV Ipc_info_object_type_t = 4 IPC_OTYPE_PROCESSOR Ipc_info_object_type_t = 5 IPC_OTYPE_PROCESSOR_SET Ipc_info_object_type_t = 6 IPC_OTYPE_PROCESSOR_SET_NAME Ipc_info_object_type_t = 7 IPC_OTYPE_TIMER Ipc_info_object_type_t = 8 IPC_OTYPE_PORT_SUBST_ONCE Ipc_info_object_type_t = 9 IPC_OTYPE_MIG Ipc_info_object_type_t = 10 IPC_OTYPE_MEMORY_OBJECT Ipc_info_object_type_t = 11 IPC_OTYPE_XMM_PAGER Ipc_info_object_type_t = 12 IPC_OTYPE_XMM_KERNEL Ipc_info_object_type_t = 13 IPC_OTYPE_XMM_REPLY Ipc_info_object_type_t = 14 IPC_OTYPE_UND_REPLY Ipc_info_object_type_t = 15 IPC_OTYPE_HOST_NOTIFY Ipc_info_object_type_t = 16 IPC_OTYPE_HOST_SECURITY Ipc_info_object_type_t = 17 IPC_OTYPE_LEDGER Ipc_info_object_type_t = 18 IPC_OTYPE_MAIN_DEVICE Ipc_info_object_type_t = 19 IPC_OTYPE_TASK_NAME Ipc_info_object_type_t = 20 IPC_OTYPE_SUBSYSTEM Ipc_info_object_type_t = 21 IPC_OTYPE_IO_DONE_QUEUE Ipc_info_object_type_t = 22 IPC_OTYPE_SEMAPHORE Ipc_info_object_type_t = 23 IPC_OTYPE_LOCK_SET Ipc_info_object_type_t = 24 IPC_OTYPE_CLOCK Ipc_info_object_type_t = 25 IPC_OTYPE_CLOCK_CTRL Ipc_info_object_type_t = 26 IPC_OTYPE_IOKIT_IDENT Ipc_info_object_type_t = 27 IPC_OTYPE_NAMED_ENTRY Ipc_info_object_type_t = 28 IPC_OTYPE_IOKIT_CONNECT Ipc_info_object_type_t = 29 IPC_OTYPE_IOKIT_OBJECT Ipc_info_object_type_t = 30 IPC_OTYPE_UPL Ipc_info_object_type_t = 31 IPC_OTYPE_MEM_OBJ_CONTROL Ipc_info_object_type_t = 32 IPC_OTYPE_AU_SESSIONPORT Ipc_info_object_type_t = 33 IPC_OTYPE_FILEPORT Ipc_info_object_type_t = 34 IPC_OTYPE_LABELH Ipc_info_object_type_t = 35 IPC_OTYPE_TASK_RESUME Ipc_info_object_type_t = 36 IPC_OTYPE_VOUCHER Ipc_info_object_type_t = 37 IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38 IPC_OTYPE_WORK_INTERVAL Ipc_info_object_type_t = 39 IPC_OTYPE_UX_HANDLER Ipc_info_object_type_t = 40 IPC_OTYPE_UEXT_OBJECT Ipc_info_object_type_t = 41 IPC_OTYPE_ARCADE_REG Ipc_info_object_type_t = 42 IPC_OTYPE_EVENTLINK Ipc_info_object_type_t = 43 IPC_OTYPE_TASK_INSPECT Ipc_info_object_type_t = 44 IPC_OTYPE_TASK_READ Ipc_info_object_type_t = 45 IPC_OTYPE_THREAD_INSPECT Ipc_info_object_type_t = 46 IPC_OTYPE_THREAD_READ Ipc_info_object_type_t = 47 IPC_OTYPE_SUID_CRED Ipc_info_object_type_t = 48 IPC_OTYPE_HYPERVISOR Ipc_info_object_type_t = 49 IPC_OTYPE_TASK_ID_TOKEN Ipc_info_object_type_t = 50 IPC_OTYPE_TASK_FATAL Ipc_info_object_type_t = 51 IPC_OTYPE_KCDATA Ipc_info_object_type_t = 52 IPC_OTYPE_EXCLAVES_RESOURCE Ipc_info_object_type_t = 53 IPC_OTYPE_THREAD_RESUME Ipc_info_object_type_t = 54 IPC_OTYPE_UNKNOWN Ipc_info_object_type_t = 4294967295 )
func (Ipc_info_object_type_t) String ¶
func (e Ipc_info_object_type_t) String() string
type Launch_data_type_t ¶
type Launch_data_type_t int64
const ( LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1 LAUNCH_DATA_ARRAY Launch_data_type_t = 2 LAUNCH_DATA_FD Launch_data_type_t = 3 LAUNCH_DATA_INTEGER Launch_data_type_t = 4 LAUNCH_DATA_REAL Launch_data_type_t = 5 LAUNCH_DATA_BOOL Launch_data_type_t = 6 LAUNCH_DATA_STRING Launch_data_type_t = 7 LAUNCH_DATA_OPAQUE Launch_data_type_t = 8 LAUNCH_DATA_ERRNO Launch_data_type_t = 9 LAUNCH_DATA_MACHPORT Launch_data_type_t = 10 )
func (Launch_data_type_t) String ¶
func (e Launch_data_type_t) String() string
type MDLabelDomain ¶
type MDLabelDomain int64
@typedef MDLabelDomain @abstract These constants are used to specify a domain to MDLabelCreate().
const ( KMDLabelUserDomain MDLabelDomain = 0 KMDLabelLocalDomain MDLabelDomain = 1 )
func (MDLabelDomain) String ¶
func (e MDLabelDomain) String() string
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int64
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int64
@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
type Mach_vm_range_flags_t ¶
type Mach_vm_range_flags_t int64
const (
MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)
func (Mach_vm_range_flags_t) String ¶
func (e Mach_vm_range_flags_t) String() string
type Mach_vm_range_flavor_t ¶
type Mach_vm_range_flavor_t int64
const ( MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0 MACH_VM_RANGE_FLAVOR_V1 Mach_vm_range_flavor_t = 1 )
func (Mach_vm_range_flavor_t) String ¶
func (e Mach_vm_range_flavor_t) String() string
type Mach_vm_range_tag_t ¶
type Mach_vm_range_tag_t int64
const ( MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0 MACH_VM_RANGE_DATA Mach_vm_range_tag_t = 1 MACH_VM_RANGE_FIXED Mach_vm_range_tag_t = 2 )
func (Mach_vm_range_tag_t) String ¶
func (e Mach_vm_range_tag_t) String() string
type Mpo_flags_t ¶
type Mpo_flags_t int64
const ( MPO_PORT Mpo_flags_t = 0 MPO_SERVICE_PORT Mpo_flags_t = 1024 MPO_CONNECTION_PORT Mpo_flags_t = 2048 MPO_REPLY_PORT Mpo_flags_t = 4096 MPO_WEAK_REPLY_PORT Mpo_flags_t = 16384 MPO_NOTIFICATION_PORT Mpo_flags_t = 17408 MPO_EXCEPTION_PORT Mpo_flags_t = 32768 MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536 )
func (Mpo_flags_t) String ¶
func (e Mpo_flags_t) String() string
type NSActivityOptions ¶
type NSActivityOptions int64
const ( NSActivityIdleDisplaySleepDisabled NSActivityOptions = 1099511627776 NSActivityIdleSystemSleepDisabled NSActivityOptions = 1048576 NSActivitySuddenTerminationDisabled NSActivityOptions = 16384 NSActivityAutomaticTerminationDisabled NSActivityOptions = 32768 NSActivityAnimationTrackingEnabled NSActivityOptions = 35184372088832 NSActivityTrackingEnabled NSActivityOptions = 70368744177664 NSActivityUserInitiated NSActivityOptions = 16777215 NSActivityUserInitiatedAllowingIdleSystemSleep NSActivityOptions = 15728639 NSActivityBackground NSActivityOptions = 255 NSActivityLatencyCritical NSActivityOptions = 1095216660480 NSActivityUserInteractive NSActivityOptions = 1095233437695 )
func (NSActivityOptions) String ¶
func (e NSActivityOptions) String() string
type NSAffineTransform ¶
type NSAffineTransform struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsaffinetransform
func NSAffineTransformFromID ¶
func NSAffineTransformFromID(id objc.ID) *NSAffineTransform
func NSAffineTransformTransform ¶
func NSAffineTransformTransform() *NSAffineTransform
func (*NSAffineTransform) AppendTransform ¶
func (o *NSAffineTransform) AppendTransform(transform *NSAffineTransform)
func (*NSAffineTransform) Init ¶
func (o *NSAffineTransform) Init() *NSAffineTransform
func (*NSAffineTransform) InitWithTransform ¶
func (o *NSAffineTransform) InitWithTransform(transform *NSAffineTransform) *NSAffineTransform
func (*NSAffineTransform) Invert ¶
func (o *NSAffineTransform) Invert()
func (*NSAffineTransform) PrependTransform ¶
func (o *NSAffineTransform) PrependTransform(transform *NSAffineTransform)
func (*NSAffineTransform) RotateByDegrees ¶
func (o *NSAffineTransform) RotateByDegrees(angle float64)
func (*NSAffineTransform) RotateByRadians ¶
func (o *NSAffineTransform) RotateByRadians(angle float64)
func (*NSAffineTransform) ScaleBy ¶
func (o *NSAffineTransform) ScaleBy(scale float64)
func (*NSAffineTransform) ScaleXByYBy ¶
func (o *NSAffineTransform) ScaleXByYBy(scaleX float64, scaleY float64)
func (*NSAffineTransform) SetTransformStruct ¶
func (o *NSAffineTransform) SetTransformStruct(transformStruct NSAffineTransformStruct)
func (*NSAffineTransform) TransformPoint ¶
func (o *NSAffineTransform) TransformPoint(aPoint corefoundation.CGPoint) corefoundation.CGPoint
func (*NSAffineTransform) TransformSize ¶
func (o *NSAffineTransform) TransformSize(aSize corefoundation.CGSize) corefoundation.CGSize
func (*NSAffineTransform) TransformStruct ¶
func (o *NSAffineTransform) TransformStruct() NSAffineTransformStruct
func (*NSAffineTransform) TranslateXByYBy ¶
func (o *NSAffineTransform) TranslateXByYBy(deltaX float64, deltaY float64)
type NSAlignmentOptions ¶
type NSAlignmentOptions uint64
const ( NSAlignMinXInward NSAlignmentOptions = 1 NSAlignMinYInward NSAlignmentOptions = 2 NSAlignMaxXInward NSAlignmentOptions = 4 NSAlignMaxYInward NSAlignmentOptions = 8 NSAlignWidthInward NSAlignmentOptions = 16 NSAlignHeightInward NSAlignmentOptions = 32 NSAlignMinXOutward NSAlignmentOptions = 256 NSAlignMinYOutward NSAlignmentOptions = 512 NSAlignMaxXOutward NSAlignmentOptions = 1024 NSAlignMaxYOutward NSAlignmentOptions = 2048 NSAlignWidthOutward NSAlignmentOptions = 4096 NSAlignHeightOutward NSAlignmentOptions = 8192 NSAlignMinXNearest NSAlignmentOptions = 65536 NSAlignMinYNearest NSAlignmentOptions = 131072 NSAlignMaxXNearest NSAlignmentOptions = 262144 NSAlignMaxYNearest NSAlignmentOptions = 524288 NSAlignWidthNearest NSAlignmentOptions = 1048576 NSAlignHeightNearest NSAlignmentOptions = 2097152 NSAlignRectFlipped NSAlignmentOptions = 9223372036854775808 NSAlignAllEdgesInward NSAlignmentOptions = 15 NSAlignAllEdgesOutward NSAlignmentOptions = 3840 NSAlignAllEdgesNearest NSAlignmentOptions = 983040 )
func (NSAlignmentOptions) String ¶
func (e NSAlignmentOptions) String() string
type NSAppleEventDescriptor ¶
type NSAppleEventDescriptor struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsappleeventdescriptor
func NSAppleEventDescriptorAppleEventWithEventClassEventIDTargetDescriptorReturnIDTransactionID ¶
func NSAppleEventDescriptorAppleEventWithEventClassEventIDTargetDescriptorReturnIDTransactionID(eventClass uint, eventID uint, targetDescriptor *NSAppleEventDescriptor, returnID int16, transactionID int) *NSAppleEventDescriptor
func NSAppleEventDescriptorCurrentProcessDescriptor ¶
func NSAppleEventDescriptorCurrentProcessDescriptor() *NSAppleEventDescriptor
func NSAppleEventDescriptorDescriptorWithApplicationURL ¶
func NSAppleEventDescriptorDescriptorWithApplicationURL(applicationURL *NSURL) *NSAppleEventDescriptor
func NSAppleEventDescriptorDescriptorWithBoolean ¶
func NSAppleEventDescriptorDescriptorWithBoolean(boolean uint8) *NSAppleEventDescriptor
func NSAppleEventDescriptorDescriptorWithBundleIdentifier ¶
func NSAppleEventDescriptorDescriptorWithBundleIdentifier(bundleIdentifier *NSString) *NSAppleEventDescriptor
func NSAppleEventDescriptorDescriptorWithDate ¶
func NSAppleEventDescriptorDescriptorWithDate(date *NSDate) *NSAppleEventDescriptor
func NSAppleEventDescriptorDescriptorWithDescriptorTypeBytesLength ¶
func NSAppleEventDescriptorDescriptorWithDescriptorTypeBytesLength(descriptorType uint, bytes_ unsafe.Pointer, byteCount uint) *NSAppleEventDescriptor
func NSAppleEventDescriptorDescriptorWithDescriptorTypeData ¶
func NSAppleEventDescriptorDescriptorWithDescriptorTypeData(descriptorType uint, data *NSData) *NSAppleEventDescriptor
func NSAppleEventDescriptorDescriptorWithDouble ¶
func NSAppleEventDescriptorDescriptorWithDouble(doubleValue float64) *NSAppleEventDescriptor
func NSAppleEventDescriptorDescriptorWithEnumCode ¶
func NSAppleEventDescriptorDescriptorWithEnumCode(enumerator uint) *NSAppleEventDescriptor
func NSAppleEventDescriptorDescriptorWithFileURL ¶
func NSAppleEventDescriptorDescriptorWithFileURL(fileURL *NSURL) *NSAppleEventDescriptor
func NSAppleEventDescriptorDescriptorWithInt32 ¶
func NSAppleEventDescriptorDescriptorWithInt32(signedInt int) *NSAppleEventDescriptor
func NSAppleEventDescriptorDescriptorWithProcessIdentifier ¶
func NSAppleEventDescriptorDescriptorWithProcessIdentifier(processIdentifier int) *NSAppleEventDescriptor
func NSAppleEventDescriptorDescriptorWithString ¶
func NSAppleEventDescriptorDescriptorWithString(string_ *NSString) *NSAppleEventDescriptor
func NSAppleEventDescriptorDescriptorWithTypeCode ¶
func NSAppleEventDescriptorDescriptorWithTypeCode(typeCode uint) *NSAppleEventDescriptor
func NSAppleEventDescriptorFromID ¶
func NSAppleEventDescriptorFromID(id objc.ID) *NSAppleEventDescriptor
func NSAppleEventDescriptorListDescriptor ¶
func NSAppleEventDescriptorListDescriptor() *NSAppleEventDescriptor
func NSAppleEventDescriptorNullDescriptor ¶
func NSAppleEventDescriptorNullDescriptor() *NSAppleEventDescriptor
func NSAppleEventDescriptorRecordDescriptor ¶
func NSAppleEventDescriptorRecordDescriptor() *NSAppleEventDescriptor
func (*NSAppleEventDescriptor) AeDesc ¶
func (o *NSAppleEventDescriptor) AeDesc() unsafe.Pointer
func (*NSAppleEventDescriptor) AttributeDescriptorForKeyword ¶
func (o *NSAppleEventDescriptor) AttributeDescriptorForKeyword(keyword uint) *NSAppleEventDescriptor
func (*NSAppleEventDescriptor) BooleanValue ¶
func (o *NSAppleEventDescriptor) BooleanValue() uint8
func (*NSAppleEventDescriptor) CoerceToDescriptorType ¶
func (o *NSAppleEventDescriptor) CoerceToDescriptorType(descriptorType uint) *NSAppleEventDescriptor
func (*NSAppleEventDescriptor) Data ¶
func (o *NSAppleEventDescriptor) Data() *NSData
func (*NSAppleEventDescriptor) DateValue ¶
func (o *NSAppleEventDescriptor) DateValue() *NSDate
func (*NSAppleEventDescriptor) DescriptorAtIndex ¶
func (o *NSAppleEventDescriptor) DescriptorAtIndex(index int) *NSAppleEventDescriptor
func (*NSAppleEventDescriptor) DescriptorForKeyword ¶
func (o *NSAppleEventDescriptor) DescriptorForKeyword(keyword uint) *NSAppleEventDescriptor
func (*NSAppleEventDescriptor) DescriptorType ¶
func (o *NSAppleEventDescriptor) DescriptorType() uint
func (*NSAppleEventDescriptor) DoubleValue ¶
func (o *NSAppleEventDescriptor) DoubleValue() float64
func (*NSAppleEventDescriptor) EnumCodeValue ¶
func (o *NSAppleEventDescriptor) EnumCodeValue() uint
func (*NSAppleEventDescriptor) EventClass ¶
func (o *NSAppleEventDescriptor) EventClass() uint
func (*NSAppleEventDescriptor) EventID ¶
func (o *NSAppleEventDescriptor) EventID() uint
func (*NSAppleEventDescriptor) FileURLValue ¶
func (o *NSAppleEventDescriptor) FileURLValue() *NSURL
func (*NSAppleEventDescriptor) InitListDescriptor ¶
func (o *NSAppleEventDescriptor) InitListDescriptor() *NSAppleEventDescriptor
func (*NSAppleEventDescriptor) InitRecordDescriptor ¶
func (o *NSAppleEventDescriptor) InitRecordDescriptor() *NSAppleEventDescriptor
func (*NSAppleEventDescriptor) InitWithAEDescNoCopy ¶
func (o *NSAppleEventDescriptor) InitWithAEDescNoCopy(aeDesc *ae.AEDesc) *NSAppleEventDescriptor
func (*NSAppleEventDescriptor) InitWithDescriptorTypeBytesLength ¶
func (o *NSAppleEventDescriptor) InitWithDescriptorTypeBytesLength(descriptorType uint, bytes_ unsafe.Pointer, byteCount uint) *NSAppleEventDescriptor
func (*NSAppleEventDescriptor) InitWithDescriptorTypeData ¶
func (o *NSAppleEventDescriptor) InitWithDescriptorTypeData(descriptorType uint, data *NSData) *NSAppleEventDescriptor
func (*NSAppleEventDescriptor) InitWithEventClassEventIDTargetDescriptorReturnIDTransactionID ¶
func (o *NSAppleEventDescriptor) InitWithEventClassEventIDTargetDescriptorReturnIDTransactionID(eventClass uint, eventID uint, targetDescriptor *NSAppleEventDescriptor, returnID int16, transactionID int) *NSAppleEventDescriptor
func (*NSAppleEventDescriptor) InsertDescriptorAtIndex ¶
func (o *NSAppleEventDescriptor) InsertDescriptorAtIndex(descriptor *NSAppleEventDescriptor, index int)
func (*NSAppleEventDescriptor) Int32Value ¶
func (o *NSAppleEventDescriptor) Int32Value() int
func (*NSAppleEventDescriptor) IsRecordDescriptor ¶
func (o *NSAppleEventDescriptor) IsRecordDescriptor() bool
func (*NSAppleEventDescriptor) KeywordForDescriptorAtIndex ¶
func (o *NSAppleEventDescriptor) KeywordForDescriptorAtIndex(index int) uint
func (*NSAppleEventDescriptor) NumberOfItems ¶
func (o *NSAppleEventDescriptor) NumberOfItems() int
func (*NSAppleEventDescriptor) ParamDescriptorForKeyword ¶
func (o *NSAppleEventDescriptor) ParamDescriptorForKeyword(keyword uint) *NSAppleEventDescriptor
func (*NSAppleEventDescriptor) RemoveDescriptorAtIndex ¶
func (o *NSAppleEventDescriptor) RemoveDescriptorAtIndex(index int)
func (*NSAppleEventDescriptor) RemoveDescriptorWithKeyword ¶
func (o *NSAppleEventDescriptor) RemoveDescriptorWithKeyword(keyword uint)
func (*NSAppleEventDescriptor) RemoveParamDescriptorWithKeyword ¶
func (o *NSAppleEventDescriptor) RemoveParamDescriptorWithKeyword(keyword uint)
func (*NSAppleEventDescriptor) ReturnID ¶
func (o *NSAppleEventDescriptor) ReturnID() int16
func (*NSAppleEventDescriptor) SendEventWithOptionsTimeoutError ¶
func (o *NSAppleEventDescriptor) SendEventWithOptionsTimeoutError(sendOptions NSAppleEventSendOptions, timeoutInSeconds float64) (*NSAppleEventDescriptor, error)
func (*NSAppleEventDescriptor) SetAttributeDescriptorForKeyword ¶
func (o *NSAppleEventDescriptor) SetAttributeDescriptorForKeyword(descriptor *NSAppleEventDescriptor, keyword uint)
func (*NSAppleEventDescriptor) SetDescriptorForKeyword ¶
func (o *NSAppleEventDescriptor) SetDescriptorForKeyword(descriptor *NSAppleEventDescriptor, keyword uint)
func (*NSAppleEventDescriptor) SetParamDescriptorForKeyword ¶
func (o *NSAppleEventDescriptor) SetParamDescriptorForKeyword(descriptor *NSAppleEventDescriptor, keyword uint)
func (*NSAppleEventDescriptor) StringValue ¶
func (o *NSAppleEventDescriptor) StringValue() *NSString
func (*NSAppleEventDescriptor) TransactionID ¶
func (o *NSAppleEventDescriptor) TransactionID() int
func (*NSAppleEventDescriptor) TypeCodeValue ¶
func (o *NSAppleEventDescriptor) TypeCodeValue() uint
type NSAppleEventManager ¶
type NSAppleEventManager struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsappleeventmanager
func NSAppleEventManagerFromID ¶
func NSAppleEventManagerFromID(id objc.ID) *NSAppleEventManager
func NSAppleEventManagerSharedAppleEventManager ¶
func NSAppleEventManagerSharedAppleEventManager() *NSAppleEventManager
func (*NSAppleEventManager) AppleEventForSuspensionID ¶
func (o *NSAppleEventManager) AppleEventForSuspensionID(suspensionID unsafe.Pointer) *NSAppleEventDescriptor
func (*NSAppleEventManager) CurrentAppleEvent ¶
func (o *NSAppleEventManager) CurrentAppleEvent() *NSAppleEventDescriptor
func (*NSAppleEventManager) CurrentReplyAppleEvent ¶
func (o *NSAppleEventManager) CurrentReplyAppleEvent() *NSAppleEventDescriptor
func (*NSAppleEventManager) DispatchRawAppleEventWithRawReplyHandlerRefCon ¶
func (*NSAppleEventManager) RemoveEventHandlerForEventClassAndEventID ¶
func (o *NSAppleEventManager) RemoveEventHandlerForEventClassAndEventID(eventClass uint, eventID uint)
func (*NSAppleEventManager) ReplyAppleEventForSuspensionID ¶
func (o *NSAppleEventManager) ReplyAppleEventForSuspensionID(suspensionID unsafe.Pointer) *NSAppleEventDescriptor
func (*NSAppleEventManager) ResumeWithSuspensionID ¶
func (o *NSAppleEventManager) ResumeWithSuspensionID(suspensionID unsafe.Pointer)
func (*NSAppleEventManager) SetCurrentAppleEventAndReplyEventWithSuspensionID ¶
func (o *NSAppleEventManager) SetCurrentAppleEventAndReplyEventWithSuspensionID(suspensionID unsafe.Pointer)
func (*NSAppleEventManager) SetEventHandlerAndSelectorForEventClassAndEventID ¶
func (*NSAppleEventManager) SuspendCurrentAppleEvent ¶
func (o *NSAppleEventManager) SuspendCurrentAppleEvent() unsafe.Pointer
type NSAppleEventManagerSuspension ¶
type NSAppleEventManagerSuspension struct{}
C struct: __NSAppleEventManagerSuspension NSAppleEventManagerSuspension is an opaque type.
type NSAppleEventSendOptions ¶
type NSAppleEventSendOptions uint64
const ( NSAppleEventSendNoReply NSAppleEventSendOptions = 1 NSAppleEventSendQueueReply NSAppleEventSendOptions = 2 NSAppleEventSendWaitForReply NSAppleEventSendOptions = 3 NSAppleEventSendNeverInteract NSAppleEventSendOptions = 16 NSAppleEventSendCanInteract NSAppleEventSendOptions = 32 NSAppleEventSendAlwaysInteract NSAppleEventSendOptions = 48 NSAppleEventSendCanSwitchLayer NSAppleEventSendOptions = 64 NSAppleEventSendDontRecord NSAppleEventSendOptions = 4096 NSAppleEventSendDontExecute NSAppleEventSendOptions = 8192 NSAppleEventSendDontAnnotate NSAppleEventSendOptions = 65536 NSAppleEventSendDefaultOptions NSAppleEventSendOptions = 35 )
func (NSAppleEventSendOptions) String ¶
func (e NSAppleEventSendOptions) String() string
type NSAppleScript ¶
type NSAppleScript struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsapplescript
func NSAppleScriptFromID ¶
func NSAppleScriptFromID(id objc.ID) *NSAppleScript
func (*NSAppleScript) CompileAndReturnError ¶
func (o *NSAppleScript) CompileAndReturnError(errorInfo *NSDictionary[*NSString, objc.ID]) bool
func (*NSAppleScript) ExecuteAndReturnError ¶
func (o *NSAppleScript) ExecuteAndReturnError(errorInfo *NSDictionary[*NSString, objc.ID]) *NSAppleEventDescriptor
func (*NSAppleScript) ExecuteAppleEventError ¶
func (o *NSAppleScript) ExecuteAppleEventError(event *NSAppleEventDescriptor, errorInfo *NSDictionary[*NSString, objc.ID]) *NSAppleEventDescriptor
func (*NSAppleScript) InitWithContentsOfURLError ¶
func (o *NSAppleScript) InitWithContentsOfURLError(url *NSURL, errorInfo *NSDictionary[*NSString, objc.ID]) *NSAppleScript
func (*NSAppleScript) InitWithSource ¶
func (o *NSAppleScript) InitWithSource(source *NSString) *NSAppleScript
func (*NSAppleScript) IsCompiled ¶
func (o *NSAppleScript) IsCompiled() bool
func (*NSAppleScript) Source ¶
func (o *NSAppleScript) Source() *NSString
type NSArchiver ¶
type NSArchiver struct {
NSCoder
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsarchiver Deprecated: Use NSKeyedArchiver instead
func NSArchiverFromID ¶
func NSArchiverFromID(id objc.ID) *NSArchiver
func (*NSArchiver) ArchiverData ¶
func (o *NSArchiver) ArchiverData() *NSMutableData
func (*NSArchiver) ClassNameEncodedForTrueClassName ¶
func (o *NSArchiver) ClassNameEncodedForTrueClassName(trueName *NSString) *NSString
func (*NSArchiver) EncodeClassNameIntoClassName ¶
func (o *NSArchiver) EncodeClassNameIntoClassName(trueName *NSString, inArchiveName *NSString)
func (*NSArchiver) InitForWritingWithMutableData ¶
func (o *NSArchiver) InitForWritingWithMutableData(mdata *NSMutableData) *NSArchiver
func (*NSArchiver) ReplaceObjectWithObject ¶
func (o *NSArchiver) ReplaceObjectWithObject(object objc.ID, newObject objc.ID)
type NSArray ¶
Apple documentation: https://developer.apple.com/documentation/foundation/nsarray
func NSAllHashTableObjects ¶
func NSAllMapTableKeys ¶
func NSAllMapTableValues ¶
func NSArrayArray ¶
func NSArrayArrayWithContentsOfFile
deprecated
func NSArrayArrayWithContentsOfURL
deprecated
func NSArrayFromID ¶
func NSBundleAllBundles ¶
func NSBundleAllFrameworks ¶
func NSConnectionAllConnections ¶
func NSConnectionAllConnections() *NSArray[*NSConnection]
func NSFileCoordinatorFilePresenters ¶
func NSFileCoordinatorFilePresenters() *NSArray[NSFilePresenter]
func NSFileVersionOtherVersionsOfItemAtURL ¶
func NSFileVersionOtherVersionsOfItemAtURL(url *NSURL) *NSArray[*NSFileVersion]
func NSFileVersionUnresolvedConflictVersionsOfItemAtURL ¶
func NSFileVersionUnresolvedConflictVersionsOfItemAtURL(url *NSURL) *NSArray[*NSFileVersion]
func NSHTTPCookieCookiesWithResponseHeaderFieldsForURL ¶
func NSHTTPCookieCookiesWithResponseHeaderFieldsForURL(headerFields *NSDictionary[*NSString, *NSString], uRL *NSURL) *NSArray[*NSHTTPCookie]
@method cookiesWithResponseHeaderFields:forURL: @abstract Return an array of cookies parsed from the specified response header fields and URL. @param headerFields The response header fields to check for cookies. @param URL The URL that the cookies came from - relevant to how the cookies are interpreted. @result An NSArray of NSHTTPCookie objects @discussion This method will ignore irrelevant header fields so you can pass a dictionary containing data other than cookie data.
func NSKeyedUnarchiverUnarchivedArrayOfObjectsOfClassFromDataError ¶
func NSKeyedUnarchiverUnarchivedArrayOfObjectsOfClassFromDataError(cls objc.Class, data *NSData) (*NSArray[objc.ID], error)
Decodes the \c NSArray root object from \c data which should be an \c NSArray<cls> containing the given non-collection class (no nested arrays or arrays of dictionaries, etc) from the given archive, previously encoded by \c NSKeyedArchiver. Enables \c requiresSecureCoding and sets the \c decodingFailurePolicy to \c NSDecodingFailurePolicySetErrorAndReturn. Returns \c nil if the given data is not valid or cannot be decoded, and sets the \c error out parameter.
func NSKeyedUnarchiverUnarchivedArrayOfObjectsOfClassesFromDataError ¶
func NSKeyedUnarchiverUnarchivedArrayOfObjectsOfClassesFromDataError(classes *NSSet[objc.Class], data *NSData) (*NSArray[objc.ID], error)
Decodes the \c NSArray root object from \c data which should be an \c NSArray, containing the given non-collection classes in \c classes (no nested arrays or arrays of dictionaries, etc) from the given archive, previously encoded by \c NSKeyedArchiver. Enables \c requiresSecureCoding and sets the \c decodingFailurePolicy to \c NSDecodingFailurePolicySetErrorAndReturn. Returns \c nil if the given data is not valid or cannot be decoded, and sets the \c error out parameter.
func NSLinguisticTaggerAvailableTagSchemesForLanguage
deprecated
func NSLinguisticTaggerAvailableTagSchemesForUnitLanguage
deprecated
func NSLinguisticTaggerAvailableTagSchemesForUnitLanguage(unit NSLinguisticTaggerUnit, language *NSString) *NSArray[*NSString]
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTaggerTagsForStringRangeUnitSchemeOptionsOrthographyTokenRanges
deprecated
func NSLinguisticTaggerTagsForStringRangeUnitSchemeOptionsOrthographyTokenRanges(string_ *NSString, range_ NSRange, unit NSLinguisticTaggerUnit, scheme *NSString, options NSLinguisticTaggerOptions, orthography *NSOrthography, tokenRanges *NSArray[*NSValue]) *NSArray[*NSString]
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSSearchPathForDirectoriesInDomains ¶
func NSSearchPathForDirectoriesInDomains(directory NSSearchPathDirectory, domainMask NSSearchPathDomainMask, expandTilde bool) *NSArray[*NSString]
func (*NSArray[ObjectType]) AddObserverToObjectsAtIndexesForKeyPathOptionsContext ¶
func (o *NSArray[ObjectType]) AddObserverToObjectsAtIndexesForKeyPathOptionsContext(observer *NSObject, indexes *NSIndexSet, keyPath *NSString, options NSKeyValueObservingOptions, context_ unsafe.Pointer)
func (*NSArray[ObjectType]) ArrayByAddingObject ¶
func (*NSArray[ObjectType]) ArrayByAddingObjectsFromArray ¶
func (*NSArray[ObjectType]) ArrayByApplyingDifference ¶
func (o *NSArray[ObjectType]) ArrayByApplyingDifference(difference *NSOrderedCollectionDifference[ObjectType]) *NSArray[ObjectType]
func (*NSArray[ObjectType]) ComponentsJoinedByString ¶
func (*NSArray[ObjectType]) ContainsObject ¶
func (*NSArray[ObjectType]) DescriptionWithLocale ¶
func (*NSArray[ObjectType]) DescriptionWithLocaleIndent ¶
func (*NSArray[ObjectType]) DifferenceFromArray ¶
func (o *NSArray[ObjectType]) DifferenceFromArray(other *NSArray[ObjectType]) *NSOrderedCollectionDifference[ObjectType]
func (*NSArray[ObjectType]) DifferenceFromArrayWithOptions ¶
func (o *NSArray[ObjectType]) DifferenceFromArrayWithOptions(other *NSArray[ObjectType], options NSOrderedCollectionDifferenceCalculationOptions) *NSOrderedCollectionDifference[ObjectType]
func (*NSArray[ObjectType]) DifferenceFromArrayWithOptionsUsingEquivalenceTest ¶
func (o *NSArray[ObjectType]) DifferenceFromArrayWithOptionsUsingEquivalenceTest(other *NSArray[ObjectType], options NSOrderedCollectionDifferenceCalculationOptions, block objc.Block) *NSOrderedCollectionDifference[ObjectType]
func (*NSArray[ObjectType]) EnumerateObjectsAtIndexesOptionsUsing ¶
func (o *NSArray[ObjectType]) EnumerateObjectsAtIndexesOptionsUsing(s *NSIndexSet, opts NSEnumerationOptions, block objc.Block)
func (*NSArray[ObjectType]) EnumerateObjectsUsing ¶
func (*NSArray[ObjectType]) EnumerateObjectsWithOptionsUsing ¶
func (o *NSArray[ObjectType]) EnumerateObjectsWithOptionsUsing(opts NSEnumerationOptions, block objc.Block)
func (*NSArray[ObjectType]) FilteredArrayUsingPredicate ¶
func (o *NSArray[ObjectType]) FilteredArrayUsingPredicate(predicate *NSPredicate) *NSArray[ObjectType]
func (*NSArray[ObjectType]) FirstObject ¶
func (o *NSArray[ObjectType]) FirstObject() ObjectType
func (*NSArray[ObjectType]) FirstObjectCommonWithArray ¶
func (*NSArray[ObjectType]) GetObjects
deprecated
func (*NSArray[ObjectType]) GetObjectsRange ¶
func (*NSArray[ObjectType]) IndexOfObject ¶
func (*NSArray[ObjectType]) IndexOfObjectAtIndexesOptionsPassingTest ¶
func (o *NSArray[ObjectType]) IndexOfObjectAtIndexesOptionsPassingTest(s *NSIndexSet, opts NSEnumerationOptions, predicate objc.Block) uint
func (*NSArray[ObjectType]) IndexOfObjectIdenticalTo ¶
func (*NSArray[ObjectType]) IndexOfObjectIdenticalToInRange ¶
func (*NSArray[ObjectType]) IndexOfObjectInRange ¶
func (*NSArray[ObjectType]) IndexOfObjectInSortedRangeOptionsUsingComparator ¶
func (o *NSArray[ObjectType]) IndexOfObjectInSortedRangeOptionsUsingComparator(obj ObjectType, r NSRange, opts NSBinarySearchingOptions, cmp func(objc.ID, objc.ID) NSComparisonResult) uint
func (*NSArray[ObjectType]) IndexOfObjectPassingTest ¶
func (*NSArray[ObjectType]) IndexOfObjectWithOptionsPassingTest ¶
func (o *NSArray[ObjectType]) IndexOfObjectWithOptionsPassingTest(opts NSEnumerationOptions, predicate objc.Block) uint
func (*NSArray[ObjectType]) IndexesOfObjectsAtIndexesOptionsPassingTest ¶
func (o *NSArray[ObjectType]) IndexesOfObjectsAtIndexesOptionsPassingTest(s *NSIndexSet, opts NSEnumerationOptions, predicate objc.Block) *NSIndexSet
func (*NSArray[ObjectType]) IndexesOfObjectsPassingTest ¶
func (o *NSArray[ObjectType]) IndexesOfObjectsPassingTest(predicate objc.Block) *NSIndexSet
func (*NSArray[ObjectType]) IndexesOfObjectsWithOptionsPassingTest ¶
func (o *NSArray[ObjectType]) IndexesOfObjectsWithOptionsPassingTest(opts NSEnumerationOptions, predicate objc.Block) *NSIndexSet
func (*NSArray[ObjectType]) InitWithArray ¶
func (*NSArray[ObjectType]) InitWithArrayCopyItems ¶
func (*NSArray[ObjectType]) InitWithCoder ¶
func (*NSArray[ObjectType]) InitWithContentsOfFile
deprecated
func (*NSArray[ObjectType]) InitWithContentsOfURL
deprecated
func (*NSArray[ObjectType]) InitWithContentsOfURLError ¶
func (*NSArray[ObjectType]) InitWithObjectsCount ¶
func (*NSArray[ObjectType]) IsEqualToArray ¶
func (*NSArray[ObjectType]) LastObject ¶
func (o *NSArray[ObjectType]) LastObject() ObjectType
func (*NSArray[ObjectType]) MakeObjectsPerformSelector ¶
func (*NSArray[ObjectType]) MakeObjectsPerformSelectorWithObject ¶
func (*NSArray[ObjectType]) ObjectAtIndex ¶
func (*NSArray[ObjectType]) ObjectAtIndexedSubscript ¶
func (*NSArray[ObjectType]) ObjectEnumerator ¶
func (o *NSArray[ObjectType]) ObjectEnumerator() *NSEnumerator[ObjectType]
func (*NSArray[ObjectType]) ObjectsAtIndexes ¶
func (o *NSArray[ObjectType]) ObjectsAtIndexes(indexes *NSIndexSet) *NSArray[ObjectType]
func (*NSArray[ObjectType]) PathsMatchingExtensions ¶
func (*NSArray[ObjectType]) RemoveObserverFromObjectsAtIndexesForKeyPath ¶
func (o *NSArray[ObjectType]) RemoveObserverFromObjectsAtIndexesForKeyPath(observer *NSObject, indexes *NSIndexSet, keyPath *NSString)
func (*NSArray[ObjectType]) RemoveObserverFromObjectsAtIndexesForKeyPathContext ¶
func (*NSArray[ObjectType]) ReverseObjectEnumerator ¶
func (o *NSArray[ObjectType]) ReverseObjectEnumerator() *NSEnumerator[ObjectType]
func (*NSArray[ObjectType]) SortedArrayHint ¶
func (*NSArray[ObjectType]) SortedArrayUsingComparator ¶
func (*NSArray[ObjectType]) SortedArrayUsingDescriptors ¶
func (o *NSArray[ObjectType]) SortedArrayUsingDescriptors(sortDescriptors *NSArray[*NSSortDescriptor]) *NSArray[ObjectType]
func (*NSArray[ObjectType]) SortedArrayUsingFunctionContext ¶
func (*NSArray[ObjectType]) SortedArrayUsingFunctionContextHint ¶
func (*NSArray[ObjectType]) SortedArrayUsingSelector ¶
func (*NSArray[ObjectType]) SortedArrayWithOptionsUsingComparator ¶
func (o *NSArray[ObjectType]) SortedArrayWithOptionsUsingComparator(opts NSSortOptions, cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSArray[ObjectType]
func (*NSArray[ObjectType]) SubarrayWithRange ¶
func (*NSArray[ObjectType]) WriteToFileAtomically
deprecated
func (*NSArray[ObjectType]) WriteToURLAtomically
deprecated
type NSAssertionHandler ¶
type NSAssertionHandler struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsassertionhandler
func NSAssertionHandlerCurrentHandler ¶
func NSAssertionHandlerCurrentHandler() *NSAssertionHandler
func NSAssertionHandlerFromID ¶
func NSAssertionHandlerFromID(id objc.ID) *NSAssertionHandler
type NSAttributedString ¶
type NSAttributedString struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsattributedstring
func NSAttributedStringFromID ¶
func NSAttributedStringFromID(id objc.ID) *NSAttributedString
func NSAttributedStringLocalizedAttributedStringWithFormat ¶
func NSAttributedStringLocalizedAttributedStringWithFormat(format *NSAttributedString) *NSAttributedString
Formats the string using the current locale and default options.
func NSAttributedStringLocalizedAttributedStringWithFormatContext ¶
func NSAttributedStringLocalizedAttributedStringWithFormatContext(format *NSAttributedString, context_ *NSDictionary[*NSString, objc.ID]) *NSAttributedString
Formats the string using the current locale and default options.
func NSAttributedStringLocalizedAttributedStringWithFormatOptions ¶
func NSAttributedStringLocalizedAttributedStringWithFormatOptions(format *NSAttributedString, options NSAttributedStringFormattingOptions) *NSAttributedString
Formats the string using the current locale and the specified options.
func NSAttributedStringLocalizedAttributedStringWithFormatOptionsContext ¶
func NSAttributedStringLocalizedAttributedStringWithFormatOptionsContext(format *NSAttributedString, options NSAttributedStringFormattingOptions, context_ *NSDictionary[*NSString, objc.ID]) *NSAttributedString
Formats the string using the current locale and the specified options.
func (*NSAttributedString) AttributeAtIndexEffectiveRange ¶
func (*NSAttributedString) AttributeAtIndexLongestEffectiveRangeInRange ¶
func (*NSAttributedString) AttributedStringByInflectingString ¶
func (o *NSAttributedString) AttributedStringByInflectingString() *NSAttributedString
If the string has portions tagged with NSInflectionRuleAttributeName that have no format specifiers, create a new string with those portions inflected by following the rule in the attribute.
func (*NSAttributedString) AttributedSubstringFromRange ¶
func (o *NSAttributedString) AttributedSubstringFromRange(range_ NSRange) *NSAttributedString
func (*NSAttributedString) AttributesAtIndexEffectiveRange ¶
func (o *NSAttributedString) AttributesAtIndexEffectiveRange(location uint, range_ *NSRange) *NSDictionary[*NSString, objc.ID]
func (*NSAttributedString) AttributesAtIndexLongestEffectiveRangeInRange ¶
func (o *NSAttributedString) AttributesAtIndexLongestEffectiveRangeInRange(location uint, range_ *NSRange, rangeLimit NSRange) *NSDictionary[*NSString, objc.ID]
func (*NSAttributedString) EnumerateAttributeInRangeOptionsUsing ¶
func (o *NSAttributedString) EnumerateAttributeInRangeOptionsUsing(attrName *NSString, enumerationRange NSRange, opts NSAttributedStringEnumerationOptions, block objc.Block)
func (*NSAttributedString) EnumerateAttributesInRangeOptionsUsing ¶
func (o *NSAttributedString) EnumerateAttributesInRangeOptionsUsing(enumerationRange NSRange, opts NSAttributedStringEnumerationOptions, block objc.Block)
func (*NSAttributedString) InitWithAttributedString ¶
func (o *NSAttributedString) InitWithAttributedString(attrStr *NSAttributedString) *NSAttributedString
func (*NSAttributedString) InitWithContentsOfMarkdownFileAtURLOptionsBaseURLError ¶
func (o *NSAttributedString) InitWithContentsOfMarkdownFileAtURLOptionsBaseURLError(markdownFile *NSURL, options *NSAttributedStringMarkdownParsingOptions, baseURL *NSURL) (*NSAttributedString, error)
func (*NSAttributedString) InitWithFormatOptionsLocale ¶
func (o *NSAttributedString) InitWithFormatOptionsLocale(format *NSAttributedString, options NSAttributedStringFormattingOptions, locale *NSLocale) *NSAttributedString
Formats the string using the specified locale (or the canonical one, if nil).
func (*NSAttributedString) InitWithFormatOptionsLocaleArguments ¶
func (o *NSAttributedString) InitWithFormatOptionsLocaleArguments(format *NSAttributedString, options NSAttributedStringFormattingOptions, locale *NSLocale, arguments string) *NSAttributedString
Formats the string using the arguments list and the specified locale (or the canonical one, if nil).
func (*NSAttributedString) InitWithFormatOptionsLocaleContext ¶
func (o *NSAttributedString) InitWithFormatOptionsLocaleContext(format *NSAttributedString, options NSAttributedStringFormattingOptions, locale *NSLocale, context_ *NSDictionary[*NSString, objc.ID]) *NSAttributedString
Formats the string using the specified locale (or the canonical one, if nil).
func (*NSAttributedString) InitWithFormatOptionsLocaleContextArguments ¶
func (o *NSAttributedString) InitWithFormatOptionsLocaleContextArguments(format *NSAttributedString, options NSAttributedStringFormattingOptions, locale *NSLocale, context_ *NSDictionary[*NSString, objc.ID], arguments string) *NSAttributedString
Formats the string using the arguments list and the specified locale (or the canonical one, if nil).
func (*NSAttributedString) InitWithMarkdownOptionsBaseURLError ¶
func (o *NSAttributedString) InitWithMarkdownOptionsBaseURLError(markdown *NSData, options *NSAttributedStringMarkdownParsingOptions, baseURL *NSURL) (*NSAttributedString, error)
func (*NSAttributedString) InitWithMarkdownStringOptionsBaseURLError ¶
func (o *NSAttributedString) InitWithMarkdownStringOptionsBaseURLError(markdownString *NSString, options *NSAttributedStringMarkdownParsingOptions, baseURL *NSURL) (*NSAttributedString, error)
func (*NSAttributedString) InitWithString ¶
func (o *NSAttributedString) InitWithString(str *NSString) *NSAttributedString
func (*NSAttributedString) InitWithStringAttributes ¶
func (o *NSAttributedString) InitWithStringAttributes(str *NSString, attrs *NSDictionary[*NSString, objc.ID]) *NSAttributedString
func (*NSAttributedString) IsEqualToAttributedString ¶
func (o *NSAttributedString) IsEqualToAttributedString(other *NSAttributedString) bool
func (*NSAttributedString) Length ¶
func (o *NSAttributedString) Length() uint
func (*NSAttributedString) String ¶
func (o *NSAttributedString) String() *NSString
type NSAttributedStringEnumerationOptions ¶
type NSAttributedStringEnumerationOptions uint64
const ( NSAttributedStringEnumerationReverse NSAttributedStringEnumerationOptions = 2 NSAttributedStringEnumerationLongestEffectiveRangeNotRequired NSAttributedStringEnumerationOptions = 1048576 )
func (NSAttributedStringEnumerationOptions) String ¶
func (e NSAttributedStringEnumerationOptions) String() string
type NSAttributedStringFormattingOptions ¶
type NSAttributedStringFormattingOptions uint64
const ( NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging NSAttributedStringFormattingOptions = 1 NSAttributedStringFormattingApplyReplacementIndexAttribute NSAttributedStringFormattingOptions = 2 )
func (NSAttributedStringFormattingOptions) String ¶
func (e NSAttributedStringFormattingOptions) String() string
type NSAttributedStringMarkdownInterpretedSyntax ¶
type NSAttributedStringMarkdownInterpretedSyntax int64
const ( NSAttributedStringMarkdownInterpretedSyntaxFull NSAttributedStringMarkdownInterpretedSyntax = 0 NSAttributedStringMarkdownInterpretedSyntaxInlineOnly NSAttributedStringMarkdownInterpretedSyntax = 1 NSAttributedStringMarkdownInterpretedSyntaxInlineOnlyPreservingWhitespace NSAttributedStringMarkdownInterpretedSyntax = 2 )
func (NSAttributedStringMarkdownInterpretedSyntax) String ¶
func (e NSAttributedStringMarkdownInterpretedSyntax) String() string
type NSAttributedStringMarkdownParsingFailurePolicy ¶
type NSAttributedStringMarkdownParsingFailurePolicy int64
const ( NSAttributedStringMarkdownParsingFailureReturnError NSAttributedStringMarkdownParsingFailurePolicy = 0 NSAttributedStringMarkdownParsingFailureReturnPartiallyParsedIfPossible NSAttributedStringMarkdownParsingFailurePolicy = 1 )
func (NSAttributedStringMarkdownParsingFailurePolicy) String ¶
func (e NSAttributedStringMarkdownParsingFailurePolicy) String() string
type NSAttributedStringMarkdownParsingOptions ¶
type NSAttributedStringMarkdownParsingOptions struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsattributedstringmarkdownparsingoptions
func NSAttributedStringMarkdownParsingOptionsFromID ¶
func NSAttributedStringMarkdownParsingOptionsFromID(id objc.ID) *NSAttributedStringMarkdownParsingOptions
func (*NSAttributedStringMarkdownParsingOptions) AllowsExtendedAttributes ¶
func (o *NSAttributedStringMarkdownParsingOptions) AllowsExtendedAttributes() bool
func (*NSAttributedStringMarkdownParsingOptions) AppliesSourcePositionAttributes ¶
func (o *NSAttributedStringMarkdownParsingOptions) AppliesSourcePositionAttributes() bool
func (*NSAttributedStringMarkdownParsingOptions) FailurePolicy ¶
func (o *NSAttributedStringMarkdownParsingOptions) FailurePolicy() NSAttributedStringMarkdownParsingFailurePolicy
func (*NSAttributedStringMarkdownParsingOptions) InterpretedSyntax ¶
func (o *NSAttributedStringMarkdownParsingOptions) InterpretedSyntax() NSAttributedStringMarkdownInterpretedSyntax
func (*NSAttributedStringMarkdownParsingOptions) LanguageCode ¶
func (o *NSAttributedStringMarkdownParsingOptions) LanguageCode() *NSString
func (*NSAttributedStringMarkdownParsingOptions) SetAllowsExtendedAttributes ¶
func (o *NSAttributedStringMarkdownParsingOptions) SetAllowsExtendedAttributes(allowsExtendedAttributes bool)
func (*NSAttributedStringMarkdownParsingOptions) SetAppliesSourcePositionAttributes ¶
func (o *NSAttributedStringMarkdownParsingOptions) SetAppliesSourcePositionAttributes(appliesSourcePositionAttributes bool)
func (*NSAttributedStringMarkdownParsingOptions) SetFailurePolicy ¶
func (o *NSAttributedStringMarkdownParsingOptions) SetFailurePolicy(failurePolicy NSAttributedStringMarkdownParsingFailurePolicy)
func (*NSAttributedStringMarkdownParsingOptions) SetInterpretedSyntax ¶
func (o *NSAttributedStringMarkdownParsingOptions) SetInterpretedSyntax(interpretedSyntax NSAttributedStringMarkdownInterpretedSyntax)
func (*NSAttributedStringMarkdownParsingOptions) SetLanguageCode ¶
func (o *NSAttributedStringMarkdownParsingOptions) SetLanguageCode(languageCode *NSString)
type NSAttributedStringMarkdownSourcePosition ¶
type NSAttributedStringMarkdownSourcePosition struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsattributedstringmarkdownsourceposition
func NSAttributedStringMarkdownSourcePositionFromID ¶
func NSAttributedStringMarkdownSourcePositionFromID(id objc.ID) *NSAttributedStringMarkdownSourcePosition
func (*NSAttributedStringMarkdownSourcePosition) EndColumn ¶
func (o *NSAttributedStringMarkdownSourcePosition) EndColumn() int
func (*NSAttributedStringMarkdownSourcePosition) EndLine ¶
func (o *NSAttributedStringMarkdownSourcePosition) EndLine() int
func (*NSAttributedStringMarkdownSourcePosition) InitWithStartLineStartColumnEndLineEndColumn ¶
func (o *NSAttributedStringMarkdownSourcePosition) InitWithStartLineStartColumnEndLineEndColumn(startLine int, startColumn int, endLine int, endColumn int) *NSAttributedStringMarkdownSourcePosition
func (*NSAttributedStringMarkdownSourcePosition) RangeInString ¶
func (o *NSAttributedStringMarkdownSourcePosition) RangeInString(string_ *NSString) NSRange
func (*NSAttributedStringMarkdownSourcePosition) StartColumn ¶
func (o *NSAttributedStringMarkdownSourcePosition) StartColumn() int
func (*NSAttributedStringMarkdownSourcePosition) StartLine ¶
func (o *NSAttributedStringMarkdownSourcePosition) StartLine() int
type NSAutoreleasePool ¶
type NSAutoreleasePool struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsautoreleasepool
func NSAutoreleasePoolFromID ¶
func NSAutoreleasePoolFromID(id objc.ID) *NSAutoreleasePool
func (*NSAutoreleasePool) AddObject ¶
func (o *NSAutoreleasePool) AddObject(anObject objc.ID)
func (*NSAutoreleasePool) Drain ¶
func (o *NSAutoreleasePool) Drain()
type NSBackgroundActivityResult ¶
type NSBackgroundActivityResult int64
const ( NSBackgroundActivityResultFinished NSBackgroundActivityResult = 1 NSBackgroundActivityResultDeferred NSBackgroundActivityResult = 2 )
func (NSBackgroundActivityResult) String ¶
func (e NSBackgroundActivityResult) String() string
type NSBackgroundActivityScheduler ¶
type NSBackgroundActivityScheduler struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsbackgroundactivityscheduler
func NSBackgroundActivitySchedulerFromID ¶
func NSBackgroundActivitySchedulerFromID(id objc.ID) *NSBackgroundActivityScheduler
func (*NSBackgroundActivityScheduler) Identifier ¶
func (o *NSBackgroundActivityScheduler) Identifier() *NSString
func (*NSBackgroundActivityScheduler) InitWithIdentifier ¶
func (o *NSBackgroundActivityScheduler) InitWithIdentifier(identifier *NSString) *NSBackgroundActivityScheduler
func (*NSBackgroundActivityScheduler) Interval ¶
func (o *NSBackgroundActivityScheduler) Interval() float64
func (*NSBackgroundActivityScheduler) Invalidate ¶
func (o *NSBackgroundActivityScheduler) Invalidate()
func (*NSBackgroundActivityScheduler) QualityOfService ¶
func (o *NSBackgroundActivityScheduler) QualityOfService() NSQualityOfService
func (*NSBackgroundActivityScheduler) Repeats ¶
func (o *NSBackgroundActivityScheduler) Repeats() bool
func (*NSBackgroundActivityScheduler) ScheduleWith ¶
func (o *NSBackgroundActivityScheduler) ScheduleWith(block func(objc.Block))
func (*NSBackgroundActivityScheduler) SetInterval ¶
func (o *NSBackgroundActivityScheduler) SetInterval(interval float64)
func (*NSBackgroundActivityScheduler) SetQualityOfService ¶
func (o *NSBackgroundActivityScheduler) SetQualityOfService(qualityOfService NSQualityOfService)
func (*NSBackgroundActivityScheduler) SetRepeats ¶
func (o *NSBackgroundActivityScheduler) SetRepeats(repeats bool)
func (*NSBackgroundActivityScheduler) SetTolerance ¶
func (o *NSBackgroundActivityScheduler) SetTolerance(tolerance float64)
func (*NSBackgroundActivityScheduler) ShouldDefer ¶
func (o *NSBackgroundActivityScheduler) ShouldDefer() bool
func (*NSBackgroundActivityScheduler) Tolerance ¶
func (o *NSBackgroundActivityScheduler) Tolerance() float64
type NSBinarySearchingOptions ¶
type NSBinarySearchingOptions uint64
const ( NSBinarySearchingFirstEqual NSBinarySearchingOptions = 256 NSBinarySearchingLastEqual NSBinarySearchingOptions = 512 NSBinarySearchingInsertionIndex NSBinarySearchingOptions = 1024 )
func (NSBinarySearchingOptions) String ¶
func (e NSBinarySearchingOptions) String() string
type NSBlockOperation ¶
type NSBlockOperation struct {
NSOperation
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsblockoperation
func NSBlockOperationBlockOperationWith ¶
func NSBlockOperationBlockOperationWith(block func()) *NSBlockOperation
func NSBlockOperationFromID ¶
func NSBlockOperationFromID(id objc.ID) *NSBlockOperation
func (*NSBlockOperation) AddExecutionBlock ¶
func (o *NSBlockOperation) AddExecutionBlock(block func())
func (*NSBlockOperation) ExecutionBlocks ¶
func (o *NSBlockOperation) ExecutionBlocks() unsafe.Pointer
type NSBundle ¶
type NSBundle struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsbundle
func NSBundleBundleForClass ¶
func NSBundleBundleWithPath ¶
func NSBundleBundleWithURL ¶
func NSBundleFromID ¶
func NSBundleMainBundle ¶
func NSBundleMainBundle() *NSBundle
func (*NSBundle) AppStoreReceiptURL ¶
func (*NSBundle) BuiltInPlugInsPath ¶
func (*NSBundle) BuiltInPlugInsURL ¶
func (*NSBundle) BundleIdentifier ¶
func (*NSBundle) BundlePath ¶
func (*NSBundle) DevelopmentLocalization ¶
func (*NSBundle) ExecutableArchitectures ¶
func (*NSBundle) ExecutablePath ¶
func (*NSBundle) ExecutableURL ¶
func (*NSBundle) InfoDictionary ¶
func (o *NSBundle) InfoDictionary() *NSDictionary[*NSString, objc.ID]
func (*NSBundle) InitWithPath ¶
func (*NSBundle) InitWithURL ¶
func (*NSBundle) LoadAndReturnError ¶
func (*NSBundle) Localizations ¶
func (*NSBundle) LocalizedAttributedStringForKeyValueTable ¶
func (o *NSBundle) LocalizedAttributedStringForKeyValueTable(key *NSString, value *NSString, tableName *NSString) *NSAttributedString
func (*NSBundle) LocalizedInfoDictionary ¶
func (o *NSBundle) LocalizedInfoDictionary() *NSDictionary[*NSString, objc.ID]
func (*NSBundle) LocalizedStringForKeyValueTable ¶
func (*NSBundle) LocalizedStringForKeyValueTableLocalizations ¶
func (o *NSBundle) LocalizedStringForKeyValueTableLocalizations(key *NSString, value *NSString, tableName *NSString, localizations *NSArray[*NSString]) *NSString
Look up a localized string given a list of available localizations. - Parameters: - key: The key for the localized string to retrieve. - value: A default value to return if a localized string for “key“ cannot be found. - tableName: The name of the strings file to search. If `nil`, the method uses tables in `Localizable.strings`. - localizations: An array of BCP 47 language codes corresponding to available localizations. Bundle compares the array against its available localizations, and uses the best result to retrieve the localized string. If empty, we treat it as no localization is available, and may return a fallback. - Returns: A localized version of the string designated by “key“ in table “tableName“.
func (*NSBundle) ObjectForInfoDictionaryKey ¶
func (*NSBundle) PathForAuxiliaryExecutable ¶
func (*NSBundle) PathForResourceOfType ¶
func (*NSBundle) PathForResourceOfTypeInDirectory ¶
func (*NSBundle) PathForResourceOfTypeInDirectoryForLocalization ¶
func (*NSBundle) PathsForResourcesOfTypeInDirectory ¶
func (*NSBundle) PathsForResourcesOfTypeInDirectoryForLocalization ¶
func (*NSBundle) PreferredLocalizations ¶
func (*NSBundle) PreflightAndReturnError ¶
func (*NSBundle) PrincipalClass ¶
func (*NSBundle) PrivateFrameworksPath ¶
func (*NSBundle) PrivateFrameworksURL ¶
func (*NSBundle) ResourcePath ¶
func (*NSBundle) ResourceURL ¶
func (*NSBundle) SharedFrameworksPath ¶
func (*NSBundle) SharedFrameworksURL ¶
func (*NSBundle) SharedSupportPath ¶
func (*NSBundle) SharedSupportURL ¶
func (*NSBundle) URLForAuxiliaryExecutable ¶
func (*NSBundle) URLForResourceWithExtension ¶
func (*NSBundle) URLForResourceWithExtensionSubdirectory ¶
func (*NSBundle) URLForResourceWithExtensionSubdirectoryLocalization ¶
func (*NSBundle) URLsForResourcesWithExtensionSubdirectory ¶
func (*NSBundle) URLsForResourcesWithExtensionSubdirectoryLocalization ¶
type NSByteCountFormatter ¶
type NSByteCountFormatter struct {
NSFormatter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsbytecountformatter
func NSByteCountFormatterFromID ¶
func NSByteCountFormatterFromID(id objc.ID) *NSByteCountFormatter
func (*NSByteCountFormatter) AllowedUnits ¶
func (o *NSByteCountFormatter) AllowedUnits() NSByteCountFormatterUnits
func (*NSByteCountFormatter) AllowsNonnumericFormatting ¶
func (o *NSByteCountFormatter) AllowsNonnumericFormatting() bool
func (*NSByteCountFormatter) CountStyle ¶
func (o *NSByteCountFormatter) CountStyle() NSByteCountFormatterCountStyle
func (*NSByteCountFormatter) FormattingContext ¶
func (o *NSByteCountFormatter) FormattingContext() NSFormattingContext
func (*NSByteCountFormatter) IncludesActualByteCount ¶
func (o *NSByteCountFormatter) IncludesActualByteCount() bool
func (*NSByteCountFormatter) IncludesCount ¶
func (o *NSByteCountFormatter) IncludesCount() bool
func (*NSByteCountFormatter) IncludesUnit ¶
func (o *NSByteCountFormatter) IncludesUnit() bool
func (*NSByteCountFormatter) IsAdaptive ¶
func (o *NSByteCountFormatter) IsAdaptive() bool
func (*NSByteCountFormatter) SetAdaptive ¶
func (o *NSByteCountFormatter) SetAdaptive(adaptive bool)
func (*NSByteCountFormatter) SetAllowedUnits ¶
func (o *NSByteCountFormatter) SetAllowedUnits(allowedUnits NSByteCountFormatterUnits)
func (*NSByteCountFormatter) SetAllowsNonnumericFormatting ¶
func (o *NSByteCountFormatter) SetAllowsNonnumericFormatting(allowsNonnumericFormatting bool)
func (*NSByteCountFormatter) SetCountStyle ¶
func (o *NSByteCountFormatter) SetCountStyle(countStyle NSByteCountFormatterCountStyle)
func (*NSByteCountFormatter) SetFormattingContext ¶
func (o *NSByteCountFormatter) SetFormattingContext(formattingContext NSFormattingContext)
func (*NSByteCountFormatter) SetIncludesActualByteCount ¶
func (o *NSByteCountFormatter) SetIncludesActualByteCount(includesActualByteCount bool)
func (*NSByteCountFormatter) SetIncludesCount ¶
func (o *NSByteCountFormatter) SetIncludesCount(includesCount bool)
func (*NSByteCountFormatter) SetIncludesUnit ¶
func (o *NSByteCountFormatter) SetIncludesUnit(includesUnit bool)
func (*NSByteCountFormatter) SetZeroPadsFractionDigits ¶
func (o *NSByteCountFormatter) SetZeroPadsFractionDigits(zeroPadsFractionDigits bool)
func (*NSByteCountFormatter) StringFromByteCount ¶
func (o *NSByteCountFormatter) StringFromByteCount(byteCount int64) *NSString
func (*NSByteCountFormatter) StringFromMeasurement ¶
func (o *NSByteCountFormatter) StringFromMeasurement(measurement *NSMeasurement[*NSUnitInformationStorage]) *NSString
func (*NSByteCountFormatter) ZeroPadsFractionDigits ¶
func (o *NSByteCountFormatter) ZeroPadsFractionDigits() bool
type NSByteCountFormatterCountStyle ¶
type NSByteCountFormatterCountStyle int64
const ( NSByteCountFormatterCountStyleFile NSByteCountFormatterCountStyle = 0 NSByteCountFormatterCountStyleMemory NSByteCountFormatterCountStyle = 1 NSByteCountFormatterCountStyleDecimal NSByteCountFormatterCountStyle = 2 NSByteCountFormatterCountStyleBinary NSByteCountFormatterCountStyle = 3 )
func (NSByteCountFormatterCountStyle) String ¶
func (e NSByteCountFormatterCountStyle) String() string
type NSByteCountFormatterUnits ¶
type NSByteCountFormatterUnits uint64
const ( NSByteCountFormatterUseDefault NSByteCountFormatterUnits = 0 NSByteCountFormatterUseBytes NSByteCountFormatterUnits = 1 NSByteCountFormatterUseKB NSByteCountFormatterUnits = 2 NSByteCountFormatterUseMB NSByteCountFormatterUnits = 4 NSByteCountFormatterUseGB NSByteCountFormatterUnits = 8 NSByteCountFormatterUseTB NSByteCountFormatterUnits = 16 NSByteCountFormatterUsePB NSByteCountFormatterUnits = 32 NSByteCountFormatterUseEB NSByteCountFormatterUnits = 64 NSByteCountFormatterUseZB NSByteCountFormatterUnits = 128 NSByteCountFormatterUseYBOrHigher NSByteCountFormatterUnits = 65280 NSByteCountFormatterUseAll NSByteCountFormatterUnits = 65535 )
func (NSByteCountFormatterUnits) String ¶
func (e NSByteCountFormatterUnits) String() string
type NSCache ¶
Apple documentation: https://developer.apple.com/documentation/foundation/nscache
func NSCacheFromID ¶
func (*NSCache[KeyType, ObjectType]) CountLimit ¶
func (*NSCache[KeyType, ObjectType]) Delegate ¶
func (o *NSCache[KeyType, ObjectType]) Delegate() NSCacheDelegate
func (*NSCache[KeyType, ObjectType]) EvictsObjectsWithDiscardedContent ¶
func (*NSCache[KeyType, ObjectType]) ObjectForKey ¶
func (o *NSCache[KeyType, ObjectType]) ObjectForKey(key KeyType) ObjectType
func (*NSCache[KeyType, ObjectType]) RemoveAllObjects ¶
func (o *NSCache[KeyType, ObjectType]) RemoveAllObjects()
func (*NSCache[KeyType, ObjectType]) RemoveObjectForKey ¶
func (o *NSCache[KeyType, ObjectType]) RemoveObjectForKey(key KeyType)
func (*NSCache[KeyType, ObjectType]) SetCountLimit ¶
func (*NSCache[KeyType, ObjectType]) SetDelegate ¶
func (o *NSCache[KeyType, ObjectType]) SetDelegate(delegate NSCacheDelegate)
func (*NSCache[KeyType, ObjectType]) SetEvictsObjectsWithDiscardedContent ¶
func (*NSCache[KeyType, ObjectType]) SetObjectForKey ¶
func (o *NSCache[KeyType, ObjectType]) SetObjectForKey(obj ObjectType, key KeyType)
func (*NSCache[KeyType, ObjectType]) SetObjectForKeyCost ¶
func (*NSCache[KeyType, ObjectType]) SetTotalCostLimit ¶
func (*NSCache[KeyType, ObjectType]) TotalCostLimit ¶
type NSCacheDelegate ¶
type NSCacheDelegate interface {
}
NSCacheDelegate wraps the ObjC protocol NSCacheDelegate.
type NSCachedURLResponse ¶
type NSCachedURLResponse struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nscachedurlresponse
func NSCachedURLResponseFromID ¶
func NSCachedURLResponseFromID(id objc.ID) *NSCachedURLResponse
func (*NSCachedURLResponse) Data ¶
func (o *NSCachedURLResponse) Data() *NSData
@abstract Returns the data of the receiver. @result The data of the receiver.
func (*NSCachedURLResponse) InitWithResponseData ¶
func (o *NSCachedURLResponse) InitWithResponseData(response *NSURLResponse, data *NSData) *NSCachedURLResponse
@method initWithResponse:data @abstract Initializes an NSCachedURLResponse with the given response and data. @discussion A default NSURLCacheStoragePolicy is used for NSCachedURLResponse objects initialized with this method: NSURLCacheStorageAllowed. @param response a NSURLResponse object. @param data an NSData object representing the URL content corresponding to the given response. @result an initialized NSCachedURLResponse.
func (*NSCachedURLResponse) InitWithResponseDataUserInfoStoragePolicy ¶
func (o *NSCachedURLResponse) InitWithResponseDataUserInfoStoragePolicy(response *NSURLResponse, data *NSData, userInfo *NSDictionary[objc.ID, objc.ID], storagePolicy NSURLCacheStoragePolicy) *NSCachedURLResponse
@method initWithResponse:data:userInfo:storagePolicy: @abstract Initializes an NSCachedURLResponse with the given response, data, user-info dictionary, and storage policy. @param response a NSURLResponse object. @param data an NSData object representing the URL content corresponding to the given response. @param userInfo a dictionary user-specified information to be stored with the NSCachedURLResponse. @param storagePolicy an NSURLCacheStoragePolicy constant. @result an initialized NSCachedURLResponse.
func (*NSCachedURLResponse) Response ¶
func (o *NSCachedURLResponse) Response() *NSURLResponse
@abstract Returns the response wrapped by this instance. @result The response wrapped by this instance.
func (*NSCachedURLResponse) StoragePolicy ¶
func (o *NSCachedURLResponse) StoragePolicy() NSURLCacheStoragePolicy
@abstract Returns the NSURLCacheStoragePolicy constant of the receiver. @result The NSURLCacheStoragePolicy constant of the receiver.
func (*NSCachedURLResponse) UserInfo ¶
func (o *NSCachedURLResponse) UserInfo() *NSDictionary[objc.ID, objc.ID]
@abstract Returns the userInfo dictionary of the receiver. @result The userInfo dictionary of the receiver.
type NSCalculationError ¶
type NSCalculationError uint64
const ( NSCalculationNoError NSCalculationError = 0 NSCalculationLossOfPrecision NSCalculationError = 1 NSCalculationUnderflow NSCalculationError = 2 NSCalculationOverflow NSCalculationError = 3 NSCalculationDivideByZero NSCalculationError = 4 )
func NSDecimalAdd ¶
func NSDecimalAdd(result *NSDecimal, leftOperand *NSDecimal, rightOperand *NSDecimal, roundingMode NSRoundingMode) NSCalculationError
func NSDecimalDivide ¶
func NSDecimalDivide(result *NSDecimal, leftOperand *NSDecimal, rightOperand *NSDecimal, roundingMode NSRoundingMode) NSCalculationError
func NSDecimalMultiply ¶
func NSDecimalMultiply(result *NSDecimal, leftOperand *NSDecimal, rightOperand *NSDecimal, roundingMode NSRoundingMode) NSCalculationError
func NSDecimalMultiplyByPowerOf10 ¶
func NSDecimalMultiplyByPowerOf10(result *NSDecimal, number *NSDecimal, power int16, roundingMode NSRoundingMode) NSCalculationError
func NSDecimalNormalize ¶
func NSDecimalNormalize(number1 *NSDecimal, number2 *NSDecimal, roundingMode NSRoundingMode) NSCalculationError
func NSDecimalPower ¶
func NSDecimalPower(result *NSDecimal, number *NSDecimal, power uint, roundingMode NSRoundingMode) NSCalculationError
func NSDecimalSubtract ¶
func NSDecimalSubtract(result *NSDecimal, leftOperand *NSDecimal, rightOperand *NSDecimal, roundingMode NSRoundingMode) NSCalculationError
func (NSCalculationError) String ¶
func (e NSCalculationError) String() string
type NSCalendar ¶
type NSCalendar struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nscalendar Deprecated: since macOS 10.10.
func NSCalendarAutoupdatingCurrentCalendar ¶
func NSCalendarAutoupdatingCurrentCalendar() *NSCalendar
func NSCalendarCalendarWithIdentifier ¶
func NSCalendarCalendarWithIdentifier(calendarIdentifierConstant *NSString) *NSCalendar
func NSCalendarCurrentCalendar ¶
func NSCalendarCurrentCalendar() *NSCalendar
func NSCalendarFromID ¶
func NSCalendarFromID(id objc.ID) *NSCalendar
func (*NSCalendar) AMSymbol ¶
func (o *NSCalendar) AMSymbol() *NSString
func (*NSCalendar) CalendarIdentifier ¶
func (o *NSCalendar) CalendarIdentifier() *NSString
func (*NSCalendar) CompareDateToDateToUnitGranularity ¶
func (o *NSCalendar) CompareDateToDateToUnitGranularity(date1 *NSDate, date2 *NSDate, unit NSCalendarUnit) NSComparisonResult
func (*NSCalendar) ComponentFromDate ¶
func (o *NSCalendar) ComponentFromDate(unit NSCalendarUnit, date *NSDate) int
func (*NSCalendar) ComponentsFromDate ¶
func (o *NSCalendar) ComponentsFromDate(unitFlags NSCalendarUnit, date *NSDate) *NSDateComponents
func (*NSCalendar) ComponentsFromDateComponentsToDateComponentsOptions ¶
func (o *NSCalendar) ComponentsFromDateComponentsToDateComponentsOptions(unitFlags NSCalendarUnit, startingDateComp *NSDateComponents, resultDateComp *NSDateComponents, options NSCalendarOptions) *NSDateComponents
func (*NSCalendar) ComponentsFromDateToDateOptions ¶
func (o *NSCalendar) ComponentsFromDateToDateOptions(unitFlags NSCalendarUnit, startingDate *NSDate, resultDate *NSDate, opts NSCalendarOptions) *NSDateComponents
func (*NSCalendar) ComponentsInTimeZoneFromDate ¶
func (o *NSCalendar) ComponentsInTimeZoneFromDate(timezone *NSTimeZone, date *NSDate) *NSDateComponents
func (*NSCalendar) DateByAddingComponentsToDateOptions ¶
func (o *NSCalendar) DateByAddingComponentsToDateOptions(comps *NSDateComponents, date *NSDate, opts NSCalendarOptions) *NSDate
func (*NSCalendar) DateByAddingUnitValueToDateOptions ¶
func (o *NSCalendar) DateByAddingUnitValueToDateOptions(unit NSCalendarUnit, value int, date *NSDate, options NSCalendarOptions) *NSDate
func (*NSCalendar) DateBySettingHourMinuteSecondOfDateOptions ¶
func (o *NSCalendar) DateBySettingHourMinuteSecondOfDateOptions(h int, m int, s int, date *NSDate, opts NSCalendarOptions) *NSDate
func (*NSCalendar) DateBySettingUnitValueOfDateOptions ¶
func (o *NSCalendar) DateBySettingUnitValueOfDateOptions(unit NSCalendarUnit, v int, date *NSDate, opts NSCalendarOptions) *NSDate
func (*NSCalendar) DateFromComponents ¶
func (o *NSCalendar) DateFromComponents(comps *NSDateComponents) *NSDate
func (*NSCalendar) DateMatchesComponents ¶
func (o *NSCalendar) DateMatchesComponents(date *NSDate, components *NSDateComponents) bool
func (*NSCalendar) DateWithEraYearForWeekOfYearWeekOfYearWeekdayHourMinuteSecondNanosecond ¶
func (*NSCalendar) DateWithEraYearMonthDayHourMinuteSecondNanosecond ¶
func (*NSCalendar) EnumerateDatesStartingAfterDateMatchingComponentsOptionsUsing ¶
func (o *NSCalendar) EnumerateDatesStartingAfterDateMatchingComponentsOptionsUsing(start *NSDate, comps *NSDateComponents, opts NSCalendarOptions, block func(*NSDate, bool, *bool))
func (*NSCalendar) EraSymbols ¶
func (o *NSCalendar) EraSymbols() *NSArray[*NSString]
func (*NSCalendar) FirstWeekday ¶
func (o *NSCalendar) FirstWeekday() uint
func (*NSCalendar) GetEraYearForWeekOfYearWeekOfYearWeekdayFromDate ¶
func (*NSCalendar) GetEraYearMonthDayFromDate ¶
func (*NSCalendar) GetHourMinuteSecondNanosecondFromDate ¶
func (*NSCalendar) InitWithCalendarIdentifier ¶
func (o *NSCalendar) InitWithCalendarIdentifier(ident *NSString) objc.ID
func (*NSCalendar) IsDateEqualToDateToUnitGranularity ¶
func (o *NSCalendar) IsDateEqualToDateToUnitGranularity(date1 *NSDate, date2 *NSDate, unit NSCalendarUnit) bool
func (*NSCalendar) IsDateInSameDayAsDate ¶
func (o *NSCalendar) IsDateInSameDayAsDate(date1 *NSDate, date2 *NSDate) bool
func (*NSCalendar) IsDateInToday ¶
func (o *NSCalendar) IsDateInToday(date *NSDate) bool
func (*NSCalendar) IsDateInTomorrow ¶
func (o *NSCalendar) IsDateInTomorrow(date *NSDate) bool
func (*NSCalendar) IsDateInWeekend ¶
func (o *NSCalendar) IsDateInWeekend(date *NSDate) bool
func (*NSCalendar) IsDateInYesterday ¶
func (o *NSCalendar) IsDateInYesterday(date *NSDate) bool
func (*NSCalendar) Locale ¶
func (o *NSCalendar) Locale() *NSLocale
func (*NSCalendar) LongEraSymbols ¶
func (o *NSCalendar) LongEraSymbols() *NSArray[*NSString]
func (*NSCalendar) MaximumRangeOfUnit ¶
func (o *NSCalendar) MaximumRangeOfUnit(unit NSCalendarUnit) NSRange
func (*NSCalendar) MinimumDaysInFirstWeek ¶
func (o *NSCalendar) MinimumDaysInFirstWeek() uint
func (*NSCalendar) MinimumRangeOfUnit ¶
func (o *NSCalendar) MinimumRangeOfUnit(unit NSCalendarUnit) NSRange
func (*NSCalendar) MonthSymbols ¶
func (o *NSCalendar) MonthSymbols() *NSArray[*NSString]
func (*NSCalendar) NextDateAfterDateMatchingComponentsOptions ¶
func (o *NSCalendar) NextDateAfterDateMatchingComponentsOptions(date *NSDate, comps *NSDateComponents, options NSCalendarOptions) *NSDate
func (*NSCalendar) NextDateAfterDateMatchingHourMinuteSecondOptions ¶
func (o *NSCalendar) NextDateAfterDateMatchingHourMinuteSecondOptions(date *NSDate, hourValue int, minuteValue int, secondValue int, options NSCalendarOptions) *NSDate
func (*NSCalendar) NextDateAfterDateMatchingUnitValueOptions ¶
func (o *NSCalendar) NextDateAfterDateMatchingUnitValueOptions(date *NSDate, unit NSCalendarUnit, value int, options NSCalendarOptions) *NSDate
func (*NSCalendar) NextWeekendStartDateIntervalOptionsAfterDate ¶
func (o *NSCalendar) NextWeekendStartDateIntervalOptionsAfterDate(datep *NSDate, tip *float64, options NSCalendarOptions, date *NSDate) bool
func (*NSCalendar) OrdinalityOfUnitInUnitForDate ¶
func (o *NSCalendar) OrdinalityOfUnitInUnitForDate(smaller NSCalendarUnit, larger NSCalendarUnit, date *NSDate) uint
func (*NSCalendar) PMSymbol ¶
func (o *NSCalendar) PMSymbol() *NSString
func (*NSCalendar) QuarterSymbols ¶
func (o *NSCalendar) QuarterSymbols() *NSArray[*NSString]
func (*NSCalendar) RangeOfUnitInUnitForDate ¶
func (o *NSCalendar) RangeOfUnitInUnitForDate(smaller NSCalendarUnit, larger NSCalendarUnit, date *NSDate) NSRange
func (*NSCalendar) RangeOfUnitStartDateIntervalForDate ¶
func (o *NSCalendar) RangeOfUnitStartDateIntervalForDate(unit NSCalendarUnit, datep *NSDate, tip *float64, date *NSDate) bool
func (*NSCalendar) RangeOfWeekendStartDateIntervalContainingDate ¶
func (o *NSCalendar) RangeOfWeekendStartDateIntervalContainingDate(datep *NSDate, tip *float64, date *NSDate) bool
func (*NSCalendar) SetFirstWeekday ¶
func (o *NSCalendar) SetFirstWeekday(firstWeekday uint)
func (*NSCalendar) SetLocale ¶
func (o *NSCalendar) SetLocale(locale *NSLocale)
func (*NSCalendar) SetMinimumDaysInFirstWeek ¶
func (o *NSCalendar) SetMinimumDaysInFirstWeek(minimumDaysInFirstWeek uint)
func (*NSCalendar) SetTimeZone ¶
func (o *NSCalendar) SetTimeZone(timeZone *NSTimeZone)
func (*NSCalendar) ShortMonthSymbols ¶
func (o *NSCalendar) ShortMonthSymbols() *NSArray[*NSString]
func (*NSCalendar) ShortQuarterSymbols ¶
func (o *NSCalendar) ShortQuarterSymbols() *NSArray[*NSString]
func (*NSCalendar) ShortStandaloneMonthSymbols ¶
func (o *NSCalendar) ShortStandaloneMonthSymbols() *NSArray[*NSString]
func (*NSCalendar) ShortStandaloneQuarterSymbols ¶
func (o *NSCalendar) ShortStandaloneQuarterSymbols() *NSArray[*NSString]
func (*NSCalendar) ShortStandaloneWeekdaySymbols ¶
func (o *NSCalendar) ShortStandaloneWeekdaySymbols() *NSArray[*NSString]
func (*NSCalendar) ShortWeekdaySymbols ¶
func (o *NSCalendar) ShortWeekdaySymbols() *NSArray[*NSString]
func (*NSCalendar) StandaloneMonthSymbols ¶
func (o *NSCalendar) StandaloneMonthSymbols() *NSArray[*NSString]
func (*NSCalendar) StandaloneQuarterSymbols ¶
func (o *NSCalendar) StandaloneQuarterSymbols() *NSArray[*NSString]
func (*NSCalendar) StandaloneWeekdaySymbols ¶
func (o *NSCalendar) StandaloneWeekdaySymbols() *NSArray[*NSString]
func (*NSCalendar) StartOfDayForDate ¶
func (o *NSCalendar) StartOfDayForDate(date *NSDate) *NSDate
func (*NSCalendar) TimeZone ¶
func (o *NSCalendar) TimeZone() *NSTimeZone
func (*NSCalendar) VeryShortMonthSymbols ¶
func (o *NSCalendar) VeryShortMonthSymbols() *NSArray[*NSString]
func (*NSCalendar) VeryShortStandaloneMonthSymbols ¶
func (o *NSCalendar) VeryShortStandaloneMonthSymbols() *NSArray[*NSString]
func (*NSCalendar) VeryShortStandaloneWeekdaySymbols ¶
func (o *NSCalendar) VeryShortStandaloneWeekdaySymbols() *NSArray[*NSString]
func (*NSCalendar) VeryShortWeekdaySymbols ¶
func (o *NSCalendar) VeryShortWeekdaySymbols() *NSArray[*NSString]
func (*NSCalendar) WeekdaySymbols ¶
func (o *NSCalendar) WeekdaySymbols() *NSArray[*NSString]
type NSCalendarDate ¶
type NSCalendarDate struct {
NSDate
}
Apple documentation: https://developer.apple.com/documentation/foundation/nscalendardate Deprecated: Use NSCalendar and NSDateComponents and NSDateFormatter instead
func NSCalendarDateDistantFuture
deprecated
func NSCalendarDateDistantFuture() *NSCalendarDate
Deprecated: since macOS 10.10.
func NSCalendarDateDistantPast
deprecated
func NSCalendarDateDistantPast() *NSCalendarDate
Deprecated: since macOS 10.10.
func NSCalendarDateFromID ¶
func NSCalendarDateFromID(id objc.ID) *NSCalendarDate
func (*NSCalendarDate) CalendarFormat
deprecated
func (o *NSCalendarDate) CalendarFormat() *NSString
Deprecated: since macOS 10.10.
func (*NSCalendarDate) DateByAddingYearsMonthsDaysHoursMinutesSeconds
deprecated
func (o *NSCalendarDate) DateByAddingYearsMonthsDaysHoursMinutesSeconds(year int, month int, day int, hour int, minute int, second int) *NSCalendarDate
Deprecated: Use NSCalendar instead
func (*NSCalendarDate) DayOfCommonEra
deprecated
func (o *NSCalendarDate) DayOfCommonEra() int
Deprecated: since macOS 10.10.
func (*NSCalendarDate) DayOfMonth
deprecated
func (o *NSCalendarDate) DayOfMonth() int
Deprecated: since macOS 10.10.
func (*NSCalendarDate) DayOfWeek
deprecated
func (o *NSCalendarDate) DayOfWeek() int
Deprecated: since macOS 10.10.
func (*NSCalendarDate) DayOfYear
deprecated
func (o *NSCalendarDate) DayOfYear() int
Deprecated: since macOS 10.10.
func (*NSCalendarDate) DescriptionWithCalendarFormat
deprecated
func (o *NSCalendarDate) DescriptionWithCalendarFormat(format *NSString) *NSString
Deprecated: since macOS 10.10.
func (*NSCalendarDate) DescriptionWithCalendarFormatLocale
deprecated
func (o *NSCalendarDate) DescriptionWithCalendarFormatLocale(format *NSString, locale objc.ID) *NSString
Deprecated: since macOS 10.10.
func (*NSCalendarDate) HourOfDay
deprecated
func (o *NSCalendarDate) HourOfDay() int
Deprecated: since macOS 10.10.
func (*NSCalendarDate) InitWithString
deprecated
func (o *NSCalendarDate) InitWithString(description *NSString) objc.ID
Deprecated: Use NSDateFormatter instead
func (*NSCalendarDate) InitWithStringCalendarFormat
deprecated
func (o *NSCalendarDate) InitWithStringCalendarFormat(description *NSString, format *NSString) objc.ID
Deprecated: Use NSDateFormatter instead
func (*NSCalendarDate) InitWithStringCalendarFormatLocale
deprecated
func (*NSCalendarDate) InitWithYearMonthDayHourMinuteSecondTimeZone
deprecated
func (o *NSCalendarDate) InitWithYearMonthDayHourMinuteSecondTimeZone(year int, month uint, day uint, hour uint, minute uint, second uint, aTimeZone *NSTimeZone) objc.ID
Deprecated: Use NSCalendar and NSDateComponents instead
func (*NSCalendarDate) MinuteOfHour
deprecated
func (o *NSCalendarDate) MinuteOfHour() int
Deprecated: since macOS 10.10.
func (*NSCalendarDate) MonthOfYear
deprecated
func (o *NSCalendarDate) MonthOfYear() int
Deprecated: since macOS 10.10.
func (*NSCalendarDate) SecondOfMinute
deprecated
func (o *NSCalendarDate) SecondOfMinute() int
Deprecated: since macOS 10.10.
func (*NSCalendarDate) SetCalendarFormat
deprecated
func (o *NSCalendarDate) SetCalendarFormat(format *NSString)
Deprecated: since macOS 10.10.
func (*NSCalendarDate) SetTimeZone
deprecated
func (o *NSCalendarDate) SetTimeZone(aTimeZone *NSTimeZone)
Deprecated: since macOS 10.10.
func (*NSCalendarDate) TimeZone
deprecated
func (o *NSCalendarDate) TimeZone() *NSTimeZone
Deprecated: since macOS 10.10.
func (*NSCalendarDate) YearOfCommonEra
deprecated
func (o *NSCalendarDate) YearOfCommonEra() int
Deprecated: since macOS 10.10.
func (*NSCalendarDate) YearsMonthsDaysHoursMinutesSecondsSinceDate
deprecated
func (o *NSCalendarDate) YearsMonthsDaysHoursMinutesSecondsSinceDate(yp *int64, mop *int64, dp *int64, hp *int64, mip *int64, sp *int64, date *NSCalendarDate)
Deprecated: since macOS 10.10.
type NSCalendarOptions ¶
type NSCalendarOptions uint64
const ( NSCalendarWrapComponents NSCalendarOptions = 1 NSCalendarMatchStrictly NSCalendarOptions = 2 NSCalendarSearchBackwards NSCalendarOptions = 4 NSCalendarMatchPreviousTimePreservingSmallerUnits NSCalendarOptions = 256 NSCalendarMatchNextTimePreservingSmallerUnits NSCalendarOptions = 512 NSCalendarMatchNextTime NSCalendarOptions = 1024 NSCalendarMatchFirst NSCalendarOptions = 4096 NSCalendarMatchLast NSCalendarOptions = 8192 )
func (NSCalendarOptions) String ¶
func (e NSCalendarOptions) String() string
type NSCalendarUnit ¶
type NSCalendarUnit uint64
const ( NSCalendarUnitEra NSCalendarUnit = 2 NSCalendarUnitYear NSCalendarUnit = 4 NSCalendarUnitMonth NSCalendarUnit = 8 NSCalendarUnitDay NSCalendarUnit = 16 NSCalendarUnitHour NSCalendarUnit = 32 NSCalendarUnitMinute NSCalendarUnit = 64 NSCalendarUnitSecond NSCalendarUnit = 128 NSCalendarUnitWeekday NSCalendarUnit = 512 NSCalendarUnitWeekdayOrdinal NSCalendarUnit = 1024 NSCalendarUnitQuarter NSCalendarUnit = 2048 NSCalendarUnitWeekOfMonth NSCalendarUnit = 4096 NSCalendarUnitWeekOfYear NSCalendarUnit = 8192 NSCalendarUnitYearForWeekOfYear NSCalendarUnit = 16384 NSCalendarUnitNanosecond NSCalendarUnit = 32768 NSCalendarUnitDayOfYear NSCalendarUnit = 65536 NSCalendarUnitCalendar NSCalendarUnit = 1048576 NSCalendarUnitTimeZone NSCalendarUnit = 2097152 NSCalendarUnitIsLeapMonth NSCalendarUnit = 1073741824 NSCalendarUnitIsRepeatedDay NSCalendarUnit = 2147483648 NSEraCalendarUnit NSCalendarUnit = 2 NSYearCalendarUnit NSCalendarUnit = 4 NSMonthCalendarUnit NSCalendarUnit = 8 NSDayCalendarUnit NSCalendarUnit = 16 NSHourCalendarUnit NSCalendarUnit = 32 NSMinuteCalendarUnit NSCalendarUnit = 64 NSSecondCalendarUnit NSCalendarUnit = 128 NSWeekCalendarUnit NSCalendarUnit = 256 NSWeekdayCalendarUnit NSCalendarUnit = 512 NSWeekdayOrdinalCalendarUnit NSCalendarUnit = 1024 NSQuarterCalendarUnit NSCalendarUnit = 2048 NSWeekOfMonthCalendarUnit NSCalendarUnit = 4096 NSWeekOfYearCalendarUnit NSCalendarUnit = 8192 NSYearForWeekOfYearCalendarUnit NSCalendarUnit = 16384 NSCalendarCalendarUnit NSCalendarUnit = 1048576 NSTimeZoneCalendarUnit NSCalendarUnit = 2097152 )
func (NSCalendarUnit) String ¶
func (e NSCalendarUnit) String() string
type NSCharacterSet ¶
type NSCharacterSet struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nscharacterset
func NSCharacterSetAlphanumericCharacterSet ¶
func NSCharacterSetAlphanumericCharacterSet() *NSCharacterSet
func NSCharacterSetCapitalizedLetterCharacterSet ¶
func NSCharacterSetCapitalizedLetterCharacterSet() *NSCharacterSet
func NSCharacterSetCharacterSetWithBitmapRepresentation ¶
func NSCharacterSetCharacterSetWithBitmapRepresentation(data *NSData) *NSCharacterSet
func NSCharacterSetCharacterSetWithCharactersInString ¶
func NSCharacterSetCharacterSetWithCharactersInString(aString *NSString) *NSCharacterSet
func NSCharacterSetCharacterSetWithContentsOfFile ¶
func NSCharacterSetCharacterSetWithContentsOfFile(fName *NSString) *NSCharacterSet
func NSCharacterSetCharacterSetWithRange ¶
func NSCharacterSetCharacterSetWithRange(aRange NSRange) *NSCharacterSet
func NSCharacterSetControlCharacterSet ¶
func NSCharacterSetControlCharacterSet() *NSCharacterSet
func NSCharacterSetDecimalDigitCharacterSet ¶
func NSCharacterSetDecimalDigitCharacterSet() *NSCharacterSet
func NSCharacterSetDecomposableCharacterSet ¶
func NSCharacterSetDecomposableCharacterSet() *NSCharacterSet
func NSCharacterSetFromID ¶
func NSCharacterSetFromID(id objc.ID) *NSCharacterSet
func NSCharacterSetIllegalCharacterSet ¶
func NSCharacterSetIllegalCharacterSet() *NSCharacterSet
func NSCharacterSetLetterCharacterSet ¶
func NSCharacterSetLetterCharacterSet() *NSCharacterSet
func NSCharacterSetLowercaseLetterCharacterSet ¶
func NSCharacterSetLowercaseLetterCharacterSet() *NSCharacterSet
func NSCharacterSetNewlineCharacterSet ¶
func NSCharacterSetNewlineCharacterSet() *NSCharacterSet
func NSCharacterSetNonBaseCharacterSet ¶
func NSCharacterSetNonBaseCharacterSet() *NSCharacterSet
func NSCharacterSetPunctuationCharacterSet ¶
func NSCharacterSetPunctuationCharacterSet() *NSCharacterSet
func NSCharacterSetSymbolCharacterSet ¶
func NSCharacterSetSymbolCharacterSet() *NSCharacterSet
func NSCharacterSetURLFragmentAllowedCharacterSet ¶
func NSCharacterSetURLFragmentAllowedCharacterSet() *NSCharacterSet
func NSCharacterSetURLHostAllowedCharacterSet ¶
func NSCharacterSetURLHostAllowedCharacterSet() *NSCharacterSet
func NSCharacterSetURLPasswordAllowedCharacterSet ¶
func NSCharacterSetURLPasswordAllowedCharacterSet() *NSCharacterSet
func NSCharacterSetURLPathAllowedCharacterSet ¶
func NSCharacterSetURLPathAllowedCharacterSet() *NSCharacterSet
func NSCharacterSetURLQueryAllowedCharacterSet ¶
func NSCharacterSetURLQueryAllowedCharacterSet() *NSCharacterSet
func NSCharacterSetURLUserAllowedCharacterSet ¶
func NSCharacterSetURLUserAllowedCharacterSet() *NSCharacterSet
func NSCharacterSetUppercaseLetterCharacterSet ¶
func NSCharacterSetUppercaseLetterCharacterSet() *NSCharacterSet
func NSCharacterSetWhitespaceAndNewlineCharacterSet ¶
func NSCharacterSetWhitespaceAndNewlineCharacterSet() *NSCharacterSet
func NSCharacterSetWhitespaceCharacterSet ¶
func NSCharacterSetWhitespaceCharacterSet() *NSCharacterSet
func (*NSCharacterSet) BitmapRepresentation ¶
func (o *NSCharacterSet) BitmapRepresentation() *NSData
func (*NSCharacterSet) CharacterIsMember ¶
func (o *NSCharacterSet) CharacterIsMember(aCharacter uint16) bool
func (*NSCharacterSet) HasMemberInPlane ¶
func (o *NSCharacterSet) HasMemberInPlane(thePlane uint8) bool
func (*NSCharacterSet) InitWithCoder ¶
func (o *NSCharacterSet) InitWithCoder(coder *NSCoder) *NSCharacterSet
func (*NSCharacterSet) InvertedSet ¶
func (o *NSCharacterSet) InvertedSet() *NSCharacterSet
func (*NSCharacterSet) IsSupersetOfSet ¶
func (o *NSCharacterSet) IsSupersetOfSet(theOtherSet *NSCharacterSet) bool
func (*NSCharacterSet) LongCharacterIsMember ¶
func (o *NSCharacterSet) LongCharacterIsMember(theLongChar uint) bool
type NSClassDescription ¶
type NSClassDescription struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsclassdescription
func NSClassDescriptionClassDescriptionForClass ¶
func NSClassDescriptionClassDescriptionForClass(aClass objc.Class) *NSClassDescription
func NSClassDescriptionFromID ¶
func NSClassDescriptionFromID(id objc.ID) *NSClassDescription
type NSCloneCommand ¶
type NSCloneCommand struct {
NSScriptCommand
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsclonecommand
func NSCloneCommandFromID ¶
func NSCloneCommandFromID(id objc.ID) *NSCloneCommand
func (*NSCloneCommand) KeySpecifier ¶
func (o *NSCloneCommand) KeySpecifier() *NSScriptObjectSpecifier
type NSCloseCommand ¶
type NSCloseCommand struct {
NSScriptCommand
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsclosecommand
func NSCloseCommandFromID ¶
func NSCloseCommandFromID(id objc.ID) *NSCloseCommand
func (*NSCloseCommand) SaveOptions ¶
func (o *NSCloseCommand) SaveOptions() NSSaveOptions
type NSCoder ¶
type NSCoder struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nscoder
func NSCoderFromID ¶
func (*NSCoder) AllowsKeyedCoding ¶
func (*NSCoder) ContainsValueForKey ¶
func (*NSCoder) DecodeArrayOfObjCTypeCountAt ¶
func (*NSCoder) DecodeArrayOfObjectsOfClassForKey ¶
func (o *NSCoder) DecodeArrayOfObjectsOfClassForKey(cls objc.Class, key *NSString) *NSArray[objc.ID]
Decodes the \c NSArray object for the given \c key, which should be an \c NSArray<cls>, containing the given non-collection class (no nested arrays or arrays of dictionaries, etc) from the coder. Requires \c NSSecureCoding otherwise an exception is thrown and sets the \c decodingFailurePolicy to \c NSDecodingFailurePolicySetErrorAndReturn. Returns \c nil if the object for \c key is not of the expected types, or cannot be decoded, and sets the \c error on the decoder.
func (*NSCoder) DecodeArrayOfObjectsOfClassesForKey ¶
func (o *NSCoder) DecodeArrayOfObjectsOfClassesForKey(classes *NSSet[objc.Class], key *NSString) *NSArray[objc.ID]
Decodes the \c NSArray object for the given \c key, which should be an \c NSArray, containing the given non-collection classes (no nested arrays or arrays of dictionaries, etc) from the coder. Requires \c NSSecureCoding otherwise an exception is thrown and sets the \c decodingFailurePolicy to \c NSDecodingFailurePolicySetErrorAndReturn. Returns \c nil if the object for \c key is not of the expected types, or cannot be decoded, and sets the \c error on the decoder.
func (*NSCoder) DecodeBoolForKey ¶
func (*NSCoder) DecodeBytesForKeyMinimumLength ¶
Decode bytes from the decoder for a given key. The length of the bytes must be greater than or equal to the `length` parameter. If the result exists, but is of insufficient length, then the decoder uses `failWithError` to fail the entire decode operation. The result of that is configurable on a per-NSCoder basis using `NSDecodingFailurePolicy`.
func (*NSCoder) DecodeBytesForKeyReturnedLength ¶
func (*NSCoder) DecodeBytesWithMinimumLength ¶
Decode bytes from the decoder. The length of the bytes must be greater than or equal to the `length` parameter. If the result exists, but is of insufficient length, then the decoder uses `failWithError` to fail the entire decode operation. The result of that is configurable on a per-NSCoder basis using `NSDecodingFailurePolicy`.
func (*NSCoder) DecodeBytesWithReturnedLength ¶
func (*NSCoder) DecodeDataObject ¶
func (*NSCoder) DecodeDictionaryWithKeysOfClassObjectsOfClassForKey ¶
func (o *NSCoder) DecodeDictionaryWithKeysOfClassObjectsOfClassForKey(keyCls objc.Class, objectCls objc.Class, key *NSString) *NSDictionary[objc.ID, objc.ID]
Decodes the \c NSDictionary object for the given \c key, which should be an \c NSDictionary<keyCls,objectCls> , with keys of type given in \c keyCls and objects of the given non-collection class \c objectCls (no nested dictionaries or other dictionaries contained in the dictionary, etc) from the coder. Requires \c NSSecureCoding otherwise an exception is thrown and sets the \c decodingFailurePolicy to \c NSDecodingFailurePolicySetErrorAndReturn. Returns \c nil if the object for \c key is not of the expected types, or cannot be decoded, and sets the \c error on the decoder.
func (*NSCoder) DecodeDictionaryWithKeysOfClassesObjectsOfClassesForKey ¶
func (o *NSCoder) DecodeDictionaryWithKeysOfClassesObjectsOfClassesForKey(keyClasses *NSSet[objc.Class], objectClasses *NSSet[objc.Class], key *NSString) *NSDictionary[objc.ID, objc.ID]
Decodes the \c NSDictionary object for the given \c key, which should be an \c NSDictionary, with keys of the types given in \c keyClasses and objects of the given non-collection classes in \c objectClasses (no nested dictionaries or other dictionaries contained in the dictionary, etc) from the given coder. Requires \c NSSecureCoding otherwise an exception is thrown and sets the \c decodingFailurePolicy to \c NSDecodingFailurePolicySetErrorAndReturn. Returns \c nil if the object for \c key is not of the expected types, or cannot be decoded, and sets the \c error on the decoder.
func (*NSCoder) DecodeDoubleForKey ¶
func (*NSCoder) DecodeFloatForKey ¶
func (*NSCoder) DecodeInt32ForKey ¶
func (*NSCoder) DecodeInt64ForKey ¶
func (*NSCoder) DecodeIntForKey ¶
func (*NSCoder) DecodeIntegerForKey ¶
func (*NSCoder) DecodeNXObject
deprecated
func (*NSCoder) DecodeObject ¶
func (*NSCoder) DecodeObjectOfClassForKey ¶
func (*NSCoder) DecodeObjectOfClassesForKey ¶
func (*NSCoder) DecodePoint ¶
func (o *NSCoder) DecodePoint() corefoundation.CGPoint
func (*NSCoder) DecodePointForKey ¶
func (o *NSCoder) DecodePointForKey(key *NSString) corefoundation.CGPoint
func (*NSCoder) DecodePropertyList ¶
func (*NSCoder) DecodePropertyListForKey ¶
func (*NSCoder) DecodeRect ¶
func (o *NSCoder) DecodeRect() corefoundation.CGRect
func (*NSCoder) DecodeRectForKey ¶
func (o *NSCoder) DecodeRectForKey(key *NSString) corefoundation.CGRect
func (*NSCoder) DecodeSize ¶
func (o *NSCoder) DecodeSize() corefoundation.CGSize
func (*NSCoder) DecodeSizeForKey ¶
func (o *NSCoder) DecodeSizeForKey(key *NSString) corefoundation.CGSize
func (*NSCoder) DecodeTopLevelObjectAndReturnError ¶
func (*NSCoder) DecodeTopLevelObjectForKeyError ¶
func (*NSCoder) DecodeTopLevelObjectOfClassForKeyError ¶
func (*NSCoder) DecodeTopLevelObjectOfClassesForKeyError ¶
func (*NSCoder) DecodeValueOfObjCTypeAt
deprecated
func (*NSCoder) DecodeValueOfObjCTypeAtSize ¶
func (*NSCoder) DecodingFailurePolicy ¶
func (o *NSCoder) DecodingFailurePolicy() NSDecodingFailurePolicy
@abstract Defines the behavior this NSCoder should take on decode failure (i.e. corrupt archive, invalid data, etc.). @discussion The default result of this property is NSDecodingFailurePolicyRaiseException, subclasses can change this to an alternative policy.
func (*NSCoder) EncodeArrayOfObjCTypeCountAt ¶
func (*NSCoder) EncodeBoolForKey ¶
func (*NSCoder) EncodeBycopyObject ¶
func (*NSCoder) EncodeByrefObject ¶
func (*NSCoder) EncodeBytesLength ¶
func (*NSCoder) EncodeBytesLengthForKey ¶
func (*NSCoder) EncodeConditionalObject ¶
func (*NSCoder) EncodeConditionalObjectForKey ¶
func (*NSCoder) EncodeDataObject ¶
func (*NSCoder) EncodeDoubleForKey ¶
func (*NSCoder) EncodeFloatForKey ¶
func (*NSCoder) EncodeInt32ForKey ¶
func (*NSCoder) EncodeInt64ForKey ¶
func (*NSCoder) EncodeIntForKey ¶
func (*NSCoder) EncodeIntegerForKey ¶
func (*NSCoder) EncodeNXObject
deprecated
func (*NSCoder) EncodeObject ¶
func (*NSCoder) EncodeObjectForKey ¶
func (*NSCoder) EncodePoint ¶
func (o *NSCoder) EncodePoint(point corefoundation.CGPoint)
func (*NSCoder) EncodePointForKey ¶
func (o *NSCoder) EncodePointForKey(point corefoundation.CGPoint, key *NSString)
func (*NSCoder) EncodePropertyList ¶
func (*NSCoder) EncodeRect ¶
func (o *NSCoder) EncodeRect(rect corefoundation.CGRect)
func (*NSCoder) EncodeRectForKey ¶
func (o *NSCoder) EncodeRectForKey(rect corefoundation.CGRect, key *NSString)
func (*NSCoder) EncodeRootObject ¶
func (*NSCoder) EncodeSize ¶
func (o *NSCoder) EncodeSize(size corefoundation.CGSize)
func (*NSCoder) EncodeSizeForKey ¶
func (o *NSCoder) EncodeSizeForKey(size corefoundation.CGSize, key *NSString)
func (*NSCoder) EncodeValueOfObjCTypeAt ¶
func (*NSCoder) Error ¶
@abstract The current error (if there is one) for the current TopLevel decode. @discussion The meaning of this property changes based on the result of the decodingFailurePolicy property: For NSDecodingFailurePolicyRaiseException, this property will always be nil. For NSDecodingFailurePolicySetErrorAndReturn, this property can be non-nil, and if so, indicates that there was a failure while decoding the archive (specifically its the very first error encountered). While .error is non-nil, all attempts to decode data from this coder will return a nil/zero-equivalent value. This error is consumed by a TopLevel decode API (which resets this coder back to a being able to potentially decode data).
func (*NSCoder) FailWithError ¶
@abstract Signals to this coder that the decode has failed. @parameter non-nil error that describes the reason why the decode failed @discussion Sets an error on this NSCoder once per TopLevel decode; calling it repeatedly will have no effect until the call stack unwinds to one of the TopLevel decode entry-points. This method is only meaningful to call for decodes. Typically, you would want to call this method in your -initWithCoder: implementation when you detect situations like: - lack of secure coding - corruption of your data - domain validation failures After calling -failWithError: within your -initWithCoder: implementation, you should clean up and return nil as early as possible. Once an error has been signaled to a decoder, it remains set until it has handed off to the first TopLevel decode invocation above it. For example, consider the following call graph: A -decodeTopLevelObjectForKey:error: B -initWithCoder: C -decodeObjectForKey: D -initWithCoder: E -decodeObjectForKey: F -failWithError: In this case the error provided in stack-frame F will be returned via the outError in stack-frame A. Furthermore the result object from decodeTopLevelObjectForKey:error: will be nil, regardless of the result of stack-frame B. NSCoder implementations support two mechanisms for the stack-unwinding from F to A: - forced (NSException based) - particpatory (error based) The kind of unwinding you get is determined by the decodingFailurePolicy property of this NSCoder (which defaults to NSDecodingFailurePolicyRaiseException to match historical behavior).
func (*NSCoder) ObjectZone ¶
func (*NSCoder) RequiresSecureCoding ¶
func (*NSCoder) SetObjectZone ¶
func (*NSCoder) SystemVersion ¶
func (*NSCoder) VersionForClassName ¶
type NSCoding ¶
type NSCoding interface {
EncodeWithCoder(coder *NSCoder)
InitWithCoder(coder *NSCoder) unsafe.Pointer
}
NSCoding wraps the ObjC protocol NSCoding.
type NSCollectionChangeType ¶
type NSCollectionChangeType int64
const ( NSCollectionChangeInsert NSCollectionChangeType = 0 NSCollectionChangeRemove NSCollectionChangeType = 1 )
func (NSCollectionChangeType) String ¶
func (e NSCollectionChangeType) String() string
type NSComparisonPredicate ¶
type NSComparisonPredicate struct {
NSPredicate
}
Apple documentation: https://developer.apple.com/documentation/foundation/nscomparisonpredicate
func NSComparisonPredicateFromID ¶
func NSComparisonPredicateFromID(id objc.ID) *NSComparisonPredicate
func NSComparisonPredicatePredicateWithLeftExpressionRightExpressionCustomSelector ¶
func NSComparisonPredicatePredicateWithLeftExpressionRightExpressionCustomSelector(lhs *NSExpression, rhs *NSExpression, selector objc.SEL) *NSComparisonPredicate
func NSComparisonPredicatePredicateWithLeftExpressionRightExpressionModifierTypeOptions ¶
func NSComparisonPredicatePredicateWithLeftExpressionRightExpressionModifierTypeOptions(lhs *NSExpression, rhs *NSExpression, modifier NSComparisonPredicateModifier, type_ NSPredicateOperatorType, options NSComparisonPredicateOptions) *NSComparisonPredicate
func (*NSComparisonPredicate) ComparisonPredicateModifier ¶
func (o *NSComparisonPredicate) ComparisonPredicateModifier() NSComparisonPredicateModifier
func (*NSComparisonPredicate) CustomSelector ¶
func (o *NSComparisonPredicate) CustomSelector() objc.SEL
func (*NSComparisonPredicate) InitWithCoder ¶
func (o *NSComparisonPredicate) InitWithCoder(coder *NSCoder) *NSComparisonPredicate
func (*NSComparisonPredicate) InitWithLeftExpressionRightExpressionCustomSelector ¶
func (o *NSComparisonPredicate) InitWithLeftExpressionRightExpressionCustomSelector(lhs *NSExpression, rhs *NSExpression, selector objc.SEL) *NSComparisonPredicate
func (*NSComparisonPredicate) InitWithLeftExpressionRightExpressionModifierTypeOptions ¶
func (o *NSComparisonPredicate) InitWithLeftExpressionRightExpressionModifierTypeOptions(lhs *NSExpression, rhs *NSExpression, modifier NSComparisonPredicateModifier, type_ NSPredicateOperatorType, options NSComparisonPredicateOptions) *NSComparisonPredicate
func (*NSComparisonPredicate) LeftExpression ¶
func (o *NSComparisonPredicate) LeftExpression() *NSExpression
func (*NSComparisonPredicate) Options ¶
func (o *NSComparisonPredicate) Options() NSComparisonPredicateOptions
func (*NSComparisonPredicate) PredicateOperatorType ¶
func (o *NSComparisonPredicate) PredicateOperatorType() NSPredicateOperatorType
func (*NSComparisonPredicate) RightExpression ¶
func (o *NSComparisonPredicate) RightExpression() *NSExpression
type NSComparisonPredicateModifier ¶
type NSComparisonPredicateModifier uint64
const ( NSDirectPredicateModifier NSComparisonPredicateModifier = 0 NSAllPredicateModifier NSComparisonPredicateModifier = 1 NSAnyPredicateModifier NSComparisonPredicateModifier = 2 )
func (NSComparisonPredicateModifier) String ¶
func (e NSComparisonPredicateModifier) String() string
type NSComparisonPredicateOptions ¶
type NSComparisonPredicateOptions uint64
const ( NSCaseInsensitivePredicateOption NSComparisonPredicateOptions = 1 NSDiacriticInsensitivePredicateOption NSComparisonPredicateOptions = 2 NSNormalizedPredicateOption NSComparisonPredicateOptions = 4 )
func (NSComparisonPredicateOptions) String ¶
func (e NSComparisonPredicateOptions) String() string
type NSComparisonResult ¶
type NSComparisonResult int64
const ( NSOrderedAscending NSComparisonResult = -1 NSOrderedSame NSComparisonResult = 0 NSOrderedDescending NSComparisonResult = 1 )
func NSDecimalCompare ¶
func NSDecimalCompare(leftOperand *NSDecimal, rightOperand *NSDecimal) NSComparisonResult
func (NSComparisonResult) String ¶
func (e NSComparisonResult) String() string
type NSCompoundPredicate ¶
type NSCompoundPredicate struct {
NSPredicate
}
Apple documentation: https://developer.apple.com/documentation/foundation/nscompoundpredicate
func NSCompoundPredicateAndPredicateWithSubpredicates ¶
func NSCompoundPredicateAndPredicateWithSubpredicates(subpredicates *NSArray[*NSPredicate]) *NSCompoundPredicate
* Convenience Methods **
func NSCompoundPredicateFromID ¶
func NSCompoundPredicateFromID(id objc.ID) *NSCompoundPredicate
func NSCompoundPredicateNotPredicateWithSubpredicate ¶
func NSCompoundPredicateNotPredicateWithSubpredicate(predicate *NSPredicate) *NSCompoundPredicate
func NSCompoundPredicateOrPredicateWithSubpredicates ¶
func NSCompoundPredicateOrPredicateWithSubpredicates(subpredicates *NSArray[*NSPredicate]) *NSCompoundPredicate
func (*NSCompoundPredicate) CompoundPredicateType ¶
func (o *NSCompoundPredicate) CompoundPredicateType() NSCompoundPredicateType
func (*NSCompoundPredicate) InitWithCoder ¶
func (o *NSCompoundPredicate) InitWithCoder(coder *NSCoder) *NSCompoundPredicate
func (*NSCompoundPredicate) InitWithTypeSubpredicates ¶
func (o *NSCompoundPredicate) InitWithTypeSubpredicates(type_ NSCompoundPredicateType, subpredicates *NSArray[*NSPredicate]) *NSCompoundPredicate
func (*NSCompoundPredicate) Subpredicates ¶
func (o *NSCompoundPredicate) Subpredicates() *NSArray[objc.ID]
type NSCompoundPredicateType ¶
type NSCompoundPredicateType uint64
const ( NSNotPredicateType NSCompoundPredicateType = 0 NSAndPredicateType NSCompoundPredicateType = 1 NSOrPredicateType NSCompoundPredicateType = 2 )
func (NSCompoundPredicateType) String ¶
func (e NSCompoundPredicateType) String() string
type NSCondition ¶
type NSCondition struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nscondition
func NSConditionFromID ¶
func NSConditionFromID(id objc.ID) *NSCondition
func (*NSCondition) Broadcast ¶
func (o *NSCondition) Broadcast()
func (*NSCondition) Name ¶
func (o *NSCondition) Name() *NSString
func (*NSCondition) SetName ¶
func (o *NSCondition) SetName(name *NSString)
func (*NSCondition) Signal ¶
func (o *NSCondition) Signal()
func (*NSCondition) Wait ¶
func (o *NSCondition) Wait()
func (*NSCondition) WaitUntilDate ¶
func (o *NSCondition) WaitUntilDate(limit *NSDate) bool
type NSConditionLock ¶
type NSConditionLock struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsconditionlock
func NSConditionLockFromID ¶
func NSConditionLockFromID(id objc.ID) *NSConditionLock
func (*NSConditionLock) Condition ¶
func (o *NSConditionLock) Condition() int
func (*NSConditionLock) InitWithCondition ¶
func (o *NSConditionLock) InitWithCondition(condition int) *NSConditionLock
func (*NSConditionLock) LockBeforeDate ¶
func (o *NSConditionLock) LockBeforeDate(limit *NSDate) bool
func (*NSConditionLock) LockWhenCondition ¶
func (o *NSConditionLock) LockWhenCondition(condition int)
func (*NSConditionLock) LockWhenConditionBeforeDate ¶
func (o *NSConditionLock) LockWhenConditionBeforeDate(condition int, limit *NSDate) bool
func (*NSConditionLock) Name ¶
func (o *NSConditionLock) Name() *NSString
func (*NSConditionLock) SetName ¶
func (o *NSConditionLock) SetName(name *NSString)
func (*NSConditionLock) TryLock ¶
func (o *NSConditionLock) TryLock() bool
func (*NSConditionLock) TryLockWhenCondition ¶
func (o *NSConditionLock) TryLockWhenCondition(condition int) bool
func (*NSConditionLock) UnlockWithCondition ¶
func (o *NSConditionLock) UnlockWithCondition(condition int)
type NSConnection ¶
type NSConnection struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsconnection Deprecated: Use NSXPCConnection instead
func NSConnectionConnectionWithReceivePortSendPort ¶
func NSConnectionConnectionWithReceivePortSendPort(receivePort *NSPort, sendPort *NSPort) *NSConnection
func NSConnectionConnectionWithRegisteredNameHost
deprecated
func NSConnectionConnectionWithRegisteredNameHost(name *NSString, hostName *NSString) *NSConnection
Deprecated: since macOS 10.6.
func NSConnectionConnectionWithRegisteredNameHostUsingNameServer
deprecated
func NSConnectionConnectionWithRegisteredNameHostUsingNameServer(name *NSString, hostName *NSString, server *NSPortNameServer) *NSConnection
Deprecated: since macOS 10.6.
func NSConnectionDefaultConnection
deprecated
func NSConnectionDefaultConnection() *NSConnection
Deprecated: since macOS 10.6.
func NSConnectionFromID ¶
func NSConnectionFromID(id objc.ID) *NSConnection
func NSConnectionServiceConnectionWithNameRootObject ¶
func NSConnectionServiceConnectionWithNameRootObject(name *NSString, root objc.ID) *NSConnection
func NSConnectionServiceConnectionWithNameRootObjectUsingNameServer ¶
func NSConnectionServiceConnectionWithNameRootObjectUsingNameServer(name *NSString, root objc.ID, server *NSPortNameServer) *NSConnection
func (*NSConnection) AddRequestMode ¶
func (o *NSConnection) AddRequestMode(rmode *NSString)
func (*NSConnection) AddRunLoop ¶
func (o *NSConnection) AddRunLoop(runloop *NSRunLoop)
func (*NSConnection) Delegate ¶
func (o *NSConnection) Delegate() NSConnectionDelegate
func (*NSConnection) DispatchWithComponents ¶
func (o *NSConnection) DispatchWithComponents(components *NSArray[objc.ID])
func (*NSConnection) EnableMultipleThreads ¶
func (o *NSConnection) EnableMultipleThreads()
func (*NSConnection) IndependentConversationQueueing ¶
func (o *NSConnection) IndependentConversationQueueing() bool
func (*NSConnection) InitWithReceivePortSendPort ¶
func (o *NSConnection) InitWithReceivePortSendPort(receivePort *NSPort, sendPort *NSPort) *NSConnection
func (*NSConnection) Invalidate ¶
func (o *NSConnection) Invalidate()
func (*NSConnection) IsValid ¶
func (o *NSConnection) IsValid() bool
func (*NSConnection) LocalObjects ¶
func (o *NSConnection) LocalObjects() *NSArray[objc.ID]
func (*NSConnection) MultipleThreadsEnabled ¶
func (o *NSConnection) MultipleThreadsEnabled() bool
func (*NSConnection) ReceivePort ¶
func (o *NSConnection) ReceivePort() *NSPort
func (*NSConnection) RegisterName ¶
func (o *NSConnection) RegisterName(name *NSString) bool
func (*NSConnection) RegisterNameWithNameServer ¶
func (o *NSConnection) RegisterNameWithNameServer(name *NSString, server *NSPortNameServer) bool
func (*NSConnection) RemoteObjects ¶
func (o *NSConnection) RemoteObjects() *NSArray[objc.ID]
func (*NSConnection) RemoveRequestMode ¶
func (o *NSConnection) RemoveRequestMode(rmode *NSString)
func (*NSConnection) RemoveRunLoop ¶
func (o *NSConnection) RemoveRunLoop(runloop *NSRunLoop)
func (*NSConnection) ReplyTimeout ¶
func (o *NSConnection) ReplyTimeout() float64
func (*NSConnection) RequestModes ¶
func (o *NSConnection) RequestModes() *NSArray[*NSString]
func (*NSConnection) RequestTimeout ¶
func (o *NSConnection) RequestTimeout() float64
func (*NSConnection) RootObject ¶
func (o *NSConnection) RootObject() objc.ID
func (*NSConnection) RootProxy ¶
func (o *NSConnection) RootProxy() *NSDistantObject
func (*NSConnection) RunInNewThread ¶
func (o *NSConnection) RunInNewThread()
func (*NSConnection) SendPort ¶
func (o *NSConnection) SendPort() *NSPort
func (*NSConnection) SetDelegate ¶
func (o *NSConnection) SetDelegate(delegate NSConnectionDelegate)
func (*NSConnection) SetIndependentConversationQueueing ¶
func (o *NSConnection) SetIndependentConversationQueueing(independentConversationQueueing bool)
func (*NSConnection) SetReplyTimeout ¶
func (o *NSConnection) SetReplyTimeout(replyTimeout float64)
func (*NSConnection) SetRequestTimeout ¶
func (o *NSConnection) SetRequestTimeout(requestTimeout float64)
func (*NSConnection) SetRootObject ¶
func (o *NSConnection) SetRootObject(rootObject objc.ID)
func (*NSConnection) Statistics ¶
func (o *NSConnection) Statistics() *NSDictionary[*NSString, *NSNumber]
type NSConnectionDelegate ¶
type NSConnectionDelegate interface {
}
NSConnectionDelegate wraps the ObjC protocol NSConnectionDelegate.
type NSConstantString ¶
type NSConstantString struct {
NSSimpleCString
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsconstantstring
func NSConstantStringFromID ¶
func NSConstantStringFromID(id objc.ID) *NSConstantString
type NSCountedSet ¶
type NSCountedSet[ObjectType pureobjc.AnyObject] struct { NSMutableSet[ObjectType] }
Apple documentation: https://developer.apple.com/documentation/foundation/nscountedset
func NSCountedSetFromID ¶
func NSCountedSetFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSCountedSet[ObjectType]
func (*NSCountedSet[ObjectType]) CountForObject ¶
func (o *NSCountedSet[ObjectType]) CountForObject(object ObjectType) uint
func (*NSCountedSet[ObjectType]) InitWithArray ¶
func (o *NSCountedSet[ObjectType]) InitWithArray(array *NSArray[ObjectType]) *NSCountedSet[ObjectType]
func (*NSCountedSet[ObjectType]) InitWithCapacity ¶
func (o *NSCountedSet[ObjectType]) InitWithCapacity(numItems uint) *NSCountedSet[ObjectType]
func (*NSCountedSet[ObjectType]) InitWithSet ¶
func (o *NSCountedSet[ObjectType]) InitWithSet(set *NSSet[ObjectType]) *NSCountedSet[ObjectType]
type NSCreateCommand ¶
type NSCreateCommand struct {
NSScriptCommand
}
Apple documentation: https://developer.apple.com/documentation/foundation/nscreatecommand
func NSCreateCommandFromID ¶
func NSCreateCommandFromID(id objc.ID) *NSCreateCommand
func (*NSCreateCommand) CreateClassDescription ¶
func (o *NSCreateCommand) CreateClassDescription() *NSScriptClassDescription
func (*NSCreateCommand) ResolvedKeyDictionary ¶
func (o *NSCreateCommand) ResolvedKeyDictionary() *NSDictionary[*NSString, objc.ID]
type NSData ¶
type NSData struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdata
func NSDataData ¶
func NSDataData() *NSData
func NSDataDataWithContentsOfFileOptionsError ¶
func NSDataDataWithContentsOfFileOptionsError(path *NSString, readOptionsMask NSDataReadingOptions) (*NSData, error)
func NSDataDataWithContentsOfURLOptionsError ¶
func NSDataDataWithContentsOfURLOptionsError(url *NSURL, readOptionsMask NSDataReadingOptions) (*NSData, error)
func NSDataDataWithData ¶
func NSDataFromID ¶
func NSJSONSerializationDataWithJSONObjectOptionsError ¶
func NSJSONSerializationDataWithJSONObjectOptionsError(obj objc.ID, opt NSJSONWritingOptions) (*NSData, error)
func NSKeyedArchiverArchivedDataWithRootObject
deprecated
func NSKeyedArchiverArchivedDataWithRootObjectRequiringSecureCodingError ¶
func NSKeyedArchiverArchivedDataWithRootObjectRequiringSecureCodingError(object objc.ID, requiresSecureCoding bool) (*NSData, error)
Returns an \c NSData object containing the encoded form of the object graph whose root object is given, optionally disabling secure coding. If \c NSSecureCoding cannot be used, \c requiresSecureCoding may be turned off here; for improved security, however, \c requiresSecureCoding should be left enabled whenever possible. \c requiresSecureCoding ensures that all encoded objects conform to \c NSSecureCoding, preventing the possibility of encoding objects which cannot be decoded later. If the object graph cannot be encoded, returns \c nil and sets the \c error out parameter.
func NSNetServiceDataFromTXTRecordDictionary ¶
func NSNetServiceDataFromTXTRecordDictionary(txtDictionary *NSDictionary[*NSString, *NSData]) *NSData
func NSPropertyListSerializationDataFromPropertyListFormatErrorDescription
deprecated
func NSPropertyListSerializationDataFromPropertyListFormatErrorDescription(plist objc.ID, format NSPropertyListFormat, errorString *NSString) *NSData
Deprecated: Use dataWithPropertyList:format:options:error: instead.
func NSURLConnectionSendSynchronousRequestReturningResponseError ¶
func NSURLConnectionSendSynchronousRequestReturningResponseError(request *NSURLRequest, response *NSURLResponse) (*NSData, error)
@method sendSynchronousRequest:returningResponse:error: @abstract Performs a synchronous load of the given request, returning an NSURLResponse in the given out parameter. @discussion A synchronous load for the given request is built on top of the asynchronous loading code made available by the class. The calling thread is blocked while the asynchronous loading system performs the URL load on a thread spawned specifically for this load request. No special threading or run loop configuration is necessary in the calling thread in order to perform a synchronous load. For instance, the calling thread need not be running its run loop. @param request The request to load. Note that the request is deep-copied as part of the initialization process. Changes made to the request argument after this method returns do not affect the request that is used for the loading process. @param response An out parameter which is filled in with the response generated by performing the load. @param error Out parameter (may be NULL) used if an error occurs while processing the request. Will not be modified if the load succeeds. @result The content of the URL resulting from performing the load, or nil if the load failed. Deprecated: Use [NSURLSession dataTaskWithRequest:completionHandler:] (see NSURLSession.h
func (*NSData) Base64EncodedDataWithOptions ¶
func (o *NSData) Base64EncodedDataWithOptions(options NSDataBase64EncodingOptions) *NSData
func (*NSData) Base64EncodedStringWithOptions ¶
func (o *NSData) Base64EncodedStringWithOptions(options NSDataBase64EncodingOptions) *NSString
func (*NSData) Base64Encoding
deprecated
func (*NSData) CompressedDataUsingAlgorithmError ¶
func (o *NSData) CompressedDataUsingAlgorithmError(algorithm NSDataCompressionAlgorithm) (*NSData, error)
func (*NSData) DecompressedDataUsingAlgorithmError ¶
func (o *NSData) DecompressedDataUsingAlgorithmError(algorithm NSDataCompressionAlgorithm) (*NSData, error)
func (*NSData) EnumerateByteRangesUsing ¶
func (*NSData) GetBytesLength ¶
func (*NSData) GetBytesRange ¶
func (*NSData) InitWithBase64EncodedDataOptions ¶
func (o *NSData) InitWithBase64EncodedDataOptions(base64Data *NSData, options NSDataBase64DecodingOptions) *NSData
func (*NSData) InitWithBase64EncodedStringOptions ¶
func (o *NSData) InitWithBase64EncodedStringOptions(base64String *NSString, options NSDataBase64DecodingOptions) *NSData
func (*NSData) InitWithBase64Encoding
deprecated
func (*NSData) InitWithBytesLength ¶
func (*NSData) InitWithBytesNoCopyLength ¶
func (*NSData) InitWithBytesNoCopyLengthDeallocator ¶
func (*NSData) InitWithBytesNoCopyLengthFreeWhenDone ¶
func (*NSData) InitWithContentsOfFile ¶
func (*NSData) InitWithContentsOfFileOptionsError ¶
func (o *NSData) InitWithContentsOfFileOptionsError(path *NSString, readOptionsMask NSDataReadingOptions) (*NSData, error)
func (*NSData) InitWithContentsOfMappedFile
deprecated
func (*NSData) InitWithContentsOfURL ¶
func (*NSData) InitWithContentsOfURLOptionsError ¶
func (o *NSData) InitWithContentsOfURLOptionsError(url *NSURL, readOptionsMask NSDataReadingOptions) (*NSData, error)
func (*NSData) InitWithData ¶
func (*NSData) IsEqualToData ¶
func (*NSData) RangeOfDataOptionsRange ¶
func (o *NSData) RangeOfDataOptionsRange(dataToFind *NSData, mask NSDataSearchOptions, searchRange NSRange) NSRange
func (*NSData) SubdataWithRange ¶
func (*NSData) WriteToFileAtomically ¶
func (*NSData) WriteToFileOptionsError ¶
func (o *NSData) WriteToFileOptionsError(path *NSString, writeOptionsMask NSDataWritingOptions) (bool, error)
func (*NSData) WriteToURLAtomically ¶
func (*NSData) WriteToURLOptionsError ¶
func (o *NSData) WriteToURLOptionsError(url *NSURL, writeOptionsMask NSDataWritingOptions) (bool, error)
type NSDataBase64DecodingOptions ¶
type NSDataBase64DecodingOptions uint64
const (
NSDataBase64DecodingIgnoreUnknownCharacters NSDataBase64DecodingOptions = 1
)
func (NSDataBase64DecodingOptions) String ¶
func (e NSDataBase64DecodingOptions) String() string
type NSDataBase64EncodingOptions ¶
type NSDataBase64EncodingOptions uint64
const ( NSDataBase64Encoding64CharacterLineLength NSDataBase64EncodingOptions = 1 NSDataBase64Encoding76CharacterLineLength NSDataBase64EncodingOptions = 2 NSDataBase64EncodingEndLineWithCarriageReturn NSDataBase64EncodingOptions = 16 NSDataBase64EncodingEndLineWithLineFeed NSDataBase64EncodingOptions = 32 )
func (NSDataBase64EncodingOptions) String ¶
func (e NSDataBase64EncodingOptions) String() string
type NSDataCompressionAlgorithm ¶
type NSDataCompressionAlgorithm int64
const ( NSDataCompressionAlgorithmLZFSE NSDataCompressionAlgorithm = 0 NSDataCompressionAlgorithmLZ4 NSDataCompressionAlgorithm = 1 NSDataCompressionAlgorithmLZMA NSDataCompressionAlgorithm = 2 NSDataCompressionAlgorithmZlib NSDataCompressionAlgorithm = 3 )
func (NSDataCompressionAlgorithm) String ¶
func (e NSDataCompressionAlgorithm) String() string
type NSDataDetector ¶
type NSDataDetector struct {
NSRegularExpression
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdatadetector
func NSDataDetectorDataDetectorWithTypesError ¶
func NSDataDetectorDataDetectorWithTypesError(checkingTypes uint64) (*NSDataDetector, error)
func NSDataDetectorFromID ¶
func NSDataDetectorFromID(id objc.ID) *NSDataDetector
func (*NSDataDetector) CheckingTypes ¶
func (o *NSDataDetector) CheckingTypes() uint64
func (*NSDataDetector) InitWithTypesError ¶
func (o *NSDataDetector) InitWithTypesError(checkingTypes uint64) (*NSDataDetector, error)
type NSDataReadingOptions ¶
type NSDataReadingOptions uint64
const ( NSDataReadingMappedIfSafe NSDataReadingOptions = 1 NSDataReadingUncached NSDataReadingOptions = 2 NSDataReadingMappedAlways NSDataReadingOptions = 8 NSDataReadingMapped NSDataReadingOptions = 1 NSMappedRead NSDataReadingOptions = 1 NSUncachedRead NSDataReadingOptions = 2 )
func (NSDataReadingOptions) String ¶
func (e NSDataReadingOptions) String() string
type NSDataSearchOptions ¶
type NSDataSearchOptions uint64
const ( NSDataSearchBackwards NSDataSearchOptions = 1 NSDataSearchAnchored NSDataSearchOptions = 2 )
func (NSDataSearchOptions) String ¶
func (e NSDataSearchOptions) String() string
type NSDataWritingOptions ¶
type NSDataWritingOptions uint64
const ( NSDataWritingAtomic NSDataWritingOptions = 1 NSDataWritingWithoutOverwriting NSDataWritingOptions = 2 NSDataWritingFileProtectionNone NSDataWritingOptions = 268435456 NSDataWritingFileProtectionComplete NSDataWritingOptions = 536870912 NSDataWritingFileProtectionCompleteUnlessOpen NSDataWritingOptions = 805306368 NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication NSDataWritingOptions = 1073741824 NSDataWritingFileProtectionMask NSDataWritingOptions = 4026531840 NSAtomicWrite NSDataWritingOptions = 1 )
func (NSDataWritingOptions) String ¶
func (e NSDataWritingOptions) String() string
type NSDate ¶
type NSDate struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdate
func NSDateDate ¶
func NSDateDate() *NSDate
func NSDateDistantFuture ¶
func NSDateDistantFuture() *NSDate
func NSDateDistantPast ¶
func NSDateDistantPast() *NSDate
func NSDateFromID ¶
func (*NSDate) AddTimeInterval
deprecated
func (*NSDate) Compare ¶
func (o *NSDate) Compare(other *NSDate) NSComparisonResult
func (*NSDate) DateByAddingTimeInterval ¶
func (*NSDate) DateWithCalendarFormatTimeZone
deprecated
func (o *NSDate) DateWithCalendarFormatTimeZone(format *NSString, aTimeZone *NSTimeZone) *NSCalendarDate
Deprecated: since macOS 10.10.
func (*NSDate) DescriptionWithCalendarFormatTimeZoneLocale
deprecated
func (*NSDate) DescriptionWithLocale ¶
func (*NSDate) EarlierDate ¶
func (*NSDate) InitWithCoder ¶
func (*NSDate) InitWithString
deprecated
func (*NSDate) InitWithTimeIntervalSince1970 ¶
func (*NSDate) InitWithTimeIntervalSinceDate ¶
func (*NSDate) InitWithTimeIntervalSinceNow ¶
func (*NSDate) InitWithTimeIntervalSinceReferenceDate ¶
func (*NSDate) IsEqualToDate ¶
func (*NSDate) TimeIntervalSince1970 ¶
func (*NSDate) TimeIntervalSinceDate ¶
func (*NSDate) TimeIntervalSinceNow ¶
func (*NSDate) TimeIntervalSinceReferenceDate ¶
type NSDateComponents ¶
type NSDateComponents struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdatecomponents Deprecated: since macOS 10.10.
func NSDateComponentsFromID ¶
func NSDateComponentsFromID(id objc.ID) *NSDateComponents
func (*NSDateComponents) Calendar ¶
func (o *NSDateComponents) Calendar() *NSCalendar
func (*NSDateComponents) Date ¶
func (o *NSDateComponents) Date() *NSDate
func (*NSDateComponents) Day ¶
func (o *NSDateComponents) Day() int
func (*NSDateComponents) DayOfYear ¶
func (o *NSDateComponents) DayOfYear() int
func (*NSDateComponents) Era ¶
func (o *NSDateComponents) Era() int
func (*NSDateComponents) Hour ¶
func (o *NSDateComponents) Hour() int
func (*NSDateComponents) IsLeapMonth ¶
func (o *NSDateComponents) IsLeapMonth() bool
func (*NSDateComponents) IsRepeatedDay ¶
func (o *NSDateComponents) IsRepeatedDay() bool
func (*NSDateComponents) IsValidDate ¶
func (o *NSDateComponents) IsValidDate() bool
func (*NSDateComponents) IsValidDateInCalendar ¶
func (o *NSDateComponents) IsValidDateInCalendar(calendar *NSCalendar) bool
func (*NSDateComponents) Minute ¶
func (o *NSDateComponents) Minute() int
func (*NSDateComponents) Month ¶
func (o *NSDateComponents) Month() int
func (*NSDateComponents) Nanosecond ¶
func (o *NSDateComponents) Nanosecond() int
func (*NSDateComponents) Quarter ¶
func (o *NSDateComponents) Quarter() int
func (*NSDateComponents) Second ¶
func (o *NSDateComponents) Second() int
func (*NSDateComponents) SetCalendar ¶
func (o *NSDateComponents) SetCalendar(calendar *NSCalendar)
func (*NSDateComponents) SetDay ¶
func (o *NSDateComponents) SetDay(day int)
func (*NSDateComponents) SetDayOfYear ¶
func (o *NSDateComponents) SetDayOfYear(dayOfYear int)
func (*NSDateComponents) SetEra ¶
func (o *NSDateComponents) SetEra(era int)
func (*NSDateComponents) SetHour ¶
func (o *NSDateComponents) SetHour(hour int)
func (*NSDateComponents) SetLeapMonth ¶
func (o *NSDateComponents) SetLeapMonth(leapMonth bool)
func (*NSDateComponents) SetMinute ¶
func (o *NSDateComponents) SetMinute(minute int)
func (*NSDateComponents) SetMonth ¶
func (o *NSDateComponents) SetMonth(month int)
func (*NSDateComponents) SetNanosecond ¶
func (o *NSDateComponents) SetNanosecond(nanosecond int)
func (*NSDateComponents) SetQuarter ¶
func (o *NSDateComponents) SetQuarter(quarter int)
func (*NSDateComponents) SetRepeatedDay ¶
func (o *NSDateComponents) SetRepeatedDay(repeatedDay bool)
func (*NSDateComponents) SetSecond ¶
func (o *NSDateComponents) SetSecond(second int)
func (*NSDateComponents) SetTimeZone ¶
func (o *NSDateComponents) SetTimeZone(timeZone *NSTimeZone)
func (*NSDateComponents) SetValueForComponent ¶
func (o *NSDateComponents) SetValueForComponent(value int, unit NSCalendarUnit)
func (*NSDateComponents) SetWeek
deprecated
func (o *NSDateComponents) SetWeek(v int)
Deprecated: Use -setWeekOfMonth: or -setWeekOfYear:, depending on which you mean
func (*NSDateComponents) SetWeekOfMonth ¶
func (o *NSDateComponents) SetWeekOfMonth(weekOfMonth int)
func (*NSDateComponents) SetWeekOfYear ¶
func (o *NSDateComponents) SetWeekOfYear(weekOfYear int)
func (*NSDateComponents) SetWeekday ¶
func (o *NSDateComponents) SetWeekday(weekday int)
func (*NSDateComponents) SetWeekdayOrdinal ¶
func (o *NSDateComponents) SetWeekdayOrdinal(weekdayOrdinal int)
func (*NSDateComponents) SetYear ¶
func (o *NSDateComponents) SetYear(year int)
func (*NSDateComponents) SetYearForWeekOfYear ¶
func (o *NSDateComponents) SetYearForWeekOfYear(yearForWeekOfYear int)
func (*NSDateComponents) TimeZone ¶
func (o *NSDateComponents) TimeZone() *NSTimeZone
func (*NSDateComponents) ValueForComponent ¶
func (o *NSDateComponents) ValueForComponent(unit NSCalendarUnit) int
func (*NSDateComponents) Week
deprecated
func (o *NSDateComponents) Week() int
Deprecated: Use -weekOfMonth or -weekOfYear, depending on which you mean
func (*NSDateComponents) WeekOfMonth ¶
func (o *NSDateComponents) WeekOfMonth() int
func (*NSDateComponents) WeekOfYear ¶
func (o *NSDateComponents) WeekOfYear() int
func (*NSDateComponents) Weekday ¶
func (o *NSDateComponents) Weekday() int
func (*NSDateComponents) WeekdayOrdinal ¶
func (o *NSDateComponents) WeekdayOrdinal() int
func (*NSDateComponents) Year ¶
func (o *NSDateComponents) Year() int
func (*NSDateComponents) YearForWeekOfYear ¶
func (o *NSDateComponents) YearForWeekOfYear() int
type NSDateComponentsFormatter ¶
type NSDateComponentsFormatter struct {
NSFormatter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdatecomponentsformatter
func NSDateComponentsFormatterFromID ¶
func NSDateComponentsFormatterFromID(id objc.ID) *NSDateComponentsFormatter
func (*NSDateComponentsFormatter) AllowedUnits ¶
func (o *NSDateComponentsFormatter) AllowedUnits() NSCalendarUnit
func (*NSDateComponentsFormatter) AllowsFractionalUnits ¶
func (o *NSDateComponentsFormatter) AllowsFractionalUnits() bool
func (*NSDateComponentsFormatter) Calendar ¶
func (o *NSDateComponentsFormatter) Calendar() *NSCalendar
func (*NSDateComponentsFormatter) CollapsesLargestUnit ¶
func (o *NSDateComponentsFormatter) CollapsesLargestUnit() bool
func (*NSDateComponentsFormatter) FormattingContext ¶
func (o *NSDateComponentsFormatter) FormattingContext() NSFormattingContext
func (*NSDateComponentsFormatter) IncludesApproximationPhrase ¶
func (o *NSDateComponentsFormatter) IncludesApproximationPhrase() bool
func (*NSDateComponentsFormatter) IncludesTimeRemainingPhrase ¶
func (o *NSDateComponentsFormatter) IncludesTimeRemainingPhrase() bool
func (*NSDateComponentsFormatter) MaximumUnitCount ¶
func (o *NSDateComponentsFormatter) MaximumUnitCount() int
func (*NSDateComponentsFormatter) ReferenceDate ¶
func (o *NSDateComponentsFormatter) ReferenceDate() *NSDate
func (*NSDateComponentsFormatter) SetAllowedUnits ¶
func (o *NSDateComponentsFormatter) SetAllowedUnits(allowedUnits NSCalendarUnit)
func (*NSDateComponentsFormatter) SetAllowsFractionalUnits ¶
func (o *NSDateComponentsFormatter) SetAllowsFractionalUnits(allowsFractionalUnits bool)
func (*NSDateComponentsFormatter) SetCalendar ¶
func (o *NSDateComponentsFormatter) SetCalendar(calendar *NSCalendar)
func (*NSDateComponentsFormatter) SetCollapsesLargestUnit ¶
func (o *NSDateComponentsFormatter) SetCollapsesLargestUnit(collapsesLargestUnit bool)
func (*NSDateComponentsFormatter) SetFormattingContext ¶
func (o *NSDateComponentsFormatter) SetFormattingContext(formattingContext NSFormattingContext)
func (*NSDateComponentsFormatter) SetIncludesApproximationPhrase ¶
func (o *NSDateComponentsFormatter) SetIncludesApproximationPhrase(includesApproximationPhrase bool)
func (*NSDateComponentsFormatter) SetIncludesTimeRemainingPhrase ¶
func (o *NSDateComponentsFormatter) SetIncludesTimeRemainingPhrase(includesTimeRemainingPhrase bool)
func (*NSDateComponentsFormatter) SetMaximumUnitCount ¶
func (o *NSDateComponentsFormatter) SetMaximumUnitCount(maximumUnitCount int)
func (*NSDateComponentsFormatter) SetReferenceDate ¶
func (o *NSDateComponentsFormatter) SetReferenceDate(referenceDate *NSDate)
func (*NSDateComponentsFormatter) SetUnitsStyle ¶
func (o *NSDateComponentsFormatter) SetUnitsStyle(unitsStyle NSDateComponentsFormatterUnitsStyle)
func (*NSDateComponentsFormatter) SetZeroFormattingBehavior ¶
func (o *NSDateComponentsFormatter) SetZeroFormattingBehavior(zeroFormattingBehavior NSDateComponentsFormatterZeroFormattingBehavior)
func (*NSDateComponentsFormatter) StringFromDateComponents ¶
func (o *NSDateComponentsFormatter) StringFromDateComponents(components *NSDateComponents) *NSString
func (*NSDateComponentsFormatter) StringFromDateToDate ¶
func (o *NSDateComponentsFormatter) StringFromDateToDate(startDate *NSDate, endDate *NSDate) *NSString
func (*NSDateComponentsFormatter) StringFromTimeInterval ¶
func (o *NSDateComponentsFormatter) StringFromTimeInterval(ti float64) *NSString
func (*NSDateComponentsFormatter) UnitsStyle ¶
func (o *NSDateComponentsFormatter) UnitsStyle() NSDateComponentsFormatterUnitsStyle
func (*NSDateComponentsFormatter) ZeroFormattingBehavior ¶
func (o *NSDateComponentsFormatter) ZeroFormattingBehavior() NSDateComponentsFormatterZeroFormattingBehavior
type NSDateComponentsFormatterUnitsStyle ¶
type NSDateComponentsFormatterUnitsStyle int64
const ( NSDateComponentsFormatterUnitsStylePositional NSDateComponentsFormatterUnitsStyle = 0 NSDateComponentsFormatterUnitsStyleAbbreviated NSDateComponentsFormatterUnitsStyle = 1 NSDateComponentsFormatterUnitsStyleShort NSDateComponentsFormatterUnitsStyle = 2 NSDateComponentsFormatterUnitsStyleFull NSDateComponentsFormatterUnitsStyle = 3 NSDateComponentsFormatterUnitsStyleSpellOut NSDateComponentsFormatterUnitsStyle = 4 NSDateComponentsFormatterUnitsStyleBrief NSDateComponentsFormatterUnitsStyle = 5 )
func (NSDateComponentsFormatterUnitsStyle) String ¶
func (e NSDateComponentsFormatterUnitsStyle) String() string
type NSDateComponentsFormatterZeroFormattingBehavior ¶
type NSDateComponentsFormatterZeroFormattingBehavior uint64
const ( NSDateComponentsFormatterZeroFormattingBehaviorNone NSDateComponentsFormatterZeroFormattingBehavior = 0 NSDateComponentsFormatterZeroFormattingBehaviorDefault NSDateComponentsFormatterZeroFormattingBehavior = 1 NSDateComponentsFormatterZeroFormattingBehaviorDropLeading NSDateComponentsFormatterZeroFormattingBehavior = 2 NSDateComponentsFormatterZeroFormattingBehaviorDropMiddle NSDateComponentsFormatterZeroFormattingBehavior = 4 NSDateComponentsFormatterZeroFormattingBehaviorDropTrailing NSDateComponentsFormatterZeroFormattingBehavior = 8 NSDateComponentsFormatterZeroFormattingBehaviorDropAll NSDateComponentsFormatterZeroFormattingBehavior = 14 NSDateComponentsFormatterZeroFormattingBehaviorPad NSDateComponentsFormatterZeroFormattingBehavior = 65536 )
func (NSDateComponentsFormatterZeroFormattingBehavior) String ¶
func (e NSDateComponentsFormatterZeroFormattingBehavior) String() string
type NSDateFormatter ¶
type NSDateFormatter struct {
NSFormatter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdateformatter
func NSDateFormatterFromID ¶
func NSDateFormatterFromID(id objc.ID) *NSDateFormatter
func (*NSDateFormatter) AMSymbol ¶
func (o *NSDateFormatter) AMSymbol() *NSString
func (*NSDateFormatter) AllowsNaturalLanguage
deprecated
func (o *NSDateFormatter) AllowsNaturalLanguage() bool
Deprecated: There is no replacement
func (*NSDateFormatter) Calendar ¶
func (o *NSDateFormatter) Calendar() *NSCalendar
func (*NSDateFormatter) DateFormat ¶
func (o *NSDateFormatter) DateFormat() *NSString
func (*NSDateFormatter) DateFromString ¶
func (o *NSDateFormatter) DateFromString(string_ *NSString) *NSDate
func (*NSDateFormatter) DateStyle ¶
func (o *NSDateFormatter) DateStyle() NSDateFormatterStyle
func (*NSDateFormatter) DefaultDate ¶
func (o *NSDateFormatter) DefaultDate() *NSDate
func (*NSDateFormatter) DoesRelativeDateFormatting ¶
func (o *NSDateFormatter) DoesRelativeDateFormatting() bool
func (*NSDateFormatter) EraSymbols ¶
func (o *NSDateFormatter) EraSymbols() *NSArray[*NSString]
func (*NSDateFormatter) FormatterBehavior ¶
func (o *NSDateFormatter) FormatterBehavior() NSDateFormatterBehavior
func (*NSDateFormatter) FormattingContext ¶
func (o *NSDateFormatter) FormattingContext() NSFormattingContext
func (*NSDateFormatter) GeneratesCalendarDates ¶
func (o *NSDateFormatter) GeneratesCalendarDates() bool
func (*NSDateFormatter) GetObjectValueForStringRangeError ¶
func (o *NSDateFormatter) GetObjectValueForStringRangeError(obj **ObjcObject, string_ *NSString, rangep *NSRange) (bool, error)
func (*NSDateFormatter) GregorianStartDate ¶
func (o *NSDateFormatter) GregorianStartDate() *NSDate
func (*NSDateFormatter) InitWithDateFormatAllowNaturalLanguage
deprecated
func (o *NSDateFormatter) InitWithDateFormatAllowNaturalLanguage(format *NSString, flag bool) objc.ID
Deprecated: Create an NSDateFormatter with `init` and set the dateFormat property instead.
func (*NSDateFormatter) IsLenient ¶
func (o *NSDateFormatter) IsLenient() bool
func (*NSDateFormatter) Locale ¶
func (o *NSDateFormatter) Locale() *NSLocale
func (*NSDateFormatter) LongEraSymbols ¶
func (o *NSDateFormatter) LongEraSymbols() *NSArray[*NSString]
func (*NSDateFormatter) MonthSymbols ¶
func (o *NSDateFormatter) MonthSymbols() *NSArray[*NSString]
func (*NSDateFormatter) PMSymbol ¶
func (o *NSDateFormatter) PMSymbol() *NSString
func (*NSDateFormatter) QuarterSymbols ¶
func (o *NSDateFormatter) QuarterSymbols() *NSArray[*NSString]
func (*NSDateFormatter) SetAMSymbol ¶
func (o *NSDateFormatter) SetAMSymbol(aMSymbol *NSString)
func (*NSDateFormatter) SetCalendar ¶
func (o *NSDateFormatter) SetCalendar(calendar *NSCalendar)
func (*NSDateFormatter) SetDateFormat ¶
func (o *NSDateFormatter) SetDateFormat(dateFormat *NSString)
func (*NSDateFormatter) SetDateStyle ¶
func (o *NSDateFormatter) SetDateStyle(dateStyle NSDateFormatterStyle)
func (*NSDateFormatter) SetDefaultDate ¶
func (o *NSDateFormatter) SetDefaultDate(defaultDate *NSDate)
func (*NSDateFormatter) SetDoesRelativeDateFormatting ¶
func (o *NSDateFormatter) SetDoesRelativeDateFormatting(doesRelativeDateFormatting bool)
func (*NSDateFormatter) SetEraSymbols ¶
func (o *NSDateFormatter) SetEraSymbols(eraSymbols *NSArray[*NSString])
func (*NSDateFormatter) SetFormatterBehavior ¶
func (o *NSDateFormatter) SetFormatterBehavior(formatterBehavior NSDateFormatterBehavior)
func (*NSDateFormatter) SetFormattingContext ¶
func (o *NSDateFormatter) SetFormattingContext(formattingContext NSFormattingContext)
func (*NSDateFormatter) SetGeneratesCalendarDates ¶
func (o *NSDateFormatter) SetGeneratesCalendarDates(generatesCalendarDates bool)
func (*NSDateFormatter) SetGregorianStartDate ¶
func (o *NSDateFormatter) SetGregorianStartDate(gregorianStartDate *NSDate)
func (*NSDateFormatter) SetLenient ¶
func (o *NSDateFormatter) SetLenient(lenient bool)
func (*NSDateFormatter) SetLocale ¶
func (o *NSDateFormatter) SetLocale(locale *NSLocale)
func (*NSDateFormatter) SetLocalizedDateFormatFromTemplate ¶
func (o *NSDateFormatter) SetLocalizedDateFormatFromTemplate(dateFormatTemplate *NSString)
func (*NSDateFormatter) SetLongEraSymbols ¶
func (o *NSDateFormatter) SetLongEraSymbols(longEraSymbols *NSArray[*NSString])
func (*NSDateFormatter) SetMonthSymbols ¶
func (o *NSDateFormatter) SetMonthSymbols(monthSymbols *NSArray[*NSString])
func (*NSDateFormatter) SetPMSymbol ¶
func (o *NSDateFormatter) SetPMSymbol(pMSymbol *NSString)
func (*NSDateFormatter) SetQuarterSymbols ¶
func (o *NSDateFormatter) SetQuarterSymbols(quarterSymbols *NSArray[*NSString])
func (*NSDateFormatter) SetShortMonthSymbols ¶
func (o *NSDateFormatter) SetShortMonthSymbols(shortMonthSymbols *NSArray[*NSString])
func (*NSDateFormatter) SetShortQuarterSymbols ¶
func (o *NSDateFormatter) SetShortQuarterSymbols(shortQuarterSymbols *NSArray[*NSString])
func (*NSDateFormatter) SetShortStandaloneMonthSymbols ¶
func (o *NSDateFormatter) SetShortStandaloneMonthSymbols(shortStandaloneMonthSymbols *NSArray[*NSString])
func (*NSDateFormatter) SetShortStandaloneQuarterSymbols ¶
func (o *NSDateFormatter) SetShortStandaloneQuarterSymbols(shortStandaloneQuarterSymbols *NSArray[*NSString])
func (*NSDateFormatter) SetShortStandaloneWeekdaySymbols ¶
func (o *NSDateFormatter) SetShortStandaloneWeekdaySymbols(shortStandaloneWeekdaySymbols *NSArray[*NSString])
func (*NSDateFormatter) SetShortWeekdaySymbols ¶
func (o *NSDateFormatter) SetShortWeekdaySymbols(shortWeekdaySymbols *NSArray[*NSString])
func (*NSDateFormatter) SetStandaloneMonthSymbols ¶
func (o *NSDateFormatter) SetStandaloneMonthSymbols(standaloneMonthSymbols *NSArray[*NSString])
func (*NSDateFormatter) SetStandaloneQuarterSymbols ¶
func (o *NSDateFormatter) SetStandaloneQuarterSymbols(standaloneQuarterSymbols *NSArray[*NSString])
func (*NSDateFormatter) SetStandaloneWeekdaySymbols ¶
func (o *NSDateFormatter) SetStandaloneWeekdaySymbols(standaloneWeekdaySymbols *NSArray[*NSString])
func (*NSDateFormatter) SetTimeStyle ¶
func (o *NSDateFormatter) SetTimeStyle(timeStyle NSDateFormatterStyle)
func (*NSDateFormatter) SetTimeZone ¶
func (o *NSDateFormatter) SetTimeZone(timeZone *NSTimeZone)
func (*NSDateFormatter) SetTwoDigitStartDate ¶
func (o *NSDateFormatter) SetTwoDigitStartDate(twoDigitStartDate *NSDate)
func (*NSDateFormatter) SetVeryShortMonthSymbols ¶
func (o *NSDateFormatter) SetVeryShortMonthSymbols(veryShortMonthSymbols *NSArray[*NSString])
func (*NSDateFormatter) SetVeryShortStandaloneMonthSymbols ¶
func (o *NSDateFormatter) SetVeryShortStandaloneMonthSymbols(veryShortStandaloneMonthSymbols *NSArray[*NSString])
func (*NSDateFormatter) SetVeryShortStandaloneWeekdaySymbols ¶
func (o *NSDateFormatter) SetVeryShortStandaloneWeekdaySymbols(veryShortStandaloneWeekdaySymbols *NSArray[*NSString])
func (*NSDateFormatter) SetVeryShortWeekdaySymbols ¶
func (o *NSDateFormatter) SetVeryShortWeekdaySymbols(veryShortWeekdaySymbols *NSArray[*NSString])
func (*NSDateFormatter) SetWeekdaySymbols ¶
func (o *NSDateFormatter) SetWeekdaySymbols(weekdaySymbols *NSArray[*NSString])
func (*NSDateFormatter) ShortMonthSymbols ¶
func (o *NSDateFormatter) ShortMonthSymbols() *NSArray[*NSString]
func (*NSDateFormatter) ShortQuarterSymbols ¶
func (o *NSDateFormatter) ShortQuarterSymbols() *NSArray[*NSString]
func (*NSDateFormatter) ShortStandaloneMonthSymbols ¶
func (o *NSDateFormatter) ShortStandaloneMonthSymbols() *NSArray[*NSString]
func (*NSDateFormatter) ShortStandaloneQuarterSymbols ¶
func (o *NSDateFormatter) ShortStandaloneQuarterSymbols() *NSArray[*NSString]
func (*NSDateFormatter) ShortStandaloneWeekdaySymbols ¶
func (o *NSDateFormatter) ShortStandaloneWeekdaySymbols() *NSArray[*NSString]
func (*NSDateFormatter) ShortWeekdaySymbols ¶
func (o *NSDateFormatter) ShortWeekdaySymbols() *NSArray[*NSString]
func (*NSDateFormatter) StandaloneMonthSymbols ¶
func (o *NSDateFormatter) StandaloneMonthSymbols() *NSArray[*NSString]
func (*NSDateFormatter) StandaloneQuarterSymbols ¶
func (o *NSDateFormatter) StandaloneQuarterSymbols() *NSArray[*NSString]
func (*NSDateFormatter) StandaloneWeekdaySymbols ¶
func (o *NSDateFormatter) StandaloneWeekdaySymbols() *NSArray[*NSString]
func (*NSDateFormatter) StringFromDate ¶
func (o *NSDateFormatter) StringFromDate(date *NSDate) *NSString
func (*NSDateFormatter) TimeStyle ¶
func (o *NSDateFormatter) TimeStyle() NSDateFormatterStyle
func (*NSDateFormatter) TimeZone ¶
func (o *NSDateFormatter) TimeZone() *NSTimeZone
func (*NSDateFormatter) TwoDigitStartDate ¶
func (o *NSDateFormatter) TwoDigitStartDate() *NSDate
func (*NSDateFormatter) VeryShortMonthSymbols ¶
func (o *NSDateFormatter) VeryShortMonthSymbols() *NSArray[*NSString]
func (*NSDateFormatter) VeryShortStandaloneMonthSymbols ¶
func (o *NSDateFormatter) VeryShortStandaloneMonthSymbols() *NSArray[*NSString]
func (*NSDateFormatter) VeryShortStandaloneWeekdaySymbols ¶
func (o *NSDateFormatter) VeryShortStandaloneWeekdaySymbols() *NSArray[*NSString]
func (*NSDateFormatter) VeryShortWeekdaySymbols ¶
func (o *NSDateFormatter) VeryShortWeekdaySymbols() *NSArray[*NSString]
func (*NSDateFormatter) WeekdaySymbols ¶
func (o *NSDateFormatter) WeekdaySymbols() *NSArray[*NSString]
type NSDateFormatterBehavior ¶
type NSDateFormatterBehavior uint64
const ( NSDateFormatterBehaviorDefault NSDateFormatterBehavior = 0 NSDateFormatterBehavior10_0 NSDateFormatterBehavior = 1000 NSDateFormatterBehavior10_4 NSDateFormatterBehavior = 1040 )
func NSDateFormatterDefaultFormatterBehavior ¶
func NSDateFormatterDefaultFormatterBehavior() NSDateFormatterBehavior
func (NSDateFormatterBehavior) String ¶
func (e NSDateFormatterBehavior) String() string
type NSDateFormatterStyle ¶
type NSDateFormatterStyle uint64
const ( NSDateFormatterNoStyle NSDateFormatterStyle = 0 NSDateFormatterShortStyle NSDateFormatterStyle = 1 NSDateFormatterMediumStyle NSDateFormatterStyle = 2 NSDateFormatterLongStyle NSDateFormatterStyle = 3 NSDateFormatterFullStyle NSDateFormatterStyle = 4 )
func (NSDateFormatterStyle) String ¶
func (e NSDateFormatterStyle) String() string
type NSDateInterval ¶
type NSDateInterval struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdateinterval
func NSDateIntervalFromID ¶
func NSDateIntervalFromID(id objc.ID) *NSDateInterval
func (*NSDateInterval) Compare ¶
func (o *NSDateInterval) Compare(dateInterval *NSDateInterval) NSComparisonResult
func (*NSDateInterval) ContainsDate ¶
func (o *NSDateInterval) ContainsDate(date *NSDate) bool
func (*NSDateInterval) Duration ¶
func (o *NSDateInterval) Duration() float64
func (*NSDateInterval) EndDate ¶
func (o *NSDateInterval) EndDate() *NSDate
func (*NSDateInterval) Init ¶
func (o *NSDateInterval) Init() *NSDateInterval
func (*NSDateInterval) InitWithCoder ¶
func (o *NSDateInterval) InitWithCoder(coder *NSCoder) *NSDateInterval
func (*NSDateInterval) InitWithStartDateDuration ¶
func (o *NSDateInterval) InitWithStartDateDuration(startDate *NSDate, duration float64) *NSDateInterval
func (*NSDateInterval) InitWithStartDateEndDate ¶
func (o *NSDateInterval) InitWithStartDateEndDate(startDate *NSDate, endDate *NSDate) *NSDateInterval
func (*NSDateInterval) IntersectionWithDateInterval ¶
func (o *NSDateInterval) IntersectionWithDateInterval(dateInterval *NSDateInterval) *NSDateInterval
func (*NSDateInterval) IntersectsDateInterval ¶
func (o *NSDateInterval) IntersectsDateInterval(dateInterval *NSDateInterval) bool
func (*NSDateInterval) IsEqualToDateInterval ¶
func (o *NSDateInterval) IsEqualToDateInterval(dateInterval *NSDateInterval) bool
func (*NSDateInterval) StartDate ¶
func (o *NSDateInterval) StartDate() *NSDate
type NSDateIntervalFormatter ¶
type NSDateIntervalFormatter struct {
NSFormatter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdateintervalformatter
func NSDateIntervalFormatterFromID ¶
func NSDateIntervalFormatterFromID(id objc.ID) *NSDateIntervalFormatter
func (*NSDateIntervalFormatter) Calendar ¶
func (o *NSDateIntervalFormatter) Calendar() *NSCalendar
func (*NSDateIntervalFormatter) DateStyle ¶
func (o *NSDateIntervalFormatter) DateStyle() NSDateIntervalFormatterStyle
func (*NSDateIntervalFormatter) DateTemplate ¶
func (o *NSDateIntervalFormatter) DateTemplate() *NSString
func (*NSDateIntervalFormatter) Locale ¶
func (o *NSDateIntervalFormatter) Locale() *NSLocale
func (*NSDateIntervalFormatter) SetCalendar ¶
func (o *NSDateIntervalFormatter) SetCalendar(calendar *NSCalendar)
func (*NSDateIntervalFormatter) SetDateStyle ¶
func (o *NSDateIntervalFormatter) SetDateStyle(dateStyle NSDateIntervalFormatterStyle)
func (*NSDateIntervalFormatter) SetDateTemplate ¶
func (o *NSDateIntervalFormatter) SetDateTemplate(dateTemplate *NSString)
func (*NSDateIntervalFormatter) SetLocale ¶
func (o *NSDateIntervalFormatter) SetLocale(locale *NSLocale)
func (*NSDateIntervalFormatter) SetTimeStyle ¶
func (o *NSDateIntervalFormatter) SetTimeStyle(timeStyle NSDateIntervalFormatterStyle)
func (*NSDateIntervalFormatter) SetTimeZone ¶
func (o *NSDateIntervalFormatter) SetTimeZone(timeZone *NSTimeZone)
func (*NSDateIntervalFormatter) StringFromDateInterval ¶
func (o *NSDateIntervalFormatter) StringFromDateInterval(dateInterval *NSDateInterval) *NSString
func (*NSDateIntervalFormatter) StringFromDateToDate ¶
func (o *NSDateIntervalFormatter) StringFromDateToDate(fromDate *NSDate, toDate *NSDate) *NSString
func (*NSDateIntervalFormatter) TimeStyle ¶
func (o *NSDateIntervalFormatter) TimeStyle() NSDateIntervalFormatterStyle
func (*NSDateIntervalFormatter) TimeZone ¶
func (o *NSDateIntervalFormatter) TimeZone() *NSTimeZone
type NSDateIntervalFormatterStyle ¶
type NSDateIntervalFormatterStyle uint64
const ( NSDateIntervalFormatterNoStyle NSDateIntervalFormatterStyle = 0 NSDateIntervalFormatterShortStyle NSDateIntervalFormatterStyle = 1 NSDateIntervalFormatterMediumStyle NSDateIntervalFormatterStyle = 2 NSDateIntervalFormatterLongStyle NSDateIntervalFormatterStyle = 3 NSDateIntervalFormatterFullStyle NSDateIntervalFormatterStyle = 4 )
func (NSDateIntervalFormatterStyle) String ¶
func (e NSDateIntervalFormatterStyle) String() string
type NSDecimalNumber ¶
type NSDecimalNumber struct {
NSNumber
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdecimalnumber
func NSDecimalNumberDecimalNumberWithDecimal ¶
func NSDecimalNumberDecimalNumberWithDecimal(dcm NSDecimal) *NSDecimalNumber
func NSDecimalNumberDecimalNumberWithMantissaExponentIsNegative ¶
func NSDecimalNumberDecimalNumberWithMantissaExponentIsNegative(mantissa uint64, exponent int16, flag bool) *NSDecimalNumber
func NSDecimalNumberDecimalNumberWithString ¶
func NSDecimalNumberDecimalNumberWithString(numberValue *NSString) *NSDecimalNumber
func NSDecimalNumberDecimalNumberWithStringLocale ¶
func NSDecimalNumberDecimalNumberWithStringLocale(numberValue *NSString, locale objc.ID) *NSDecimalNumber
func NSDecimalNumberFromID ¶
func NSDecimalNumberFromID(id objc.ID) *NSDecimalNumber
func NSDecimalNumberMaximumDecimalNumber ¶
func NSDecimalNumberMaximumDecimalNumber() *NSDecimalNumber
func NSDecimalNumberMinimumDecimalNumber ¶
func NSDecimalNumberMinimumDecimalNumber() *NSDecimalNumber
func NSDecimalNumberNotANumber ¶
func NSDecimalNumberNotANumber() *NSDecimalNumber
func NSDecimalNumberOne ¶
func NSDecimalNumberOne() *NSDecimalNumber
func NSDecimalNumberZero ¶
func NSDecimalNumberZero() *NSDecimalNumber
func (*NSDecimalNumber) DecimalNumberByAdding ¶
func (o *NSDecimalNumber) DecimalNumberByAdding(decimalNumber *NSDecimalNumber) *NSDecimalNumber
func (*NSDecimalNumber) DecimalNumberByAddingWithBehavior ¶
func (o *NSDecimalNumber) DecimalNumberByAddingWithBehavior(decimalNumber *NSDecimalNumber, behavior NSDecimalNumberBehaviors) *NSDecimalNumber
func (*NSDecimalNumber) DecimalNumberByDividingBy ¶
func (o *NSDecimalNumber) DecimalNumberByDividingBy(decimalNumber *NSDecimalNumber) *NSDecimalNumber
func (*NSDecimalNumber) DecimalNumberByDividingByWithBehavior ¶
func (o *NSDecimalNumber) DecimalNumberByDividingByWithBehavior(decimalNumber *NSDecimalNumber, behavior NSDecimalNumberBehaviors) *NSDecimalNumber
func (*NSDecimalNumber) DecimalNumberByMultiplyingBy ¶
func (o *NSDecimalNumber) DecimalNumberByMultiplyingBy(decimalNumber *NSDecimalNumber) *NSDecimalNumber
func (*NSDecimalNumber) DecimalNumberByMultiplyingByPowerOf10 ¶
func (o *NSDecimalNumber) DecimalNumberByMultiplyingByPowerOf10(power int16) *NSDecimalNumber
func (*NSDecimalNumber) DecimalNumberByMultiplyingByPowerOf10WithBehavior ¶
func (o *NSDecimalNumber) DecimalNumberByMultiplyingByPowerOf10WithBehavior(power int16, behavior NSDecimalNumberBehaviors) *NSDecimalNumber
func (*NSDecimalNumber) DecimalNumberByMultiplyingByWithBehavior ¶
func (o *NSDecimalNumber) DecimalNumberByMultiplyingByWithBehavior(decimalNumber *NSDecimalNumber, behavior NSDecimalNumberBehaviors) *NSDecimalNumber
func (*NSDecimalNumber) DecimalNumberByRaisingToPower ¶
func (o *NSDecimalNumber) DecimalNumberByRaisingToPower(power uint) *NSDecimalNumber
func (*NSDecimalNumber) DecimalNumberByRaisingToPowerWithBehavior ¶
func (o *NSDecimalNumber) DecimalNumberByRaisingToPowerWithBehavior(power uint, behavior NSDecimalNumberBehaviors) *NSDecimalNumber
func (*NSDecimalNumber) DecimalNumberByRoundingAccordingToBehavior ¶
func (o *NSDecimalNumber) DecimalNumberByRoundingAccordingToBehavior(behavior NSDecimalNumberBehaviors) *NSDecimalNumber
func (*NSDecimalNumber) DecimalNumberBySubtracting ¶
func (o *NSDecimalNumber) DecimalNumberBySubtracting(decimalNumber *NSDecimalNumber) *NSDecimalNumber
func (*NSDecimalNumber) DecimalNumberBySubtractingWithBehavior ¶
func (o *NSDecimalNumber) DecimalNumberBySubtractingWithBehavior(decimalNumber *NSDecimalNumber, behavior NSDecimalNumberBehaviors) *NSDecimalNumber
func (*NSDecimalNumber) InitWithDecimal ¶
func (o *NSDecimalNumber) InitWithDecimal(dcm NSDecimal) *NSDecimalNumber
func (*NSDecimalNumber) InitWithMantissaExponentIsNegative ¶
func (o *NSDecimalNumber) InitWithMantissaExponentIsNegative(mantissa uint64, exponent int16, flag bool) *NSDecimalNumber
func (*NSDecimalNumber) InitWithString ¶
func (o *NSDecimalNumber) InitWithString(numberValue *NSString) *NSDecimalNumber
func (*NSDecimalNumber) InitWithStringLocale ¶
func (o *NSDecimalNumber) InitWithStringLocale(numberValue *NSString, locale objc.ID) *NSDecimalNumber
type NSDecimalNumberBehaviors ¶
type NSDecimalNumberBehaviors interface {
RoundingMode() NSRoundingMode
Scale() int16
ExceptionDuringOperationErrorLeftOperandRightOperand(operation objc.SEL, error_ NSCalculationError, leftOperand *NSDecimalNumber, rightOperand *NSDecimalNumber) *NSDecimalNumber
}
NSDecimalNumberBehaviors wraps the ObjC protocol NSDecimalNumberBehaviors.
func NSDecimalNumberDefaultBehavior ¶
func NSDecimalNumberDefaultBehavior() NSDecimalNumberBehaviors
type NSDecimalNumberHandler ¶
type NSDecimalNumberHandler struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdecimalnumberhandler
func NSDecimalNumberHandlerDecimalNumberHandlerWithRoundingModeScaleRaiseOnExactnessRaiseOnOverflowRaiseOnUnderflowRaiseOnDivideByZero ¶
func NSDecimalNumberHandlerDecimalNumberHandlerWithRoundingModeScaleRaiseOnExactnessRaiseOnOverflowRaiseOnUnderflowRaiseOnDivideByZero(roundingMode NSRoundingMode, scale int16, exact bool, overflow bool, underflow bool, divideByZero bool) *NSDecimalNumberHandler
func NSDecimalNumberHandlerDefaultDecimalNumberHandler ¶
func NSDecimalNumberHandlerDefaultDecimalNumberHandler() *NSDecimalNumberHandler
func NSDecimalNumberHandlerFromID ¶
func NSDecimalNumberHandlerFromID(id objc.ID) *NSDecimalNumberHandler
func (*NSDecimalNumberHandler) InitWithRoundingModeScaleRaiseOnExactnessRaiseOnOverflowRaiseOnUnderflowRaiseOnDivideByZero ¶
func (o *NSDecimalNumberHandler) InitWithRoundingModeScaleRaiseOnExactnessRaiseOnOverflowRaiseOnUnderflowRaiseOnDivideByZero(roundingMode NSRoundingMode, scale int16, exact bool, overflow bool, underflow bool, divideByZero bool) *NSDecimalNumberHandler
type NSDecodingFailurePolicy ¶
type NSDecodingFailurePolicy int64
const ( NSDecodingFailurePolicyRaiseException NSDecodingFailurePolicy = 0 NSDecodingFailurePolicySetErrorAndReturn NSDecodingFailurePolicy = 1 )
func (NSDecodingFailurePolicy) String ¶
func (e NSDecodingFailurePolicy) String() string
type NSDeleteCommand ¶
type NSDeleteCommand struct {
NSScriptCommand
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdeletecommand
func NSDeleteCommandFromID ¶
func NSDeleteCommandFromID(id objc.ID) *NSDeleteCommand
func (*NSDeleteCommand) KeySpecifier ¶
func (o *NSDeleteCommand) KeySpecifier() *NSScriptObjectSpecifier
type NSDictionary ¶
Apple documentation: https://developer.apple.com/documentation/foundation/nsdictionary
func NSDictionaryDictionary ¶
func NSDictionaryDictionary() *NSDictionary[objc.ID, objc.ID]
func NSDictionaryDictionaryWithContentsOfFile
deprecated
func NSDictionaryDictionaryWithContentsOfURL
deprecated
func NSDictionaryDictionaryWithDictionary ¶
func NSDictionaryDictionaryWithDictionary(dict *NSDictionary[objc.ID, objc.ID]) *NSDictionary[objc.ID, objc.ID]
func NSDictionaryFromID ¶
func NSHTTPCookieRequestHeaderFieldsWithCookies ¶
func NSHTTPCookieRequestHeaderFieldsWithCookies(cookies *NSArray[*NSHTTPCookie]) *NSDictionary[*NSString, *NSString]
@method requestHeaderFieldsWithCookies: @abstract Return a dictionary of header fields that can be used to add the specified cookies to the request. @param cookies The cookies to turn into request headers. @result An NSDictionary where the keys are header field names, and the values are the corresponding header field values.
func NSKeyedUnarchiverUnarchivedDictionaryWithKeysOfClassObjectsOfClassFromDataError ¶
func NSKeyedUnarchiverUnarchivedDictionaryWithKeysOfClassObjectsOfClassFromDataError(keyCls objc.Class, valueCls objc.Class, data *NSData) (*NSDictionary[objc.ID, objc.ID], error)
Decodes the \c NSDictionary root object from \c data which should be an \c NSDictionary<keyCls,objectCls> with keys of type given in \c keyCls and objects of the given non-collection class \c objectCls (no nested dictionaries or other dictionaries contained in the dictionary, etc) from the given archive, previously encoded by \c NSKeyedArchiver. Enables \c requiresSecureCoding and sets the \c decodingFailurePolicy to \c NSDecodingFailurePolicySetErrorAndReturn. Returns \c nil if the given data is not valid or cannot be decoded, and sets the \c error out parameter.
func NSKeyedUnarchiverUnarchivedDictionaryWithKeysOfClassesObjectsOfClassesFromDataError ¶
func NSKeyedUnarchiverUnarchivedDictionaryWithKeysOfClassesObjectsOfClassesFromDataError(keyClasses *NSSet[objc.Class], valueClasses *NSSet[objc.Class], data *NSData) (*NSDictionary[objc.ID, objc.ID], error)
Decodes the \c NSDictionary root object from \c data which should be an \c NSDictionary, with keys of the types given in \c keyClasses and objects of the given non-collection classes in \c objectClasses (no nested dictionaries or other dictionaries contained in the dictionary, etc) from the given archive, previously encoded by \c NSKeyedArchiver. Enables \c requiresSecureCoding and sets the \c decodingFailurePolicy to \c NSDecodingFailurePolicySetErrorAndReturn. Returns \c nil if the given data is not valid or cannot be decoded, and sets the \c error out parameter.
func NSLocaleComponentsFromLocaleIdentifier ¶
func NSLocaleComponentsFromLocaleIdentifier(string_ *NSString) *NSDictionary[*NSString, *NSString]
func NSNetServiceDictionaryFromTXTRecordData ¶
func NSNetServiceDictionaryFromTXTRecordData(txtData *NSData) *NSDictionary[*NSString, *NSData]
func NSTimeZoneAbbreviationDictionary ¶
func NSTimeZoneAbbreviationDictionary() *NSDictionary[*NSString, *NSString]
func (*NSDictionary[KeyType, ObjectType]) AllKeys ¶
func (o *NSDictionary[KeyType, ObjectType]) AllKeys() *NSArray[KeyType]
func (*NSDictionary[KeyType, ObjectType]) AllKeysForObject ¶
func (o *NSDictionary[KeyType, ObjectType]) AllKeysForObject(anObject ObjectType) *NSArray[KeyType]
func (*NSDictionary[KeyType, ObjectType]) AllValues ¶
func (o *NSDictionary[KeyType, ObjectType]) AllValues() *NSArray[ObjectType]
func (*NSDictionary[KeyType, ObjectType]) Count ¶
func (o *NSDictionary[KeyType, ObjectType]) Count() uint
func (*NSDictionary[KeyType, ObjectType]) CountByEnumeratingWithStateObjectsCount ¶
func (o *NSDictionary[KeyType, ObjectType]) CountByEnumeratingWithStateObjectsCount(state *NSFastEnumerationState, buffer unsafe.Pointer, len_ uint) uint
func (*NSDictionary[KeyType, ObjectType]) DescriptionInStringsFileFormat ¶
func (o *NSDictionary[KeyType, ObjectType]) DescriptionInStringsFileFormat() *NSString
func (*NSDictionary[KeyType, ObjectType]) DescriptionWithLocale ¶
func (o *NSDictionary[KeyType, ObjectType]) DescriptionWithLocale(locale objc.ID) *NSString
func (*NSDictionary[KeyType, ObjectType]) DescriptionWithLocaleIndent ¶
func (o *NSDictionary[KeyType, ObjectType]) DescriptionWithLocaleIndent(locale objc.ID, level uint) *NSString
func (*NSDictionary[KeyType, ObjectType]) EnumerateKeysAndObjectsUsing ¶
func (o *NSDictionary[KeyType, ObjectType]) EnumerateKeysAndObjectsUsing(block objc.Block)
func (*NSDictionary[KeyType, ObjectType]) EnumerateKeysAndObjectsWithOptionsUsing ¶
func (o *NSDictionary[KeyType, ObjectType]) EnumerateKeysAndObjectsWithOptionsUsing(opts NSEnumerationOptions, block objc.Block)
func (*NSDictionary[KeyType, ObjectType]) FileCreationDate ¶
func (o *NSDictionary[KeyType, ObjectType]) FileCreationDate() *NSDate
func (*NSDictionary[KeyType, ObjectType]) FileExtensionHidden ¶
func (o *NSDictionary[KeyType, ObjectType]) FileExtensionHidden() bool
func (*NSDictionary[KeyType, ObjectType]) FileGroupOwnerAccountID ¶
func (o *NSDictionary[KeyType, ObjectType]) FileGroupOwnerAccountID() *NSNumber
func (*NSDictionary[KeyType, ObjectType]) FileGroupOwnerAccountName ¶
func (o *NSDictionary[KeyType, ObjectType]) FileGroupOwnerAccountName() *NSString
func (*NSDictionary[KeyType, ObjectType]) FileHFSCreatorCode ¶
func (o *NSDictionary[KeyType, ObjectType]) FileHFSCreatorCode() uint
func (*NSDictionary[KeyType, ObjectType]) FileHFSTypeCode ¶
func (o *NSDictionary[KeyType, ObjectType]) FileHFSTypeCode() uint
func (*NSDictionary[KeyType, ObjectType]) FileIsAppendOnly ¶
func (o *NSDictionary[KeyType, ObjectType]) FileIsAppendOnly() bool
func (*NSDictionary[KeyType, ObjectType]) FileIsImmutable ¶
func (o *NSDictionary[KeyType, ObjectType]) FileIsImmutable() bool
func (*NSDictionary[KeyType, ObjectType]) FileModificationDate ¶
func (o *NSDictionary[KeyType, ObjectType]) FileModificationDate() *NSDate
func (*NSDictionary[KeyType, ObjectType]) FileOwnerAccountID ¶
func (o *NSDictionary[KeyType, ObjectType]) FileOwnerAccountID() *NSNumber
func (*NSDictionary[KeyType, ObjectType]) FileOwnerAccountName ¶
func (o *NSDictionary[KeyType, ObjectType]) FileOwnerAccountName() *NSString
func (*NSDictionary[KeyType, ObjectType]) FilePosixPermissions ¶
func (o *NSDictionary[KeyType, ObjectType]) FilePosixPermissions() uint
func (*NSDictionary[KeyType, ObjectType]) FileSize ¶
func (o *NSDictionary[KeyType, ObjectType]) FileSize() uint64
func (*NSDictionary[KeyType, ObjectType]) FileSystemFileNumber ¶
func (o *NSDictionary[KeyType, ObjectType]) FileSystemFileNumber() uint
func (*NSDictionary[KeyType, ObjectType]) FileSystemNumber ¶
func (o *NSDictionary[KeyType, ObjectType]) FileSystemNumber() int
func (*NSDictionary[KeyType, ObjectType]) FileType ¶
func (o *NSDictionary[KeyType, ObjectType]) FileType() *NSString
func (*NSDictionary[KeyType, ObjectType]) GetObjectsAndKeys ¶
func (o *NSDictionary[KeyType, ObjectType]) GetObjectsAndKeys(objects unsafe.Pointer, keys unsafe.Pointer)
This method is unsafe because it could potentially cause buffer overruns. You should use -getObjects:andKeys:count: Deprecated: Use -getObjects:andKeys:count: instead
func (*NSDictionary[KeyType, ObjectType]) GetObjectsAndKeysCount ¶
func (*NSDictionary[KeyType, ObjectType]) Init ¶
func (o *NSDictionary[KeyType, ObjectType]) Init() *NSDictionary[KeyType, ObjectType]
func (*NSDictionary[KeyType, ObjectType]) InitWithCoder ¶
func (o *NSDictionary[KeyType, ObjectType]) InitWithCoder(coder *NSCoder) *NSDictionary[KeyType, ObjectType]
func (*NSDictionary[KeyType, ObjectType]) InitWithContentsOfFile
deprecated
func (o *NSDictionary[KeyType, ObjectType]) InitWithContentsOfFile(path *NSString) *NSDictionary[KeyType, ObjectType]
Deprecated: since macOS API_TO_BE_DEPRECATED.
func (*NSDictionary[KeyType, ObjectType]) InitWithContentsOfURL
deprecated
func (o *NSDictionary[KeyType, ObjectType]) InitWithContentsOfURL(url *NSURL) *NSDictionary[KeyType, ObjectType]
Deprecated: since macOS API_TO_BE_DEPRECATED.
func (*NSDictionary[KeyType, ObjectType]) InitWithContentsOfURLError ¶
func (o *NSDictionary[KeyType, ObjectType]) InitWithContentsOfURLError(url *NSURL) (*NSDictionary[*NSString, ObjectType], error)
func (*NSDictionary[KeyType, ObjectType]) InitWithDictionary ¶
func (o *NSDictionary[KeyType, ObjectType]) InitWithDictionary(otherDictionary *NSDictionary[KeyType, ObjectType]) *NSDictionary[KeyType, ObjectType]
func (*NSDictionary[KeyType, ObjectType]) InitWithDictionaryCopyItems ¶
func (o *NSDictionary[KeyType, ObjectType]) InitWithDictionaryCopyItems(otherDictionary *NSDictionary[KeyType, ObjectType], flag bool) *NSDictionary[KeyType, ObjectType]
func (*NSDictionary[KeyType, ObjectType]) InitWithObjectsForKeys ¶
func (o *NSDictionary[KeyType, ObjectType]) InitWithObjectsForKeys(objects *NSArray[ObjectType], keys *NSArray[NSCopying]) *NSDictionary[KeyType, ObjectType]
func (*NSDictionary[KeyType, ObjectType]) InitWithObjectsForKeysCount ¶
func (o *NSDictionary[KeyType, ObjectType]) InitWithObjectsForKeysCount(objects unsafe.Pointer, keys NSCopying, cnt uint) *NSDictionary[KeyType, ObjectType]
func (*NSDictionary[KeyType, ObjectType]) IsEqualToDictionary ¶
func (o *NSDictionary[KeyType, ObjectType]) IsEqualToDictionary(otherDictionary *NSDictionary[KeyType, ObjectType]) bool
func (*NSDictionary[KeyType, ObjectType]) KeyEnumerator ¶
func (o *NSDictionary[KeyType, ObjectType]) KeyEnumerator() *NSEnumerator[KeyType]
func (*NSDictionary[KeyType, ObjectType]) KeysOfEntriesPassingTest ¶
func (o *NSDictionary[KeyType, ObjectType]) KeysOfEntriesPassingTest(predicate objc.Block) *NSSet[KeyType]
func (*NSDictionary[KeyType, ObjectType]) KeysOfEntriesWithOptionsPassingTest ¶
func (o *NSDictionary[KeyType, ObjectType]) KeysOfEntriesWithOptionsPassingTest(opts NSEnumerationOptions, predicate objc.Block) *NSSet[KeyType]
func (*NSDictionary[KeyType, ObjectType]) KeysSortedByValueUsingComparator ¶
func (o *NSDictionary[KeyType, ObjectType]) KeysSortedByValueUsingComparator(cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSArray[KeyType]
func (*NSDictionary[KeyType, ObjectType]) KeysSortedByValueUsingSelector ¶
func (o *NSDictionary[KeyType, ObjectType]) KeysSortedByValueUsingSelector(comparator objc.SEL) *NSArray[KeyType]
func (*NSDictionary[KeyType, ObjectType]) KeysSortedByValueWithOptionsUsingComparator ¶
func (o *NSDictionary[KeyType, ObjectType]) KeysSortedByValueWithOptionsUsingComparator(opts NSSortOptions, cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSArray[KeyType]
func (*NSDictionary[KeyType, ObjectType]) ObjectEnumerator ¶
func (o *NSDictionary[KeyType, ObjectType]) ObjectEnumerator() *NSEnumerator[ObjectType]
func (*NSDictionary[KeyType, ObjectType]) ObjectForKey ¶
func (o *NSDictionary[KeyType, ObjectType]) ObjectForKey(aKey KeyType) ObjectType
func (*NSDictionary[KeyType, ObjectType]) ObjectForKeyedSubscript ¶
func (o *NSDictionary[KeyType, ObjectType]) ObjectForKeyedSubscript(key KeyType) ObjectType
func (*NSDictionary[KeyType, ObjectType]) ObjectsForKeysNotFoundMarker ¶
func (o *NSDictionary[KeyType, ObjectType]) ObjectsForKeysNotFoundMarker(keys *NSArray[KeyType], marker ObjectType) *NSArray[ObjectType]
func (*NSDictionary[KeyType, ObjectType]) WriteToFileAtomically
deprecated
func (o *NSDictionary[KeyType, ObjectType]) WriteToFileAtomically(path *NSString, useAuxiliaryFile bool) bool
Deprecated: since macOS API_TO_BE_DEPRECATED.
func (*NSDictionary[KeyType, ObjectType]) WriteToURLAtomically
deprecated
func (o *NSDictionary[KeyType, ObjectType]) WriteToURLAtomically(url *NSURL, atomically bool) bool
Deprecated: since macOS API_TO_BE_DEPRECATED.
func (*NSDictionary[KeyType, ObjectType]) WriteToURLError ¶
func (o *NSDictionary[KeyType, ObjectType]) WriteToURLError(url *NSURL) (bool, error)
type NSDimension ¶
type NSDimension struct {
NSUnit
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdimension
func NSDimensionBaseUnit ¶
func NSDimensionBaseUnit() *NSDimension
func NSDimensionFromID ¶
func NSDimensionFromID(id objc.ID) *NSDimension
func (*NSDimension) Converter ¶
func (o *NSDimension) Converter() *NSUnitConverter
func (*NSDimension) InitWithSymbolConverter ¶
func (o *NSDimension) InitWithSymbolConverter(symbol *NSString, converter *NSUnitConverter) *NSDimension
type NSDirectoryEnumerationOptions ¶
type NSDirectoryEnumerationOptions uint64
const ( NSDirectoryEnumerationSkipsSubdirectoryDescendants NSDirectoryEnumerationOptions = 1 NSDirectoryEnumerationSkipsPackageDescendants NSDirectoryEnumerationOptions = 2 NSDirectoryEnumerationSkipsHiddenFiles NSDirectoryEnumerationOptions = 4 NSDirectoryEnumerationIncludesDirectoriesPostOrder NSDirectoryEnumerationOptions = 8 NSDirectoryEnumerationProducesRelativePathURLs NSDirectoryEnumerationOptions = 16 )
func (NSDirectoryEnumerationOptions) String ¶
func (e NSDirectoryEnumerationOptions) String() string
type NSDirectoryEnumerator ¶
type NSDirectoryEnumerator[ObjectType pureobjc.AnyObject] struct { NSEnumerator[ObjectType] }
Apple documentation: https://developer.apple.com/documentation/foundation/nsdirectoryenumerator
func NSDirectoryEnumeratorFromID ¶
func NSDirectoryEnumeratorFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSDirectoryEnumerator[ObjectType]
func (*NSDirectoryEnumerator[ObjectType]) DirectoryAttributes ¶
func (o *NSDirectoryEnumerator[ObjectType]) DirectoryAttributes() *NSDictionary[*NSString, objc.ID]
func (*NSDirectoryEnumerator[ObjectType]) FileAttributes ¶
func (o *NSDirectoryEnumerator[ObjectType]) FileAttributes() *NSDictionary[*NSString, objc.ID]
func (*NSDirectoryEnumerator[ObjectType]) IsEnumeratingDirectoryPostOrder ¶
func (o *NSDirectoryEnumerator[ObjectType]) IsEnumeratingDirectoryPostOrder() bool
func (*NSDirectoryEnumerator[ObjectType]) Level ¶
func (o *NSDirectoryEnumerator[ObjectType]) Level() uint
func (*NSDirectoryEnumerator[ObjectType]) SkipDescendants ¶
func (o *NSDirectoryEnumerator[ObjectType]) SkipDescendants()
func (*NSDirectoryEnumerator[ObjectType]) SkipDescendents ¶
func (o *NSDirectoryEnumerator[ObjectType]) SkipDescendents()
type NSDiscardableContent ¶
type NSDiscardableContent interface {
BeginContentAccess() bool
EndContentAccess()
DiscardContentIfPossible()
IsContentDiscarded() bool
}
NSDiscardableContent wraps the ObjC protocol NSDiscardableContent.
type NSDistantObject ¶
type NSDistantObject struct {
NSProxy
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdistantobject Deprecated: Use NSXPCConnection instead
func NSConnectionRootProxyForConnectionWithRegisteredNameHost
deprecated
func NSConnectionRootProxyForConnectionWithRegisteredNameHost(name *NSString, hostName *NSString) *NSDistantObject
Deprecated: since macOS 10.6.
func NSConnectionRootProxyForConnectionWithRegisteredNameHostUsingNameServer ¶
func NSConnectionRootProxyForConnectionWithRegisteredNameHostUsingNameServer(name *NSString, hostName *NSString, server *NSPortNameServer) *NSDistantObject
func NSDistantObjectFromID ¶
func NSDistantObjectFromID(id objc.ID) *NSDistantObject
func (*NSDistantObject) ConnectionForProxy ¶
func (o *NSDistantObject) ConnectionForProxy() *NSConnection
func (*NSDistantObject) InitWithCoder ¶
func (o *NSDistantObject) InitWithCoder(inCoder *NSCoder) *NSDistantObject
func (*NSDistantObject) InitWithLocalConnection ¶
func (o *NSDistantObject) InitWithLocalConnection(target objc.ID, connection *NSConnection) *NSDistantObject
func (*NSDistantObject) InitWithTargetConnection ¶
func (o *NSDistantObject) InitWithTargetConnection(target objc.ID, connection *NSConnection) *NSDistantObject
func (*NSDistantObject) SetProtocolForProxy ¶
func (o *NSDistantObject) SetProtocolForProxy(proto unsafe.Pointer)
type NSDistantObjectRequest ¶
type NSDistantObjectRequest struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdistantobjectrequest Deprecated: Use NSXPCConnection instead
func NSDistantObjectRequestFromID ¶
func NSDistantObjectRequestFromID(id objc.ID) *NSDistantObjectRequest
func (*NSDistantObjectRequest) Connection ¶
func (o *NSDistantObjectRequest) Connection() *NSConnection
func (*NSDistantObjectRequest) Conversation ¶
func (o *NSDistantObjectRequest) Conversation() objc.ID
func (*NSDistantObjectRequest) Invocation
deprecated
func (o *NSDistantObjectRequest) Invocation() *NSInvocation
Deprecated: Use NSXPCConnection instead
func (*NSDistantObjectRequest) ReplyWithException ¶
func (o *NSDistantObjectRequest) ReplyWithException(exception *NSException)
type NSDistributedLock ¶
type NSDistributedLock struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdistributedlock
func NSDistributedLockFromID ¶
func NSDistributedLockFromID(id objc.ID) *NSDistributedLock
func NSDistributedLockLockWithPath ¶
func NSDistributedLockLockWithPath(path *NSString) *NSDistributedLock
func (*NSDistributedLock) BreakLock ¶
func (o *NSDistributedLock) BreakLock()
func (*NSDistributedLock) InitWithPath ¶
func (o *NSDistributedLock) InitWithPath(path *NSString) *NSDistributedLock
func (*NSDistributedLock) LockDate ¶
func (o *NSDistributedLock) LockDate() *NSDate
func (*NSDistributedLock) TryLock ¶
func (o *NSDistributedLock) TryLock() bool
func (*NSDistributedLock) Unlock ¶
func (o *NSDistributedLock) Unlock()
type NSDistributedNotificationCenter ¶
type NSDistributedNotificationCenter struct {
NSNotificationCenter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsdistributednotificationcenter
func NSDistributedNotificationCenterDefaultCenter ¶
func NSDistributedNotificationCenterDefaultCenter() *NSDistributedNotificationCenter
func NSDistributedNotificationCenterFromID ¶
func NSDistributedNotificationCenterFromID(id objc.ID) *NSDistributedNotificationCenter
func NSDistributedNotificationCenterNotificationCenterForType ¶
func NSDistributedNotificationCenterNotificationCenterForType(notificationCenterType *NSString) *NSDistributedNotificationCenter
func (*NSDistributedNotificationCenter) AddObserverSelectorNameObjectSuspensionBehavior ¶
func (o *NSDistributedNotificationCenter) AddObserverSelectorNameObjectSuspensionBehavior(observer objc.ID, selector objc.SEL, name *NSString, object *NSString, suspensionBehavior NSNotificationSuspensionBehavior)
func (*NSDistributedNotificationCenter) PostNotificationNameObjectUserInfoDeliverImmediately ¶
func (o *NSDistributedNotificationCenter) PostNotificationNameObjectUserInfoDeliverImmediately(name *NSString, object *NSString, userInfo *NSDictionary[objc.ID, objc.ID], deliverImmediately bool)
func (*NSDistributedNotificationCenter) PostNotificationNameObjectUserInfoOptions ¶
func (o *NSDistributedNotificationCenter) PostNotificationNameObjectUserInfoOptions(name *NSString, object *NSString, userInfo *NSDictionary[objc.ID, objc.ID], options NSDistributedNotificationOptions)
func (*NSDistributedNotificationCenter) SetSuspended ¶
func (o *NSDistributedNotificationCenter) SetSuspended(suspended bool)
func (*NSDistributedNotificationCenter) Suspended ¶
func (o *NSDistributedNotificationCenter) Suspended() bool
type NSDistributedNotificationOptions ¶
type NSDistributedNotificationOptions uint64
const ( NSDistributedNotificationDeliverImmediately NSDistributedNotificationOptions = 1 NSDistributedNotificationPostToAllSessions NSDistributedNotificationOptions = 2 )
func (NSDistributedNotificationOptions) String ¶
func (e NSDistributedNotificationOptions) String() string
type NSEdgeInsets ¶
func NSEdgeInsetsMake ¶
func NSEdgeInsetsMake(top float64, left float64, bottom float64, right float64) NSEdgeInsets
func NSEdgeInsetsZero ¶
func NSEdgeInsetsZero() NSEdgeInsets
type NSEnergyFormatter ¶
type NSEnergyFormatter struct {
NSFormatter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsenergyformatter
func NSEnergyFormatterFromID ¶
func NSEnergyFormatterFromID(id objc.ID) *NSEnergyFormatter
func (*NSEnergyFormatter) IsForFoodEnergyUse ¶
func (o *NSEnergyFormatter) IsForFoodEnergyUse() bool
func (*NSEnergyFormatter) NumberFormatter ¶
func (o *NSEnergyFormatter) NumberFormatter() *NSNumberFormatter
func (*NSEnergyFormatter) SetForFoodEnergyUse ¶
func (o *NSEnergyFormatter) SetForFoodEnergyUse(forFoodEnergyUse bool)
func (*NSEnergyFormatter) SetNumberFormatter ¶
func (o *NSEnergyFormatter) SetNumberFormatter(numberFormatter *NSNumberFormatter)
func (*NSEnergyFormatter) SetUnitStyle ¶
func (o *NSEnergyFormatter) SetUnitStyle(unitStyle NSFormattingUnitStyle)
func (*NSEnergyFormatter) StringFromJoules ¶
func (o *NSEnergyFormatter) StringFromJoules(numberInJoules float64) *NSString
func (*NSEnergyFormatter) StringFromValueUnit ¶
func (o *NSEnergyFormatter) StringFromValueUnit(value float64, unit NSEnergyFormatterUnit) *NSString
func (*NSEnergyFormatter) UnitStringFromJoulesUsedUnit ¶
func (o *NSEnergyFormatter) UnitStringFromJoulesUsedUnit(numberInJoules float64, unitp *NSEnergyFormatterUnit) *NSString
func (*NSEnergyFormatter) UnitStringFromValueUnit ¶
func (o *NSEnergyFormatter) UnitStringFromValueUnit(value float64, unit NSEnergyFormatterUnit) *NSString
func (*NSEnergyFormatter) UnitStyle ¶
func (o *NSEnergyFormatter) UnitStyle() NSFormattingUnitStyle
type NSEnergyFormatterUnit ¶
type NSEnergyFormatterUnit int64
const ( NSEnergyFormatterUnitJoule NSEnergyFormatterUnit = 11 NSEnergyFormatterUnitKilojoule NSEnergyFormatterUnit = 14 NSEnergyFormatterUnitCalorie NSEnergyFormatterUnit = 1793 NSEnergyFormatterUnitKilocalorie NSEnergyFormatterUnit = 1794 )
func (NSEnergyFormatterUnit) String ¶
func (e NSEnergyFormatterUnit) String() string
type NSEnumerationOptions ¶
type NSEnumerationOptions uint64
const ( NSEnumerationConcurrent NSEnumerationOptions = 1 NSEnumerationReverse NSEnumerationOptions = 2 )
func (NSEnumerationOptions) String ¶
func (e NSEnumerationOptions) String() string
type NSEnumerator ¶
Apple documentation: https://developer.apple.com/documentation/foundation/nsenumerator
func NSEnumeratorFromID ¶
func NSEnumeratorFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSEnumerator[ObjectType]
func (*NSEnumerator[ObjectType]) AllObjects ¶
func (o *NSEnumerator[ObjectType]) AllObjects() *NSArray[ObjectType]
func (*NSEnumerator[ObjectType]) NextObject ¶
func (o *NSEnumerator[ObjectType]) NextObject() ObjectType
type NSError ¶
type NSError struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nserror
func NSErrorFromID ¶
func (*NSError) HelpAnchor ¶
func (*NSError) InitWithDomainCodeUserInfo ¶
func (*NSError) LocalizedDescription ¶
func (*NSError) LocalizedFailureReason ¶
func (*NSError) LocalizedRecoveryOptions ¶
func (*NSError) LocalizedRecoverySuggestion ¶
func (*NSError) RecoveryAttempter ¶
type NSException ¶
type NSException struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsexception
func NSExceptionExceptionWithNameReasonUserInfo ¶
func NSExceptionExceptionWithNameReasonUserInfo(name *NSString, reason *NSString, userInfo *NSDictionary[objc.ID, objc.ID]) *NSException
func NSExceptionFromID ¶
func NSExceptionFromID(id objc.ID) *NSException
func (*NSException) CallStackReturnAddresses ¶
func (o *NSException) CallStackReturnAddresses() *NSArray[*NSNumber]
func (*NSException) CallStackSymbols ¶
func (o *NSException) CallStackSymbols() *NSArray[*NSString]
func (*NSException) InitWithNameReasonUserInfo ¶
func (o *NSException) InitWithNameReasonUserInfo(aName *NSString, aReason *NSString, aUserInfo *NSDictionary[objc.ID, objc.ID]) *NSException
func (*NSException) Name ¶
func (o *NSException) Name() *NSString
func (*NSException) Raise ¶
func (o *NSException) Raise()
func (*NSException) Reason ¶
func (o *NSException) Reason() *NSString
func (*NSException) UserInfo ¶
func (o *NSException) UserInfo() *NSDictionary[objc.ID, objc.ID]
type NSExpression ¶
type NSExpression struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsexpression
func NSExpressionExpressionForAggregate ¶
func NSExpressionExpressionForAggregate(subexpressions *NSArray[*NSExpression]) *NSExpression
func NSExpressionExpressionForAnyKey ¶
func NSExpressionExpressionForAnyKey() *NSExpression
func NSExpressionExpressionForBlockArguments ¶
func NSExpressionExpressionForBlockArguments(block objc.Block, arguments *NSArray[*NSExpression]) *NSExpression
func NSExpressionExpressionForConditionalTrueExpressionFalseExpression ¶
func NSExpressionExpressionForConditionalTrueExpressionFalseExpression(predicate *NSPredicate, trueExpression *NSExpression, falseExpression *NSExpression) *NSExpression
func NSExpressionExpressionForConstantValue ¶
func NSExpressionExpressionForConstantValue(obj objc.ID) *NSExpression
func NSExpressionExpressionForEvaluatedObject ¶
func NSExpressionExpressionForEvaluatedObject() *NSExpression
func NSExpressionExpressionForFunctionArguments ¶
func NSExpressionExpressionForFunctionArguments(name *NSString, parameters *NSArray[objc.ID]) *NSExpression
func NSExpressionExpressionForFunctionSelectorNameArguments ¶
func NSExpressionExpressionForFunctionSelectorNameArguments(target *NSExpression, name *NSString, parameters *NSArray[objc.ID]) *NSExpression
func NSExpressionExpressionForIntersectSetWith ¶
func NSExpressionExpressionForIntersectSetWith(left *NSExpression, right *NSExpression) *NSExpression
func NSExpressionExpressionForKeyPath ¶
func NSExpressionExpressionForKeyPath(keyPath *NSString) *NSExpression
func NSExpressionExpressionForMinusSetWith ¶
func NSExpressionExpressionForMinusSetWith(left *NSExpression, right *NSExpression) *NSExpression
func NSExpressionExpressionForSubqueryUsingIteratorVariablePredicate ¶
func NSExpressionExpressionForSubqueryUsingIteratorVariablePredicate(expression *NSExpression, variable *NSString, predicate *NSPredicate) *NSExpression
func NSExpressionExpressionForUnionSetWith ¶
func NSExpressionExpressionForUnionSetWith(left *NSExpression, right *NSExpression) *NSExpression
func NSExpressionExpressionForVariable ¶
func NSExpressionExpressionForVariable(string_ *NSString) *NSExpression
func NSExpressionExpressionWithFormat ¶
func NSExpressionExpressionWithFormat(expressionFormat *NSString) *NSExpression
func NSExpressionExpressionWithFormatArgumentArray ¶
func NSExpressionExpressionWithFormatArgumentArray(expressionFormat *NSString, arguments *NSArray[objc.ID]) *NSExpression
func NSExpressionExpressionWithFormatArguments ¶
func NSExpressionExpressionWithFormatArguments(expressionFormat *NSString, argList string) *NSExpression
func NSExpressionFromID ¶
func NSExpressionFromID(id objc.ID) *NSExpression
func (*NSExpression) AllowEvaluation ¶
func (o *NSExpression) AllowEvaluation()
func (*NSExpression) Arguments ¶
func (o *NSExpression) Arguments() *NSArray[*NSExpression]
func (*NSExpression) Collection ¶
func (o *NSExpression) Collection() objc.ID
func (*NSExpression) ConstantValue ¶
func (o *NSExpression) ConstantValue() objc.ID
func (*NSExpression) ExpressionBlock ¶
func (o *NSExpression) ExpressionBlock() objc.Block
func (*NSExpression) ExpressionType ¶
func (o *NSExpression) ExpressionType() NSExpressionType
func (*NSExpression) ExpressionValueWithObjectContext ¶
func (o *NSExpression) ExpressionValueWithObjectContext(object objc.ID, context_ *NSMutableDictionary[objc.ID, objc.ID]) objc.ID
func (*NSExpression) FalseExpression ¶
func (o *NSExpression) FalseExpression() *NSExpression
func (*NSExpression) Function ¶
func (o *NSExpression) Function() *NSString
func (*NSExpression) InitWithCoder ¶
func (o *NSExpression) InitWithCoder(coder *NSCoder) *NSExpression
func (*NSExpression) InitWithExpressionType ¶
func (o *NSExpression) InitWithExpressionType(type_ NSExpressionType) *NSExpression
func (*NSExpression) KeyPath ¶
func (o *NSExpression) KeyPath() *NSString
func (*NSExpression) LeftExpression ¶
func (o *NSExpression) LeftExpression() *NSExpression
func (*NSExpression) Operand ¶
func (o *NSExpression) Operand() *NSExpression
func (*NSExpression) Predicate ¶
func (o *NSExpression) Predicate() *NSPredicate
func (*NSExpression) RightExpression ¶
func (o *NSExpression) RightExpression() *NSExpression
func (*NSExpression) TrueExpression ¶
func (o *NSExpression) TrueExpression() *NSExpression
func (*NSExpression) Variable ¶
func (o *NSExpression) Variable() *NSString
type NSExpressionType ¶
type NSExpressionType uint64
const ( NSConstantValueExpressionType NSExpressionType = 0 NSEvaluatedObjectExpressionType NSExpressionType = 1 NSVariableExpressionType NSExpressionType = 2 NSKeyPathExpressionType NSExpressionType = 3 NSFunctionExpressionType NSExpressionType = 4 NSUnionSetExpressionType NSExpressionType = 5 NSIntersectSetExpressionType NSExpressionType = 6 NSMinusSetExpressionType NSExpressionType = 7 NSSubqueryExpressionType NSExpressionType = 13 NSAggregateExpressionType NSExpressionType = 14 NSAnyKeyExpressionType NSExpressionType = 15 NSBlockExpressionType NSExpressionType = 19 NSConditionalExpressionType NSExpressionType = 20 )
func (NSExpressionType) String ¶
func (e NSExpressionType) String() string
type NSExtensionContext ¶
type NSExtensionContext struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsextensioncontext
func NSExtensionContextFromID ¶
func NSExtensionContextFromID(id objc.ID) *NSExtensionContext
func (*NSExtensionContext) CancelRequestWithError ¶
func (o *NSExtensionContext) CancelRequestWithError(error_ unsafe.Pointer)
func (*NSExtensionContext) CompleteRequestReturningItemsCompletionHandler ¶
func (o *NSExtensionContext) CompleteRequestReturningItemsCompletionHandler(items *NSArray[objc.ID], completionHandler func(bool))
func (*NSExtensionContext) InputItems ¶
func (o *NSExtensionContext) InputItems() *NSArray[objc.ID]
func (*NSExtensionContext) OpenURLCompletionHandler ¶
func (o *NSExtensionContext) OpenURLCompletionHandler(uRL *NSURL, completionHandler func(bool))
type NSExtensionItem ¶
type NSExtensionItem struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsextensionitem
func NSExtensionItemFromID ¶
func NSExtensionItemFromID(id objc.ID) *NSExtensionItem
func (*NSExtensionItem) Attachments ¶
func (o *NSExtensionItem) Attachments() *NSArray[*NSItemProvider]
func (*NSExtensionItem) AttributedContentText ¶
func (o *NSExtensionItem) AttributedContentText() *NSAttributedString
func (*NSExtensionItem) AttributedTitle ¶
func (o *NSExtensionItem) AttributedTitle() *NSAttributedString
func (*NSExtensionItem) SetAttachments ¶
func (o *NSExtensionItem) SetAttachments(attachments *NSArray[*NSItemProvider])
func (*NSExtensionItem) SetAttributedContentText ¶
func (o *NSExtensionItem) SetAttributedContentText(attributedContentText *NSAttributedString)
func (*NSExtensionItem) SetAttributedTitle ¶
func (o *NSExtensionItem) SetAttributedTitle(attributedTitle *NSAttributedString)
func (*NSExtensionItem) SetUserInfo ¶
func (o *NSExtensionItem) SetUserInfo(userInfo *NSDictionary[objc.ID, objc.ID])
func (*NSExtensionItem) UserInfo ¶
func (o *NSExtensionItem) UserInfo() *NSDictionary[objc.ID, objc.ID]
type NSExtensionRequestHandling ¶
type NSExtensionRequestHandling interface {
BeginRequestWithExtensionContext(context_ *NSExtensionContext)
}
NSExtensionRequestHandling wraps the ObjC protocol NSExtensionRequestHandling.
type NSFastEnumeration ¶
type NSFastEnumeration interface {
CountByEnumeratingWithStateObjectsCount(state *NSFastEnumerationState, buffer **ObjcObject, len_ uint) uint
}
NSFastEnumeration wraps the ObjC protocol NSFastEnumeration.
type NSFastEnumerationState ¶
type NSFastEnumerationState struct {
State uint
ItemsPtr **ObjcObject
MutationsPtr unsafe.Pointer
Extra [5]uint
}
type NSFileAccessIntent ¶
type NSFileAccessIntent struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsfileaccessintent
func NSFileAccessIntentFromID ¶
func NSFileAccessIntentFromID(id objc.ID) *NSFileAccessIntent
func NSFileAccessIntentReadingIntentWithURLOptions ¶
func NSFileAccessIntentReadingIntentWithURLOptions(url *NSURL, options NSFileCoordinatorReadingOptions) *NSFileAccessIntent
func NSFileAccessIntentWritingIntentWithURLOptions ¶
func NSFileAccessIntentWritingIntentWithURLOptions(url *NSURL, options NSFileCoordinatorWritingOptions) *NSFileAccessIntent
func (*NSFileAccessIntent) URL ¶
func (o *NSFileAccessIntent) URL() *NSURL
type NSFileCoordinator ¶
type NSFileCoordinator struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsfilecoordinator
func NSFileCoordinatorFromID ¶
func NSFileCoordinatorFromID(id objc.ID) *NSFileCoordinator
func (*NSFileCoordinator) Cancel ¶
func (o *NSFileCoordinator) Cancel()
func (*NSFileCoordinator) CoordinateAccessWithIntentsQueueByAccessor ¶
func (o *NSFileCoordinator) CoordinateAccessWithIntentsQueueByAccessor(intents *NSArray[*NSFileAccessIntent], queue *NSOperationQueue, accessor func(unsafe.Pointer))
func (*NSFileCoordinator) CoordinateReadingItemAtURLOptionsErrorByAccessor ¶
func (o *NSFileCoordinator) CoordinateReadingItemAtURLOptionsErrorByAccessor(url *NSURL, options NSFileCoordinatorReadingOptions, outError unsafe.Pointer, reader func(*NSURL))
func (*NSFileCoordinator) CoordinateReadingItemAtURLOptionsWritingItemAtURLOptionsErrorByAccessor ¶
func (o *NSFileCoordinator) CoordinateReadingItemAtURLOptionsWritingItemAtURLOptionsErrorByAccessor(readingURL *NSURL, readingOptions NSFileCoordinatorReadingOptions, writingURL *NSURL, writingOptions NSFileCoordinatorWritingOptions, outError unsafe.Pointer, readerWriter func(*NSURL, *NSURL))
func (*NSFileCoordinator) CoordinateWritingItemAtURLOptionsErrorByAccessor ¶
func (o *NSFileCoordinator) CoordinateWritingItemAtURLOptionsErrorByAccessor(url *NSURL, options NSFileCoordinatorWritingOptions, outError unsafe.Pointer, writer func(*NSURL))
func (*NSFileCoordinator) CoordinateWritingItemAtURLOptionsWritingItemAtURLOptionsErrorByAccessor ¶
func (o *NSFileCoordinator) CoordinateWritingItemAtURLOptionsWritingItemAtURLOptionsErrorByAccessor(url1 *NSURL, options1 NSFileCoordinatorWritingOptions, url2 *NSURL, options2 NSFileCoordinatorWritingOptions, outError unsafe.Pointer, writer func(*NSURL, *NSURL))
func (*NSFileCoordinator) InitWithFilePresenter ¶
func (o *NSFileCoordinator) InitWithFilePresenter(filePresenterOrNil NSFilePresenter) *NSFileCoordinator
func (*NSFileCoordinator) ItemAtURLDidChangeUbiquityAttributes ¶
func (o *NSFileCoordinator) ItemAtURLDidChangeUbiquityAttributes(url *NSURL, attributes *NSSet[*NSString])
func (*NSFileCoordinator) ItemAtURLDidMoveToURL ¶
func (o *NSFileCoordinator) ItemAtURLDidMoveToURL(oldURL *NSURL, newURL *NSURL)
func (*NSFileCoordinator) ItemAtURLWillMoveToURL ¶
func (o *NSFileCoordinator) ItemAtURLWillMoveToURL(oldURL *NSURL, newURL *NSURL)
func (*NSFileCoordinator) PrepareForReadingItemsAtURLsOptionsWritingItemsAtURLsOptionsErrorByAccessor ¶
func (o *NSFileCoordinator) PrepareForReadingItemsAtURLsOptionsWritingItemsAtURLsOptionsErrorByAccessor(readingURLs *NSArray[*NSURL], readingOptions NSFileCoordinatorReadingOptions, writingURLs *NSArray[*NSURL], writingOptions NSFileCoordinatorWritingOptions, outError unsafe.Pointer, batchAccessor func(objc.Block))
func (*NSFileCoordinator) PurposeIdentifier ¶
func (o *NSFileCoordinator) PurposeIdentifier() *NSString
func (*NSFileCoordinator) SetPurposeIdentifier ¶
func (o *NSFileCoordinator) SetPurposeIdentifier(purposeIdentifier *NSString)
type NSFileCoordinatorReadingOptions ¶
type NSFileCoordinatorReadingOptions uint64
const ( NSFileCoordinatorReadingWithoutChanges NSFileCoordinatorReadingOptions = 1 NSFileCoordinatorReadingResolvesSymbolicLink NSFileCoordinatorReadingOptions = 2 NSFileCoordinatorReadingImmediatelyAvailableMetadataOnly NSFileCoordinatorReadingOptions = 4 NSFileCoordinatorReadingForUploading NSFileCoordinatorReadingOptions = 8 )
func (NSFileCoordinatorReadingOptions) String ¶
func (e NSFileCoordinatorReadingOptions) String() string
type NSFileCoordinatorWritingOptions ¶
type NSFileCoordinatorWritingOptions uint64
const ( NSFileCoordinatorWritingForDeleting NSFileCoordinatorWritingOptions = 1 NSFileCoordinatorWritingForMoving NSFileCoordinatorWritingOptions = 2 NSFileCoordinatorWritingForMerging NSFileCoordinatorWritingOptions = 4 NSFileCoordinatorWritingForReplacing NSFileCoordinatorWritingOptions = 8 NSFileCoordinatorWritingContentIndependentMetadataOnly NSFileCoordinatorWritingOptions = 16 )
func (NSFileCoordinatorWritingOptions) String ¶
func (e NSFileCoordinatorWritingOptions) String() string
type NSFileHandle ¶
type NSFileHandle struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsfilehandle
func NSFileHandleFileHandleForReadingAtPath ¶
func NSFileHandleFileHandleForReadingAtPath(path *NSString) *NSFileHandle
func NSFileHandleFileHandleForReadingFromURLError ¶
func NSFileHandleFileHandleForReadingFromURLError(url *NSURL) (*NSFileHandle, error)
func NSFileHandleFileHandleForUpdatingAtPath ¶
func NSFileHandleFileHandleForUpdatingAtPath(path *NSString) *NSFileHandle
func NSFileHandleFileHandleForUpdatingURLError ¶
func NSFileHandleFileHandleForUpdatingURLError(url *NSURL) (*NSFileHandle, error)
func NSFileHandleFileHandleForWritingAtPath ¶
func NSFileHandleFileHandleForWritingAtPath(path *NSString) *NSFileHandle
func NSFileHandleFileHandleForWritingToURLError ¶
func NSFileHandleFileHandleForWritingToURLError(url *NSURL) (*NSFileHandle, error)
func NSFileHandleFileHandleWithNullDevice ¶
func NSFileHandleFileHandleWithNullDevice() *NSFileHandle
func NSFileHandleFileHandleWithStandardError ¶
func NSFileHandleFileHandleWithStandardError() *NSFileHandle
func NSFileHandleFileHandleWithStandardInput ¶
func NSFileHandleFileHandleWithStandardInput() *NSFileHandle
func NSFileHandleFileHandleWithStandardOutput ¶
func NSFileHandleFileHandleWithStandardOutput() *NSFileHandle
func NSFileHandleFromID ¶
func NSFileHandleFromID(id objc.ID) *NSFileHandle
func (*NSFileHandle) AcceptConnectionInBackgroundAndNotify ¶
func (o *NSFileHandle) AcceptConnectionInBackgroundAndNotify()
func (*NSFileHandle) AcceptConnectionInBackgroundAndNotifyForModes ¶
func (o *NSFileHandle) AcceptConnectionInBackgroundAndNotifyForModes(modes *NSArray[*NSString])
func (*NSFileHandle) AvailableData ¶
func (o *NSFileHandle) AvailableData() *NSData
func (*NSFileHandle) CloseAndReturnError ¶
func (o *NSFileHandle) CloseAndReturnError() (bool, error)
func (*NSFileHandle) CloseFile ¶
func (o *NSFileHandle) CloseFile()
func (*NSFileHandle) FileDescriptor ¶
func (o *NSFileHandle) FileDescriptor() int
func (*NSFileHandle) GetOffsetError ¶
func (o *NSFileHandle) GetOffsetError(offsetInFile *uint64) (bool, error)
func (*NSFileHandle) InitWithCoder ¶
func (o *NSFileHandle) InitWithCoder(coder *NSCoder) *NSFileHandle
func (*NSFileHandle) InitWithFileDescriptor ¶
func (o *NSFileHandle) InitWithFileDescriptor(fd int) *NSFileHandle
func (*NSFileHandle) InitWithFileDescriptorCloseOnDealloc ¶
func (o *NSFileHandle) InitWithFileDescriptorCloseOnDealloc(fd int, closeopt bool) *NSFileHandle
func (*NSFileHandle) OffsetInFile ¶
func (o *NSFileHandle) OffsetInFile() uint64
func (*NSFileHandle) ReadDataOfLength ¶
func (o *NSFileHandle) ReadDataOfLength(length uint) *NSData
func (*NSFileHandle) ReadDataToEndOfFile ¶
func (o *NSFileHandle) ReadDataToEndOfFile() *NSData
func (*NSFileHandle) ReadDataToEndOfFileAndReturnError ¶
func (o *NSFileHandle) ReadDataToEndOfFileAndReturnError() (*NSData, error)
func (*NSFileHandle) ReadDataUpToLengthError ¶
func (o *NSFileHandle) ReadDataUpToLengthError(length uint) (*NSData, error)
func (*NSFileHandle) ReadInBackgroundAndNotify ¶
func (o *NSFileHandle) ReadInBackgroundAndNotify()
func (*NSFileHandle) ReadInBackgroundAndNotifyForModes
deprecated
func (o *NSFileHandle) ReadInBackgroundAndNotifyForModes(modes *NSArray[*NSString])
Deprecated: Not supported
func (*NSFileHandle) ReadToEndOfFileInBackgroundAndNotify ¶
func (o *NSFileHandle) ReadToEndOfFileInBackgroundAndNotify()
func (*NSFileHandle) ReadToEndOfFileInBackgroundAndNotifyForModes ¶
func (o *NSFileHandle) ReadToEndOfFileInBackgroundAndNotifyForModes(modes *NSArray[*NSString])
func (*NSFileHandle) ReadabilityHandler ¶
func (o *NSFileHandle) ReadabilityHandler() objc.Block
func (*NSFileHandle) SeekToEndOfFile ¶
func (o *NSFileHandle) SeekToEndOfFile() uint64
func (*NSFileHandle) SeekToEndReturningOffsetError ¶
func (o *NSFileHandle) SeekToEndReturningOffsetError(offsetInFile *uint64) (bool, error)
func (*NSFileHandle) SeekToFileOffset ¶
func (o *NSFileHandle) SeekToFileOffset(offset uint64)
func (*NSFileHandle) SeekToOffsetError ¶
func (o *NSFileHandle) SeekToOffsetError(offset uint64) (bool, error)
func (*NSFileHandle) SetReadabilityHandler ¶
func (o *NSFileHandle) SetReadabilityHandler(readabilityHandler func(*NSFileHandle))
func (*NSFileHandle) SetWriteabilityHandler ¶
func (o *NSFileHandle) SetWriteabilityHandler(writeabilityHandler func(*NSFileHandle))
func (*NSFileHandle) SynchronizeAndReturnError ¶
func (o *NSFileHandle) SynchronizeAndReturnError() (bool, error)
func (*NSFileHandle) SynchronizeFile ¶
func (o *NSFileHandle) SynchronizeFile()
func (*NSFileHandle) TruncateAtOffsetError ¶
func (o *NSFileHandle) TruncateAtOffsetError(offset uint64) (bool, error)
func (*NSFileHandle) TruncateFileAtOffset ¶
func (o *NSFileHandle) TruncateFileAtOffset(offset uint64)
func (*NSFileHandle) WaitForDataInBackgroundAndNotify ¶
func (o *NSFileHandle) WaitForDataInBackgroundAndNotify()
func (*NSFileHandle) WaitForDataInBackgroundAndNotifyForModes ¶
func (o *NSFileHandle) WaitForDataInBackgroundAndNotifyForModes(modes *NSArray[*NSString])
func (*NSFileHandle) WriteData ¶
func (o *NSFileHandle) WriteData(data *NSData)
func (*NSFileHandle) WriteDataError ¶
func (o *NSFileHandle) WriteDataError(data *NSData) (bool, error)
func (*NSFileHandle) WriteabilityHandler ¶
func (o *NSFileHandle) WriteabilityHandler() objc.Block
type NSFileManager ¶
type NSFileManager struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsfilemanager
func NSFileManagerDefaultManager ¶
func NSFileManagerDefaultManager() *NSFileManager
func NSFileManagerFromID ¶
func NSFileManagerFromID(id objc.ID) *NSFileManager
func (*NSFileManager) AttributesOfFileSystemForPathError ¶
func (o *NSFileManager) AttributesOfFileSystemForPathError(path *NSString) (*NSDictionary[*NSString, objc.ID], error)
func (*NSFileManager) AttributesOfItemAtPathError ¶
func (o *NSFileManager) AttributesOfItemAtPathError(path *NSString) (*NSDictionary[*NSString, objc.ID], error)
func (*NSFileManager) ChangeCurrentDirectoryPath ¶
func (o *NSFileManager) ChangeCurrentDirectoryPath(path *NSString) bool
func (*NSFileManager) ChangeFileAttributesAtPath
deprecated
func (o *NSFileManager) ChangeFileAttributesAtPath(attributes *NSDictionary[objc.ID, objc.ID], path *NSString) bool
Deprecated: Use -setAttributes:ofItemAtPath:error: instead
func (*NSFileManager) ComponentsToDisplayForPath ¶
func (o *NSFileManager) ComponentsToDisplayForPath(path *NSString) *NSArray[*NSString]
func (*NSFileManager) ContainerURLForSecurityApplicationGroupIdentifier ¶
func (o *NSFileManager) ContainerURLForSecurityApplicationGroupIdentifier(groupIdentifier *NSString) *NSURL
func (*NSFileManager) ContentsAtPath ¶
func (o *NSFileManager) ContentsAtPath(path *NSString) *NSData
func (*NSFileManager) ContentsEqualAtPathAndPath ¶
func (o *NSFileManager) ContentsEqualAtPathAndPath(path1 *NSString, path2 *NSString) bool
func (*NSFileManager) ContentsOfDirectoryAtPathError ¶
func (o *NSFileManager) ContentsOfDirectoryAtPathError(path *NSString) (*NSArray[*NSString], error)
func (*NSFileManager) ContentsOfDirectoryAtURLIncludingPropertiesForKeysOptionsError ¶
func (o *NSFileManager) ContentsOfDirectoryAtURLIncludingPropertiesForKeysOptionsError(url *NSURL, keys *NSArray[*NSString], mask NSDirectoryEnumerationOptions) (*NSArray[*NSURL], error)
func (*NSFileManager) CopyItemAtPathToPathError ¶
func (o *NSFileManager) CopyItemAtPathToPathError(srcPath *NSString, dstPath *NSString) (bool, error)
func (*NSFileManager) CopyItemAtURLToURLError ¶
func (o *NSFileManager) CopyItemAtURLToURLError(srcURL *NSURL, dstURL *NSURL) (bool, error)
func (*NSFileManager) CopyPathToPathHandler
deprecated
func (*NSFileManager) CreateDirectoryAtPathAttributes
deprecated
func (o *NSFileManager) CreateDirectoryAtPathAttributes(path *NSString, attributes *NSDictionary[objc.ID, objc.ID]) bool
Deprecated: Use -createDirectoryAtPath:withIntermediateDirectories:attributes:error: instead
func (*NSFileManager) CreateDirectoryAtPathWithIntermediateDirectoriesAttributesError ¶
func (o *NSFileManager) CreateDirectoryAtPathWithIntermediateDirectoriesAttributesError(path *NSString, createIntermediates bool, attributes *NSDictionary[*NSString, objc.ID]) (bool, error)
func (*NSFileManager) CreateDirectoryAtURLWithIntermediateDirectoriesAttributesError ¶
func (o *NSFileManager) CreateDirectoryAtURLWithIntermediateDirectoriesAttributesError(url *NSURL, createIntermediates bool, attributes *NSDictionary[*NSString, objc.ID]) (bool, error)
func (*NSFileManager) CreateFileAtPathContentsAttributes ¶
func (o *NSFileManager) CreateFileAtPathContentsAttributes(path *NSString, data *NSData, attr *NSDictionary[*NSString, objc.ID]) bool
func (*NSFileManager) CreateSymbolicLinkAtPathPathContent
deprecated
func (o *NSFileManager) CreateSymbolicLinkAtPathPathContent(path *NSString, otherpath *NSString) bool
Deprecated: Use -createSymbolicLinkAtPath:error: instead
func (*NSFileManager) CreateSymbolicLinkAtPathWithDestinationPathError ¶
func (o *NSFileManager) CreateSymbolicLinkAtPathWithDestinationPathError(path *NSString, destPath *NSString) (bool, error)
func (*NSFileManager) CreateSymbolicLinkAtURLWithDestinationURLError ¶
func (o *NSFileManager) CreateSymbolicLinkAtURLWithDestinationURLError(url *NSURL, destURL *NSURL) (bool, error)
func (*NSFileManager) CurrentDirectoryPath ¶
func (o *NSFileManager) CurrentDirectoryPath() *NSString
func (*NSFileManager) Delegate ¶
func (o *NSFileManager) Delegate() NSFileManagerDelegate
func (*NSFileManager) DestinationOfSymbolicLinkAtPathError ¶
func (o *NSFileManager) DestinationOfSymbolicLinkAtPathError(path *NSString) (*NSString, error)
func (*NSFileManager) DirectoryContentsAtPath
deprecated
func (o *NSFileManager) DirectoryContentsAtPath(path *NSString) *NSArray[objc.ID]
Deprecated: Use -contentsOfDirectoryAtPath:error: instead
func (*NSFileManager) DisplayNameAtPath ¶
func (o *NSFileManager) DisplayNameAtPath(path *NSString) *NSString
func (*NSFileManager) EnumeratorAtPath ¶
func (o *NSFileManager) EnumeratorAtPath(path *NSString) *NSDirectoryEnumerator[*NSString]
func (*NSFileManager) EnumeratorAtURLIncludingPropertiesForKeysOptionsErrorHandler ¶
func (o *NSFileManager) EnumeratorAtURLIncludingPropertiesForKeysOptionsErrorHandler(url *NSURL, keys *NSArray[*NSString], mask NSDirectoryEnumerationOptions, handler func(*NSURL, unsafe.Pointer) bool) *NSDirectoryEnumerator[*NSURL]
func (*NSFileManager) EvictUbiquitousItemAtURLError ¶
func (o *NSFileManager) EvictUbiquitousItemAtURLError(url *NSURL) (bool, error)
func (*NSFileManager) FetchLatestRemoteVersionOfItemAtURLCompletionHandler ¶
func (o *NSFileManager) FetchLatestRemoteVersionOfItemAtURLCompletionHandler(url *NSURL, completionHandler func(*NSFileVersion, unsafe.Pointer))
Asynchronously fetches the latest remote version of a given item from the server. Use this method if uploading fails due to a version conflict and sync is paused. In this case, fetching the latest remote version allows you to inspect the newer item from the server, resolve the conflict, and resume uploading. The version provided by this call depends on several factors: * If there is no newer version of the file on the server, the caller receives the current version of the file. * If the server has a newer version and sync isn't paused, this call replaces the local item and provides the version of the new item. * If the server has a newer version but sync is paused, the returned version points to a side location. In this case, call “NSFileVersion/replaceItem(at:options:)“ on the provided version object to replace the local item with the newer item from the server. If the device isn't connected to the network, the call may fail with “NSFileReadUnknownError-enum.case“, with the underlying error of <doc://com.apple.documentation/documentation/FileProvider/NSFileProviderError/serverUnreachable>. - Parameters: - url: The URL of the item for which to check the version. - completionHandler: A closure or block that the framework calls when the fetch action completes. It receives parameters of types “NSFileVersion“ and “NSError“. The error is `nil` if fetching the remote version succeeded; otherwise it indicates the error that caused the call to fail. In Swift, you can omit the completion handler, catching any error in a `do`-`catch` block and receiving the version as the return value.
func (*NSFileManager) FileAttributesAtPathTraverseLink
deprecated
func (o *NSFileManager) FileAttributesAtPathTraverseLink(path *NSString, yorn bool) *NSDictionary[objc.ID, objc.ID]
Deprecated: Use -attributesOfItemAtPath:error: instead
func (*NSFileManager) FileExistsAtPath ¶
func (o *NSFileManager) FileExistsAtPath(path *NSString) bool
func (*NSFileManager) FileExistsAtPathIsDirectory ¶
func (o *NSFileManager) FileExistsAtPathIsDirectory(path *NSString, isDirectory *bool) bool
func (*NSFileManager) FileSystemAttributesAtPath
deprecated
func (o *NSFileManager) FileSystemAttributesAtPath(path *NSString) *NSDictionary[objc.ID, objc.ID]
Deprecated: Use -attributesOfFileSystemForPath:error: instead
func (*NSFileManager) FileSystemRepresentationWithPath ¶
func (o *NSFileManager) FileSystemRepresentationWithPath(path *NSString) string
func (*NSFileManager) GetFileProviderServicesForItemAtURLCompletionHandler ¶
func (o *NSFileManager) GetFileProviderServicesForItemAtURLCompletionHandler(url *NSURL, completionHandler func(*NSDictionary[*NSString, *NSFileProviderService], unsafe.Pointer))
func (*NSFileManager) GetRelationshipOfDirectoryAtURLToItemAtURLError ¶
func (o *NSFileManager) GetRelationshipOfDirectoryAtURLToItemAtURLError(outRelationship *NSURLRelationship, directoryURL *NSURL, otherURL *NSURL) (bool, error)
func (*NSFileManager) GetRelationshipOfDirectoryInDomainToItemAtURLError ¶
func (o *NSFileManager) GetRelationshipOfDirectoryInDomainToItemAtURLError(outRelationship *NSURLRelationship, directory NSSearchPathDirectory, domainMask NSSearchPathDomainMask, url *NSURL) (bool, error)
func (*NSFileManager) HomeDirectoryForCurrentUser ¶
func (o *NSFileManager) HomeDirectoryForCurrentUser() *NSURL
func (*NSFileManager) HomeDirectoryForUser ¶
func (o *NSFileManager) HomeDirectoryForUser(userName *NSString) *NSURL
func (*NSFileManager) IsDeletableFileAtPath ¶
func (o *NSFileManager) IsDeletableFileAtPath(path *NSString) bool
func (*NSFileManager) IsExecutableFileAtPath ¶
func (o *NSFileManager) IsExecutableFileAtPath(path *NSString) bool
func (*NSFileManager) IsReadableFileAtPath ¶
func (o *NSFileManager) IsReadableFileAtPath(path *NSString) bool
func (*NSFileManager) IsUbiquitousItemAtURL ¶
func (o *NSFileManager) IsUbiquitousItemAtURL(url *NSURL) bool
func (*NSFileManager) IsWritableFileAtPath ¶
func (o *NSFileManager) IsWritableFileAtPath(path *NSString) bool
func (*NSFileManager) LinkItemAtPathToPathError ¶
func (o *NSFileManager) LinkItemAtPathToPathError(srcPath *NSString, dstPath *NSString) (bool, error)
func (*NSFileManager) LinkItemAtURLToURLError ¶
func (o *NSFileManager) LinkItemAtURLToURLError(srcURL *NSURL, dstURL *NSURL) (bool, error)
func (*NSFileManager) LinkPathToPathHandler
deprecated
func (*NSFileManager) MountedVolumeURLsIncludingResourceValuesForKeysOptions ¶
func (o *NSFileManager) MountedVolumeURLsIncludingResourceValuesForKeysOptions(propertyKeys *NSArray[*NSString], options NSVolumeEnumerationOptions) *NSArray[*NSURL]
func (*NSFileManager) MoveItemAtPathToPathError ¶
func (o *NSFileManager) MoveItemAtPathToPathError(srcPath *NSString, dstPath *NSString) (bool, error)
func (*NSFileManager) MoveItemAtURLToURLError ¶
func (o *NSFileManager) MoveItemAtURLToURLError(srcURL *NSURL, dstURL *NSURL) (bool, error)
func (*NSFileManager) MovePathToPathHandler
deprecated
func (*NSFileManager) PathContentOfSymbolicLinkAtPath
deprecated
func (o *NSFileManager) PathContentOfSymbolicLinkAtPath(path *NSString) *NSString
Deprecated: Use -destinationOfSymbolicLinkAtPath:error:
func (*NSFileManager) PauseSyncForUbiquitousItemAtURLCompletionHandler ¶
func (o *NSFileManager) PauseSyncForUbiquitousItemAtURLCompletionHandler(url *NSURL, completionHandler func(unsafe.Pointer))
Asynchronously pauses sync of an item at the given URL. Call this when opening an item to prevent sync from altering the contents of the URL. Once paused, the file provider will not upload local changes nor download remote changes. While paused, call “uploadLocalVersionOfUbiquitousItem(at:withConflictResolutionPolicy:completionHandler:)“ when the document is in a stable state. This action keeps the server version as up-to-date as possible. If the item is already paused, a second call to this method reports success. If the file provider is already applying changes to the item, the pause fails with an “NSFileWriteUnknownError-enum.case“, with an underlying error that has domain “NSPOSIXErrorDomain“ and code “POSIXError/EBUSY“. If the pause fails, wait for the state to stabilize before retrying. Pausing also fails with “CocoaError/featureUnsupported“ if `url` refers to a regular (non-package) directory. Pausing sync is independent of the calling app's lifecycle; sync doesn't automatically resume if the app closes or crashes and relaunches later. To resume syncing, explicitly call “resumeSyncForUbiquitousItem(at:with:completionHandler:)“. Always be sure to resume syncing before you close the item. - Parameters: - url: The URL of the item for which to pause sync. - completionHandler: A closure or block that the framework calls when the pause action completes. It receives a single “NSError“ parameter to indicate an error that prevented pausing; this value is `nil` if the pause succeeded. In Swift, you can omit the completion handler and catch the thrown error instead.
func (*NSFileManager) RemoveFileAtPathHandler
deprecated
func (o *NSFileManager) RemoveFileAtPathHandler(path *NSString, handler objc.ID) bool
Deprecated: Not supported
func (*NSFileManager) RemoveItemAtPathError ¶
func (o *NSFileManager) RemoveItemAtPathError(path *NSString) (bool, error)
func (*NSFileManager) RemoveItemAtURLError ¶
func (o *NSFileManager) RemoveItemAtURLError(uRL *NSURL) (bool, error)
func (*NSFileManager) ReplaceItemAtURLWithItemAtURLBackupItemNameOptionsResultingItemURLError ¶
func (o *NSFileManager) ReplaceItemAtURLWithItemAtURLBackupItemNameOptionsResultingItemURLError(originalItemURL *NSURL, newItemURL *NSURL, backupItemName *NSString, options NSFileManagerItemReplacementOptions, resultingURL *NSURL) (bool, error)
func (*NSFileManager) ResumeSyncForUbiquitousItemAtURLWithBehaviorCompletionHandler ¶
func (o *NSFileManager) ResumeSyncForUbiquitousItemAtURLWithBehaviorCompletionHandler(url *NSURL, behavior NSFileManagerResumeSyncBehavior, completionHandler func(unsafe.Pointer))
Asynchronously resumes the sync on a paused item using the given resume behavior. Always call this method when your app closes an item to allow the file provider to sync local changes back to the server. In most situations, the “NSFileManagerResumeSyncBehavior/preserveLocalChanges“ behavior is the best choice to avoid any risk of data loss. The resume call fails with “CocoaError/featureUnsupported“ if `url` isn't currently paused. If the device isn't connected to the network, the call may fail with “NSFileWriteUnknownError-enum.case“, with the underlying error of <doc://com.apple.documentation/documentation/FileProvider/NSFileProviderError/serverUnreachable>. - Parameters: - url: The URL of the item for which to resume sync. - behavior: A “NSFileManagerResumeSyncBehavior“ value that tells the file manager how to handle conflicts between local and remote versions of files. - completionHandler: A closure or block that the framework calls when the resume action completes. It receives a single “NSError“ parameter to indicate an error that prevented the resume action; the value is `nil` if the resume succeeded. In Swift, you can omit the completion handler and catch the thrown error instead.
func (*NSFileManager) SetAttributesOfItemAtPathError ¶
func (o *NSFileManager) SetAttributesOfItemAtPathError(attributes *NSDictionary[*NSString, objc.ID], path *NSString) (bool, error)
func (*NSFileManager) SetDelegate ¶
func (o *NSFileManager) SetDelegate(delegate NSFileManagerDelegate)
func (*NSFileManager) SetUbiquitousItemAtURLDestinationURLError ¶
func (*NSFileManager) StartDownloadingUbiquitousItemAtURLError ¶
func (o *NSFileManager) StartDownloadingUbiquitousItemAtURLError(url *NSURL) (bool, error)
func (*NSFileManager) StringWithFileSystemRepresentationLength ¶
func (o *NSFileManager) StringWithFileSystemRepresentationLength(str string, len_ uint) *NSString
func (*NSFileManager) SubpathsAtPath ¶
func (o *NSFileManager) SubpathsAtPath(path *NSString) *NSArray[*NSString]
func (*NSFileManager) SubpathsOfDirectoryAtPathError ¶
func (o *NSFileManager) SubpathsOfDirectoryAtPathError(path *NSString) (*NSArray[*NSString], error)
func (*NSFileManager) TemporaryDirectory ¶
func (o *NSFileManager) TemporaryDirectory() *NSURL
func (*NSFileManager) TrashItemAtURLResultingItemURLError ¶
func (o *NSFileManager) TrashItemAtURLResultingItemURLError(url *NSURL, outResultingURL *NSURL) (bool, error)
func (*NSFileManager) URLForDirectoryInDomainAppropriateForURLCreateError ¶
func (o *NSFileManager) URLForDirectoryInDomainAppropriateForURLCreateError(directory NSSearchPathDirectory, domain NSSearchPathDomainMask, url *NSURL, shouldCreate bool) (*NSURL, error)
func (*NSFileManager) URLForPublishingUbiquitousItemAtURLExpirationDateError ¶
func (o *NSFileManager) URLForPublishingUbiquitousItemAtURLExpirationDateError(url *NSURL, outDate *NSDate) (*NSURL, error)
func (*NSFileManager) URLForUbiquityContainerIdentifier ¶
func (o *NSFileManager) URLForUbiquityContainerIdentifier(containerIdentifier *NSString) *NSURL
func (*NSFileManager) URLsForDirectoryInDomains ¶
func (o *NSFileManager) URLsForDirectoryInDomains(directory NSSearchPathDirectory, domainMask NSSearchPathDomainMask) *NSArray[*NSURL]
func (*NSFileManager) UbiquityIdentityToken ¶
func (o *NSFileManager) UbiquityIdentityToken() objc.ID
func (*NSFileManager) UnmountVolumeAtURLOptionsCompletionHandler ¶
func (o *NSFileManager) UnmountVolumeAtURLOptionsCompletionHandler(url *NSURL, mask NSFileManagerUnmountOptions, completionHandler func(unsafe.Pointer))
func (*NSFileManager) UploadLocalVersionOfUbiquitousItemAtURLWithConflictResolutionPolicyCompletionHandler ¶
func (o *NSFileManager) UploadLocalVersionOfUbiquitousItemAtURLWithConflictResolutionPolicyCompletionHandler(url *NSURL, conflictResolutionPolicy NSFileManagerUploadLocalVersionConflictPolicy, completionHandler func(*NSFileVersion, unsafe.Pointer))
Asynchronously uploads the local version of the item using the provided conflict resolution policy. Once your app pauses a sync for an item, call this method every time your document is in a stable state. This action keeps the server version as up-to-date as possible. If the server has a newer version than the one to which the app made changes, uploading fails with “NSFileWriteUnknownError-enum.case“, with an underlying error of <doc://com.apple.documentation/documentation/FileProvider/NSFileProviderError/localVersionConflictingWithServer>. In this case, call “FileManager/fetchLatestRemoteVersionOfItem(at:completionHandler:)“, rebase local changes on top of that version, and retry the upload. If the device isn't connected to the network, the call may fail with “NSFileWriteUnknownError-enum.case“, with the underlying error of <doc://com.apple.documentation/documentation/FileProvider/NSFileProviderError/serverUnreachable>. - Parameters: - url: The URL of the item for which to check the version. - conflictResolutionPolicy: The policy the file manager applies if the local and server versions conflict. - completionHandler: A closure or block that the framework calls when the upload completes. It receives parameters of types “NSFileVersion“ and “NSError“. The error is `nil` if fetching the remote version succeeded; otherwise it indicates the error that caused the call to fail. In Swift, you can omit the completion handler, catching any error in a `do`-`catch` block and receiving the version as the return value.
type NSFileManagerDelegate ¶
type NSFileManagerDelegate interface {
}
NSFileManagerDelegate wraps the ObjC protocol NSFileManagerDelegate.
type NSFileManagerItemReplacementOptions ¶
type NSFileManagerItemReplacementOptions uint64
const ( NSFileManagerItemReplacementUsingNewMetadataOnly NSFileManagerItemReplacementOptions = 1 NSFileManagerItemReplacementWithoutDeletingBackupItem NSFileManagerItemReplacementOptions = 2 )
func (NSFileManagerItemReplacementOptions) String ¶
func (e NSFileManagerItemReplacementOptions) String() string
type NSFileManagerResumeSyncBehavior ¶
type NSFileManagerResumeSyncBehavior int64
const ( // Resumes synchronizing by uploading the local version of the file. If the server has a newer version, the server may create a conflict copy of the file, or may automatically pick the winner of the conflict. Apps can choose to implement conflict handling themselves by passing `NSFileManagerResumeSyncBehaviorAfterUploadWithFailOnConflict`. NSFileManagerResumeSyncBehaviorPreserveLocalChanges NSFileManagerResumeSyncBehavior = 0 // Resumes sync by first uploading the local version of the file, failing if the provider detects a conflict. If the upload succeeds, the sync resumes with the “preserveLocalChanges“ behavior. If the provider detects a conflict, the upload fails with an “NSFileWriteUnknownError-enum.case“, with the underlying error of <doc://com.apple.documentation/documentation/FileProvider/NSFileProviderError/localVersionConflictingWithServer>. In this case, the app needs to call “FileManager/fetchLatestRemoteVersionOfItem(at:completionHandler:)“, rebase local changes on top of the newly fetched version to resolve the conflict, and try again to resume sync. This scenario is only available on paused items for which the file provider supports the fail-on-conflict behavior. To check that the file provider supports the behavior, get the “NSURLUbiquitousItemSupportedSyncControlsKey“ URL resource and verify that “NSFileManagerSupportedSyncControls/failUploadOnConflict“ is `true`. NSFileManagerResumeSyncBehaviorAfterUploadWithFailOnConflict NSFileManagerResumeSyncBehavior = 1 // Resumes synchronizing by overwriting any local changes with the remote version of the file. If a conflict occurs, the file manager stores the local changes as an alternate version. Only use this behavior if you provide a separate means of resolving and merging conflicts. NSFileManagerResumeSyncBehaviorDropLocalChanges NSFileManagerResumeSyncBehavior = 2 )
func (NSFileManagerResumeSyncBehavior) String ¶
func (e NSFileManagerResumeSyncBehavior) String() string
type NSFileManagerSupportedSyncControls ¶
type NSFileManagerSupportedSyncControls uint64
const ( // The file provider supports pausing the sync on the item. NSFileManagerSupportedSyncControlsPauseSync NSFileManagerSupportedSyncControls = 1 // The file provider supports failing an upload if the local and server versions conflict. NSFileManagerSupportedSyncControlsFailUploadOnConflict NSFileManagerSupportedSyncControls = 2 )
func (NSFileManagerSupportedSyncControls) String ¶
func (e NSFileManagerSupportedSyncControls) String() string
type NSFileManagerUnmountOptions ¶
type NSFileManagerUnmountOptions uint64
const ( NSFileManagerUnmountAllPartitionsAndEjectDisk NSFileManagerUnmountOptions = 1 NSFileManagerUnmountWithoutUI NSFileManagerUnmountOptions = 2 )
func (NSFileManagerUnmountOptions) String ¶
func (e NSFileManagerUnmountOptions) String() string
type NSFileManagerUploadLocalVersionConflictPolicy ¶
type NSFileManagerUploadLocalVersionConflictPolicy int64
const ( // Resolves the conflict using the policy defined by the file provider. NSFileManagerUploadConflictPolicyDefault NSFileManagerUploadLocalVersionConflictPolicy = 0 // Resolves the conflict by causing the upload to fail. This policy causes an upload to fail if the local version of a file, with any local changes applied, doesn't match the server version. In this scenario, call “FileManager/fetchLatestRemoteVersionOfItem(at:completionHandler:)“, rebase local changes on top of the newly fetched version, and retry the upload. This policy is only available on paused items for which the file provider supports the fail-on-conflict behavior. To check that the file provider supports the behavior, get the “NSURLUbiquitousItemSupportedSyncControlsKey“ URL resource and verify that “NSFileManagerSupportedSyncControls/failUploadOnConflict“ is `true`. NSFileManagerUploadConflictPolicyFailOnConflict NSFileManagerUploadLocalVersionConflictPolicy = 1 )
func (NSFileManagerUploadLocalVersionConflictPolicy) String ¶
func (e NSFileManagerUploadLocalVersionConflictPolicy) String() string
type NSFilePresenter ¶
type NSFilePresenter interface {
PresentedItemURL() *NSURL
PresentedItemOperationQueue() *NSOperationQueue
}
NSFilePresenter wraps the ObjC protocol NSFilePresenter.
type NSFileProviderService ¶
type NSFileProviderService struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsfileproviderservice
func NSFileProviderServiceFromID ¶
func NSFileProviderServiceFromID(id objc.ID) *NSFileProviderService
func (*NSFileProviderService) GetFileProviderConnectionWithCompletionHandler ¶
func (o *NSFileProviderService) GetFileProviderConnectionWithCompletionHandler(completionHandler func(*NSXPCConnection, unsafe.Pointer))
func (*NSFileProviderService) Name ¶
func (o *NSFileProviderService) Name() *NSString
type NSFileSecurity ¶
type NSFileSecurity struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsfilesecurity
func NSFileSecurityFromID ¶
func NSFileSecurityFromID(id objc.ID) *NSFileSecurity
func (*NSFileSecurity) InitWithCoder ¶
func (o *NSFileSecurity) InitWithCoder(coder *NSCoder) *NSFileSecurity
type NSFileVersion ¶
type NSFileVersion struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsfileversion
func NSFileVersionAddVersionOfItemAtURLWithContentsOfURLOptionsError ¶
func NSFileVersionAddVersionOfItemAtURLWithContentsOfURLOptionsError(url *NSURL, contentsURL *NSURL, options NSFileVersionAddingOptions) (*NSFileVersion, error)
func NSFileVersionCurrentVersionOfItemAtURL ¶
func NSFileVersionCurrentVersionOfItemAtURL(url *NSURL) *NSFileVersion
func NSFileVersionFromID ¶
func NSFileVersionFromID(id objc.ID) *NSFileVersion
func NSFileVersionVersionOfItemAtURLForPersistentIdentifier ¶
func NSFileVersionVersionOfItemAtURLForPersistentIdentifier(url *NSURL, persistentIdentifier objc.ID) *NSFileVersion
func (*NSFileVersion) HasLocalContents ¶
func (o *NSFileVersion) HasLocalContents() bool
func (*NSFileVersion) HasThumbnail ¶
func (o *NSFileVersion) HasThumbnail() bool
func (*NSFileVersion) IsConflict ¶
func (o *NSFileVersion) IsConflict() bool
func (*NSFileVersion) IsDiscardable ¶
func (o *NSFileVersion) IsDiscardable() bool
func (*NSFileVersion) IsResolved ¶
func (o *NSFileVersion) IsResolved() bool
func (*NSFileVersion) LocalizedName ¶
func (o *NSFileVersion) LocalizedName() *NSString
func (*NSFileVersion) LocalizedNameOfSavingComputer ¶
func (o *NSFileVersion) LocalizedNameOfSavingComputer() *NSString
func (*NSFileVersion) ModificationDate ¶
func (o *NSFileVersion) ModificationDate() *NSDate
func (*NSFileVersion) OriginatorNameComponents ¶
func (o *NSFileVersion) OriginatorNameComponents() *NSPersonNameComponents
func (*NSFileVersion) PersistentIdentifier ¶
func (o *NSFileVersion) PersistentIdentifier() NSCoding
func (*NSFileVersion) RemoveAndReturnError ¶
func (o *NSFileVersion) RemoveAndReturnError() (bool, error)
func (*NSFileVersion) ReplaceItemAtURLOptionsError ¶
func (o *NSFileVersion) ReplaceItemAtURLOptionsError(url *NSURL, options NSFileVersionReplacingOptions) (*NSURL, error)
func (*NSFileVersion) SetDiscardable ¶
func (o *NSFileVersion) SetDiscardable(discardable bool)
func (*NSFileVersion) SetResolved ¶
func (o *NSFileVersion) SetResolved(resolved bool)
func (*NSFileVersion) URL ¶
func (o *NSFileVersion) URL() *NSURL
type NSFileVersionAddingOptions ¶
type NSFileVersionAddingOptions uint64
const (
NSFileVersionAddingByMoving NSFileVersionAddingOptions = 1
)
func (NSFileVersionAddingOptions) String ¶
func (e NSFileVersionAddingOptions) String() string
type NSFileVersionReplacingOptions ¶
type NSFileVersionReplacingOptions uint64
const (
NSFileVersionReplacingByMoving NSFileVersionReplacingOptions = 1
)
func (NSFileVersionReplacingOptions) String ¶
func (e NSFileVersionReplacingOptions) String() string
type NSFileWrapper ¶
type NSFileWrapper struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsfilewrapper
func NSFileWrapperFromID ¶
func NSFileWrapperFromID(id objc.ID) *NSFileWrapper
func (*NSFileWrapper) AddFileWithPath
deprecated
func (o *NSFileWrapper) AddFileWithPath(path *NSString) *NSString
Deprecated: Instantiate a new NSFileWrapper with -initWithURL:options:error:, send it -setPreferredFileName: if necessary, then use -addFileWrapper: instead.
func (*NSFileWrapper) AddFileWrapper ¶
func (o *NSFileWrapper) AddFileWrapper(child *NSFileWrapper) *NSString
func (*NSFileWrapper) AddRegularFileWithContentsPreferredFilename ¶
func (o *NSFileWrapper) AddRegularFileWithContentsPreferredFilename(data *NSData, fileName *NSString) *NSString
func (*NSFileWrapper) AddSymbolicLinkWithDestinationPreferredFilename
deprecated
func (o *NSFileWrapper) AddSymbolicLinkWithDestinationPreferredFilename(path *NSString, filename *NSString) *NSString
Deprecated: Instantiate a new NSFileWrapper with -initWithSymbolicLinkDestinationURL:, send it -setPreferredFileName: if necessary, then use -addFileWrapper: instead.
func (*NSFileWrapper) FileAttributes ¶
func (o *NSFileWrapper) FileAttributes() *NSDictionary[*NSString, objc.ID]
func (*NSFileWrapper) FileWrappers ¶
func (o *NSFileWrapper) FileWrappers() *NSDictionary[*NSString, *NSFileWrapper]
func (*NSFileWrapper) Filename ¶
func (o *NSFileWrapper) Filename() *NSString
func (*NSFileWrapper) InitDirectoryWithFileWrappers ¶
func (o *NSFileWrapper) InitDirectoryWithFileWrappers(childrenByPreferredName *NSDictionary[*NSString, *NSFileWrapper]) *NSFileWrapper
func (*NSFileWrapper) InitRegularFileWithContents ¶
func (o *NSFileWrapper) InitRegularFileWithContents(contents *NSData) *NSFileWrapper
func (*NSFileWrapper) InitSymbolicLinkWithDestination
deprecated
func (o *NSFileWrapper) InitSymbolicLinkWithDestination(path *NSString) objc.ID
Deprecated: Use -initSymbolicLinkWithDestinationURL: and -setPreferredFileName:, if necessary, instead.
func (*NSFileWrapper) InitSymbolicLinkWithDestinationURL ¶
func (o *NSFileWrapper) InitSymbolicLinkWithDestinationURL(url *NSURL) *NSFileWrapper
func (*NSFileWrapper) InitWithCoder ¶
func (o *NSFileWrapper) InitWithCoder(inCoder *NSCoder) *NSFileWrapper
func (*NSFileWrapper) InitWithPath
deprecated
func (o *NSFileWrapper) InitWithPath(path *NSString) objc.ID
Deprecated: Use -initWithURL:options:error: instead.
func (*NSFileWrapper) InitWithSerializedRepresentation ¶
func (o *NSFileWrapper) InitWithSerializedRepresentation(serializeRepresentation *NSData) *NSFileWrapper
func (*NSFileWrapper) InitWithURLOptionsError ¶
func (o *NSFileWrapper) InitWithURLOptionsError(url *NSURL, options NSFileWrapperReadingOptions) (*NSFileWrapper, error)
func (*NSFileWrapper) IsDirectory ¶
func (o *NSFileWrapper) IsDirectory() bool
func (*NSFileWrapper) IsRegularFile ¶
func (o *NSFileWrapper) IsRegularFile() bool
func (*NSFileWrapper) IsSymbolicLink ¶
func (o *NSFileWrapper) IsSymbolicLink() bool
func (*NSFileWrapper) KeyForFileWrapper ¶
func (o *NSFileWrapper) KeyForFileWrapper(child *NSFileWrapper) *NSString
func (*NSFileWrapper) MatchesContentsOfURL ¶
func (o *NSFileWrapper) MatchesContentsOfURL(url *NSURL) bool
func (*NSFileWrapper) NeedsToBeUpdatedFromPath
deprecated
func (o *NSFileWrapper) NeedsToBeUpdatedFromPath(path *NSString) bool
Deprecated: Use -matchesContentsOfURL: instead.
func (*NSFileWrapper) PreferredFilename ¶
func (o *NSFileWrapper) PreferredFilename() *NSString
func (*NSFileWrapper) ReadFromURLOptionsError ¶
func (o *NSFileWrapper) ReadFromURLOptionsError(url *NSURL, options NSFileWrapperReadingOptions) (bool, error)
func (*NSFileWrapper) RegularFileContents ¶
func (o *NSFileWrapper) RegularFileContents() *NSData
func (*NSFileWrapper) RemoveFileWrapper ¶
func (o *NSFileWrapper) RemoveFileWrapper(child *NSFileWrapper)
func (*NSFileWrapper) SerializedRepresentation ¶
func (o *NSFileWrapper) SerializedRepresentation() *NSData
func (*NSFileWrapper) SetFileAttributes ¶
func (o *NSFileWrapper) SetFileAttributes(fileAttributes *NSDictionary[*NSString, objc.ID])
func (*NSFileWrapper) SetFilename ¶
func (o *NSFileWrapper) SetFilename(filename *NSString)
func (*NSFileWrapper) SetPreferredFilename ¶
func (o *NSFileWrapper) SetPreferredFilename(preferredFilename *NSString)
func (*NSFileWrapper) SymbolicLinkDestination
deprecated
func (o *NSFileWrapper) SymbolicLinkDestination() *NSString
Deprecated: Use -symbolicLinkDestinationURL instead.
func (*NSFileWrapper) SymbolicLinkDestinationURL ¶
func (o *NSFileWrapper) SymbolicLinkDestinationURL() *NSURL
func (*NSFileWrapper) UpdateFromPath
deprecated
func (o *NSFileWrapper) UpdateFromPath(path *NSString) bool
Deprecated: Use -readFromURL:options:error: instead.
func (*NSFileWrapper) WriteToFileAtomicallyUpdateFilenames
deprecated
func (o *NSFileWrapper) WriteToFileAtomicallyUpdateFilenames(path *NSString, atomicFlag bool, updateFilenamesFlag bool) bool
Deprecated: Use -writeToURL:options:originalContentsURL:error: instead.
func (*NSFileWrapper) WriteToURLOptionsOriginalContentsURLError ¶
func (o *NSFileWrapper) WriteToURLOptionsOriginalContentsURLError(url *NSURL, options NSFileWrapperWritingOptions, originalContentsURL *NSURL) (bool, error)
type NSFileWrapperReadingOptions ¶
type NSFileWrapperReadingOptions uint64
const ( NSFileWrapperReadingImmediate NSFileWrapperReadingOptions = 1 NSFileWrapperReadingWithoutMapping NSFileWrapperReadingOptions = 2 )
func (NSFileWrapperReadingOptions) String ¶
func (e NSFileWrapperReadingOptions) String() string
type NSFileWrapperWritingOptions ¶
type NSFileWrapperWritingOptions uint64
const ( NSFileWrapperWritingAtomic NSFileWrapperWritingOptions = 1 NSFileWrapperWritingWithNameUpdating NSFileWrapperWritingOptions = 2 )
func (NSFileWrapperWritingOptions) String ¶
func (e NSFileWrapperWritingOptions) String() string
type NSFormatter ¶
type NSFormatter struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsformatter
func NSFormatterFromID ¶
func NSFormatterFromID(id objc.ID) *NSFormatter
func (*NSFormatter) AttributedStringForObjectValueWithDefaultAttributes ¶
func (o *NSFormatter) AttributedStringForObjectValueWithDefaultAttributes(obj objc.ID, attrs *NSDictionary[*NSString, objc.ID]) *NSAttributedString
func (*NSFormatter) EditingStringForObjectValue ¶
func (o *NSFormatter) EditingStringForObjectValue(obj objc.ID) *NSString
func (*NSFormatter) GetObjectValueForStringErrorDescription ¶
func (o *NSFormatter) GetObjectValueForStringErrorDescription(obj **ObjcObject, string_ *NSString, error_ *NSString) bool
func (*NSFormatter) IsPartialStringValidNewEditingStringErrorDescription ¶
func (o *NSFormatter) IsPartialStringValidNewEditingStringErrorDescription(partialString *NSString, newString *NSString, error_ *NSString) bool
func (*NSFormatter) IsPartialStringValidProposedSelectedRangeOriginalStringOriginalSelectedRangeErrorDescription ¶
func (*NSFormatter) StringForObjectValue ¶
func (o *NSFormatter) StringForObjectValue(obj objc.ID) *NSString
type NSFormattingContext ¶
type NSFormattingContext int64
const ( NSFormattingContextUnknown NSFormattingContext = 0 NSFormattingContextDynamic NSFormattingContext = 1 NSFormattingContextStandalone NSFormattingContext = 2 NSFormattingContextListItem NSFormattingContext = 3 NSFormattingContextBeginningOfSentence NSFormattingContext = 4 NSFormattingContextMiddleOfSentence NSFormattingContext = 5 )
func (NSFormattingContext) String ¶
func (e NSFormattingContext) String() string
type NSFormattingUnitStyle ¶
type NSFormattingUnitStyle int64
const ( NSFormattingUnitStyleShort NSFormattingUnitStyle = 1 NSFormattingUnitStyleMedium NSFormattingUnitStyle = 2 NSFormattingUnitStyleLong NSFormattingUnitStyle = 3 )
func (NSFormattingUnitStyle) String ¶
func (e NSFormattingUnitStyle) String() string
type NSGarbageCollector ¶
type NSGarbageCollector struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsgarbagecollector Deprecated: Building Garbage Collected apps is no longer supported.
func NSGarbageCollectorFromID ¶
func NSGarbageCollectorFromID(id objc.ID) *NSGarbageCollector
func (*NSGarbageCollector) CollectExhaustively ¶
func (o *NSGarbageCollector) CollectExhaustively()
func (*NSGarbageCollector) CollectIfNeeded ¶
func (o *NSGarbageCollector) CollectIfNeeded()
func (*NSGarbageCollector) Disable
deprecated
func (o *NSGarbageCollector) Disable()
Deprecated: since macOS 10.6.
func (*NSGarbageCollector) DisableCollectorForPointer ¶
func (o *NSGarbageCollector) DisableCollectorForPointer(ptr unsafe.Pointer)
func (*NSGarbageCollector) Enable
deprecated
func (o *NSGarbageCollector) Enable()
Deprecated: since macOS 10.6.
func (*NSGarbageCollector) EnableCollectorForPointer ¶
func (o *NSGarbageCollector) EnableCollectorForPointer(ptr unsafe.Pointer)
func (*NSGarbageCollector) IsCollecting
deprecated
func (o *NSGarbageCollector) IsCollecting() bool
Deprecated: since macOS 10.6.
func (*NSGarbageCollector) IsEnabled
deprecated
func (o *NSGarbageCollector) IsEnabled() bool
Deprecated: since macOS 10.6.
func (*NSGarbageCollector) Zone ¶
func (o *NSGarbageCollector) Zone() unsafe.Pointer
type NSGrammaticalCase ¶
type NSGrammaticalCase int64
const ( NSGrammaticalCaseNotSet NSGrammaticalCase = 0 NSGrammaticalCaseNominative NSGrammaticalCase = 1 NSGrammaticalCaseAccusative NSGrammaticalCase = 2 NSGrammaticalCaseDative NSGrammaticalCase = 3 NSGrammaticalCaseGenitive NSGrammaticalCase = 4 NSGrammaticalCasePrepositional NSGrammaticalCase = 5 NSGrammaticalCaseAblative NSGrammaticalCase = 6 NSGrammaticalCaseAdessive NSGrammaticalCase = 7 NSGrammaticalCaseAllative NSGrammaticalCase = 8 NSGrammaticalCaseElative NSGrammaticalCase = 9 NSGrammaticalCaseIllative NSGrammaticalCase = 10 NSGrammaticalCaseEssive NSGrammaticalCase = 11 NSGrammaticalCaseInessive NSGrammaticalCase = 12 NSGrammaticalCaseLocative NSGrammaticalCase = 13 NSGrammaticalCaseTranslative NSGrammaticalCase = 14 )
func (NSGrammaticalCase) String ¶
func (e NSGrammaticalCase) String() string
type NSGrammaticalDefiniteness ¶
type NSGrammaticalDefiniteness int64
const ( NSGrammaticalDefinitenessNotSet NSGrammaticalDefiniteness = 0 NSGrammaticalDefinitenessIndefinite NSGrammaticalDefiniteness = 1 NSGrammaticalDefinitenessDefinite NSGrammaticalDefiniteness = 2 )
func (NSGrammaticalDefiniteness) String ¶
func (e NSGrammaticalDefiniteness) String() string
type NSGrammaticalDetermination ¶
type NSGrammaticalDetermination int64
const ( NSGrammaticalDeterminationNotSet NSGrammaticalDetermination = 0 NSGrammaticalDeterminationIndependent NSGrammaticalDetermination = 1 NSGrammaticalDeterminationDependent NSGrammaticalDetermination = 2 )
func (NSGrammaticalDetermination) String ¶
func (e NSGrammaticalDetermination) String() string
type NSGrammaticalGender ¶
type NSGrammaticalGender int64
const ( NSGrammaticalGenderNotSet NSGrammaticalGender = 0 NSGrammaticalGenderFeminine NSGrammaticalGender = 1 NSGrammaticalGenderMasculine NSGrammaticalGender = 2 NSGrammaticalGenderNeuter NSGrammaticalGender = 3 )
func (NSGrammaticalGender) String ¶
func (e NSGrammaticalGender) String() string
type NSGrammaticalNumber ¶
type NSGrammaticalNumber int64
const ( NSGrammaticalNumberNotSet NSGrammaticalNumber = 0 NSGrammaticalNumberSingular NSGrammaticalNumber = 1 NSGrammaticalNumberZero NSGrammaticalNumber = 2 NSGrammaticalNumberPlural NSGrammaticalNumber = 3 NSGrammaticalNumberPluralTwo NSGrammaticalNumber = 4 NSGrammaticalNumberPluralFew NSGrammaticalNumber = 5 NSGrammaticalNumberPluralMany NSGrammaticalNumber = 6 )
func (NSGrammaticalNumber) String ¶
func (e NSGrammaticalNumber) String() string
type NSGrammaticalPartOfSpeech ¶
type NSGrammaticalPartOfSpeech int64
const ( NSGrammaticalPartOfSpeechNotSet NSGrammaticalPartOfSpeech = 0 NSGrammaticalPartOfSpeechDeterminer NSGrammaticalPartOfSpeech = 1 NSGrammaticalPartOfSpeechPronoun NSGrammaticalPartOfSpeech = 2 NSGrammaticalPartOfSpeechLetter NSGrammaticalPartOfSpeech = 3 NSGrammaticalPartOfSpeechAdverb NSGrammaticalPartOfSpeech = 4 NSGrammaticalPartOfSpeechParticle NSGrammaticalPartOfSpeech = 5 NSGrammaticalPartOfSpeechAdjective NSGrammaticalPartOfSpeech = 6 NSGrammaticalPartOfSpeechAdposition NSGrammaticalPartOfSpeech = 7 NSGrammaticalPartOfSpeechVerb NSGrammaticalPartOfSpeech = 8 NSGrammaticalPartOfSpeechNoun NSGrammaticalPartOfSpeech = 9 NSGrammaticalPartOfSpeechConjunction NSGrammaticalPartOfSpeech = 10 NSGrammaticalPartOfSpeechNumeral NSGrammaticalPartOfSpeech = 11 NSGrammaticalPartOfSpeechInterjection NSGrammaticalPartOfSpeech = 12 NSGrammaticalPartOfSpeechPreposition NSGrammaticalPartOfSpeech = 13 NSGrammaticalPartOfSpeechAbbreviation NSGrammaticalPartOfSpeech = 14 )
func (NSGrammaticalPartOfSpeech) String ¶
func (e NSGrammaticalPartOfSpeech) String() string
type NSGrammaticalPerson ¶
type NSGrammaticalPerson int64
const ( NSGrammaticalPersonNotSet NSGrammaticalPerson = 0 NSGrammaticalPersonFirst NSGrammaticalPerson = 1 NSGrammaticalPersonSecond NSGrammaticalPerson = 2 NSGrammaticalPersonThird NSGrammaticalPerson = 3 )
func (NSGrammaticalPerson) String ¶
func (e NSGrammaticalPerson) String() string
type NSGrammaticalPronounType ¶
type NSGrammaticalPronounType int64
const ( NSGrammaticalPronounTypeNotSet NSGrammaticalPronounType = 0 NSGrammaticalPronounTypePersonal NSGrammaticalPronounType = 1 NSGrammaticalPronounTypeReflexive NSGrammaticalPronounType = 2 NSGrammaticalPronounTypePossessive NSGrammaticalPronounType = 3 )
func (NSGrammaticalPronounType) String ¶
func (e NSGrammaticalPronounType) String() string
type NSHTTPCookie ¶
type NSHTTPCookie struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nshttpcookie
func NSHTTPCookieCookieWithProperties ¶
func NSHTTPCookieCookieWithProperties(properties *NSDictionary[*NSString, objc.ID]) *NSHTTPCookie
@method cookieWithProperties: @abstract Allocates and initializes an NSHTTPCookie with the given dictionary. @discussion See the NSHTTPCookie <tt>-initWithProperties:</tt> method for more information on the constraints imposed on the dictionary, and for descriptions of the supported keys and values. @param properties The dictionary to use to initialize this cookie. @result A newly-created and autoreleased NSHTTPCookie instance, or nil if the set of dictionary keys is invalid, for example because a required key is missing, or a recognized key maps to an illegal value.
func NSHTTPCookieFromID ¶
func NSHTTPCookieFromID(id objc.ID) *NSHTTPCookie
func (*NSHTTPCookie) Comment ¶
func (o *NSHTTPCookie) Comment() *NSString
@abstract Returns the comment of the receiver. @discussion This value specifies a string which is suitable for presentation to the user explaining the contents and purpose of this cookie. It may be nil. @result The comment of the receiver, or nil if the receiver has no comment.
func (*NSHTTPCookie) CommentURL ¶
func (o *NSHTTPCookie) CommentURL() *NSURL
@abstract Returns the comment URL of the receiver. @discussion This value specifies a URL which is suitable for presentation to the user as a link for further information about this cookie. It may be nil. @result The comment URL of the receiver, or nil if the receiver has no comment URL.
func (*NSHTTPCookie) Domain ¶
func (o *NSHTTPCookie) Domain() *NSString
@abstract Returns the domain of the receiver. @discussion This value specifies URL domain to which the cookie should be sent. A domain with a leading dot means the cookie should be sent to subdomains as well, assuming certain other restrictions are valid. See RFC 2965 for more detail. @result The domain of the receiver.
func (*NSHTTPCookie) ExpiresDate ¶
func (o *NSHTTPCookie) ExpiresDate() *NSDate
@abstract Returns the expires date of the receiver. @result the expires date of the receiver. @discussion The expires date is the date when the cookie should be deleted. The result will be nil if there is no specific expires date. This will be the case only for "session-only" cookies. @result The expires date of the receiver.
func (*NSHTTPCookie) InitWithProperties ¶
func (o *NSHTTPCookie) InitWithProperties(properties *NSDictionary[*NSString, objc.ID]) *NSHTTPCookie
@method initWithProperties: @abstract Initialize a NSHTTPCookie object with a dictionary of parameters @param properties The dictionary of properties to be used to initialize this cookie. @discussion Supported dictionary keys and value types for the given dictionary are as follows. All properties can handle an NSString value, but some can also handle other types. <table border="1" cellspacing="2" cellpadding="4"> <tr> <th>Property key constant</th> <th>Type of value</th> <th>Required</th> <th>Description</th> </tr> <tr> <td>NSHTTPCookieComment</td> <td>NSString</td> <td>NO</td> <td>Comment for the cookie. Only valid for version 1 cookies and later. Default is nil.</td> </tr> <tr> <td>NSHTTPCookieCommentURL</td> <td>NSURL or NSString</td> <td>NO</td> <td>Comment URL for the cookie. Only valid for version 1 cookies and later. Default is nil.</td> </tr> <tr> <td>NSHTTPCookieDomain</td> <td>NSString</td> <td>Special, a value for either NSHTTPCookieOriginURL or NSHTTPCookieDomain must be specified.</td> <td>Domain for the cookie. Inferred from the value for NSHTTPCookieOriginURL if not provided.</td> </tr> <tr> <td>NSHTTPCookieDiscard</td> <td>NSString</td> <td>NO</td> <td>A string stating whether the cookie should be discarded at the end of the session. String value must be either "TRUE" or "FALSE". Default is "FALSE", unless this is cookie is version 1 or greater and a value for NSHTTPCookieMaximumAge is not specified, in which case it is assumed "TRUE".</td> </tr> <tr> <td>NSHTTPCookieExpires</td> <td>NSDate or NSString</td> <td>NO</td> <td>Expiration date for the cookie. Used only for version 0 cookies. Ignored for version 1 or greater.</td> </tr> <tr> <td>NSHTTPCookieMaximumAge</td> <td>NSString</td> <td>NO</td> <td>A string containing an integer value stating how long in seconds the cookie should be kept, at most. Only valid for version 1 cookies and later. Default is "0".</td> </tr> <tr> <td>NSHTTPCookieName</td> <td>NSString</td> <td>YES</td> <td>Name of the cookie</td> </tr> <tr> <td>NSHTTPCookieOriginURL</td> <td>NSURL or NSString</td> <td>Special, a value for either NSHTTPCookieOriginURL or NSHTTPCookieDomain must be specified.</td> <td>URL that set this cookie. Used as default for other fields as noted.</td> </tr> <tr> <td>NSHTTPCookiePath</td> <td>NSString</td> <td>NO</td> <td>Path for the cookie. Inferred from the value for NSHTTPCookieOriginURL if not provided. Default is "/".</td> </tr> <tr> <td>NSHTTPCookiePort</td> <td>NSString</td> <td>NO</td> <td>comma-separated integer values specifying the ports for the cookie. Only valid for version 1 cookies and later. Default is empty string ("").</td> </tr> <tr> <td>NSHTTPCookieSecure</td> <td>NSString</td> <td>NO</td> <td>A string stating whether the cookie should be transmitted only over secure channels. String value must be either "TRUE" or "FALSE". Default is "FALSE".</td> </tr> <tr> <td>NSHTTPCookieValue</td> <td>NSString</td> <td>YES</td> <td>Value of the cookie</td> </tr> <tr> <td>NSHTTPCookieVersion</td> <td>NSString</td> <td>NO</td> <td>Specifies the version of the cookie. Must be either "0" or "1". Default is "0".</td> </tr> <tr> <td>NSHTTPCookieSetByJavaScript</td> <td>NSNumber</td> <td>NO</td> <td>@YES if the cookie is set via JavaScript. @NO if the cookie is not set via JavaScript</td> </tr> </table> <p> All other keys are ignored. @result An initialized NSHTTPCookie, or nil if the set of dictionary keys is invalid, for example because a required key is missing, or a recognized key maps to an illegal value.
func (*NSHTTPCookie) IsHTTPOnly ¶
func (o *NSHTTPCookie) IsHTTPOnly() bool
@abstract Returns whether the receiver should only be sent to HTTP servers per RFC 2965 @discussion Cookies may be marked as HTTPOnly by a server (or by a javascript). Cookies marked as such must only be sent via HTTP Headers in HTTP Requests for URL's that match both the path and domain of the respective Cookies. Specifically these cookies should not be delivered to any javascript applications to prevent cross-site scripting vulnerabilities. @result YES if this cookie should only be sent via HTTP headers, NO otherwise.
func (*NSHTTPCookie) IsSecure ¶
func (o *NSHTTPCookie) IsSecure() bool
@abstract Returns whether the receiver should be sent only over secure channels @discussion Cookies may be marked secure by a server (or by a javascript). Cookies marked as such must only be sent via an encrypted connection to trusted servers (i.e. via SSL or TLS), and should not be delivered to any javascript applications to prevent cross-site scripting vulnerabilities. @result YES if this cookie should be sent only over secure channels, NO otherwise.
func (*NSHTTPCookie) IsSessionOnly ¶
func (o *NSHTTPCookie) IsSessionOnly() bool
@abstract Returns whether the receiver is session-only. @result YES if this receiver should be discarded at the end of the session (regardless of expiration date), NO if receiver need not be discarded at the end of the session.
func (*NSHTTPCookie) Name ¶
func (o *NSHTTPCookie) Name() *NSString
@abstract Returns the name of the receiver. @result the name of the receiver.
func (*NSHTTPCookie) Path ¶
func (o *NSHTTPCookie) Path() *NSString
@abstract Returns the path of the receiver. @discussion This value specifies the URL path under the cookie's domain for which this cookie should be sent. The cookie will also be sent for children of that path, so "/" is the most general. @result The path of the receiver.
func (*NSHTTPCookie) PortList ¶
func (o *NSHTTPCookie) PortList() *NSArray[*NSNumber]
@abstract Returns the list ports to which the receiver should be sent. @discussion This value specifies an NSArray of NSNumbers (containing integers) which specify the only ports to which this cookie should be sent. @result The list ports to which the receiver should be sent. The array may be nil, in which case this cookie can be sent to any port.
func (*NSHTTPCookie) Properties ¶
func (o *NSHTTPCookie) Properties() *NSDictionary[*NSString, objc.ID]
@abstract Returns a dictionary representation of the receiver. @discussion This method returns a dictionary representation of the NSHTTPCookie which can be saved and passed to <tt>-initWithProperties:</tt> or <tt>+cookieWithProperties:</tt> later to reconstitute an equivalent cookie. <p>See the NSHTTPCookie <tt>-initWithProperties:</tt> method for more information on the constraints imposed on the dictionary, and for descriptions of the supported keys and values. @result The dictionary representation of the receiver.
func (*NSHTTPCookie) SameSitePolicy ¶
func (o *NSHTTPCookie) SameSitePolicy() *NSString
@abstract Returns the value of the same site attribute on the cookie. @discussion Cookies can be marked with an attribute Strict or Lax. Cookies marked with "strict" (NSHTTPCookieSameSiteStrict) are not sent along with cross-site requests. Cookies marked with "lax" (NSHTTPCookieSameSiteLax) sent along cross-site requests provided the cross-site requests are top-level-requests (one that changes the url in the address bar). The attribute value is canonicalized and stored. Any value other than the default (strict and lax) will be ignored. @result strict or lax. The result could also be nil, in which case the cookie will be sent along with all cross-site requests.
func (*NSHTTPCookie) Value ¶
func (o *NSHTTPCookie) Value() *NSString
@abstract Returns the value of the receiver. @result the value of the receiver.
type NSHTTPCookieAcceptPolicy ¶
type NSHTTPCookieAcceptPolicy uint64
const ( NSHTTPCookieAcceptPolicyAlways NSHTTPCookieAcceptPolicy = 0 NSHTTPCookieAcceptPolicyNever NSHTTPCookieAcceptPolicy = 1 NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain NSHTTPCookieAcceptPolicy = 2 )
func (NSHTTPCookieAcceptPolicy) String ¶
func (e NSHTTPCookieAcceptPolicy) String() string
type NSHTTPCookieStorage ¶
type NSHTTPCookieStorage struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nshttpcookiestorage
func NSHTTPCookieStorageFromID ¶
func NSHTTPCookieStorageFromID(id objc.ID) *NSHTTPCookieStorage
func NSHTTPCookieStorageSharedCookieStorageForGroupContainerIdentifier ¶
func NSHTTPCookieStorageSharedCookieStorageForGroupContainerIdentifier(identifier *NSString) *NSHTTPCookieStorage
@method sharedCookieStorageForGroupContainerIdentifier: @abstract Get the cookie storage for the container associated with the specified application group identifier @param identifier The application group identifier @result A cookie storage with a persistent store in the application group container @discussion By default, applications and associated app extensions have different data containers, which means that the sharedHTTPCookieStorage singleton will refer to different persistent cookie stores in an application and any app extensions that it contains. This method allows clients to create a persistent cookie storage that can be shared among all applications and extensions with access to the same application group. Subsequent calls to this method with the same identifier will return the same cookie storage instance.
func NSHTTPCookieStorageSharedHTTPCookieStorage ¶
func NSHTTPCookieStorageSharedHTTPCookieStorage() *NSHTTPCookieStorage
@property sharedHTTPCookieStorage @abstract Get the shared cookie storage in the default location. @result The shared cookie storage @discussion Starting in OS X 10.11, each app has its own sharedHTTPCookieStorage singleton, which will not be shared with other applications.
func (*NSHTTPCookieStorage) CookieAcceptPolicy ¶
func (o *NSHTTPCookieStorage) CookieAcceptPolicy() NSHTTPCookieAcceptPolicy
@abstract The cookie accept policy preference of the receiver.
func (*NSHTTPCookieStorage) Cookies ¶
func (o *NSHTTPCookieStorage) Cookies() *NSArray[*NSHTTPCookie]
@abstract Get all the cookies @result An NSArray of NSHTTPCookies
func (*NSHTTPCookieStorage) CookiesForURL ¶
func (o *NSHTTPCookieStorage) CookiesForURL(uRL *NSURL) *NSArray[*NSHTTPCookie]
@method cookiesForURL: @abstract Returns an array of cookies to send to the given URL. @param URL The URL for which to get cookies. @result an NSArray of NSHTTPCookie objects. @discussion The cookie manager examines the cookies it stores and includes those which should be sent to the given URL. You can use <tt>+[NSCookie requestHeaderFieldsWithCookies:]</tt> to turn this array into a set of header fields to add to a request.
func (*NSHTTPCookieStorage) DeleteCookie ¶
func (o *NSHTTPCookieStorage) DeleteCookie(cookie *NSHTTPCookie)
@method deleteCookie: @abstract Delete the specified cookie
func (*NSHTTPCookieStorage) GetCookiesForTaskCompletionHandler ¶
func (o *NSHTTPCookieStorage) GetCookiesForTaskCompletionHandler(task *NSURLSessionTask, completionHandler func(*NSArray[*NSHTTPCookie]))
func (*NSHTTPCookieStorage) RemoveCookiesSinceDate ¶
func (o *NSHTTPCookieStorage) RemoveCookiesSinceDate(date *NSDate)
@method removeCookiesSince: @abstract Delete all cookies from the cookie storage since the provided date.
func (*NSHTTPCookieStorage) SetCookie ¶
func (o *NSHTTPCookieStorage) SetCookie(cookie *NSHTTPCookie)
@method setCookie: @abstract Set a cookie @discussion The cookie will override an existing cookie with the same name, domain and path, if any.
func (*NSHTTPCookieStorage) SetCookieAcceptPolicy ¶
func (o *NSHTTPCookieStorage) SetCookieAcceptPolicy(cookieAcceptPolicy NSHTTPCookieAcceptPolicy)
func (*NSHTTPCookieStorage) SetCookiesForURLMainDocumentURL ¶
func (o *NSHTTPCookieStorage) SetCookiesForURLMainDocumentURL(cookies *NSArray[*NSHTTPCookie], uRL *NSURL, mainDocumentURL *NSURL)
@method setCookies:forURL:mainDocumentURL: @abstract Adds an array cookies to the cookie store, following the cookie accept policy. @param cookies The cookies to set. @param URL The URL from which the cookies were sent. @param mainDocumentURL The main document URL to be used as a base for the "same domain as main document" policy. @discussion For mainDocumentURL, the caller should pass the URL for an appropriate main document, if known. For example, when loading a web page, the URL of the main html document for the top-level frame should be passed. To save cookies based on a set of response headers, you can use <tt>+[NSCookie cookiesWithResponseHeaderFields:forURL:]</tt> on a header field dictionary and then use this method to store the resulting cookies in accordance with policy settings.
func (*NSHTTPCookieStorage) SortedCookiesUsingDescriptors ¶
func (o *NSHTTPCookieStorage) SortedCookiesUsingDescriptors(sortOrder *NSArray[*NSSortDescriptor]) *NSArray[*NSHTTPCookie]
@method sortedCookiesUsingDescriptors: @abstract Returns an array of all cookies in the store, sorted according to the key value and sorting direction of the NSSortDescriptors specified in the parameter. @param sortOrder an array of NSSortDescriptors which represent the preferred sort order of the resulting array. @discussion proper sorting of cookies may require extensive string conversion, which can be avoided by allowing the system to perform the sorting. This API is to be preferred over the more generic -[NSHTTPCookieStorage cookies] API, if sorting is going to be performed.
func (*NSHTTPCookieStorage) StoreCookiesForTask ¶
func (o *NSHTTPCookieStorage) StoreCookiesForTask(cookies *NSArray[*NSHTTPCookie], task *NSURLSessionTask)
type NSHTTPURLResponse ¶
type NSHTTPURLResponse struct {
NSURLResponse
}
Apple documentation: https://developer.apple.com/documentation/foundation/nshttpurlresponse
func NSHTTPURLResponseFromID ¶
func NSHTTPURLResponseFromID(id objc.ID) *NSHTTPURLResponse
func (*NSHTTPURLResponse) AllHeaderFields ¶
func (o *NSHTTPURLResponse) AllHeaderFields() *NSDictionary[objc.ID, objc.ID]
@abstract Returns a dictionary containing all the HTTP header fields of the receiver. @discussion By examining this header dictionary, clients can see the "raw" header information which was reported to the protocol implementation by the HTTP server. This may be of use to sophisticated or special-purpose HTTP clients. @result A dictionary containing all the HTTP header fields of the receiver.
func (*NSHTTPURLResponse) InitWithURLStatusCodeHTTPVersionHeaderFields ¶
func (o *NSHTTPURLResponse) InitWithURLStatusCodeHTTPVersionHeaderFields(url *NSURL, statusCode int, hTTPVersion *NSString, headerFields *NSDictionary[*NSString, *NSString]) *NSHTTPURLResponse
@method initWithURL:statusCode:HTTPVersion:headerFields: @abstract initializer for NSHTTPURLResponse objects. @param url the URL from which the response was generated. @param statusCode an HTTP status code. @param HTTPVersion The version of the HTTP response as represented by the server. This is typically represented as "HTTP/1.1". @param headerFields A dictionary representing the header keys and values of the server response. @result the instance of the object, or NULL if an error occurred during initialization. @discussion This API was introduced in Mac OS X 10.7.2 and iOS 5.0 and is not available prior to those releases.
func (*NSHTTPURLResponse) StatusCode ¶
func (o *NSHTTPURLResponse) StatusCode() int
@abstract Returns the HTTP status code of the receiver. @result The HTTP status code of the receiver.
func (*NSHTTPURLResponse) ValueForHTTPHeaderField ¶
func (o *NSHTTPURLResponse) ValueForHTTPHeaderField(field *NSString) *NSString
@method valueForHTTPHeaderField: @abstract Returns the value which corresponds to the given header field. Note that, in keeping with the HTTP RFC, HTTP header field names are case-insensitive. @param field the header field name to use for the lookup (case-insensitive). @result the value associated with the given header field, or nil if there is no value associated with the given header field.
type NSHashEnumerator ¶
type NSHashEnumerator struct {
}
func NSEnumerateHashTable ¶
func NSEnumerateHashTable(table *NSHashTable[objc.ID]) NSHashEnumerator
type NSHashTable ¶
Apple documentation: https://developer.apple.com/documentation/foundation/nshashtable
func NSCopyHashTableWithZone ¶
func NSCopyHashTableWithZone(table *NSHashTable[objc.ID], zone unsafe.Pointer) *NSHashTable[objc.ID]
func NSCreateHashTable ¶
func NSCreateHashTable(callBacks NSHashTableCallBacks, capacity uint) *NSHashTable[objc.ID]
func NSCreateHashTableWithZone ¶
func NSCreateHashTableWithZone(callBacks NSHashTableCallBacks, capacity uint, zone unsafe.Pointer) *NSHashTable[objc.ID]
func NSHashTableFromID ¶
func NSHashTableFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSHashTable[ObjectType]
func NSHashTableHashTableWithOptions ¶
func NSHashTableHashTableWithOptions(options NSPointerFunctionsOptions) *NSHashTable[objc.ID]
func NSHashTableWeakObjectsHashTable ¶
func NSHashTableWeakObjectsHashTable() *NSHashTable[objc.ID]
func (*NSHashTable[ObjectType]) AddObject ¶
func (o *NSHashTable[ObjectType]) AddObject(object ObjectType)
func (*NSHashTable[ObjectType]) AllObjects ¶
func (o *NSHashTable[ObjectType]) AllObjects() *NSArray[ObjectType]
func (*NSHashTable[ObjectType]) AnyObject ¶
func (o *NSHashTable[ObjectType]) AnyObject() ObjectType
func (*NSHashTable[ObjectType]) ContainsObject ¶
func (o *NSHashTable[ObjectType]) ContainsObject(anObject ObjectType) bool
func (*NSHashTable[ObjectType]) Count ¶
func (o *NSHashTable[ObjectType]) Count() uint
func (*NSHashTable[ObjectType]) InitWithOptionsCapacity ¶
func (o *NSHashTable[ObjectType]) InitWithOptionsCapacity(options NSPointerFunctionsOptions, initialCapacity uint) *NSHashTable[ObjectType]
func (*NSHashTable[ObjectType]) InitWithPointerFunctionsCapacity ¶
func (o *NSHashTable[ObjectType]) InitWithPointerFunctionsCapacity(functions *NSPointerFunctions, initialCapacity uint) *NSHashTable[ObjectType]
func (*NSHashTable[ObjectType]) IntersectHashTable ¶
func (o *NSHashTable[ObjectType]) IntersectHashTable(other *NSHashTable[ObjectType])
func (*NSHashTable[ObjectType]) IntersectsHashTable ¶
func (o *NSHashTable[ObjectType]) IntersectsHashTable(other *NSHashTable[ObjectType]) bool
func (*NSHashTable[ObjectType]) IsEqualToHashTable ¶
func (o *NSHashTable[ObjectType]) IsEqualToHashTable(other *NSHashTable[ObjectType]) bool
func (*NSHashTable[ObjectType]) IsSubsetOfHashTable ¶
func (o *NSHashTable[ObjectType]) IsSubsetOfHashTable(other *NSHashTable[ObjectType]) bool
func (*NSHashTable[ObjectType]) Member ¶
func (o *NSHashTable[ObjectType]) Member(object ObjectType) ObjectType
func (*NSHashTable[ObjectType]) MinusHashTable ¶
func (o *NSHashTable[ObjectType]) MinusHashTable(other *NSHashTable[ObjectType])
func (*NSHashTable[ObjectType]) ObjectEnumerator ¶
func (o *NSHashTable[ObjectType]) ObjectEnumerator() *NSEnumerator[ObjectType]
func (*NSHashTable[ObjectType]) PointerFunctions ¶
func (o *NSHashTable[ObjectType]) PointerFunctions() *NSPointerFunctions
func (*NSHashTable[ObjectType]) RemoveAllObjects ¶
func (o *NSHashTable[ObjectType]) RemoveAllObjects()
func (*NSHashTable[ObjectType]) RemoveObject ¶
func (o *NSHashTable[ObjectType]) RemoveObject(object ObjectType)
func (*NSHashTable[ObjectType]) SetRepresentation ¶
func (o *NSHashTable[ObjectType]) SetRepresentation() *NSSet[ObjectType]
func (*NSHashTable[ObjectType]) UnionHashTable ¶
func (o *NSHashTable[ObjectType]) UnionHashTable(other *NSHashTable[ObjectType])
type NSHashTableCallBacks ¶
type NSHashTableCallBacks struct {
Hash unsafe.Pointer
IsEqual unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
Describe unsafe.Pointer
}
func NSIntHashCallBacks
deprecated
func NSIntHashCallBacks() NSHashTableCallBacks
Deprecated: Not supported
func NSIntegerHashCallBacks ¶
func NSIntegerHashCallBacks() NSHashTableCallBacks
func NSNonOwnedPointerHashCallBacks ¶
func NSNonOwnedPointerHashCallBacks() NSHashTableCallBacks
func NSNonRetainedObjectHashCallBacks ¶
func NSNonRetainedObjectHashCallBacks() NSHashTableCallBacks
func NSObjectHashCallBacks ¶
func NSObjectHashCallBacks() NSHashTableCallBacks
func NSOwnedObjectIdentityHashCallBacks ¶
func NSOwnedObjectIdentityHashCallBacks() NSHashTableCallBacks
func NSOwnedPointerHashCallBacks ¶
func NSOwnedPointerHashCallBacks() NSHashTableCallBacks
func NSPointerToStructHashCallBacks ¶
func NSPointerToStructHashCallBacks() NSHashTableCallBacks
type NSHost ¶
type NSHost struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nshost Deprecated: Use Network framework instead, see deprecation notice in <Foundation/NSHost.h>
func NSHostCurrentHost ¶
func NSHostCurrentHost() *NSHost
func NSHostFromID ¶
func NSHostHostWithAddress ¶
func NSHostHostWithName ¶
func (*NSHost) IsEqualToHost ¶
func (*NSHost) LocalizedName ¶
type NSISO8601DateFormatOptions ¶
type NSISO8601DateFormatOptions uint64
const ( NSISO8601DateFormatWithYear NSISO8601DateFormatOptions = 1 NSISO8601DateFormatWithMonth NSISO8601DateFormatOptions = 2 NSISO8601DateFormatWithWeekOfYear NSISO8601DateFormatOptions = 4 NSISO8601DateFormatWithDay NSISO8601DateFormatOptions = 16 NSISO8601DateFormatWithTime NSISO8601DateFormatOptions = 32 NSISO8601DateFormatWithTimeZone NSISO8601DateFormatOptions = 64 NSISO8601DateFormatWithSpaceBetweenDateAndTime NSISO8601DateFormatOptions = 128 NSISO8601DateFormatWithDashSeparatorInDate NSISO8601DateFormatOptions = 256 NSISO8601DateFormatWithColonSeparatorInTime NSISO8601DateFormatOptions = 512 NSISO8601DateFormatWithColonSeparatorInTimeZone NSISO8601DateFormatOptions = 1024 NSISO8601DateFormatWithFractionalSeconds NSISO8601DateFormatOptions = 2048 NSISO8601DateFormatWithFullDate NSISO8601DateFormatOptions = 275 NSISO8601DateFormatWithFullTime NSISO8601DateFormatOptions = 1632 NSISO8601DateFormatWithInternetDateTime NSISO8601DateFormatOptions = 1907 )
func (NSISO8601DateFormatOptions) String ¶
func (e NSISO8601DateFormatOptions) String() string
type NSISO8601DateFormatter ¶
type NSISO8601DateFormatter struct {
NSFormatter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsiso8601dateformatter
func NSISO8601DateFormatterFromID ¶
func NSISO8601DateFormatterFromID(id objc.ID) *NSISO8601DateFormatter
func (*NSISO8601DateFormatter) DateFromString ¶
func (o *NSISO8601DateFormatter) DateFromString(string_ *NSString) *NSDate
func (*NSISO8601DateFormatter) FormatOptions ¶
func (o *NSISO8601DateFormatter) FormatOptions() NSISO8601DateFormatOptions
func (*NSISO8601DateFormatter) Init ¶
func (o *NSISO8601DateFormatter) Init() *NSISO8601DateFormatter
func (*NSISO8601DateFormatter) SetFormatOptions ¶
func (o *NSISO8601DateFormatter) SetFormatOptions(formatOptions NSISO8601DateFormatOptions)
func (*NSISO8601DateFormatter) SetTimeZone ¶
func (o *NSISO8601DateFormatter) SetTimeZone(timeZone *NSTimeZone)
func (*NSISO8601DateFormatter) StringFromDate ¶
func (o *NSISO8601DateFormatter) StringFromDate(date *NSDate) *NSString
func (*NSISO8601DateFormatter) TimeZone ¶
func (o *NSISO8601DateFormatter) TimeZone() *NSTimeZone
type NSIndexPath ¶
type NSIndexPath struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsindexpath
func NSIndexPathFromID ¶
func NSIndexPathFromID(id objc.ID) *NSIndexPath
func NSIndexPathIndexPathWithIndex ¶
func NSIndexPathIndexPathWithIndex(index uint) *NSIndexPath
func NSIndexPathIndexPathWithIndexesLength ¶
func NSIndexPathIndexPathWithIndexesLength(indexes *uint, length uint) *NSIndexPath
func (*NSIndexPath) Compare ¶
func (o *NSIndexPath) Compare(otherObject *NSIndexPath) NSComparisonResult
func (*NSIndexPath) GetIndexes ¶
func (o *NSIndexPath) GetIndexes(indexes *uint)
This method is unsafe because it could potentially cause buffer overruns. You should use -getIndexes:range: instead. Deprecated: since macOS API_TO_BE_DEPRECATED.
func (*NSIndexPath) GetIndexesRange ¶
func (o *NSIndexPath) GetIndexesRange(indexes *uint, positionRange NSRange)
@abstract Copies the indexes stored in this index path from the positions specified by positionRange into indexes. @param indexes Buffer of at least as many NSUIntegers as specified by the length of positionRange. On return, this memory will hold the index path's indexes. @param positionRange A range of valid positions within this index path. If the location plus the length of positionRange is greater than the length of this index path, this method raises an NSRangeException. @discussion It is the developer’s responsibility to allocate the memory for the C array.
func (*NSIndexPath) IndexAtPosition ¶
func (o *NSIndexPath) IndexAtPosition(position uint) uint
func (*NSIndexPath) IndexPathByAddingIndex ¶
func (o *NSIndexPath) IndexPathByAddingIndex(index uint) *NSIndexPath
func (*NSIndexPath) IndexPathByRemovingLastIndex ¶
func (o *NSIndexPath) IndexPathByRemovingLastIndex() *NSIndexPath
func (*NSIndexPath) InitWithIndex ¶
func (o *NSIndexPath) InitWithIndex(index uint) *NSIndexPath
func (*NSIndexPath) InitWithIndexesLength ¶
func (o *NSIndexPath) InitWithIndexesLength(indexes *uint, length uint) *NSIndexPath
func (*NSIndexPath) Length ¶
func (o *NSIndexPath) Length() uint
type NSIndexSet ¶
type NSIndexSet struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsindexset
func NSIndexSetFromID ¶
func NSIndexSetFromID(id objc.ID) *NSIndexSet
func NSIndexSetIndexSet ¶
func NSIndexSetIndexSet() *NSIndexSet
func NSIndexSetIndexSetWithIndex ¶
func NSIndexSetIndexSetWithIndex(value uint) *NSIndexSet
func NSIndexSetIndexSetWithIndexesInRange ¶
func NSIndexSetIndexSetWithIndexesInRange(range_ NSRange) *NSIndexSet
func (*NSIndexSet) ContainsIndex ¶
func (o *NSIndexSet) ContainsIndex(value uint) bool
func (*NSIndexSet) ContainsIndexes ¶
func (o *NSIndexSet) ContainsIndexes(indexSet *NSIndexSet) bool
func (*NSIndexSet) ContainsIndexesInRange ¶
func (o *NSIndexSet) ContainsIndexesInRange(range_ NSRange) bool
func (*NSIndexSet) Count ¶
func (o *NSIndexSet) Count() uint
func (*NSIndexSet) CountOfIndexesInRange ¶
func (o *NSIndexSet) CountOfIndexesInRange(range_ NSRange) uint
func (*NSIndexSet) EnumerateIndexesInRangeOptionsUsing ¶
func (o *NSIndexSet) EnumerateIndexesInRangeOptionsUsing(range_ NSRange, opts NSEnumerationOptions, block func(uint, *bool))
func (*NSIndexSet) EnumerateIndexesUsing ¶
func (o *NSIndexSet) EnumerateIndexesUsing(block func(uint, *bool))
func (*NSIndexSet) EnumerateIndexesWithOptionsUsing ¶
func (o *NSIndexSet) EnumerateIndexesWithOptionsUsing(opts NSEnumerationOptions, block func(uint, *bool))
func (*NSIndexSet) EnumerateRangesInRangeOptionsUsing ¶
func (o *NSIndexSet) EnumerateRangesInRangeOptionsUsing(range_ NSRange, opts NSEnumerationOptions, block objc.Block)
func (*NSIndexSet) EnumerateRangesUsing ¶
func (o *NSIndexSet) EnumerateRangesUsing(block objc.Block)
func (*NSIndexSet) EnumerateRangesWithOptionsUsing ¶
func (o *NSIndexSet) EnumerateRangesWithOptionsUsing(opts NSEnumerationOptions, block objc.Block)
func (*NSIndexSet) FirstIndex ¶
func (o *NSIndexSet) FirstIndex() uint
func (*NSIndexSet) GetIndexesMaxCountInIndexRange ¶
func (o *NSIndexSet) GetIndexesMaxCountInIndexRange(indexBuffer *uint, bufferSize uint, range_ *NSRange) uint
func (*NSIndexSet) IndexGreaterThanIndex ¶
func (o *NSIndexSet) IndexGreaterThanIndex(value uint) uint
func (*NSIndexSet) IndexGreaterThanOrEqualToIndex ¶
func (o *NSIndexSet) IndexGreaterThanOrEqualToIndex(value uint) uint
func (*NSIndexSet) IndexInRangeOptionsPassingTest ¶
func (o *NSIndexSet) IndexInRangeOptionsPassingTest(range_ NSRange, opts NSEnumerationOptions, predicate func(uint, *bool) bool) uint
func (*NSIndexSet) IndexLessThanIndex ¶
func (o *NSIndexSet) IndexLessThanIndex(value uint) uint
func (*NSIndexSet) IndexLessThanOrEqualToIndex ¶
func (o *NSIndexSet) IndexLessThanOrEqualToIndex(value uint) uint
func (*NSIndexSet) IndexPassingTest ¶
func (o *NSIndexSet) IndexPassingTest(predicate func(uint, *bool) bool) uint
func (*NSIndexSet) IndexWithOptionsPassingTest ¶
func (o *NSIndexSet) IndexWithOptionsPassingTest(opts NSEnumerationOptions, predicate func(uint, *bool) bool) uint
func (*NSIndexSet) IndexesInRangeOptionsPassingTest ¶
func (o *NSIndexSet) IndexesInRangeOptionsPassingTest(range_ NSRange, opts NSEnumerationOptions, predicate func(uint, *bool) bool) *NSIndexSet
func (*NSIndexSet) IndexesPassingTest ¶
func (o *NSIndexSet) IndexesPassingTest(predicate func(uint, *bool) bool) *NSIndexSet
func (*NSIndexSet) IndexesWithOptionsPassingTest ¶
func (o *NSIndexSet) IndexesWithOptionsPassingTest(opts NSEnumerationOptions, predicate func(uint, *bool) bool) *NSIndexSet
func (*NSIndexSet) InitWithIndex ¶
func (o *NSIndexSet) InitWithIndex(value uint) *NSIndexSet
func (*NSIndexSet) InitWithIndexSet ¶
func (o *NSIndexSet) InitWithIndexSet(indexSet *NSIndexSet) *NSIndexSet
func (*NSIndexSet) InitWithIndexesInRange ¶
func (o *NSIndexSet) InitWithIndexesInRange(range_ NSRange) *NSIndexSet
func (*NSIndexSet) IntersectsIndexesInRange ¶
func (o *NSIndexSet) IntersectsIndexesInRange(range_ NSRange) bool
func (*NSIndexSet) IsEqualToIndexSet ¶
func (o *NSIndexSet) IsEqualToIndexSet(indexSet *NSIndexSet) bool
func (*NSIndexSet) LastIndex ¶
func (o *NSIndexSet) LastIndex() uint
type NSIndexSpecifier ¶
type NSIndexSpecifier struct {
NSScriptObjectSpecifier
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsindexspecifier
func NSIndexSpecifierFromID ¶
func NSIndexSpecifierFromID(id objc.ID) *NSIndexSpecifier
func (*NSIndexSpecifier) Index ¶
func (o *NSIndexSpecifier) Index() int
func (*NSIndexSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyIndex ¶
func (o *NSIndexSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyIndex(classDesc *NSScriptClassDescription, container *NSScriptObjectSpecifier, property *NSString, index int) *NSIndexSpecifier
func (*NSIndexSpecifier) SetIndex ¶
func (o *NSIndexSpecifier) SetIndex(index int)
type NSInflectionRule ¶
type NSInflectionRule struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsinflectionrule
func NSInflectionRuleAutomaticRule ¶
func NSInflectionRuleAutomaticRule() *NSInflectionRule
func NSInflectionRuleFromID ¶
func NSInflectionRuleFromID(id objc.ID) *NSInflectionRule
type NSInflectionRuleExplicit ¶
type NSInflectionRuleExplicit struct {
NSInflectionRule
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsinflectionruleexplicit
func NSInflectionRuleExplicitFromID ¶
func NSInflectionRuleExplicitFromID(id objc.ID) *NSInflectionRuleExplicit
func (*NSInflectionRuleExplicit) InitWithMorphology ¶
func (o *NSInflectionRuleExplicit) InitWithMorphology(morphology *NSMorphology) *NSInflectionRuleExplicit
func (*NSInflectionRuleExplicit) Morphology ¶
func (o *NSInflectionRuleExplicit) Morphology() *NSMorphology
type NSInlinePresentationIntent ¶
type NSInlinePresentationIntent uint64
const ( NSInlinePresentationIntentEmphasized NSInlinePresentationIntent = 1 NSInlinePresentationIntentStronglyEmphasized NSInlinePresentationIntent = 2 NSInlinePresentationIntentCode NSInlinePresentationIntent = 4 NSInlinePresentationIntentStrikethrough NSInlinePresentationIntent = 32 NSInlinePresentationIntentSoftBreak NSInlinePresentationIntent = 64 NSInlinePresentationIntentLineBreak NSInlinePresentationIntent = 128 NSInlinePresentationIntentInlineHTML NSInlinePresentationIntent = 256 NSInlinePresentationIntentBlockHTML NSInlinePresentationIntent = 512 )
func (NSInlinePresentationIntent) String ¶
func (e NSInlinePresentationIntent) String() string
type NSInputStream ¶
type NSInputStream struct {
NSStream
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsinputstream
func NSInputStreamFromID ¶
func NSInputStreamFromID(id objc.ID) *NSInputStream
func NSInputStreamInputStreamWithData ¶
func NSInputStreamInputStreamWithData(data *NSData) *NSInputStream
func NSInputStreamInputStreamWithFileAtPath ¶
func NSInputStreamInputStreamWithFileAtPath(path *NSString) *NSInputStream
func NSInputStreamInputStreamWithURL ¶
func NSInputStreamInputStreamWithURL(url *NSURL) *NSInputStream
func (*NSInputStream) GetBufferLength ¶
func (o *NSInputStream) GetBufferLength(buffer *uint8, len_ *uint) bool
func (*NSInputStream) HasBytesAvailable ¶
func (o *NSInputStream) HasBytesAvailable() bool
func (*NSInputStream) InitWithData ¶
func (o *NSInputStream) InitWithData(data *NSData) *NSInputStream
func (*NSInputStream) InitWithFileAtPath ¶
func (o *NSInputStream) InitWithFileAtPath(path *NSString) *NSInputStream
func (*NSInputStream) InitWithURL ¶
func (o *NSInputStream) InitWithURL(url *NSURL) *NSInputStream
func (*NSInputStream) ReadMaxLength ¶
func (o *NSInputStream) ReadMaxLength(buffer *uint8, len_ uint) int
type NSInsertionPosition ¶
type NSInsertionPosition uint64
const ( NSPositionAfter NSInsertionPosition = 0 NSPositionBefore NSInsertionPosition = 1 NSPositionBeginning NSInsertionPosition = 2 NSPositionEnd NSInsertionPosition = 3 NSPositionReplace NSInsertionPosition = 4 )
func (NSInsertionPosition) String ¶
func (e NSInsertionPosition) String() string
type NSInvocation ¶
type NSInvocation struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsinvocation
func NSInvocationFromID ¶
func NSInvocationFromID(id objc.ID) *NSInvocation
func NSInvocationInvocationWithMethodSignature ¶
func NSInvocationInvocationWithMethodSignature(sig *NSMethodSignature) *NSInvocation
func (*NSInvocation) ArgumentsRetained ¶
func (o *NSInvocation) ArgumentsRetained() bool
func (*NSInvocation) GetArgumentAtIndex ¶
func (o *NSInvocation) GetArgumentAtIndex(argumentLocation unsafe.Pointer, idx int)
func (*NSInvocation) GetReturnValue ¶
func (o *NSInvocation) GetReturnValue(retLoc unsafe.Pointer)
func (*NSInvocation) Invoke ¶
func (o *NSInvocation) Invoke()
func (*NSInvocation) InvokeUsingIMP ¶
func (o *NSInvocation) InvokeUsingIMP(imp unsafe.Pointer)
func (*NSInvocation) InvokeWithTarget ¶
func (o *NSInvocation) InvokeWithTarget(target objc.ID)
func (*NSInvocation) MethodSignature ¶
func (o *NSInvocation) MethodSignature() *NSMethodSignature
func (*NSInvocation) RetainArguments ¶
func (o *NSInvocation) RetainArguments()
func (*NSInvocation) Selector ¶
func (o *NSInvocation) Selector() objc.SEL
func (*NSInvocation) SetArgumentAtIndex ¶
func (o *NSInvocation) SetArgumentAtIndex(argumentLocation unsafe.Pointer, idx int)
func (*NSInvocation) SetReturnValue ¶
func (o *NSInvocation) SetReturnValue(retLoc unsafe.Pointer)
func (*NSInvocation) SetSelector ¶
func (o *NSInvocation) SetSelector(selector objc.SEL)
func (*NSInvocation) SetTarget ¶
func (o *NSInvocation) SetTarget(target objc.ID)
func (*NSInvocation) Target ¶
func (o *NSInvocation) Target() objc.ID
type NSInvocationOperation ¶
type NSInvocationOperation struct {
NSOperation
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsinvocationoperation
func NSInvocationOperationFromID ¶
func NSInvocationOperationFromID(id objc.ID) *NSInvocationOperation
func (*NSInvocationOperation) InitWithInvocation ¶
func (o *NSInvocationOperation) InitWithInvocation(inv *NSInvocation) *NSInvocationOperation
func (*NSInvocationOperation) InitWithTargetSelectorObject ¶
func (o *NSInvocationOperation) InitWithTargetSelectorObject(target objc.ID, sel objc.SEL, arg objc.ID) *NSInvocationOperation
func (*NSInvocationOperation) Invocation ¶
func (o *NSInvocationOperation) Invocation() *NSInvocation
func (*NSInvocationOperation) Result ¶
func (o *NSInvocationOperation) Result() objc.ID
type NSItemProvider ¶
type NSItemProvider struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsitemprovider
func NSItemProviderFromID ¶
func NSItemProviderFromID(id objc.ID) *NSItemProvider
func (*NSItemProvider) CanLoadObjectOfClass ¶
func (o *NSItemProvider) CanLoadObjectOfClass(aClass unsafe.Pointer) bool
func (*NSItemProvider) HasItemConformingToTypeIdentifier ¶
func (o *NSItemProvider) HasItemConformingToTypeIdentifier(typeIdentifier *NSString) bool
func (*NSItemProvider) HasRepresentationConformingToTypeIdentifierFileOptions ¶
func (o *NSItemProvider) HasRepresentationConformingToTypeIdentifierFileOptions(typeIdentifier *NSString, fileOptions NSItemProviderFileOptions) bool
func (*NSItemProvider) Init ¶
func (o *NSItemProvider) Init() *NSItemProvider
func (*NSItemProvider) InitWithContentsOfURL ¶
func (o *NSItemProvider) InitWithContentsOfURL(fileURL *NSURL) *NSItemProvider
func (*NSItemProvider) InitWithItemTypeIdentifier ¶
func (o *NSItemProvider) InitWithItemTypeIdentifier(item NSSecureCoding, typeIdentifier *NSString) *NSItemProvider
func (*NSItemProvider) InitWithObject ¶
func (o *NSItemProvider) InitWithObject(object NSItemProviderWriting) *NSItemProvider
func (*NSItemProvider) LoadDataRepresentationForTypeIdentifierCompletionHandler ¶
func (o *NSItemProvider) LoadDataRepresentationForTypeIdentifierCompletionHandler(typeIdentifier *NSString, completionHandler func(*NSData, unsafe.Pointer)) *NSProgress
func (*NSItemProvider) LoadFileRepresentationForTypeIdentifierCompletionHandler ¶
func (o *NSItemProvider) LoadFileRepresentationForTypeIdentifierCompletionHandler(typeIdentifier *NSString, completionHandler func(*NSURL, unsafe.Pointer)) *NSProgress
func (*NSItemProvider) LoadInPlaceFileRepresentationForTypeIdentifierCompletionHandler ¶
func (o *NSItemProvider) LoadInPlaceFileRepresentationForTypeIdentifierCompletionHandler(typeIdentifier *NSString, completionHandler func(*NSURL, bool, unsafe.Pointer)) *NSProgress
func (*NSItemProvider) LoadItemForTypeIdentifierOptionsCompletionHandler ¶
func (*NSItemProvider) LoadObjectOfClassCompletionHandler ¶
func (o *NSItemProvider) LoadObjectOfClassCompletionHandler(aClass unsafe.Pointer, completionHandler func(objc.ID, unsafe.Pointer)) *NSProgress
func (*NSItemProvider) LoadPreviewImageWithOptionsCompletionHandler ¶
func (o *NSItemProvider) LoadPreviewImageWithOptionsCompletionHandler(options *NSDictionary[objc.ID, objc.ID], completionHandler func(objc.ID, unsafe.Pointer))
func (*NSItemProvider) PreviewImageHandler ¶
func (o *NSItemProvider) PreviewImageHandler() objc.Block
func (*NSItemProvider) RegisterDataRepresentationForTypeIdentifierVisibilityLoadHandler ¶
func (o *NSItemProvider) RegisterDataRepresentationForTypeIdentifierVisibilityLoadHandler(typeIdentifier *NSString, visibility NSItemProviderRepresentationVisibility, loadHandler objc.Block)
func (*NSItemProvider) RegisterFileRepresentationForTypeIdentifierFileOptionsVisibilityLoadHandler ¶
func (o *NSItemProvider) RegisterFileRepresentationForTypeIdentifierFileOptionsVisibilityLoadHandler(typeIdentifier *NSString, fileOptions NSItemProviderFileOptions, visibility NSItemProviderRepresentationVisibility, loadHandler objc.Block)
func (*NSItemProvider) RegisterItemForTypeIdentifierLoadHandler ¶
func (o *NSItemProvider) RegisterItemForTypeIdentifierLoadHandler(typeIdentifier *NSString, loadHandler objc.Block)
func (*NSItemProvider) RegisterObjectOfClassVisibilityLoadHandler ¶
func (o *NSItemProvider) RegisterObjectOfClassVisibilityLoadHandler(aClass unsafe.Pointer, visibility NSItemProviderRepresentationVisibility, loadHandler objc.Block)
func (*NSItemProvider) RegisterObjectVisibility ¶
func (o *NSItemProvider) RegisterObjectVisibility(object NSItemProviderWriting, visibility NSItemProviderRepresentationVisibility)
func (*NSItemProvider) RegisteredTypeIdentifiers ¶
func (o *NSItemProvider) RegisteredTypeIdentifiers() *NSArray[*NSString]
func (*NSItemProvider) RegisteredTypeIdentifiersWithFileOptions ¶
func (o *NSItemProvider) RegisteredTypeIdentifiersWithFileOptions(fileOptions NSItemProviderFileOptions) *NSArray[*NSString]
func (*NSItemProvider) SetPreviewImageHandler ¶
func (o *NSItemProvider) SetPreviewImageHandler(previewImageHandler objc.Block)
func (*NSItemProvider) SetSuggestedName ¶
func (o *NSItemProvider) SetSuggestedName(suggestedName *NSString)
func (*NSItemProvider) SuggestedName ¶
func (o *NSItemProvider) SuggestedName() *NSString
type NSItemProviderErrorCode ¶
type NSItemProviderErrorCode int64
const ( NSItemProviderUnknownError NSItemProviderErrorCode = -1 NSItemProviderUnexpectedValueClassError NSItemProviderErrorCode = -1100 )
func (NSItemProviderErrorCode) String ¶
func (e NSItemProviderErrorCode) String() string
type NSItemProviderFileOptions ¶
type NSItemProviderFileOptions int64
const (
NSItemProviderFileOptionOpenInPlace NSItemProviderFileOptions = 1
)
func (NSItemProviderFileOptions) String ¶
func (e NSItemProviderFileOptions) String() string
type NSItemProviderReading ¶
type NSItemProviderReading interface {
ObjectWithItemProviderDataTypeIdentifierError(data *NSData, typeIdentifier *NSString) (unsafe.Pointer, error)
ReadableTypeIdentifiersForItemProvider() *NSArray[*NSString]
}
NSItemProviderReading wraps the ObjC protocol NSItemProviderReading.
type NSItemProviderRepresentationVisibility ¶
type NSItemProviderRepresentationVisibility int64
const ( NSItemProviderRepresentationVisibilityAll NSItemProviderRepresentationVisibility = 0 NSItemProviderRepresentationVisibilityGroup NSItemProviderRepresentationVisibility = 2 NSItemProviderRepresentationVisibilityOwnProcess NSItemProviderRepresentationVisibility = 3 )
func (NSItemProviderRepresentationVisibility) String ¶
func (e NSItemProviderRepresentationVisibility) String() string
type NSItemProviderWriting ¶
type NSItemProviderWriting interface {
LoadDataWithTypeIdentifierForItemProviderCompletionHandler(typeIdentifier *NSString, completionHandler func(*NSData, unsafe.Pointer)) *NSProgress
WritableTypeIdentifiersForItemProvider() *NSArray[*NSString]
}
NSItemProviderWriting wraps the ObjC protocol NSItemProviderWriting.
type NSJSONReadingOptions ¶
type NSJSONReadingOptions uint64
const ( NSJSONReadingMutableContainers NSJSONReadingOptions = 1 NSJSONReadingMutableLeaves NSJSONReadingOptions = 2 NSJSONReadingFragmentsAllowed NSJSONReadingOptions = 4 NSJSONReadingJSON5Allowed NSJSONReadingOptions = 8 NSJSONReadingTopLevelDictionaryAssumed NSJSONReadingOptions = 16 NSJSONReadingAllowFragments NSJSONReadingOptions = 4 )
func (NSJSONReadingOptions) String ¶
func (e NSJSONReadingOptions) String() string
type NSJSONSerialization ¶
type NSJSONSerialization struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsjsonserialization
func NSJSONSerializationFromID ¶
func NSJSONSerializationFromID(id objc.ID) *NSJSONSerialization
type NSJSONWritingOptions ¶
type NSJSONWritingOptions uint64
const ( NSJSONWritingPrettyPrinted NSJSONWritingOptions = 1 NSJSONWritingSortedKeys NSJSONWritingOptions = 2 NSJSONWritingFragmentsAllowed NSJSONWritingOptions = 4 NSJSONWritingWithoutEscapingSlashes NSJSONWritingOptions = 8 )
func (NSJSONWritingOptions) String ¶
func (e NSJSONWritingOptions) String() string
type NSKeyValueChange ¶
type NSKeyValueChange uint64
const ( NSKeyValueChangeSetting NSKeyValueChange = 1 NSKeyValueChangeInsertion NSKeyValueChange = 2 NSKeyValueChangeRemoval NSKeyValueChange = 3 NSKeyValueChangeReplacement NSKeyValueChange = 4 )
func (NSKeyValueChange) String ¶
func (e NSKeyValueChange) String() string
type NSKeyValueObservingOptions ¶
type NSKeyValueObservingOptions uint64
const ( NSKeyValueObservingOptionNew NSKeyValueObservingOptions = 1 NSKeyValueObservingOptionOld NSKeyValueObservingOptions = 2 NSKeyValueObservingOptionInitial NSKeyValueObservingOptions = 4 NSKeyValueObservingOptionPrior NSKeyValueObservingOptions = 8 )
func (NSKeyValueObservingOptions) String ¶
func (e NSKeyValueObservingOptions) String() string
type NSKeyValueSetMutationKind ¶
type NSKeyValueSetMutationKind uint64
const ( NSKeyValueUnionSetMutation NSKeyValueSetMutationKind = 1 NSKeyValueMinusSetMutation NSKeyValueSetMutationKind = 2 NSKeyValueIntersectSetMutation NSKeyValueSetMutationKind = 3 NSKeyValueSetSetMutation NSKeyValueSetMutationKind = 4 )
func (NSKeyValueSetMutationKind) String ¶
func (e NSKeyValueSetMutationKind) String() string
type NSKeyValueSharedObservers ¶
type NSKeyValueSharedObservers struct {
}
Apple documentation: https://developer.apple.com/documentation/foundation/nskeyvaluesharedobservers
func NSKeyValueSharedObserversFromID ¶
func NSKeyValueSharedObserversFromID(id objc.ID) *NSKeyValueSharedObservers
func (*NSKeyValueSharedObservers) AddSharedObserverForKeyOptionsContext ¶
func (o *NSKeyValueSharedObservers) AddSharedObserverForKeyOptionsContext(observer *NSObject, key *NSString, options NSKeyValueObservingOptions, context_ unsafe.Pointer)
Add a new observer to the collection. This method works like `-[NSObject addObserver: forKey: options: context:]`, but observations on nested and computed properties are disallowed. Observers are not registered until `setSharedObservers` is called on the observable. - Parameter observer: The observer object to register for KVO notifications. The observer must implement the key-value observing method “observeValue: forKeyPath: of: change: context:“ - Parameter key: key of the property being observed. This cannot be a nested key path or a computed property - Parameter options: A combination of NSKeyValueObservingOptions values that specify what is included in observation notifications. For possible values see NSKeyValueObservingOptions. - Parameter context: Arbitrary data which is passed to the observer object
func (*NSKeyValueSharedObservers) InitWithObservableClass ¶
func (o *NSKeyValueSharedObservers) InitWithObservableClass(observableClass objc.Class) objc.ID
A new collection of observables for an observable object of the given class
func (*NSKeyValueSharedObservers) Snapshot ¶
func (o *NSKeyValueSharedObservers) Snapshot() *NSKeyValueSharedObserversSnapshot
A momentary snapshot of all observers added to the collection thus far, that can be assigned to an observable using “-[NSObject setSharedObservers:]“
type NSKeyValueSharedObserversSnapshot ¶
type NSKeyValueSharedObserversSnapshot struct {
}
Apple documentation: https://developer.apple.com/documentation/foundation/nskeyvaluesharedobserverssnapshot
func NSKeyValueSharedObserversSnapshotFromID ¶
func NSKeyValueSharedObserversSnapshotFromID(id objc.ID) *NSKeyValueSharedObserversSnapshot
type NSKeyedArchiver ¶
type NSKeyedArchiver struct {
NSCoder
}
Apple documentation: https://developer.apple.com/documentation/foundation/nskeyedarchiver
func NSKeyedArchiverFromID ¶
func NSKeyedArchiverFromID(id objc.ID) *NSKeyedArchiver
func (*NSKeyedArchiver) ClassNameForClass ¶
func (o *NSKeyedArchiver) ClassNameForClass(cls objc.Class) *NSString
func (*NSKeyedArchiver) Delegate
deprecated
func (o *NSKeyedArchiver) Delegate() NSKeyedArchiverDelegate
Deprecated: Use +archivedDataWithRootObject:requiringSecureCoding:error: and -writeToURL:options:error: instead
func (*NSKeyedArchiver) EncodedData ¶
func (o *NSKeyedArchiver) EncodedData() *NSData
If encoding has not yet finished, then invoking this property will call finishEncoding and return the data. If you initialized the keyed archiver with a specific mutable data instance, then it will be returned from this property after finishEncoding is called.
func (*NSKeyedArchiver) FinishEncoding ¶
func (o *NSKeyedArchiver) FinishEncoding()
func (*NSKeyedArchiver) Init ¶
func (o *NSKeyedArchiver) Init() *NSKeyedArchiver
Initialize the archiver with empty data, ready for writing. Deprecated: Use -initRequiringSecureCoding: instead
func (*NSKeyedArchiver) InitForWritingWithMutableData
deprecated
func (o *NSKeyedArchiver) InitForWritingWithMutableData(data *NSMutableData) *NSKeyedArchiver
Deprecated: Use -initRequiringSecureCoding: instead
func (*NSKeyedArchiver) InitRequiringSecureCoding ¶
func (o *NSKeyedArchiver) InitRequiringSecureCoding(requiresSecureCoding bool) *NSKeyedArchiver
Initializes the receiver for encoding an archive, optionally disabling secure coding. If \c NSSecureCoding cannot be used, \c requiresSecureCoding may be turned off here; for improved security, however, \c requiresSecureCoding should be left enabled whenever possible. \c requiresSecureCoding ensures that all encoded objects conform to \c NSSecureCoding, preventing the possibility of encoding objects which cannot be decoded later. To produce archives whose structure matches those previously encoded using \c +archivedDataWithRootObject, encode the top-level object in your archive for the \c NSKeyedArchiveRootObjectKey.
func (*NSKeyedArchiver) OutputFormat ¶
func (o *NSKeyedArchiver) OutputFormat() NSPropertyListFormat
func (*NSKeyedArchiver) SetClassNameForClass ¶
func (o *NSKeyedArchiver) SetClassNameForClass(codedName *NSString, cls objc.Class)
func (*NSKeyedArchiver) SetDelegate ¶
func (o *NSKeyedArchiver) SetDelegate(delegate NSKeyedArchiverDelegate)
func (*NSKeyedArchiver) SetOutputFormat ¶
func (o *NSKeyedArchiver) SetOutputFormat(outputFormat NSPropertyListFormat)
func (*NSKeyedArchiver) SetRequiresSecureCoding ¶
func (o *NSKeyedArchiver) SetRequiresSecureCoding(requiresSecureCoding bool)
type NSKeyedArchiverDelegate ¶
type NSKeyedArchiverDelegate interface {
}
NSKeyedArchiverDelegate wraps the ObjC protocol NSKeyedArchiverDelegate.
type NSKeyedUnarchiver ¶
type NSKeyedUnarchiver struct {
NSCoder
}
Apple documentation: https://developer.apple.com/documentation/foundation/nskeyedunarchiver
func NSKeyedUnarchiverFromID ¶
func NSKeyedUnarchiverFromID(id objc.ID) *NSKeyedUnarchiver
func (*NSKeyedUnarchiver) ClassForClassName ¶
func (o *NSKeyedUnarchiver) ClassForClassName(codedName *NSString) objc.Class
func (*NSKeyedUnarchiver) Delegate
deprecated
func (o *NSKeyedUnarchiver) Delegate() NSKeyedUnarchiverDelegate
Deprecated: Use +unarchivedObjectOfClass:fromData:error: instead
func (*NSKeyedUnarchiver) FinishDecoding ¶
func (o *NSKeyedUnarchiver) FinishDecoding()
func (*NSKeyedUnarchiver) Init
deprecated
func (o *NSKeyedUnarchiver) Init() *NSKeyedUnarchiver
Deprecated: Use -initForReadingFromData:error: instead
func (*NSKeyedUnarchiver) InitForReadingFromDataError ¶
func (o *NSKeyedUnarchiver) InitForReadingFromDataError(data *NSData) (*NSKeyedUnarchiver, error)
Initializes the receiver for decoding an archive previously encoded by \c NSKeyedUnarchiver. Enables \c requiresSecureCoding by default. If \c NSSecureCoding cannot be used, \c requiresSecureCoding may be turned off manually; for improved security, \c requiresSecureCoding should be left enabled whenever possible. Sets the unarchiver's \c decodingFailurePolicy to \c NSDecodingFailurePolicySetErrorAndReturn. Returns \c nil if the given data is not valid, and sets the \c error out parameter.
func (*NSKeyedUnarchiver) InitForReadingWithData
deprecated
func (o *NSKeyedUnarchiver) InitForReadingWithData(data *NSData) *NSKeyedUnarchiver
Deprecated: Use -initForReadingFromData:error: instead
func (*NSKeyedUnarchiver) SetClassForClassName ¶
func (o *NSKeyedUnarchiver) SetClassForClassName(cls objc.Class, codedName *NSString)
func (*NSKeyedUnarchiver) SetDecodingFailurePolicy ¶
func (o *NSKeyedUnarchiver) SetDecodingFailurePolicy(decodingFailurePolicy NSDecodingFailurePolicy)
func (*NSKeyedUnarchiver) SetDelegate ¶
func (o *NSKeyedUnarchiver) SetDelegate(delegate NSKeyedUnarchiverDelegate)
func (*NSKeyedUnarchiver) SetRequiresSecureCoding ¶
func (o *NSKeyedUnarchiver) SetRequiresSecureCoding(requiresSecureCoding bool)
type NSKeyedUnarchiverDelegate ¶
type NSKeyedUnarchiverDelegate interface {
}
NSKeyedUnarchiverDelegate wraps the ObjC protocol NSKeyedUnarchiverDelegate.
type NSLengthFormatter ¶
type NSLengthFormatter struct {
NSFormatter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nslengthformatter
func NSLengthFormatterFromID ¶
func NSLengthFormatterFromID(id objc.ID) *NSLengthFormatter
func (*NSLengthFormatter) IsForPersonHeightUse ¶
func (o *NSLengthFormatter) IsForPersonHeightUse() bool
func (*NSLengthFormatter) NumberFormatter ¶
func (o *NSLengthFormatter) NumberFormatter() *NSNumberFormatter
func (*NSLengthFormatter) SetForPersonHeightUse ¶
func (o *NSLengthFormatter) SetForPersonHeightUse(forPersonHeightUse bool)
func (*NSLengthFormatter) SetNumberFormatter ¶
func (o *NSLengthFormatter) SetNumberFormatter(numberFormatter *NSNumberFormatter)
func (*NSLengthFormatter) SetUnitStyle ¶
func (o *NSLengthFormatter) SetUnitStyle(unitStyle NSFormattingUnitStyle)
func (*NSLengthFormatter) StringFromMeters ¶
func (o *NSLengthFormatter) StringFromMeters(numberInMeters float64) *NSString
func (*NSLengthFormatter) StringFromValueUnit ¶
func (o *NSLengthFormatter) StringFromValueUnit(value float64, unit NSLengthFormatterUnit) *NSString
func (*NSLengthFormatter) UnitStringFromMetersUsedUnit ¶
func (o *NSLengthFormatter) UnitStringFromMetersUsedUnit(numberInMeters float64, unitp *NSLengthFormatterUnit) *NSString
func (*NSLengthFormatter) UnitStringFromValueUnit ¶
func (o *NSLengthFormatter) UnitStringFromValueUnit(value float64, unit NSLengthFormatterUnit) *NSString
func (*NSLengthFormatter) UnitStyle ¶
func (o *NSLengthFormatter) UnitStyle() NSFormattingUnitStyle
type NSLengthFormatterUnit ¶
type NSLengthFormatterUnit int64
const ( NSLengthFormatterUnitMillimeter NSLengthFormatterUnit = 8 NSLengthFormatterUnitCentimeter NSLengthFormatterUnit = 9 NSLengthFormatterUnitMeter NSLengthFormatterUnit = 11 NSLengthFormatterUnitKilometer NSLengthFormatterUnit = 14 NSLengthFormatterUnitInch NSLengthFormatterUnit = 1281 NSLengthFormatterUnitFoot NSLengthFormatterUnit = 1282 NSLengthFormatterUnitYard NSLengthFormatterUnit = 1283 NSLengthFormatterUnitMile NSLengthFormatterUnit = 1284 )
func (NSLengthFormatterUnit) String ¶
func (e NSLengthFormatterUnit) String() string
type NSLinguisticTagger ¶
type NSLinguisticTagger struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nslinguistictagger Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTaggerFromID ¶
func NSLinguisticTaggerFromID(id objc.ID) *NSLinguisticTagger
func (*NSLinguisticTagger) DominantLanguage
deprecated
func (o *NSLinguisticTagger) DominantLanguage() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) EnumerateTagsInRangeSchemeOptionsUsing
deprecated
func (o *NSLinguisticTagger) EnumerateTagsInRangeSchemeOptionsUsing(range_ NSRange, tagScheme *NSString, opts NSLinguisticTaggerOptions, block objc.Block)
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) EnumerateTagsInRangeUnitSchemeOptionsUsing
deprecated
func (o *NSLinguisticTagger) EnumerateTagsInRangeUnitSchemeOptionsUsing(range_ NSRange, unit NSLinguisticTaggerUnit, scheme *NSString, options NSLinguisticTaggerOptions, block objc.Block)
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) InitWithTagSchemesOptions
deprecated
func (o *NSLinguisticTagger) InitWithTagSchemesOptions(tagSchemes *NSArray[*NSString], opts uint) *NSLinguisticTagger
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) OrthographyAtIndexEffectiveRange
deprecated
func (o *NSLinguisticTagger) OrthographyAtIndexEffectiveRange(charIndex uint, effectiveRange *NSRange) *NSOrthography
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) PossibleTagsAtIndexSchemeTokenRangeSentenceRangeScores
deprecated
func (o *NSLinguisticTagger) PossibleTagsAtIndexSchemeTokenRangeSentenceRangeScores(charIndex uint, tagScheme *NSString, tokenRange *NSRange, sentenceRange *NSRange, scores *NSArray[*NSValue]) *NSArray[*NSString]
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) SentenceRangeForRange
deprecated
func (o *NSLinguisticTagger) SentenceRangeForRange(range_ NSRange) NSRange
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) SetOrthographyRange
deprecated
func (o *NSLinguisticTagger) SetOrthographyRange(orthography *NSOrthography, range_ NSRange)
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) SetString
deprecated
func (o *NSLinguisticTagger) SetString(string_ *NSString)
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) String
deprecated
func (o *NSLinguisticTagger) String() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) StringEditedInRangeChangeInLength
deprecated
func (o *NSLinguisticTagger) StringEditedInRangeChangeInLength(newRange NSRange, delta int)
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) TagAtIndexSchemeTokenRangeSentenceRange
deprecated
func (*NSLinguisticTagger) TagAtIndexUnitSchemeTokenRange
deprecated
func (o *NSLinguisticTagger) TagAtIndexUnitSchemeTokenRange(charIndex uint, unit NSLinguisticTaggerUnit, scheme *NSString, tokenRange *NSRange) *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) TagSchemes
deprecated
func (o *NSLinguisticTagger) TagSchemes() *NSArray[*NSString]
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) TagsInRangeSchemeOptionsTokenRanges
deprecated
func (o *NSLinguisticTagger) TagsInRangeSchemeOptionsTokenRanges(range_ NSRange, tagScheme *NSString, opts NSLinguisticTaggerOptions, tokenRanges *NSArray[*NSValue]) *NSArray[*NSString]
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) TagsInRangeUnitSchemeOptionsTokenRanges
deprecated
func (o *NSLinguisticTagger) TagsInRangeUnitSchemeOptionsTokenRanges(range_ NSRange, unit NSLinguisticTaggerUnit, scheme *NSString, options NSLinguisticTaggerOptions, tokenRanges *NSArray[*NSValue]) *NSArray[*NSString]
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSLinguisticTagger) TokenRangeAtIndexUnit
deprecated
func (o *NSLinguisticTagger) TokenRangeAtIndexUnit(charIndex uint, unit NSLinguisticTaggerUnit) NSRange
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
type NSLinguisticTaggerOptions ¶
type NSLinguisticTaggerOptions uint64
const ( NSLinguisticTaggerOmitWords NSLinguisticTaggerOptions = 1 NSLinguisticTaggerOmitPunctuation NSLinguisticTaggerOptions = 2 NSLinguisticTaggerOmitWhitespace NSLinguisticTaggerOptions = 4 NSLinguisticTaggerOmitOther NSLinguisticTaggerOptions = 8 NSLinguisticTaggerJoinNames NSLinguisticTaggerOptions = 16 )
func (NSLinguisticTaggerOptions) String ¶
func (e NSLinguisticTaggerOptions) String() string
type NSLinguisticTaggerUnit ¶
type NSLinguisticTaggerUnit int64
const ( NSLinguisticTaggerUnitWord NSLinguisticTaggerUnit = 0 NSLinguisticTaggerUnitSentence NSLinguisticTaggerUnit = 1 NSLinguisticTaggerUnitParagraph NSLinguisticTaggerUnit = 2 NSLinguisticTaggerUnitDocument NSLinguisticTaggerUnit = 3 )
func (NSLinguisticTaggerUnit) String ¶
func (e NSLinguisticTaggerUnit) String() string
type NSListFormatter ¶
type NSListFormatter struct {
NSFormatter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nslistformatter
func NSListFormatterFromID ¶
func NSListFormatterFromID(id objc.ID) *NSListFormatter
func (*NSListFormatter) ItemFormatter ¶
func (o *NSListFormatter) ItemFormatter() *NSFormatter
func (*NSListFormatter) Locale ¶
func (o *NSListFormatter) Locale() *NSLocale
func (*NSListFormatter) SetItemFormatter ¶
func (o *NSListFormatter) SetItemFormatter(itemFormatter *NSFormatter)
func (*NSListFormatter) SetLocale ¶
func (o *NSListFormatter) SetLocale(locale *NSLocale)
func (*NSListFormatter) StringFromItems ¶
func (o *NSListFormatter) StringFromItems(items *NSArray[objc.ID]) *NSString
type NSLocale ¶
type NSLocale struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nslocale
func NSLocaleAutoupdatingCurrentLocale ¶
func NSLocaleAutoupdatingCurrentLocale() *NSLocale
func NSLocaleCurrentLocale ¶
func NSLocaleCurrentLocale() *NSLocale
func NSLocaleFromID ¶
func NSLocaleSystemLocale ¶
func NSLocaleSystemLocale() *NSLocale
func (*NSLocale) AlternateQuotationBeginDelimiter ¶
func (*NSLocale) AlternateQuotationEndDelimiter ¶
func (*NSLocale) CalendarIdentifier ¶
func (*NSLocale) CollationIdentifier ¶
func (*NSLocale) CollatorIdentifier ¶
func (*NSLocale) CountryCode
deprecated
func (*NSLocale) CurrencyCode ¶
func (*NSLocale) CurrencySymbol ¶
func (*NSLocale) DecimalSeparator ¶
func (*NSLocale) DisplayNameForKeyValue ¶
func (*NSLocale) ExemplarCharacterSet ¶
func (o *NSLocale) ExemplarCharacterSet() *NSCharacterSet
func (*NSLocale) GroupingSeparator ¶
func (*NSLocale) InitWithCoder ¶
func (*NSLocale) InitWithLocaleIdentifier ¶
func (*NSLocale) LanguageCode ¶
func (*NSLocale) LanguageIdentifier ¶
Returns the identifier for the language part of the locale. For example, returns "en-US" for "en_US@rg=gbzzzz" locale.
func (*NSLocale) LocaleIdentifier ¶
func (*NSLocale) LocalizedStringForCalendarIdentifier ¶
func (*NSLocale) LocalizedStringForCollationIdentifier ¶
func (*NSLocale) LocalizedStringForCollatorIdentifier ¶
func (*NSLocale) LocalizedStringForCountryCode ¶
func (*NSLocale) LocalizedStringForCurrencyCode ¶
func (*NSLocale) LocalizedStringForLanguageCode ¶
func (*NSLocale) LocalizedStringForLocaleIdentifier ¶
func (*NSLocale) LocalizedStringForScriptCode ¶
func (*NSLocale) LocalizedStringForVariantCode ¶
func (*NSLocale) QuotationBeginDelimiter ¶
func (*NSLocale) QuotationEndDelimiter ¶
func (*NSLocale) RegionCode ¶
Returns the region code of the locale. If the `rg` subtag is present, the value of the subtag will be used. For example, returns "GB" for "en_US@rg=gbzzzz" locale. If the `localeIdentifier` doesn’t contain a region, returns `nil`.
func (*NSLocale) ScriptCode ¶
func (*NSLocale) UsesMetricSystem ¶
func (*NSLocale) VariantCode ¶
type NSLocaleLanguageDirection ¶
type NSLocaleLanguageDirection uint64
const ( NSLocaleLanguageDirectionUnknown NSLocaleLanguageDirection = 0 NSLocaleLanguageDirectionLeftToRight NSLocaleLanguageDirection = 1 NSLocaleLanguageDirectionRightToLeft NSLocaleLanguageDirection = 2 NSLocaleLanguageDirectionTopToBottom NSLocaleLanguageDirection = 3 NSLocaleLanguageDirectionBottomToTop NSLocaleLanguageDirection = 4 )
func NSLocaleCharacterDirectionForLanguage ¶
func NSLocaleCharacterDirectionForLanguage(isoLangCode *NSString) NSLocaleLanguageDirection
func NSLocaleLineDirectionForLanguage ¶
func NSLocaleLineDirectionForLanguage(isoLangCode *NSString) NSLocaleLanguageDirection
func (NSLocaleLanguageDirection) String ¶
func (e NSLocaleLanguageDirection) String() string
type NSLocalizedNumberFormatRule ¶
type NSLocalizedNumberFormatRule struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nslocalizednumberformatrule
func NSLocalizedNumberFormatRuleAutomatic ¶
func NSLocalizedNumberFormatRuleAutomatic() *NSLocalizedNumberFormatRule
func NSLocalizedNumberFormatRuleFromID ¶
func NSLocalizedNumberFormatRuleFromID(id objc.ID) *NSLocalizedNumberFormatRule
type NSLock ¶
type NSLock struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nslock
func NSLockFromID ¶
func (*NSLock) LockBeforeDate ¶
type NSLocking ¶
type NSLocking interface {
Lock()
Unlock()
}
NSLocking wraps the ObjC protocol NSLocking.
type NSLogicalTest ¶
type NSLogicalTest struct {
NSScriptWhoseTest
}
Apple documentation: https://developer.apple.com/documentation/foundation/nslogicaltest
func NSLogicalTestFromID ¶
func NSLogicalTestFromID(id objc.ID) *NSLogicalTest
func (*NSLogicalTest) InitAndTestWithTests ¶
func (o *NSLogicalTest) InitAndTestWithTests(subTests *NSArray[*NSSpecifierTest]) *NSLogicalTest
func (*NSLogicalTest) InitNotTestWithTest ¶
func (o *NSLogicalTest) InitNotTestWithTest(subTest *NSScriptWhoseTest) *NSLogicalTest
func (*NSLogicalTest) InitOrTestWithTests ¶
func (o *NSLogicalTest) InitOrTestWithTests(subTests *NSArray[*NSSpecifierTest]) *NSLogicalTest
type NSMachBootstrapServer ¶
type NSMachBootstrapServer struct {
NSPortNameServer
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmachbootstrapserver Deprecated: Use NSXPCConnection instead
func NSMachBootstrapServerFromID ¶
func NSMachBootstrapServerFromID(id objc.ID) *NSMachBootstrapServer
func (*NSMachBootstrapServer) ServicePortWithName ¶
func (o *NSMachBootstrapServer) ServicePortWithName(name *NSString) *NSPort
type NSMachPort ¶
type NSMachPort struct {
NSPort
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmachport
func NSMachPortFromID ¶
func NSMachPortFromID(id objc.ID) *NSMachPort
func (*NSMachPort) InitWithMachPort ¶
func (o *NSMachPort) InitWithMachPort(machPort uint32) *NSMachPort
func (*NSMachPort) InitWithMachPortOptions ¶
func (o *NSMachPort) InitWithMachPortOptions(machPort uint32, f NSMachPortOptions) *NSMachPort
func (*NSMachPort) MachPort ¶
func (o *NSMachPort) MachPort() uint32
type NSMachPortDelegate ¶
type NSMachPortDelegate interface {
NSPortDelegate
}
NSMachPortDelegate wraps the ObjC protocol NSMachPortDelegate.
type NSMachPortOptions ¶
type NSMachPortOptions uint64
const ( NSMachPortDeallocateNone NSMachPortOptions = 0 NSMachPortDeallocateSendRight NSMachPortOptions = 1 NSMachPortDeallocateReceiveRight NSMachPortOptions = 2 )
func (NSMachPortOptions) String ¶
func (e NSMachPortOptions) String() string
type NSMapEnumerator ¶
type NSMapEnumerator struct {
}
func NSEnumerateMapTable ¶
func NSEnumerateMapTable(table *NSMapTable[objc.ID, objc.ID]) NSMapEnumerator
type NSMapTable ¶
Apple documentation: https://developer.apple.com/documentation/foundation/nsmaptable
func NSMapTableFromID ¶
func NSMapTableMapTableWithKeyOptionsValueOptions ¶
func NSMapTableMapTableWithKeyOptionsValueOptions(keyOptions NSPointerFunctionsOptions, valueOptions NSPointerFunctionsOptions) *NSMapTable[objc.ID, objc.ID]
func NSMapTableStrongToStrongObjectsMapTable ¶
func NSMapTableStrongToStrongObjectsMapTable() *NSMapTable[objc.ID, objc.ID]
func NSMapTableStrongToWeakObjectsMapTable ¶
func NSMapTableStrongToWeakObjectsMapTable() *NSMapTable[objc.ID, objc.ID]
func NSMapTableWeakToStrongObjectsMapTable ¶
func NSMapTableWeakToStrongObjectsMapTable() *NSMapTable[objc.ID, objc.ID]
func NSMapTableWeakToWeakObjectsMapTable ¶
func NSMapTableWeakToWeakObjectsMapTable() *NSMapTable[objc.ID, objc.ID]
func (*NSMapTable[KeyType, ObjectType]) Count ¶
func (o *NSMapTable[KeyType, ObjectType]) Count() uint
func (*NSMapTable[KeyType, ObjectType]) DictionaryRepresentation ¶
func (o *NSMapTable[KeyType, ObjectType]) DictionaryRepresentation() *NSDictionary[KeyType, ObjectType]
func (*NSMapTable[KeyType, ObjectType]) InitWithKeyOptionsValueOptionsCapacity ¶
func (o *NSMapTable[KeyType, ObjectType]) InitWithKeyOptionsValueOptionsCapacity(keyOptions NSPointerFunctionsOptions, valueOptions NSPointerFunctionsOptions, initialCapacity uint) *NSMapTable[KeyType, ObjectType]
func (*NSMapTable[KeyType, ObjectType]) InitWithKeyPointerFunctionsValuePointerFunctionsCapacity ¶
func (o *NSMapTable[KeyType, ObjectType]) InitWithKeyPointerFunctionsValuePointerFunctionsCapacity(keyFunctions *NSPointerFunctions, valueFunctions *NSPointerFunctions, initialCapacity uint) *NSMapTable[KeyType, ObjectType]
func (*NSMapTable[KeyType, ObjectType]) KeyEnumerator ¶
func (o *NSMapTable[KeyType, ObjectType]) KeyEnumerator() *NSEnumerator[KeyType]
func (*NSMapTable[KeyType, ObjectType]) KeyPointerFunctions ¶
func (o *NSMapTable[KeyType, ObjectType]) KeyPointerFunctions() *NSPointerFunctions
func (*NSMapTable[KeyType, ObjectType]) ObjectEnumerator ¶
func (o *NSMapTable[KeyType, ObjectType]) ObjectEnumerator() *NSEnumerator[ObjectType]
func (*NSMapTable[KeyType, ObjectType]) ObjectForKey ¶
func (o *NSMapTable[KeyType, ObjectType]) ObjectForKey(aKey KeyType) ObjectType
func (*NSMapTable[KeyType, ObjectType]) RemoveAllObjects ¶
func (o *NSMapTable[KeyType, ObjectType]) RemoveAllObjects()
func (*NSMapTable[KeyType, ObjectType]) RemoveObjectForKey ¶
func (o *NSMapTable[KeyType, ObjectType]) RemoveObjectForKey(aKey KeyType)
func (*NSMapTable[KeyType, ObjectType]) SetObjectForKey ¶
func (o *NSMapTable[KeyType, ObjectType]) SetObjectForKey(anObject ObjectType, aKey KeyType)
func (*NSMapTable[KeyType, ObjectType]) ValuePointerFunctions ¶
func (o *NSMapTable[KeyType, ObjectType]) ValuePointerFunctions() *NSPointerFunctions
type NSMapTableKeyCallBacks ¶
type NSMapTableKeyCallBacks struct {
Hash unsafe.Pointer
IsEqual unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
Describe unsafe.Pointer
NotAKeyMarker unsafe.Pointer
}
func NSIntMapKeyCallBacks
deprecated
func NSIntMapKeyCallBacks() NSMapTableKeyCallBacks
Deprecated: Not supported
func NSIntegerMapKeyCallBacks ¶
func NSIntegerMapKeyCallBacks() NSMapTableKeyCallBacks
func NSNonOwnedPointerMapKeyCallBacks ¶
func NSNonOwnedPointerMapKeyCallBacks() NSMapTableKeyCallBacks
func NSNonOwnedPointerOrNullMapKeyCallBacks ¶
func NSNonOwnedPointerOrNullMapKeyCallBacks() NSMapTableKeyCallBacks
func NSNonRetainedObjectMapKeyCallBacks ¶
func NSNonRetainedObjectMapKeyCallBacks() NSMapTableKeyCallBacks
func NSObjectMapKeyCallBacks ¶
func NSObjectMapKeyCallBacks() NSMapTableKeyCallBacks
func NSOwnedPointerMapKeyCallBacks ¶
func NSOwnedPointerMapKeyCallBacks() NSMapTableKeyCallBacks
type NSMapTableValueCallBacks ¶
type NSMapTableValueCallBacks struct {
Retain unsafe.Pointer
Release unsafe.Pointer
Describe unsafe.Pointer
}
func NSIntMapValueCallBacks
deprecated
func NSIntMapValueCallBacks() NSMapTableValueCallBacks
Deprecated: Not supported
func NSIntegerMapValueCallBacks ¶
func NSIntegerMapValueCallBacks() NSMapTableValueCallBacks
func NSNonOwnedPointerMapValueCallBacks ¶
func NSNonOwnedPointerMapValueCallBacks() NSMapTableValueCallBacks
func NSNonRetainedObjectMapValueCallBacks ¶
func NSNonRetainedObjectMapValueCallBacks() NSMapTableValueCallBacks
func NSObjectMapValueCallBacks ¶
func NSObjectMapValueCallBacks() NSMapTableValueCallBacks
func NSOwnedPointerMapValueCallBacks ¶
func NSOwnedPointerMapValueCallBacks() NSMapTableValueCallBacks
type NSMassFormatter ¶
type NSMassFormatter struct {
NSFormatter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmassformatter
func NSMassFormatterFromID ¶
func NSMassFormatterFromID(id objc.ID) *NSMassFormatter
func (*NSMassFormatter) IsForPersonMassUse ¶
func (o *NSMassFormatter) IsForPersonMassUse() bool
func (*NSMassFormatter) NumberFormatter ¶
func (o *NSMassFormatter) NumberFormatter() *NSNumberFormatter
func (*NSMassFormatter) SetForPersonMassUse ¶
func (o *NSMassFormatter) SetForPersonMassUse(forPersonMassUse bool)
func (*NSMassFormatter) SetNumberFormatter ¶
func (o *NSMassFormatter) SetNumberFormatter(numberFormatter *NSNumberFormatter)
func (*NSMassFormatter) SetUnitStyle ¶
func (o *NSMassFormatter) SetUnitStyle(unitStyle NSFormattingUnitStyle)
func (*NSMassFormatter) StringFromKilograms ¶
func (o *NSMassFormatter) StringFromKilograms(numberInKilograms float64) *NSString
func (*NSMassFormatter) StringFromValueUnit ¶
func (o *NSMassFormatter) StringFromValueUnit(value float64, unit NSMassFormatterUnit) *NSString
func (*NSMassFormatter) UnitStringFromKilogramsUsedUnit ¶
func (o *NSMassFormatter) UnitStringFromKilogramsUsedUnit(numberInKilograms float64, unitp *NSMassFormatterUnit) *NSString
func (*NSMassFormatter) UnitStringFromValueUnit ¶
func (o *NSMassFormatter) UnitStringFromValueUnit(value float64, unit NSMassFormatterUnit) *NSString
func (*NSMassFormatter) UnitStyle ¶
func (o *NSMassFormatter) UnitStyle() NSFormattingUnitStyle
type NSMassFormatterUnit ¶
type NSMassFormatterUnit int64
const ( NSMassFormatterUnitGram NSMassFormatterUnit = 11 NSMassFormatterUnitKilogram NSMassFormatterUnit = 14 NSMassFormatterUnitOunce NSMassFormatterUnit = 1537 NSMassFormatterUnitPound NSMassFormatterUnit = 1538 NSMassFormatterUnitStone NSMassFormatterUnit = 1539 )
func (NSMassFormatterUnit) String ¶
func (e NSMassFormatterUnit) String() string
type NSMatchingFlags ¶
type NSMatchingFlags uint64
const ( NSMatchingProgress NSMatchingFlags = 1 NSMatchingCompleted NSMatchingFlags = 2 NSMatchingHitEnd NSMatchingFlags = 4 NSMatchingRequiredEnd NSMatchingFlags = 8 NSMatchingInternalError NSMatchingFlags = 16 )
func (NSMatchingFlags) String ¶
func (e NSMatchingFlags) String() string
type NSMatchingOptions ¶
type NSMatchingOptions uint64
const ( NSMatchingReportProgress NSMatchingOptions = 1 NSMatchingReportCompletion NSMatchingOptions = 2 NSMatchingAnchored NSMatchingOptions = 4 NSMatchingWithTransparentBounds NSMatchingOptions = 8 NSMatchingWithoutAnchoringBounds NSMatchingOptions = 16 )
func (NSMatchingOptions) String ¶
func (e NSMatchingOptions) String() string
type NSMeasurement ¶
Apple documentation: https://developer.apple.com/documentation/foundation/nsmeasurement
func NSMeasurementFromID ¶
func NSMeasurementFromID[UnitType pureobjc.AnyObject](id objc.ID) *NSMeasurement[UnitType]
func (*NSMeasurement[UnitType]) CanBeConvertedToUnit ¶
func (o *NSMeasurement[UnitType]) CanBeConvertedToUnit(unit *NSUnit) bool
func (*NSMeasurement[UnitType]) DoubleValue ¶
func (o *NSMeasurement[UnitType]) DoubleValue() float64
func (*NSMeasurement[UnitType]) InitWithDoubleValueUnit ¶
func (o *NSMeasurement[UnitType]) InitWithDoubleValueUnit(doubleValue float64, unit UnitType) *NSMeasurement[UnitType]
func (*NSMeasurement[UnitType]) MeasurementByAddingMeasurement ¶
func (o *NSMeasurement[UnitType]) MeasurementByAddingMeasurement(measurement *NSMeasurement[UnitType]) *NSMeasurement[UnitType]
func (*NSMeasurement[UnitType]) MeasurementByConvertingToUnit ¶
func (o *NSMeasurement[UnitType]) MeasurementByConvertingToUnit(unit *NSUnit) *NSMeasurement[objc.ID]
func (*NSMeasurement[UnitType]) MeasurementBySubtractingMeasurement ¶
func (o *NSMeasurement[UnitType]) MeasurementBySubtractingMeasurement(measurement *NSMeasurement[UnitType]) *NSMeasurement[UnitType]
func (*NSMeasurement[UnitType]) Unit ¶
func (o *NSMeasurement[UnitType]) Unit() UnitType
type NSMeasurementFormatter ¶
type NSMeasurementFormatter struct {
NSFormatter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmeasurementformatter
func NSMeasurementFormatterFromID ¶
func NSMeasurementFormatterFromID(id objc.ID) *NSMeasurementFormatter
func (*NSMeasurementFormatter) Locale ¶
func (o *NSMeasurementFormatter) Locale() *NSLocale
func (*NSMeasurementFormatter) NumberFormatter ¶
func (o *NSMeasurementFormatter) NumberFormatter() *NSNumberFormatter
func (*NSMeasurementFormatter) SetLocale ¶
func (o *NSMeasurementFormatter) SetLocale(locale *NSLocale)
func (*NSMeasurementFormatter) SetNumberFormatter ¶
func (o *NSMeasurementFormatter) SetNumberFormatter(numberFormatter *NSNumberFormatter)
func (*NSMeasurementFormatter) SetUnitOptions ¶
func (o *NSMeasurementFormatter) SetUnitOptions(unitOptions NSMeasurementFormatterUnitOptions)
func (*NSMeasurementFormatter) SetUnitStyle ¶
func (o *NSMeasurementFormatter) SetUnitStyle(unitStyle NSFormattingUnitStyle)
func (*NSMeasurementFormatter) StringFromMeasurement ¶
func (o *NSMeasurementFormatter) StringFromMeasurement(measurement *NSMeasurement[objc.ID]) *NSString
func (*NSMeasurementFormatter) StringFromUnit ¶
func (o *NSMeasurementFormatter) StringFromUnit(unit *NSUnit) *NSString
func (*NSMeasurementFormatter) UnitOptions ¶
func (o *NSMeasurementFormatter) UnitOptions() NSMeasurementFormatterUnitOptions
func (*NSMeasurementFormatter) UnitStyle ¶
func (o *NSMeasurementFormatter) UnitStyle() NSFormattingUnitStyle
type NSMeasurementFormatterUnitOptions ¶
type NSMeasurementFormatterUnitOptions uint64
const ( NSMeasurementFormatterUnitOptionsProvidedUnit NSMeasurementFormatterUnitOptions = 1 NSMeasurementFormatterUnitOptionsNaturalScale NSMeasurementFormatterUnitOptions = 2 NSMeasurementFormatterUnitOptionsTemperatureWithoutUnit NSMeasurementFormatterUnitOptions = 4 )
func (NSMeasurementFormatterUnitOptions) String ¶
func (e NSMeasurementFormatterUnitOptions) String() string
type NSMessagePort ¶
type NSMessagePort struct {
NSPort
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmessageport
func NSMessagePortFromID ¶
func NSMessagePortFromID(id objc.ID) *NSMessagePort
type NSMessagePortNameServer ¶
type NSMessagePortNameServer struct {
NSPortNameServer
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmessageportnameserver Deprecated: Use NSXPCConnection instead
func NSMessagePortNameServerFromID ¶
func NSMessagePortNameServerFromID(id objc.ID) *NSMessagePortNameServer
type NSMetadataItem ¶
type NSMetadataItem struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmetadataitem
func NSMetadataItemFromID ¶
func NSMetadataItemFromID(id objc.ID) *NSMetadataItem
func (*NSMetadataItem) Attributes ¶
func (o *NSMetadataItem) Attributes() *NSArray[*NSString]
func (*NSMetadataItem) InitWithURL ¶
func (o *NSMetadataItem) InitWithURL(url *NSURL) *NSMetadataItem
func (*NSMetadataItem) ValueForAttribute ¶
func (o *NSMetadataItem) ValueForAttribute(key *NSString) objc.ID
func (*NSMetadataItem) ValuesForAttributes ¶
func (o *NSMetadataItem) ValuesForAttributes(keys *NSArray[*NSString]) *NSDictionary[*NSString, objc.ID]
type NSMetadataQuery ¶
type NSMetadataQuery struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmetadataquery
func NSMetadataQueryFromID ¶
func NSMetadataQueryFromID(id objc.ID) *NSMetadataQuery
func (*NSMetadataQuery) Delegate ¶
func (o *NSMetadataQuery) Delegate() NSMetadataQueryDelegate
func (*NSMetadataQuery) DisableUpdates ¶
func (o *NSMetadataQuery) DisableUpdates()
func (*NSMetadataQuery) EnableUpdates ¶
func (o *NSMetadataQuery) EnableUpdates()
func (*NSMetadataQuery) EnumerateResultsUsing ¶
func (o *NSMetadataQuery) EnumerateResultsUsing(block func(objc.ID, uint, *bool))
func (*NSMetadataQuery) EnumerateResultsWithOptionsUsing ¶
func (o *NSMetadataQuery) EnumerateResultsWithOptionsUsing(opts NSEnumerationOptions, block func(objc.ID, uint, *bool))
func (*NSMetadataQuery) GroupedResults ¶
func (o *NSMetadataQuery) GroupedResults() *NSArray[*NSMetadataQueryResultGroup]
func (*NSMetadataQuery) GroupingAttributes ¶
func (o *NSMetadataQuery) GroupingAttributes() *NSArray[*NSString]
func (*NSMetadataQuery) IndexOfResult ¶
func (o *NSMetadataQuery) IndexOfResult(result objc.ID) uint
func (*NSMetadataQuery) IsGathering ¶
func (o *NSMetadataQuery) IsGathering() bool
func (*NSMetadataQuery) IsStarted ¶
func (o *NSMetadataQuery) IsStarted() bool
func (*NSMetadataQuery) IsStopped ¶
func (o *NSMetadataQuery) IsStopped() bool
func (*NSMetadataQuery) NotificationBatchingInterval ¶
func (o *NSMetadataQuery) NotificationBatchingInterval() float64
func (*NSMetadataQuery) OperationQueue ¶
func (o *NSMetadataQuery) OperationQueue() *NSOperationQueue
func (*NSMetadataQuery) Predicate ¶
func (o *NSMetadataQuery) Predicate() *NSPredicate
func (*NSMetadataQuery) ResultAtIndex ¶
func (o *NSMetadataQuery) ResultAtIndex(idx uint) objc.ID
func (*NSMetadataQuery) ResultCount ¶
func (o *NSMetadataQuery) ResultCount() uint
func (*NSMetadataQuery) SearchItems ¶
func (o *NSMetadataQuery) SearchItems() *NSArray[objc.ID]
func (*NSMetadataQuery) SearchScopes ¶
func (o *NSMetadataQuery) SearchScopes() *NSArray[objc.ID]
func (*NSMetadataQuery) SetDelegate ¶
func (o *NSMetadataQuery) SetDelegate(delegate NSMetadataQueryDelegate)
func (*NSMetadataQuery) SetGroupingAttributes ¶
func (o *NSMetadataQuery) SetGroupingAttributes(groupingAttributes *NSArray[*NSString])
func (*NSMetadataQuery) SetNotificationBatchingInterval ¶
func (o *NSMetadataQuery) SetNotificationBatchingInterval(notificationBatchingInterval float64)
func (*NSMetadataQuery) SetOperationQueue ¶
func (o *NSMetadataQuery) SetOperationQueue(operationQueue *NSOperationQueue)
func (*NSMetadataQuery) SetPredicate ¶
func (o *NSMetadataQuery) SetPredicate(predicate *NSPredicate)
func (*NSMetadataQuery) SetSearchItems ¶
func (o *NSMetadataQuery) SetSearchItems(searchItems *NSArray[objc.ID])
func (*NSMetadataQuery) SetSearchScopes ¶
func (o *NSMetadataQuery) SetSearchScopes(searchScopes *NSArray[objc.ID])
func (*NSMetadataQuery) SetSortDescriptors ¶
func (o *NSMetadataQuery) SetSortDescriptors(sortDescriptors *NSArray[*NSSortDescriptor])
func (*NSMetadataQuery) SetValueListAttributes ¶
func (o *NSMetadataQuery) SetValueListAttributes(valueListAttributes *NSArray[*NSString])
func (*NSMetadataQuery) SortDescriptors ¶
func (o *NSMetadataQuery) SortDescriptors() *NSArray[*NSSortDescriptor]
func (*NSMetadataQuery) StartQuery ¶
func (o *NSMetadataQuery) StartQuery() bool
func (*NSMetadataQuery) StopQuery ¶
func (o *NSMetadataQuery) StopQuery()
func (*NSMetadataQuery) ValueListAttributes ¶
func (o *NSMetadataQuery) ValueListAttributes() *NSArray[*NSString]
func (*NSMetadataQuery) ValueLists ¶
func (o *NSMetadataQuery) ValueLists() *NSDictionary[*NSString, objc.ID]
func (*NSMetadataQuery) ValueOfAttributeForResultAtIndex ¶
func (o *NSMetadataQuery) ValueOfAttributeForResultAtIndex(attrName *NSString, idx uint) objc.ID
type NSMetadataQueryAttributeValueTuple ¶
type NSMetadataQueryAttributeValueTuple struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmetadataqueryattributevaluetuple
func NSMetadataQueryAttributeValueTupleFromID ¶
func NSMetadataQueryAttributeValueTupleFromID(id objc.ID) *NSMetadataQueryAttributeValueTuple
func (*NSMetadataQueryAttributeValueTuple) Attribute ¶
func (o *NSMetadataQueryAttributeValueTuple) Attribute() *NSString
func (*NSMetadataQueryAttributeValueTuple) Count ¶
func (o *NSMetadataQueryAttributeValueTuple) Count() uint
func (*NSMetadataQueryAttributeValueTuple) Value ¶
func (o *NSMetadataQueryAttributeValueTuple) Value() objc.ID
type NSMetadataQueryDelegate ¶
type NSMetadataQueryDelegate interface {
}
NSMetadataQueryDelegate wraps the ObjC protocol NSMetadataQueryDelegate.
type NSMetadataQueryResultGroup ¶
type NSMetadataQueryResultGroup struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmetadataqueryresultgroup
func NSMetadataQueryResultGroupFromID ¶
func NSMetadataQueryResultGroupFromID(id objc.ID) *NSMetadataQueryResultGroup
func (*NSMetadataQueryResultGroup) Attribute ¶
func (o *NSMetadataQueryResultGroup) Attribute() *NSString
func (*NSMetadataQueryResultGroup) ResultAtIndex ¶
func (o *NSMetadataQueryResultGroup) ResultAtIndex(idx uint) objc.ID
func (*NSMetadataQueryResultGroup) ResultCount ¶
func (o *NSMetadataQueryResultGroup) ResultCount() uint
func (*NSMetadataQueryResultGroup) Results ¶
func (o *NSMetadataQueryResultGroup) Results() *NSArray[objc.ID]
func (*NSMetadataQueryResultGroup) Subgroups ¶
func (o *NSMetadataQueryResultGroup) Subgroups() *NSArray[*NSMetadataQueryResultGroup]
func (*NSMetadataQueryResultGroup) Value ¶
func (o *NSMetadataQueryResultGroup) Value() objc.ID
type NSMethodSignature ¶
type NSMethodSignature struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmethodsignature
func NSMethodSignatureFromID ¶
func NSMethodSignatureFromID(id objc.ID) *NSMethodSignature
func NSMethodSignatureSignatureWithObjCTypes ¶
func NSMethodSignatureSignatureWithObjCTypes(types string) *NSMethodSignature
func NSObjectInstanceMethodSignatureForSelector ¶
func NSObjectInstanceMethodSignatureForSelector(aSelector objc.SEL) *NSMethodSignature
func (*NSMethodSignature) FrameLength ¶
func (o *NSMethodSignature) FrameLength() uint
func (*NSMethodSignature) GetArgumentTypeAtIndex ¶
func (o *NSMethodSignature) GetArgumentTypeAtIndex(idx uint) string
func (*NSMethodSignature) IsOneway ¶
func (o *NSMethodSignature) IsOneway() bool
func (*NSMethodSignature) MethodReturnLength ¶
func (o *NSMethodSignature) MethodReturnLength() uint
func (*NSMethodSignature) MethodReturnType ¶
func (o *NSMethodSignature) MethodReturnType() unsafe.Pointer
func (*NSMethodSignature) NumberOfArguments ¶
func (o *NSMethodSignature) NumberOfArguments() uint
type NSMorphology ¶
type NSMorphology struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmorphology
func NSMorphologyFromID ¶
func NSMorphologyFromID(id objc.ID) *NSMorphology
func NSMorphologyUserMorphology ¶
func NSMorphologyUserMorphology() *NSMorphology
func (*NSMorphology) CustomPronounForLanguage
deprecated
func (o *NSMorphology) CustomPronounForLanguage(language *NSString) *NSMorphologyCustomPronoun
Deprecated: Use NSTermOfAddress instead
func (*NSMorphology) Definiteness ¶
func (o *NSMorphology) Definiteness() NSGrammaticalDefiniteness
func (*NSMorphology) Determination ¶
func (o *NSMorphology) Determination() NSGrammaticalDetermination
func (*NSMorphology) GrammaticalCase ¶
func (o *NSMorphology) GrammaticalCase() NSGrammaticalCase
func (*NSMorphology) GrammaticalGender ¶
func (o *NSMorphology) GrammaticalGender() NSGrammaticalGender
func (*NSMorphology) GrammaticalPerson ¶
func (o *NSMorphology) GrammaticalPerson() NSGrammaticalPerson
func (*NSMorphology) IsUnspecified ¶
func (o *NSMorphology) IsUnspecified() bool
func (*NSMorphology) Number ¶
func (o *NSMorphology) Number() NSGrammaticalNumber
func (*NSMorphology) PartOfSpeech ¶
func (o *NSMorphology) PartOfSpeech() NSGrammaticalPartOfSpeech
func (*NSMorphology) PronounType ¶
func (o *NSMorphology) PronounType() NSGrammaticalPronounType
func (*NSMorphology) SetCustomPronounForLanguageError
deprecated
func (o *NSMorphology) SetCustomPronounForLanguageError(features *NSMorphologyCustomPronoun, language *NSString) (bool, error)
Deprecated: Use NSTermOfAddress instead
func (*NSMorphology) SetDefiniteness ¶
func (o *NSMorphology) SetDefiniteness(definiteness NSGrammaticalDefiniteness)
func (*NSMorphology) SetDetermination ¶
func (o *NSMorphology) SetDetermination(determination NSGrammaticalDetermination)
func (*NSMorphology) SetGrammaticalCase ¶
func (o *NSMorphology) SetGrammaticalCase(grammaticalCase NSGrammaticalCase)
func (*NSMorphology) SetGrammaticalGender ¶
func (o *NSMorphology) SetGrammaticalGender(grammaticalGender NSGrammaticalGender)
func (*NSMorphology) SetGrammaticalPerson ¶
func (o *NSMorphology) SetGrammaticalPerson(grammaticalPerson NSGrammaticalPerson)
func (*NSMorphology) SetNumber ¶
func (o *NSMorphology) SetNumber(number NSGrammaticalNumber)
func (*NSMorphology) SetPartOfSpeech ¶
func (o *NSMorphology) SetPartOfSpeech(partOfSpeech NSGrammaticalPartOfSpeech)
func (*NSMorphology) SetPronounType ¶
func (o *NSMorphology) SetPronounType(pronounType NSGrammaticalPronounType)
type NSMorphologyCustomPronoun ¶
type NSMorphologyCustomPronoun struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmorphologycustompronoun Deprecated: Use NSTermOfAddress instead
func NSMorphologyCustomPronounFromID ¶
func NSMorphologyCustomPronounFromID(id objc.ID) *NSMorphologyCustomPronoun
func (*NSMorphologyCustomPronoun) ObjectForm ¶
func (o *NSMorphologyCustomPronoun) ObjectForm() *NSString
func (*NSMorphologyCustomPronoun) PossessiveAdjectiveForm ¶
func (o *NSMorphologyCustomPronoun) PossessiveAdjectiveForm() *NSString
func (*NSMorphologyCustomPronoun) PossessiveForm ¶
func (o *NSMorphologyCustomPronoun) PossessiveForm() *NSString
func (*NSMorphologyCustomPronoun) ReflexiveForm ¶
func (o *NSMorphologyCustomPronoun) ReflexiveForm() *NSString
func (*NSMorphologyCustomPronoun) SetObjectForm ¶
func (o *NSMorphologyCustomPronoun) SetObjectForm(objectForm *NSString)
func (*NSMorphologyCustomPronoun) SetPossessiveAdjectiveForm ¶
func (o *NSMorphologyCustomPronoun) SetPossessiveAdjectiveForm(possessiveAdjectiveForm *NSString)
func (*NSMorphologyCustomPronoun) SetPossessiveForm ¶
func (o *NSMorphologyCustomPronoun) SetPossessiveForm(possessiveForm *NSString)
func (*NSMorphologyCustomPronoun) SetReflexiveForm ¶
func (o *NSMorphologyCustomPronoun) SetReflexiveForm(reflexiveForm *NSString)
func (*NSMorphologyCustomPronoun) SetSubjectForm ¶
func (o *NSMorphologyCustomPronoun) SetSubjectForm(subjectForm *NSString)
func (*NSMorphologyCustomPronoun) SubjectForm ¶
func (o *NSMorphologyCustomPronoun) SubjectForm() *NSString
type NSMorphologyPronoun ¶
type NSMorphologyPronoun struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmorphologypronoun
func NSMorphologyPronounFromID ¶
func NSMorphologyPronounFromID(id objc.ID) *NSMorphologyPronoun
func (*NSMorphologyPronoun) DependentMorphology ¶
func (o *NSMorphologyPronoun) DependentMorphology() *NSMorphology
func (*NSMorphologyPronoun) InitWithPronounMorphologyDependentMorphology ¶
func (o *NSMorphologyPronoun) InitWithPronounMorphologyDependentMorphology(pronoun *NSString, morphology *NSMorphology, dependentMorphology *NSMorphology) *NSMorphologyPronoun
func (*NSMorphologyPronoun) Morphology ¶
func (o *NSMorphologyPronoun) Morphology() *NSMorphology
func (*NSMorphologyPronoun) Pronoun ¶
func (o *NSMorphologyPronoun) Pronoun() *NSString
type NSMoveCommand ¶
type NSMoveCommand struct {
NSScriptCommand
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmovecommand
func NSMoveCommandFromID ¶
func NSMoveCommandFromID(id objc.ID) *NSMoveCommand
func (*NSMoveCommand) KeySpecifier ¶
func (o *NSMoveCommand) KeySpecifier() *NSScriptObjectSpecifier
type NSMutableArray ¶
Apple documentation: https://developer.apple.com/documentation/foundation/nsmutablearray
func NSMutableArrayArrayWithCapacity ¶
func NSMutableArrayArrayWithCapacity(numItems uint) *NSMutableArray[objc.ID]
func NSMutableArrayArrayWithContentsOfFile ¶
func NSMutableArrayArrayWithContentsOfFile(path *NSString) *NSMutableArray[objc.ID]
func NSMutableArrayArrayWithContentsOfURL ¶
func NSMutableArrayArrayWithContentsOfURL(url *NSURL) *NSMutableArray[objc.ID]
func NSMutableArrayFromID ¶
func NSMutableArrayFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSMutableArray[ObjectType]
func (*NSMutableArray[ObjectType]) AddObject ¶
func (o *NSMutableArray[ObjectType]) AddObject(anObject ObjectType)
func (*NSMutableArray[ObjectType]) AddObjectsFromArray ¶
func (o *NSMutableArray[ObjectType]) AddObjectsFromArray(otherArray *NSArray[ObjectType])
func (*NSMutableArray[ObjectType]) ApplyDifference ¶
func (o *NSMutableArray[ObjectType]) ApplyDifference(difference *NSOrderedCollectionDifference[ObjectType])
func (*NSMutableArray[ObjectType]) ExchangeObjectAtIndexWithObjectAtIndex ¶
func (o *NSMutableArray[ObjectType]) ExchangeObjectAtIndexWithObjectAtIndex(idx1 uint, idx2 uint)
func (*NSMutableArray[ObjectType]) FilterUsingPredicate ¶
func (o *NSMutableArray[ObjectType]) FilterUsingPredicate(predicate *NSPredicate)
func (*NSMutableArray[ObjectType]) Init ¶
func (o *NSMutableArray[ObjectType]) Init() *NSMutableArray[ObjectType]
func (*NSMutableArray[ObjectType]) InitWithCapacity ¶
func (o *NSMutableArray[ObjectType]) InitWithCapacity(numItems uint) *NSMutableArray[ObjectType]
func (*NSMutableArray[ObjectType]) InitWithCoder ¶
func (o *NSMutableArray[ObjectType]) InitWithCoder(coder *NSCoder) *NSMutableArray[ObjectType]
func (*NSMutableArray[ObjectType]) InitWithContentsOfFile ¶
func (o *NSMutableArray[ObjectType]) InitWithContentsOfFile(path *NSString) *NSMutableArray[ObjectType]
func (*NSMutableArray[ObjectType]) InitWithContentsOfURL ¶
func (o *NSMutableArray[ObjectType]) InitWithContentsOfURL(url *NSURL) *NSMutableArray[ObjectType]
func (*NSMutableArray[ObjectType]) InsertObjectAtIndex ¶
func (o *NSMutableArray[ObjectType]) InsertObjectAtIndex(anObject ObjectType, index uint)
func (*NSMutableArray[ObjectType]) InsertObjectsAtIndexes ¶
func (o *NSMutableArray[ObjectType]) InsertObjectsAtIndexes(objects *NSArray[ObjectType], indexes *NSIndexSet)
func (*NSMutableArray[ObjectType]) RemoveAllObjects ¶
func (o *NSMutableArray[ObjectType]) RemoveAllObjects()
func (*NSMutableArray[ObjectType]) RemoveLastObject ¶
func (o *NSMutableArray[ObjectType]) RemoveLastObject()
func (*NSMutableArray[ObjectType]) RemoveObject ¶
func (o *NSMutableArray[ObjectType]) RemoveObject(anObject ObjectType)
func (*NSMutableArray[ObjectType]) RemoveObjectAtIndex ¶
func (o *NSMutableArray[ObjectType]) RemoveObjectAtIndex(index uint)
func (*NSMutableArray[ObjectType]) RemoveObjectIdenticalTo ¶
func (o *NSMutableArray[ObjectType]) RemoveObjectIdenticalTo(anObject ObjectType)
func (*NSMutableArray[ObjectType]) RemoveObjectIdenticalToInRange ¶
func (o *NSMutableArray[ObjectType]) RemoveObjectIdenticalToInRange(anObject ObjectType, range_ NSRange)
func (*NSMutableArray[ObjectType]) RemoveObjectInRange ¶
func (o *NSMutableArray[ObjectType]) RemoveObjectInRange(anObject ObjectType, range_ NSRange)
func (*NSMutableArray[ObjectType]) RemoveObjectsAtIndexes ¶
func (o *NSMutableArray[ObjectType]) RemoveObjectsAtIndexes(indexes *NSIndexSet)
func (*NSMutableArray[ObjectType]) RemoveObjectsFromIndicesNumIndices
deprecated
func (o *NSMutableArray[ObjectType]) RemoveObjectsFromIndicesNumIndices(indices *uint, cnt uint)
Deprecated: Not supported
func (*NSMutableArray[ObjectType]) RemoveObjectsInArray
deprecated
func (o *NSMutableArray[ObjectType]) RemoveObjectsInArray(otherArray *NSArray[ObjectType])
Deprecated: Not supported
func (*NSMutableArray[ObjectType]) RemoveObjectsInRange
deprecated
func (o *NSMutableArray[ObjectType]) RemoveObjectsInRange(range_ NSRange)
Deprecated: Not supported
func (*NSMutableArray[ObjectType]) ReplaceObjectAtIndexWithObject ¶
func (o *NSMutableArray[ObjectType]) ReplaceObjectAtIndexWithObject(index uint, anObject ObjectType)
func (*NSMutableArray[ObjectType]) ReplaceObjectsAtIndexesWithObjects ¶
func (o *NSMutableArray[ObjectType]) ReplaceObjectsAtIndexesWithObjects(indexes *NSIndexSet, objects *NSArray[ObjectType])
func (*NSMutableArray[ObjectType]) ReplaceObjectsInRangeWithObjectsFromArray
deprecated
func (o *NSMutableArray[ObjectType]) ReplaceObjectsInRangeWithObjectsFromArray(range_ NSRange, otherArray *NSArray[ObjectType])
Deprecated: Not supported
func (*NSMutableArray[ObjectType]) ReplaceObjectsInRangeWithObjectsFromArrayRange
deprecated
func (o *NSMutableArray[ObjectType]) ReplaceObjectsInRangeWithObjectsFromArrayRange(range_ NSRange, otherArray *NSArray[ObjectType], otherRange NSRange)
Deprecated: Not supported
func (*NSMutableArray[ObjectType]) SetArray ¶
func (o *NSMutableArray[ObjectType]) SetArray(otherArray *NSArray[ObjectType])
func (*NSMutableArray[ObjectType]) SetObjectAtIndexedSubscript ¶
func (o *NSMutableArray[ObjectType]) SetObjectAtIndexedSubscript(obj ObjectType, idx uint)
func (*NSMutableArray[ObjectType]) SortUsingComparator ¶
func (o *NSMutableArray[ObjectType]) SortUsingComparator(cmptr func(objc.ID, objc.ID) NSComparisonResult)
func (*NSMutableArray[ObjectType]) SortUsingDescriptors ¶
func (o *NSMutableArray[ObjectType]) SortUsingDescriptors(sortDescriptors *NSArray[*NSSortDescriptor])
func (*NSMutableArray[ObjectType]) SortUsingFunctionContext ¶
func (o *NSMutableArray[ObjectType]) SortUsingFunctionContext(compare unsafe.Pointer, context_ unsafe.Pointer)
func (*NSMutableArray[ObjectType]) SortUsingSelector ¶
func (o *NSMutableArray[ObjectType]) SortUsingSelector(comparator objc.SEL)
func (*NSMutableArray[ObjectType]) SortWithOptionsUsingComparator ¶
func (o *NSMutableArray[ObjectType]) SortWithOptionsUsingComparator(opts NSSortOptions, cmptr func(objc.ID, objc.ID) NSComparisonResult)
type NSMutableAttributedString ¶
type NSMutableAttributedString struct {
NSAttributedString
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmutableattributedstring
func NSMutableAttributedStringFromID ¶
func NSMutableAttributedStringFromID(id objc.ID) *NSMutableAttributedString
func (*NSMutableAttributedString) AddAttributeValueRange ¶
func (o *NSMutableAttributedString) AddAttributeValueRange(name *NSString, value objc.ID, range_ NSRange)
func (*NSMutableAttributedString) AddAttributesRange ¶
func (o *NSMutableAttributedString) AddAttributesRange(attrs *NSDictionary[*NSString, objc.ID], range_ NSRange)
func (*NSMutableAttributedString) AppendAttributedString ¶
func (o *NSMutableAttributedString) AppendAttributedString(attrString *NSAttributedString)
func (*NSMutableAttributedString) AppendLocalizedFormat ¶
func (o *NSMutableAttributedString) AppendLocalizedFormat(format *NSAttributedString)
Formats the specified string and arguments with the current locale, then appends the result to the receiver.
func (*NSMutableAttributedString) BeginEditing ¶
func (o *NSMutableAttributedString) BeginEditing()
func (*NSMutableAttributedString) DeleteCharactersInRange ¶
func (o *NSMutableAttributedString) DeleteCharactersInRange(range_ NSRange)
func (*NSMutableAttributedString) EndEditing ¶
func (o *NSMutableAttributedString) EndEditing()
func (*NSMutableAttributedString) InsertAttributedStringAtIndex ¶
func (o *NSMutableAttributedString) InsertAttributedStringAtIndex(attrString *NSAttributedString, loc uint)
func (*NSMutableAttributedString) MutableString ¶
func (o *NSMutableAttributedString) MutableString() *NSMutableString
func (*NSMutableAttributedString) RemoveAttributeRange ¶
func (o *NSMutableAttributedString) RemoveAttributeRange(name *NSString, range_ NSRange)
func (*NSMutableAttributedString) ReplaceCharactersInRangeWithAttributedString ¶
func (o *NSMutableAttributedString) ReplaceCharactersInRangeWithAttributedString(range_ NSRange, attrString *NSAttributedString)
func (*NSMutableAttributedString) ReplaceCharactersInRangeWithString ¶
func (o *NSMutableAttributedString) ReplaceCharactersInRangeWithString(range_ NSRange, str *NSString)
func (*NSMutableAttributedString) SetAttributedString ¶
func (o *NSMutableAttributedString) SetAttributedString(attrString *NSAttributedString)
func (*NSMutableAttributedString) SetAttributesRange ¶
func (o *NSMutableAttributedString) SetAttributesRange(attrs *NSDictionary[*NSString, objc.ID], range_ NSRange)
type NSMutableCharacterSet ¶
type NSMutableCharacterSet struct {
NSCharacterSet
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmutablecharacterset
func NSMutableCharacterSetAlphanumericCharacterSet ¶
func NSMutableCharacterSetAlphanumericCharacterSet() *NSMutableCharacterSet
func NSMutableCharacterSetCapitalizedLetterCharacterSet ¶
func NSMutableCharacterSetCapitalizedLetterCharacterSet() *NSMutableCharacterSet
func NSMutableCharacterSetCharacterSetWithBitmapRepresentation ¶
func NSMutableCharacterSetCharacterSetWithBitmapRepresentation(data *NSData) *NSMutableCharacterSet
func NSMutableCharacterSetCharacterSetWithCharactersInString ¶
func NSMutableCharacterSetCharacterSetWithCharactersInString(aString *NSString) *NSMutableCharacterSet
func NSMutableCharacterSetCharacterSetWithContentsOfFile ¶
func NSMutableCharacterSetCharacterSetWithContentsOfFile(fName *NSString) *NSMutableCharacterSet
func NSMutableCharacterSetCharacterSetWithRange ¶
func NSMutableCharacterSetCharacterSetWithRange(aRange NSRange) *NSMutableCharacterSet
func NSMutableCharacterSetControlCharacterSet ¶
func NSMutableCharacterSetControlCharacterSet() *NSMutableCharacterSet
func NSMutableCharacterSetDecimalDigitCharacterSet ¶
func NSMutableCharacterSetDecimalDigitCharacterSet() *NSMutableCharacterSet
func NSMutableCharacterSetDecomposableCharacterSet ¶
func NSMutableCharacterSetDecomposableCharacterSet() *NSMutableCharacterSet
func NSMutableCharacterSetFromID ¶
func NSMutableCharacterSetFromID(id objc.ID) *NSMutableCharacterSet
func NSMutableCharacterSetIllegalCharacterSet ¶
func NSMutableCharacterSetIllegalCharacterSet() *NSMutableCharacterSet
func NSMutableCharacterSetLetterCharacterSet ¶
func NSMutableCharacterSetLetterCharacterSet() *NSMutableCharacterSet
func NSMutableCharacterSetLowercaseLetterCharacterSet ¶
func NSMutableCharacterSetLowercaseLetterCharacterSet() *NSMutableCharacterSet
func NSMutableCharacterSetNewlineCharacterSet ¶
func NSMutableCharacterSetNewlineCharacterSet() *NSMutableCharacterSet
func NSMutableCharacterSetNonBaseCharacterSet ¶
func NSMutableCharacterSetNonBaseCharacterSet() *NSMutableCharacterSet
func NSMutableCharacterSetPunctuationCharacterSet ¶
func NSMutableCharacterSetPunctuationCharacterSet() *NSMutableCharacterSet
func NSMutableCharacterSetSymbolCharacterSet ¶
func NSMutableCharacterSetSymbolCharacterSet() *NSMutableCharacterSet
func NSMutableCharacterSetUppercaseLetterCharacterSet ¶
func NSMutableCharacterSetUppercaseLetterCharacterSet() *NSMutableCharacterSet
func NSMutableCharacterSetWhitespaceAndNewlineCharacterSet ¶
func NSMutableCharacterSetWhitespaceAndNewlineCharacterSet() *NSMutableCharacterSet
func NSMutableCharacterSetWhitespaceCharacterSet ¶
func NSMutableCharacterSetWhitespaceCharacterSet() *NSMutableCharacterSet
func (*NSMutableCharacterSet) AddCharactersInRange ¶
func (o *NSMutableCharacterSet) AddCharactersInRange(aRange NSRange)
func (*NSMutableCharacterSet) AddCharactersInString ¶
func (o *NSMutableCharacterSet) AddCharactersInString(aString *NSString)
func (*NSMutableCharacterSet) FormIntersectionWithCharacterSet ¶
func (o *NSMutableCharacterSet) FormIntersectionWithCharacterSet(otherSet *NSCharacterSet)
func (*NSMutableCharacterSet) FormUnionWithCharacterSet ¶
func (o *NSMutableCharacterSet) FormUnionWithCharacterSet(otherSet *NSCharacterSet)
func (*NSMutableCharacterSet) Invert ¶
func (o *NSMutableCharacterSet) Invert()
func (*NSMutableCharacterSet) RemoveCharactersInRange ¶
func (o *NSMutableCharacterSet) RemoveCharactersInRange(aRange NSRange)
func (*NSMutableCharacterSet) RemoveCharactersInString ¶
func (o *NSMutableCharacterSet) RemoveCharactersInString(aString *NSString)
type NSMutableCopying ¶
NSMutableCopying wraps the ObjC protocol NSMutableCopying.
type NSMutableData ¶
type NSMutableData struct {
NSData
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmutabledata
func NSMutableDataDataWithCapacity ¶
func NSMutableDataDataWithCapacity(aNumItems uint) *NSMutableData
func NSMutableDataDataWithLength ¶
func NSMutableDataDataWithLength(length uint) *NSMutableData
func NSMutableDataFromID ¶
func NSMutableDataFromID(id objc.ID) *NSMutableData
func (*NSMutableData) AppendBytesLength ¶
func (o *NSMutableData) AppendBytesLength(bytes_ unsafe.Pointer, length uint)
func (*NSMutableData) AppendData ¶
func (o *NSMutableData) AppendData(other *NSData)
func (*NSMutableData) CompressUsingAlgorithmError ¶
func (o *NSMutableData) CompressUsingAlgorithmError(algorithm NSDataCompressionAlgorithm) (bool, error)
func (*NSMutableData) DecompressUsingAlgorithmError ¶
func (o *NSMutableData) DecompressUsingAlgorithmError(algorithm NSDataCompressionAlgorithm) (bool, error)
func (*NSMutableData) IncreaseLengthBy ¶
func (o *NSMutableData) IncreaseLengthBy(extraLength uint)
func (*NSMutableData) InitWithCapacity ¶
func (o *NSMutableData) InitWithCapacity(capacity uint) *NSMutableData
func (*NSMutableData) InitWithLength ¶
func (o *NSMutableData) InitWithLength(length uint) *NSMutableData
func (*NSMutableData) MutableBytes ¶
func (o *NSMutableData) MutableBytes() unsafe.Pointer
func (*NSMutableData) ReplaceBytesInRangeWithBytes ¶
func (o *NSMutableData) ReplaceBytesInRangeWithBytes(range_ NSRange, bytes_ unsafe.Pointer)
func (*NSMutableData) ReplaceBytesInRangeWithBytesLength ¶
func (o *NSMutableData) ReplaceBytesInRangeWithBytesLength(range_ NSRange, replacementBytes unsafe.Pointer, replacementLength uint)
func (*NSMutableData) ResetBytesInRange ¶
func (o *NSMutableData) ResetBytesInRange(range_ NSRange)
func (*NSMutableData) SetData ¶
func (o *NSMutableData) SetData(data *NSData)
func (*NSMutableData) SetLength ¶
func (o *NSMutableData) SetLength(length uint)
type NSMutableDictionary ¶
type NSMutableDictionary[KeyType pureobjc.AnyObject, ObjectType pureobjc.AnyObject] struct { NSDictionary[KeyType, ObjectType] }
Apple documentation: https://developer.apple.com/documentation/foundation/nsmutabledictionary
func (*NSMutableDictionary[KeyType, ObjectType]) AddEntriesFromDictionary ¶
func (o *NSMutableDictionary[KeyType, ObjectType]) AddEntriesFromDictionary(otherDictionary *NSDictionary[KeyType, ObjectType])
func (*NSMutableDictionary[KeyType, ObjectType]) Init ¶
func (o *NSMutableDictionary[KeyType, ObjectType]) Init() *NSMutableDictionary[KeyType, ObjectType]
func (*NSMutableDictionary[KeyType, ObjectType]) InitWithCapacity ¶
func (o *NSMutableDictionary[KeyType, ObjectType]) InitWithCapacity(numItems uint) *NSMutableDictionary[KeyType, ObjectType]
func (*NSMutableDictionary[KeyType, ObjectType]) InitWithCoder ¶
func (o *NSMutableDictionary[KeyType, ObjectType]) InitWithCoder(coder *NSCoder) *NSMutableDictionary[KeyType, ObjectType]
func (*NSMutableDictionary[KeyType, ObjectType]) InitWithContentsOfFile ¶
func (o *NSMutableDictionary[KeyType, ObjectType]) InitWithContentsOfFile(path *NSString) *NSMutableDictionary[KeyType, ObjectType]
func (*NSMutableDictionary[KeyType, ObjectType]) InitWithContentsOfURL ¶
func (o *NSMutableDictionary[KeyType, ObjectType]) InitWithContentsOfURL(url *NSURL) *NSMutableDictionary[KeyType, ObjectType]
func (*NSMutableDictionary[KeyType, ObjectType]) RemoveAllObjects ¶
func (o *NSMutableDictionary[KeyType, ObjectType]) RemoveAllObjects()
func (*NSMutableDictionary[KeyType, ObjectType]) RemoveObjectForKey ¶
func (o *NSMutableDictionary[KeyType, ObjectType]) RemoveObjectForKey(aKey KeyType)
func (*NSMutableDictionary[KeyType, ObjectType]) RemoveObjectsForKeys ¶
func (o *NSMutableDictionary[KeyType, ObjectType]) RemoveObjectsForKeys(keyArray *NSArray[KeyType])
func (*NSMutableDictionary[KeyType, ObjectType]) SetDictionary ¶
func (o *NSMutableDictionary[KeyType, ObjectType]) SetDictionary(otherDictionary *NSDictionary[KeyType, ObjectType])
func (*NSMutableDictionary[KeyType, ObjectType]) SetObjectForKey ¶
func (o *NSMutableDictionary[KeyType, ObjectType]) SetObjectForKey(anObject ObjectType, aKey NSCopying)
func (*NSMutableDictionary[KeyType, ObjectType]) SetObjectForKeyedSubscript ¶
func (o *NSMutableDictionary[KeyType, ObjectType]) SetObjectForKeyedSubscript(obj ObjectType, key NSCopying)
type NSMutableIndexSet ¶
type NSMutableIndexSet struct {
NSIndexSet
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmutableindexset
func NSMutableIndexSetFromID ¶
func NSMutableIndexSetFromID(id objc.ID) *NSMutableIndexSet
func (*NSMutableIndexSet) AddIndex ¶
func (o *NSMutableIndexSet) AddIndex(value uint)
func (*NSMutableIndexSet) AddIndexes ¶
func (o *NSMutableIndexSet) AddIndexes(indexSet *NSIndexSet)
func (*NSMutableIndexSet) AddIndexesInRange ¶
func (o *NSMutableIndexSet) AddIndexesInRange(range_ NSRange)
func (*NSMutableIndexSet) RemoveAllIndexes ¶
func (o *NSMutableIndexSet) RemoveAllIndexes()
func (*NSMutableIndexSet) RemoveIndex ¶
func (o *NSMutableIndexSet) RemoveIndex(value uint)
func (*NSMutableIndexSet) RemoveIndexes ¶
func (o *NSMutableIndexSet) RemoveIndexes(indexSet *NSIndexSet)
func (*NSMutableIndexSet) RemoveIndexesInRange ¶
func (o *NSMutableIndexSet) RemoveIndexesInRange(range_ NSRange)
func (*NSMutableIndexSet) ShiftIndexesStartingAtIndexBy ¶
func (o *NSMutableIndexSet) ShiftIndexesStartingAtIndexBy(index uint, delta int)
type NSMutableOrderedSet ¶
type NSMutableOrderedSet[ObjectType pureobjc.AnyObject] struct { NSOrderedSet[ObjectType] }
Apple documentation: https://developer.apple.com/documentation/foundation/nsmutableorderedset
func NSMutableOrderedSetFromID ¶
func NSMutableOrderedSetFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSMutableOrderedSet[ObjectType]
func NSMutableOrderedSetOrderedSetWithCapacity ¶
func NSMutableOrderedSetOrderedSetWithCapacity(numItems uint) *NSMutableOrderedSet[objc.ID]
func (*NSMutableOrderedSet[ObjectType]) AddObject ¶
func (o *NSMutableOrderedSet[ObjectType]) AddObject(object ObjectType)
func (*NSMutableOrderedSet[ObjectType]) AddObjectsCount ¶
func (o *NSMutableOrderedSet[ObjectType]) AddObjectsCount(objects unsafe.Pointer, count uint)
func (*NSMutableOrderedSet[ObjectType]) AddObjectsFromArray ¶
func (o *NSMutableOrderedSet[ObjectType]) AddObjectsFromArray(array *NSArray[ObjectType])
func (*NSMutableOrderedSet[ObjectType]) ApplyDifference ¶
func (o *NSMutableOrderedSet[ObjectType]) ApplyDifference(difference *NSOrderedCollectionDifference[ObjectType])
func (*NSMutableOrderedSet[ObjectType]) ExchangeObjectAtIndexWithObjectAtIndex ¶
func (o *NSMutableOrderedSet[ObjectType]) ExchangeObjectAtIndexWithObjectAtIndex(idx1 uint, idx2 uint)
func (*NSMutableOrderedSet[ObjectType]) FilterUsingPredicate ¶
func (o *NSMutableOrderedSet[ObjectType]) FilterUsingPredicate(p *NSPredicate)
func (*NSMutableOrderedSet[ObjectType]) Init ¶
func (o *NSMutableOrderedSet[ObjectType]) Init() *NSMutableOrderedSet[ObjectType]
func (*NSMutableOrderedSet[ObjectType]) InitWithCapacity ¶
func (o *NSMutableOrderedSet[ObjectType]) InitWithCapacity(numItems uint) *NSMutableOrderedSet[ObjectType]
func (*NSMutableOrderedSet[ObjectType]) InitWithCoder ¶
func (o *NSMutableOrderedSet[ObjectType]) InitWithCoder(coder *NSCoder) *NSMutableOrderedSet[ObjectType]
func (*NSMutableOrderedSet[ObjectType]) InsertObjectAtIndex ¶
func (o *NSMutableOrderedSet[ObjectType]) InsertObjectAtIndex(object ObjectType, idx uint)
func (*NSMutableOrderedSet[ObjectType]) InsertObjectsAtIndexes ¶
func (o *NSMutableOrderedSet[ObjectType]) InsertObjectsAtIndexes(objects *NSArray[ObjectType], indexes *NSIndexSet)
func (*NSMutableOrderedSet[ObjectType]) IntersectOrderedSet ¶
func (o *NSMutableOrderedSet[ObjectType]) IntersectOrderedSet(other *NSOrderedSet[ObjectType])
func (*NSMutableOrderedSet[ObjectType]) IntersectSet ¶
func (o *NSMutableOrderedSet[ObjectType]) IntersectSet(other *NSSet[ObjectType])
func (*NSMutableOrderedSet[ObjectType]) MinusOrderedSet ¶
func (o *NSMutableOrderedSet[ObjectType]) MinusOrderedSet(other *NSOrderedSet[ObjectType])
func (*NSMutableOrderedSet[ObjectType]) MinusSet ¶
func (o *NSMutableOrderedSet[ObjectType]) MinusSet(other *NSSet[ObjectType])
func (*NSMutableOrderedSet[ObjectType]) MoveObjectsAtIndexesToIndex ¶
func (o *NSMutableOrderedSet[ObjectType]) MoveObjectsAtIndexesToIndex(indexes *NSIndexSet, idx uint)
func (*NSMutableOrderedSet[ObjectType]) RemoveAllObjects ¶
func (o *NSMutableOrderedSet[ObjectType]) RemoveAllObjects()
func (*NSMutableOrderedSet[ObjectType]) RemoveObject ¶
func (o *NSMutableOrderedSet[ObjectType]) RemoveObject(object ObjectType)
func (*NSMutableOrderedSet[ObjectType]) RemoveObjectAtIndex ¶
func (o *NSMutableOrderedSet[ObjectType]) RemoveObjectAtIndex(idx uint)
func (*NSMutableOrderedSet[ObjectType]) RemoveObjectsAtIndexes ¶
func (o *NSMutableOrderedSet[ObjectType]) RemoveObjectsAtIndexes(indexes *NSIndexSet)
func (*NSMutableOrderedSet[ObjectType]) RemoveObjectsInArray ¶
func (o *NSMutableOrderedSet[ObjectType]) RemoveObjectsInArray(array *NSArray[ObjectType])
func (*NSMutableOrderedSet[ObjectType]) RemoveObjectsInRange ¶
func (o *NSMutableOrderedSet[ObjectType]) RemoveObjectsInRange(range_ NSRange)
func (*NSMutableOrderedSet[ObjectType]) ReplaceObjectAtIndexWithObject ¶
func (o *NSMutableOrderedSet[ObjectType]) ReplaceObjectAtIndexWithObject(idx uint, object ObjectType)
func (*NSMutableOrderedSet[ObjectType]) ReplaceObjectsAtIndexesWithObjects ¶
func (o *NSMutableOrderedSet[ObjectType]) ReplaceObjectsAtIndexesWithObjects(indexes *NSIndexSet, objects *NSArray[ObjectType])
func (*NSMutableOrderedSet[ObjectType]) ReplaceObjectsInRangeWithObjectsCount ¶
func (o *NSMutableOrderedSet[ObjectType]) ReplaceObjectsInRangeWithObjectsCount(range_ NSRange, objects unsafe.Pointer, count uint)
func (*NSMutableOrderedSet[ObjectType]) SetObjectAtIndex ¶
func (o *NSMutableOrderedSet[ObjectType]) SetObjectAtIndex(obj ObjectType, idx uint)
func (*NSMutableOrderedSet[ObjectType]) SetObjectAtIndexedSubscript ¶
func (o *NSMutableOrderedSet[ObjectType]) SetObjectAtIndexedSubscript(obj ObjectType, idx uint)
func (*NSMutableOrderedSet[ObjectType]) SortRangeOptionsUsingComparator ¶
func (o *NSMutableOrderedSet[ObjectType]) SortRangeOptionsUsingComparator(range_ NSRange, opts NSSortOptions, cmptr func(objc.ID, objc.ID) NSComparisonResult)
func (*NSMutableOrderedSet[ObjectType]) SortUsingComparator ¶
func (o *NSMutableOrderedSet[ObjectType]) SortUsingComparator(cmptr func(objc.ID, objc.ID) NSComparisonResult)
func (*NSMutableOrderedSet[ObjectType]) SortUsingDescriptors ¶
func (o *NSMutableOrderedSet[ObjectType]) SortUsingDescriptors(sortDescriptors *NSArray[*NSSortDescriptor])
func (*NSMutableOrderedSet[ObjectType]) SortWithOptionsUsingComparator ¶
func (o *NSMutableOrderedSet[ObjectType]) SortWithOptionsUsingComparator(opts NSSortOptions, cmptr func(objc.ID, objc.ID) NSComparisonResult)
func (*NSMutableOrderedSet[ObjectType]) UnionOrderedSet ¶
func (o *NSMutableOrderedSet[ObjectType]) UnionOrderedSet(other *NSOrderedSet[ObjectType])
func (*NSMutableOrderedSet[ObjectType]) UnionSet ¶
func (o *NSMutableOrderedSet[ObjectType]) UnionSet(other *NSSet[ObjectType])
type NSMutableSet ¶
Apple documentation: https://developer.apple.com/documentation/foundation/nsmutableset
func NSMutableSetFromID ¶
func NSMutableSetFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSMutableSet[ObjectType]
func NSMutableSetSetWithCapacity ¶
func NSMutableSetSetWithCapacity(numItems uint) *NSMutableSet[objc.ID]
func (*NSMutableSet[ObjectType]) AddObject ¶
func (o *NSMutableSet[ObjectType]) AddObject(object ObjectType)
func (*NSMutableSet[ObjectType]) AddObjectsFromArray ¶
func (o *NSMutableSet[ObjectType]) AddObjectsFromArray(array *NSArray[ObjectType])
func (*NSMutableSet[ObjectType]) FilterUsingPredicate ¶
func (o *NSMutableSet[ObjectType]) FilterUsingPredicate(predicate *NSPredicate)
func (*NSMutableSet[ObjectType]) Init ¶
func (o *NSMutableSet[ObjectType]) Init() *NSMutableSet[ObjectType]
func (*NSMutableSet[ObjectType]) InitWithCapacity ¶
func (o *NSMutableSet[ObjectType]) InitWithCapacity(numItems uint) *NSMutableSet[ObjectType]
func (*NSMutableSet[ObjectType]) InitWithCoder ¶
func (o *NSMutableSet[ObjectType]) InitWithCoder(coder *NSCoder) *NSMutableSet[ObjectType]
func (*NSMutableSet[ObjectType]) IntersectSet ¶
func (o *NSMutableSet[ObjectType]) IntersectSet(otherSet *NSSet[ObjectType])
func (*NSMutableSet[ObjectType]) MinusSet ¶
func (o *NSMutableSet[ObjectType]) MinusSet(otherSet *NSSet[ObjectType])
func (*NSMutableSet[ObjectType]) RemoveAllObjects ¶
func (o *NSMutableSet[ObjectType]) RemoveAllObjects()
func (*NSMutableSet[ObjectType]) RemoveObject ¶
func (o *NSMutableSet[ObjectType]) RemoveObject(object ObjectType)
func (*NSMutableSet[ObjectType]) SetSet ¶
func (o *NSMutableSet[ObjectType]) SetSet(otherSet *NSSet[ObjectType])
func (*NSMutableSet[ObjectType]) UnionSet ¶
func (o *NSMutableSet[ObjectType]) UnionSet(otherSet *NSSet[ObjectType])
type NSMutableString ¶
type NSMutableString struct {
NSString
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmutablestring
func NSMutableStringFromID ¶
func NSMutableStringFromID(id objc.ID) *NSMutableString
func NSMutableStringStringWithCapacity ¶
func NSMutableStringStringWithCapacity(capacity uint) *NSMutableString
func (*NSMutableString) AppendFormat ¶
func (o *NSMutableString) AppendFormat(format *NSString)
func (*NSMutableString) AppendString ¶
func (o *NSMutableString) AppendString(aString *NSString)
func (*NSMutableString) ApplyTransformReverseRangeUpdatedRange ¶
func (*NSMutableString) DeleteCharactersInRange ¶
func (o *NSMutableString) DeleteCharactersInRange(range_ NSRange)
func (*NSMutableString) InitWithCapacity ¶
func (o *NSMutableString) InitWithCapacity(capacity uint) *NSMutableString
func (*NSMutableString) InsertStringAtIndex ¶
func (o *NSMutableString) InsertStringAtIndex(aString *NSString, loc uint)
func (*NSMutableString) ReplaceCharactersInRangeWithString ¶
func (o *NSMutableString) ReplaceCharactersInRangeWithString(range_ NSRange, aString *NSString)
func (*NSMutableString) ReplaceOccurrencesOfStringWithStringOptionsRange ¶
func (o *NSMutableString) ReplaceOccurrencesOfStringWithStringOptionsRange(target *NSString, replacement *NSString, options NSStringCompareOptions, searchRange NSRange) uint
func (*NSMutableString) SetString ¶
func (o *NSMutableString) SetString(aString *NSString)
type NSMutableURLRequest ¶
type NSMutableURLRequest struct {
NSURLRequest
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsmutableurlrequest
func NSMutableURLRequestFromID ¶
func NSMutableURLRequestFromID(id objc.ID) *NSMutableURLRequest
func (*NSMutableURLRequest) AddValueForHTTPHeaderField ¶
func (o *NSMutableURLRequest) AddValueForHTTPHeaderField(value *NSString, field *NSString)
@method addValue:forHTTPHeaderField: @abstract Adds an HTTP header field in the current header dictionary. @discussion This method provides a way to add values to header fields incrementally. If a value was previously set for the given header field, the given value is appended to the previously-existing value. The appropriate field delimiter, a comma in the case of HTTP, is added by the implementation, and should not be added to the given value by the caller. Note that, in keeping with the HTTP RFC, HTTP header field names are case-insensitive. @param value the header field value. @param field the header field name (case-insensitive).
func (*NSMutableURLRequest) SetAllHTTPHeaderFields ¶
func (o *NSMutableURLRequest) SetAllHTTPHeaderFields(allHTTPHeaderFields *NSDictionary[*NSString, *NSString])
func (*NSMutableURLRequest) SetAllowsCellularAccess ¶
func (o *NSMutableURLRequest) SetAllowsCellularAccess(allowsCellularAccess bool)
func (*NSMutableURLRequest) SetAllowsConstrainedNetworkAccess ¶
func (o *NSMutableURLRequest) SetAllowsConstrainedNetworkAccess(allowsConstrainedNetworkAccess bool)
func (*NSMutableURLRequest) SetAllowsExpensiveNetworkAccess ¶
func (o *NSMutableURLRequest) SetAllowsExpensiveNetworkAccess(allowsExpensiveNetworkAccess bool)
func (*NSMutableURLRequest) SetAllowsPersistentDNS ¶
func (o *NSMutableURLRequest) SetAllowsPersistentDNS(allowsPersistentDNS bool)
func (*NSMutableURLRequest) SetAllowsUltraConstrainedNetworkAccess ¶
func (o *NSMutableURLRequest) SetAllowsUltraConstrainedNetworkAccess(allowsUltraConstrainedNetworkAccess bool)
func (*NSMutableURLRequest) SetAssumesHTTP3Capable ¶
func (o *NSMutableURLRequest) SetAssumesHTTP3Capable(assumesHTTP3Capable bool)
func (*NSMutableURLRequest) SetAttribution ¶
func (o *NSMutableURLRequest) SetAttribution(attribution NSURLRequestAttribution)
func (*NSMutableURLRequest) SetCachePolicy ¶
func (o *NSMutableURLRequest) SetCachePolicy(cachePolicy NSURLRequestCachePolicy)
func (*NSMutableURLRequest) SetCookiePartitionIdentifier ¶
func (o *NSMutableURLRequest) SetCookiePartitionIdentifier(cookiePartitionIdentifier *NSString)
func (*NSMutableURLRequest) SetHTTPBody ¶
func (o *NSMutableURLRequest) SetHTTPBody(hTTPBody *NSData)
func (*NSMutableURLRequest) SetHTTPBodyStream ¶
func (o *NSMutableURLRequest) SetHTTPBodyStream(hTTPBodyStream *NSInputStream)
func (*NSMutableURLRequest) SetHTTPMethod ¶
func (o *NSMutableURLRequest) SetHTTPMethod(hTTPMethod *NSString)
func (*NSMutableURLRequest) SetHTTPShouldHandleCookies ¶
func (o *NSMutableURLRequest) SetHTTPShouldHandleCookies(hTTPShouldHandleCookies bool)
func (*NSMutableURLRequest) SetHTTPShouldUsePipelining
deprecated
func (o *NSMutableURLRequest) SetHTTPShouldUsePipelining(hTTPShouldUsePipelining bool)
Deprecated: Only supported in the classic loader, please adopt HTTP/2 and HTTP/3 instead
func (*NSMutableURLRequest) SetMainDocumentURL ¶
func (o *NSMutableURLRequest) SetMainDocumentURL(mainDocumentURL *NSURL)
func (*NSMutableURLRequest) SetNetworkServiceType ¶
func (o *NSMutableURLRequest) SetNetworkServiceType(networkServiceType NSURLRequestNetworkServiceType)
func (*NSMutableURLRequest) SetRequiresDNSSECValidation ¶
func (o *NSMutableURLRequest) SetRequiresDNSSECValidation(requiresDNSSECValidation bool)
func (*NSMutableURLRequest) SetTimeoutInterval ¶
func (o *NSMutableURLRequest) SetTimeoutInterval(timeoutInterval float64)
func (*NSMutableURLRequest) SetURL ¶
func (o *NSMutableURLRequest) SetURL(uRL *NSURL)
func (*NSMutableURLRequest) SetValueForHTTPHeaderField ¶
func (o *NSMutableURLRequest) SetValueForHTTPHeaderField(value *NSString, field *NSString)
@method setValue:forHTTPHeaderField: @abstract Sets the value of the given HTTP header field. @discussion If a value was previously set for the given header field, that value is replaced with the given value. Note that, in keeping with the HTTP RFC, HTTP header field names are case-insensitive. @param value the header field value. @param field the header field name (case-insensitive).
type NSNameSpecifier ¶
type NSNameSpecifier struct {
NSScriptObjectSpecifier
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsnamespecifier
func NSNameSpecifierFromID ¶
func NSNameSpecifierFromID(id objc.ID) *NSNameSpecifier
func (*NSNameSpecifier) InitWithCoder ¶
func (o *NSNameSpecifier) InitWithCoder(inCoder *NSCoder) *NSNameSpecifier
func (*NSNameSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyName ¶
func (o *NSNameSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyName(classDesc *NSScriptClassDescription, container *NSScriptObjectSpecifier, property *NSString, name *NSString) *NSNameSpecifier
func (*NSNameSpecifier) Name ¶
func (o *NSNameSpecifier) Name() *NSString
func (*NSNameSpecifier) SetName ¶
func (o *NSNameSpecifier) SetName(name *NSString)
type NSNetService ¶
type NSNetService struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsnetservice Deprecated: Use nw_connection_t or nw_listener_t in Network framework instead
func NSNetServiceFromID ¶
func NSNetServiceFromID(id objc.ID) *NSNetService
func (*NSNetService) Addresses ¶
func (o *NSNetService) Addresses() *NSArray[*NSData]
func (*NSNetService) Delegate ¶
func (o *NSNetService) Delegate() NSNetServiceDelegate
func (*NSNetService) Domain ¶
func (o *NSNetService) Domain() *NSString
func (*NSNetService) GetInputStreamOutputStream ¶
func (o *NSNetService) GetInputStreamOutputStream(inputStream *NSInputStream, outputStream *NSOutputStream) bool
func (*NSNetService) HostName ¶
func (o *NSNetService) HostName() *NSString
func (*NSNetService) IncludesPeerToPeer ¶
func (o *NSNetService) IncludesPeerToPeer() bool
func (*NSNetService) InitWithDomainTypeName ¶
func (o *NSNetService) InitWithDomainTypeName(domain *NSString, type_ *NSString, name *NSString) *NSNetService
func (*NSNetService) InitWithDomainTypeNamePort ¶
func (o *NSNetService) InitWithDomainTypeNamePort(domain *NSString, type_ *NSString, name *NSString, port int) *NSNetService
func (*NSNetService) Name ¶
func (o *NSNetService) Name() *NSString
func (*NSNetService) Port ¶
func (o *NSNetService) Port() int
func (*NSNetService) Publish ¶
func (o *NSNetService) Publish()
func (*NSNetService) PublishWithOptions ¶
func (o *NSNetService) PublishWithOptions(options NSNetServiceOptions)
func (*NSNetService) RemoveFromRunLoopForMode ¶
func (o *NSNetService) RemoveFromRunLoopForMode(aRunLoop *NSRunLoop, mode *NSString)
func (*NSNetService) Resolve
deprecated
func (o *NSNetService) Resolve()
Deprecated: Not supported
func (*NSNetService) ResolveWithTimeout ¶
func (o *NSNetService) ResolveWithTimeout(timeout float64)
func (*NSNetService) ScheduleInRunLoopForMode ¶
func (o *NSNetService) ScheduleInRunLoopForMode(aRunLoop *NSRunLoop, mode *NSString)
func (*NSNetService) SetDelegate ¶
func (o *NSNetService) SetDelegate(delegate NSNetServiceDelegate)
func (*NSNetService) SetIncludesPeerToPeer ¶
func (o *NSNetService) SetIncludesPeerToPeer(includesPeerToPeer bool)
func (*NSNetService) SetTXTRecordData ¶
func (o *NSNetService) SetTXTRecordData(recordData *NSData) bool
func (*NSNetService) StartMonitoring ¶
func (o *NSNetService) StartMonitoring()
func (*NSNetService) Stop
deprecated
func (o *NSNetService) Stop()
Deprecated: Not supported
func (*NSNetService) StopMonitoring ¶
func (o *NSNetService) StopMonitoring()
func (*NSNetService) TXTRecordData ¶
func (o *NSNetService) TXTRecordData() *NSData
func (*NSNetService) Type ¶
func (o *NSNetService) Type() *NSString
type NSNetServiceBrowser ¶
type NSNetServiceBrowser struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsnetservicebrowser Deprecated: Use nw_browser_t in Network framework instead
func NSNetServiceBrowserFromID ¶
func NSNetServiceBrowserFromID(id objc.ID) *NSNetServiceBrowser
func (*NSNetServiceBrowser) Delegate ¶
func (o *NSNetServiceBrowser) Delegate() NSNetServiceBrowserDelegate
func (*NSNetServiceBrowser) IncludesPeerToPeer ¶
func (o *NSNetServiceBrowser) IncludesPeerToPeer() bool
func (*NSNetServiceBrowser) Init ¶
func (o *NSNetServiceBrowser) Init() *NSNetServiceBrowser
func (*NSNetServiceBrowser) RemoveFromRunLoopForMode ¶
func (o *NSNetServiceBrowser) RemoveFromRunLoopForMode(aRunLoop *NSRunLoop, mode *NSString)
func (*NSNetServiceBrowser) ScheduleInRunLoopForMode ¶
func (o *NSNetServiceBrowser) ScheduleInRunLoopForMode(aRunLoop *NSRunLoop, mode *NSString)
func (*NSNetServiceBrowser) SearchForBrowsableDomains ¶
func (o *NSNetServiceBrowser) SearchForBrowsableDomains()
func (*NSNetServiceBrowser) SearchForRegistrationDomains ¶
func (o *NSNetServiceBrowser) SearchForRegistrationDomains()
func (*NSNetServiceBrowser) SearchForServicesOfTypeInDomain ¶
func (o *NSNetServiceBrowser) SearchForServicesOfTypeInDomain(type_ *NSString, domainString *NSString)
func (*NSNetServiceBrowser) SetDelegate ¶
func (o *NSNetServiceBrowser) SetDelegate(delegate NSNetServiceBrowserDelegate)
func (*NSNetServiceBrowser) SetIncludesPeerToPeer ¶
func (o *NSNetServiceBrowser) SetIncludesPeerToPeer(includesPeerToPeer bool)
func (*NSNetServiceBrowser) Stop ¶
func (o *NSNetServiceBrowser) Stop()
type NSNetServiceBrowserDelegate ¶
type NSNetServiceBrowserDelegate interface {
}
NSNetServiceBrowserDelegate wraps the ObjC protocol NSNetServiceBrowserDelegate.
type NSNetServiceDelegate ¶
type NSNetServiceDelegate interface {
}
NSNetServiceDelegate wraps the ObjC protocol NSNetServiceDelegate.
type NSNetServiceOptions ¶
type NSNetServiceOptions uint64
const ( NSNetServiceNoAutoRename NSNetServiceOptions = 1 NSNetServiceListenForConnections NSNetServiceOptions = 2 )
func (NSNetServiceOptions) String ¶
func (e NSNetServiceOptions) String() string
type NSNetServicesError ¶
type NSNetServicesError int64
const ( NSNetServicesUnknownError NSNetServicesError = -72000 NSNetServicesCollisionError NSNetServicesError = -72001 NSNetServicesNotFoundError NSNetServicesError = -72002 NSNetServicesActivityInProgress NSNetServicesError = -72003 NSNetServicesBadArgumentError NSNetServicesError = -72004 NSNetServicesCancelledError NSNetServicesError = -72005 NSNetServicesInvalidError NSNetServicesError = -72006 NSNetServicesTimeoutError NSNetServicesError = -72007 NSNetServicesMissingRequiredConfigurationError NSNetServicesError = -72008 )
func (NSNetServicesError) String ¶
func (e NSNetServicesError) String() string
type NSNotification ¶
type NSNotification struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsnotification
func NSNotificationFromID ¶
func NSNotificationFromID(id objc.ID) *NSNotification
func NSNotificationNotificationWithNameObject ¶
func NSNotificationNotificationWithNameObject(aName *NSString, anObject objc.ID) *NSNotification
func NSNotificationNotificationWithNameObjectUserInfo ¶
func NSNotificationNotificationWithNameObjectUserInfo(aName *NSString, anObject objc.ID, aUserInfo *NSDictionary[objc.ID, objc.ID]) *NSNotification
func (*NSNotification) InitWithCoder ¶
func (o *NSNotification) InitWithCoder(coder *NSCoder) *NSNotification
func (*NSNotification) InitWithNameObjectUserInfo ¶
func (o *NSNotification) InitWithNameObjectUserInfo(name *NSString, object objc.ID, userInfo *NSDictionary[objc.ID, objc.ID]) *NSNotification
func (*NSNotification) Name ¶
func (o *NSNotification) Name() *NSString
func (*NSNotification) Object ¶
func (o *NSNotification) Object() objc.ID
func (*NSNotification) UserInfo ¶
func (o *NSNotification) UserInfo() *NSDictionary[objc.ID, objc.ID]
type NSNotificationCenter ¶
type NSNotificationCenter struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsnotificationcenter
func NSNotificationCenterDefaultCenter ¶
func NSNotificationCenterDefaultCenter() *NSNotificationCenter
func NSNotificationCenterFromID ¶
func NSNotificationCenterFromID(id objc.ID) *NSNotificationCenter
func (*NSNotificationCenter) AddObserverForNameObjectQueueUsing ¶
func (o *NSNotificationCenter) AddObserverForNameObjectQueueUsing(name *NSString, obj objc.ID, queue *NSOperationQueue, block func(*NSNotification)) NSObjectProtocol
func (*NSNotificationCenter) AddObserverSelectorNameObject ¶
func (*NSNotificationCenter) PostNotification ¶
func (o *NSNotificationCenter) PostNotification(notification *NSNotification)
func (*NSNotificationCenter) PostNotificationNameObject ¶
func (o *NSNotificationCenter) PostNotificationNameObject(aName *NSString, anObject objc.ID)
func (*NSNotificationCenter) PostNotificationNameObjectUserInfo ¶
func (o *NSNotificationCenter) PostNotificationNameObjectUserInfo(aName *NSString, anObject objc.ID, aUserInfo *NSDictionary[objc.ID, objc.ID])
func (*NSNotificationCenter) RemoveObserver ¶
func (o *NSNotificationCenter) RemoveObserver(observer objc.ID)
func (*NSNotificationCenter) RemoveObserverNameObject ¶
type NSNotificationCoalescing ¶
type NSNotificationCoalescing uint64
const ( NSNotificationNoCoalescing NSNotificationCoalescing = 0 NSNotificationCoalescingOnName NSNotificationCoalescing = 1 NSNotificationCoalescingOnSender NSNotificationCoalescing = 2 )
func (NSNotificationCoalescing) String ¶
func (e NSNotificationCoalescing) String() string
type NSNotificationQueue ¶
type NSNotificationQueue struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsnotificationqueue
func NSNotificationQueueDefaultQueue ¶
func NSNotificationQueueDefaultQueue() *NSNotificationQueue
func NSNotificationQueueFromID ¶
func NSNotificationQueueFromID(id objc.ID) *NSNotificationQueue
func (*NSNotificationQueue) DequeueNotificationsMatchingCoalesceMask ¶
func (o *NSNotificationQueue) DequeueNotificationsMatchingCoalesceMask(notification *NSNotification, coalesceMask uint)
func (*NSNotificationQueue) EnqueueNotificationPostingStyle ¶
func (o *NSNotificationQueue) EnqueueNotificationPostingStyle(notification *NSNotification, postingStyle NSPostingStyle)
func (*NSNotificationQueue) EnqueueNotificationPostingStyleCoalesceMaskForModes ¶
func (o *NSNotificationQueue) EnqueueNotificationPostingStyleCoalesceMaskForModes(notification *NSNotification, postingStyle NSPostingStyle, coalesceMask NSNotificationCoalescing, modes *NSArray[*NSString])
func (*NSNotificationQueue) InitWithNotificationCenter ¶
func (o *NSNotificationQueue) InitWithNotificationCenter(notificationCenter *NSNotificationCenter) *NSNotificationQueue
type NSNotificationSuspensionBehavior ¶
type NSNotificationSuspensionBehavior uint64
const ( NSNotificationSuspensionBehaviorDrop NSNotificationSuspensionBehavior = 1 NSNotificationSuspensionBehaviorCoalesce NSNotificationSuspensionBehavior = 2 NSNotificationSuspensionBehaviorHold NSNotificationSuspensionBehavior = 3 NSNotificationSuspensionBehaviorDeliverImmediately NSNotificationSuspensionBehavior = 4 )
func (NSNotificationSuspensionBehavior) String ¶
func (e NSNotificationSuspensionBehavior) String() string
type NSNull ¶
type NSNull struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsnull
func NSNullFromID ¶
func NSNullNull ¶
func NSNullNull() *NSNull
type NSNumber ¶
type NSNumber struct {
NSValue
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsnumber
func NSNumberFromID ¶
func NSNumberNumberWithBool ¶
func NSNumberNumberWithChar ¶
func NSNumberNumberWithInt ¶
func NSNumberNumberWithLong ¶
func (*NSNumber) Compare ¶
func (o *NSNumber) Compare(otherNumber *NSNumber) NSComparisonResult
func (*NSNumber) DecimalValue ¶
func (*NSNumber) DescriptionWithLocale ¶
func (*NSNumber) DoubleValue ¶
func (*NSNumber) FloatValue ¶
func (*NSNumber) InitWithBool ¶
func (*NSNumber) InitWithChar ¶
func (*NSNumber) InitWithCoder ¶
func (*NSNumber) InitWithDouble ¶
func (*NSNumber) InitWithFloat ¶
func (*NSNumber) InitWithInt ¶
func (*NSNumber) InitWithInteger ¶
func (*NSNumber) InitWithLong ¶
func (*NSNumber) InitWithLongLong ¶
func (*NSNumber) InitWithShort ¶
func (*NSNumber) InitWithUnsignedChar ¶
func (*NSNumber) InitWithUnsignedInt ¶
func (*NSNumber) InitWithUnsignedInteger ¶
func (*NSNumber) InitWithUnsignedLong ¶
func (*NSNumber) InitWithUnsignedLongLong ¶
func (*NSNumber) InitWithUnsignedShort ¶
func (*NSNumber) IntegerValue ¶
func (*NSNumber) IsEqualToNumber ¶
func (*NSNumber) LongLongValue ¶
func (*NSNumber) ShortValue ¶
func (*NSNumber) StringValue ¶
func (*NSNumber) UnsignedCharValue ¶
func (*NSNumber) UnsignedIntValue ¶
func (*NSNumber) UnsignedIntegerValue ¶
func (*NSNumber) UnsignedLongLongValue ¶
func (*NSNumber) UnsignedLongValue ¶
func (*NSNumber) UnsignedShortValue ¶
type NSNumberFormatter ¶
type NSNumberFormatter struct {
NSFormatter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsnumberformatter
func NSNumberFormatterFromID ¶
func NSNumberFormatterFromID(id objc.ID) *NSNumberFormatter
func (*NSNumberFormatter) AllowsFloats ¶
func (o *NSNumberFormatter) AllowsFloats() bool
func (*NSNumberFormatter) AlwaysShowsDecimalSeparator ¶
func (o *NSNumberFormatter) AlwaysShowsDecimalSeparator() bool
func (*NSNumberFormatter) AttributedStringForNil ¶
func (o *NSNumberFormatter) AttributedStringForNil() *NSAttributedString
func (*NSNumberFormatter) AttributedStringForNotANumber ¶
func (o *NSNumberFormatter) AttributedStringForNotANumber() *NSAttributedString
func (*NSNumberFormatter) AttributedStringForZero ¶
func (o *NSNumberFormatter) AttributedStringForZero() *NSAttributedString
func (*NSNumberFormatter) CurrencyCode ¶
func (o *NSNumberFormatter) CurrencyCode() *NSString
func (*NSNumberFormatter) CurrencyDecimalSeparator ¶
func (o *NSNumberFormatter) CurrencyDecimalSeparator() *NSString
func (*NSNumberFormatter) CurrencyGroupingSeparator ¶
func (o *NSNumberFormatter) CurrencyGroupingSeparator() *NSString
func (*NSNumberFormatter) CurrencySymbol ¶
func (o *NSNumberFormatter) CurrencySymbol() *NSString
func (*NSNumberFormatter) DecimalSeparator ¶
func (o *NSNumberFormatter) DecimalSeparator() *NSString
func (*NSNumberFormatter) ExponentSymbol ¶
func (o *NSNumberFormatter) ExponentSymbol() *NSString
func (*NSNumberFormatter) Format ¶
func (o *NSNumberFormatter) Format() *NSString
func (*NSNumberFormatter) FormatWidth ¶
func (o *NSNumberFormatter) FormatWidth() uint
func (*NSNumberFormatter) FormatterBehavior ¶
func (o *NSNumberFormatter) FormatterBehavior() NSNumberFormatterBehavior
func (*NSNumberFormatter) FormattingContext ¶
func (o *NSNumberFormatter) FormattingContext() NSFormattingContext
func (*NSNumberFormatter) GeneratesDecimalNumbers ¶
func (o *NSNumberFormatter) GeneratesDecimalNumbers() bool
func (*NSNumberFormatter) GetObjectValueForStringRangeError ¶
func (o *NSNumberFormatter) GetObjectValueForStringRangeError(obj **ObjcObject, string_ *NSString, rangep *NSRange) (bool, error)
func (*NSNumberFormatter) GroupingSeparator ¶
func (o *NSNumberFormatter) GroupingSeparator() *NSString
func (*NSNumberFormatter) GroupingSize ¶
func (o *NSNumberFormatter) GroupingSize() uint
func (*NSNumberFormatter) HasThousandSeparators ¶
func (o *NSNumberFormatter) HasThousandSeparators() bool
func (*NSNumberFormatter) InternationalCurrencySymbol ¶
func (o *NSNumberFormatter) InternationalCurrencySymbol() *NSString
func (*NSNumberFormatter) IsLenient ¶
func (o *NSNumberFormatter) IsLenient() bool
func (*NSNumberFormatter) IsPartialStringValidationEnabled ¶
func (o *NSNumberFormatter) IsPartialStringValidationEnabled() bool
func (*NSNumberFormatter) Locale ¶
func (o *NSNumberFormatter) Locale() *NSLocale
func (*NSNumberFormatter) LocalizesFormat ¶
func (o *NSNumberFormatter) LocalizesFormat() bool
func (*NSNumberFormatter) Maximum ¶
func (o *NSNumberFormatter) Maximum() *NSNumber
func (*NSNumberFormatter) MaximumFractionDigits ¶
func (o *NSNumberFormatter) MaximumFractionDigits() uint
func (*NSNumberFormatter) MaximumIntegerDigits ¶
func (o *NSNumberFormatter) MaximumIntegerDigits() uint
func (*NSNumberFormatter) MaximumSignificantDigits ¶
func (o *NSNumberFormatter) MaximumSignificantDigits() uint
func (*NSNumberFormatter) Minimum ¶
func (o *NSNumberFormatter) Minimum() *NSNumber
func (*NSNumberFormatter) MinimumFractionDigits ¶
func (o *NSNumberFormatter) MinimumFractionDigits() uint
func (*NSNumberFormatter) MinimumGroupingDigits ¶
func (o *NSNumberFormatter) MinimumGroupingDigits() int
func (*NSNumberFormatter) MinimumIntegerDigits ¶
func (o *NSNumberFormatter) MinimumIntegerDigits() uint
func (*NSNumberFormatter) MinimumSignificantDigits ¶
func (o *NSNumberFormatter) MinimumSignificantDigits() uint
func (*NSNumberFormatter) MinusSign ¶
func (o *NSNumberFormatter) MinusSign() *NSString
func (*NSNumberFormatter) Multiplier ¶
func (o *NSNumberFormatter) Multiplier() *NSNumber
func (*NSNumberFormatter) NegativeFormat ¶
func (o *NSNumberFormatter) NegativeFormat() *NSString
func (*NSNumberFormatter) NegativeInfinitySymbol ¶
func (o *NSNumberFormatter) NegativeInfinitySymbol() *NSString
func (*NSNumberFormatter) NegativePrefix ¶
func (o *NSNumberFormatter) NegativePrefix() *NSString
func (*NSNumberFormatter) NegativeSuffix ¶
func (o *NSNumberFormatter) NegativeSuffix() *NSString
func (*NSNumberFormatter) NilSymbol ¶
func (o *NSNumberFormatter) NilSymbol() *NSString
func (*NSNumberFormatter) NotANumberSymbol ¶
func (o *NSNumberFormatter) NotANumberSymbol() *NSString
func (*NSNumberFormatter) NumberFromString ¶
func (o *NSNumberFormatter) NumberFromString(string_ *NSString) *NSNumber
func (*NSNumberFormatter) NumberStyle ¶
func (o *NSNumberFormatter) NumberStyle() NSNumberFormatterStyle
func (*NSNumberFormatter) PaddingCharacter ¶
func (o *NSNumberFormatter) PaddingCharacter() *NSString
func (*NSNumberFormatter) PaddingPosition ¶
func (o *NSNumberFormatter) PaddingPosition() NSNumberFormatterPadPosition
func (*NSNumberFormatter) PerMillSymbol ¶
func (o *NSNumberFormatter) PerMillSymbol() *NSString
func (*NSNumberFormatter) PercentSymbol ¶
func (o *NSNumberFormatter) PercentSymbol() *NSString
func (*NSNumberFormatter) PlusSign ¶
func (o *NSNumberFormatter) PlusSign() *NSString
func (*NSNumberFormatter) PositiveFormat ¶
func (o *NSNumberFormatter) PositiveFormat() *NSString
func (*NSNumberFormatter) PositiveInfinitySymbol ¶
func (o *NSNumberFormatter) PositiveInfinitySymbol() *NSString
func (*NSNumberFormatter) PositivePrefix ¶
func (o *NSNumberFormatter) PositivePrefix() *NSString
func (*NSNumberFormatter) PositiveSuffix ¶
func (o *NSNumberFormatter) PositiveSuffix() *NSString
func (*NSNumberFormatter) RoundingBehavior ¶
func (o *NSNumberFormatter) RoundingBehavior() *NSDecimalNumberHandler
func (*NSNumberFormatter) RoundingIncrement ¶
func (o *NSNumberFormatter) RoundingIncrement() *NSNumber
func (*NSNumberFormatter) RoundingMode ¶
func (o *NSNumberFormatter) RoundingMode() NSNumberFormatterRoundingMode
func (*NSNumberFormatter) SecondaryGroupingSize ¶
func (o *NSNumberFormatter) SecondaryGroupingSize() uint
func (*NSNumberFormatter) SetAllowsFloats ¶
func (o *NSNumberFormatter) SetAllowsFloats(allowsFloats bool)
func (*NSNumberFormatter) SetAlwaysShowsDecimalSeparator ¶
func (o *NSNumberFormatter) SetAlwaysShowsDecimalSeparator(alwaysShowsDecimalSeparator bool)
func (*NSNumberFormatter) SetAttributedStringForNil ¶
func (o *NSNumberFormatter) SetAttributedStringForNil(attributedStringForNil *NSAttributedString)
func (*NSNumberFormatter) SetAttributedStringForNotANumber ¶
func (o *NSNumberFormatter) SetAttributedStringForNotANumber(attributedStringForNotANumber *NSAttributedString)
func (*NSNumberFormatter) SetAttributedStringForZero ¶
func (o *NSNumberFormatter) SetAttributedStringForZero(attributedStringForZero *NSAttributedString)
func (*NSNumberFormatter) SetCurrencyCode ¶
func (o *NSNumberFormatter) SetCurrencyCode(currencyCode *NSString)
func (*NSNumberFormatter) SetCurrencyDecimalSeparator ¶
func (o *NSNumberFormatter) SetCurrencyDecimalSeparator(currencyDecimalSeparator *NSString)
func (*NSNumberFormatter) SetCurrencyGroupingSeparator ¶
func (o *NSNumberFormatter) SetCurrencyGroupingSeparator(currencyGroupingSeparator *NSString)
func (*NSNumberFormatter) SetCurrencySymbol ¶
func (o *NSNumberFormatter) SetCurrencySymbol(currencySymbol *NSString)
func (*NSNumberFormatter) SetDecimalSeparator ¶
func (o *NSNumberFormatter) SetDecimalSeparator(decimalSeparator *NSString)
func (*NSNumberFormatter) SetExponentSymbol ¶
func (o *NSNumberFormatter) SetExponentSymbol(exponentSymbol *NSString)
func (*NSNumberFormatter) SetFormat ¶
func (o *NSNumberFormatter) SetFormat(format *NSString)
func (*NSNumberFormatter) SetFormatWidth ¶
func (o *NSNumberFormatter) SetFormatWidth(formatWidth uint)
func (*NSNumberFormatter) SetFormatterBehavior ¶
func (o *NSNumberFormatter) SetFormatterBehavior(formatterBehavior NSNumberFormatterBehavior)
func (*NSNumberFormatter) SetFormattingContext ¶
func (o *NSNumberFormatter) SetFormattingContext(formattingContext NSFormattingContext)
func (*NSNumberFormatter) SetGeneratesDecimalNumbers ¶
func (o *NSNumberFormatter) SetGeneratesDecimalNumbers(generatesDecimalNumbers bool)
func (*NSNumberFormatter) SetGroupingSeparator ¶
func (o *NSNumberFormatter) SetGroupingSeparator(groupingSeparator *NSString)
func (*NSNumberFormatter) SetGroupingSize ¶
func (o *NSNumberFormatter) SetGroupingSize(groupingSize uint)
func (*NSNumberFormatter) SetHasThousandSeparators ¶
func (o *NSNumberFormatter) SetHasThousandSeparators(hasThousandSeparators bool)
func (*NSNumberFormatter) SetInternationalCurrencySymbol ¶
func (o *NSNumberFormatter) SetInternationalCurrencySymbol(internationalCurrencySymbol *NSString)
func (*NSNumberFormatter) SetLenient ¶
func (o *NSNumberFormatter) SetLenient(lenient bool)
func (*NSNumberFormatter) SetLocale ¶
func (o *NSNumberFormatter) SetLocale(locale *NSLocale)
func (*NSNumberFormatter) SetLocalizesFormat ¶
func (o *NSNumberFormatter) SetLocalizesFormat(localizesFormat bool)
func (*NSNumberFormatter) SetMaximum ¶
func (o *NSNumberFormatter) SetMaximum(maximum *NSNumber)
func (*NSNumberFormatter) SetMaximumFractionDigits ¶
func (o *NSNumberFormatter) SetMaximumFractionDigits(maximumFractionDigits uint)
func (*NSNumberFormatter) SetMaximumIntegerDigits ¶
func (o *NSNumberFormatter) SetMaximumIntegerDigits(maximumIntegerDigits uint)
func (*NSNumberFormatter) SetMaximumSignificantDigits ¶
func (o *NSNumberFormatter) SetMaximumSignificantDigits(maximumSignificantDigits uint)
func (*NSNumberFormatter) SetMinimum ¶
func (o *NSNumberFormatter) SetMinimum(minimum *NSNumber)
func (*NSNumberFormatter) SetMinimumFractionDigits ¶
func (o *NSNumberFormatter) SetMinimumFractionDigits(minimumFractionDigits uint)
func (*NSNumberFormatter) SetMinimumGroupingDigits ¶
func (o *NSNumberFormatter) SetMinimumGroupingDigits(minimumGroupingDigits int)
func (*NSNumberFormatter) SetMinimumIntegerDigits ¶
func (o *NSNumberFormatter) SetMinimumIntegerDigits(minimumIntegerDigits uint)
func (*NSNumberFormatter) SetMinimumSignificantDigits ¶
func (o *NSNumberFormatter) SetMinimumSignificantDigits(minimumSignificantDigits uint)
func (*NSNumberFormatter) SetMinusSign ¶
func (o *NSNumberFormatter) SetMinusSign(minusSign *NSString)
func (*NSNumberFormatter) SetMultiplier ¶
func (o *NSNumberFormatter) SetMultiplier(multiplier *NSNumber)
func (*NSNumberFormatter) SetNegativeFormat ¶
func (o *NSNumberFormatter) SetNegativeFormat(negativeFormat *NSString)
func (*NSNumberFormatter) SetNegativeInfinitySymbol ¶
func (o *NSNumberFormatter) SetNegativeInfinitySymbol(negativeInfinitySymbol *NSString)
func (*NSNumberFormatter) SetNegativePrefix ¶
func (o *NSNumberFormatter) SetNegativePrefix(negativePrefix *NSString)
func (*NSNumberFormatter) SetNegativeSuffix ¶
func (o *NSNumberFormatter) SetNegativeSuffix(negativeSuffix *NSString)
func (*NSNumberFormatter) SetNilSymbol ¶
func (o *NSNumberFormatter) SetNilSymbol(nilSymbol *NSString)
func (*NSNumberFormatter) SetNotANumberSymbol ¶
func (o *NSNumberFormatter) SetNotANumberSymbol(notANumberSymbol *NSString)
func (*NSNumberFormatter) SetNumberStyle ¶
func (o *NSNumberFormatter) SetNumberStyle(numberStyle NSNumberFormatterStyle)
func (*NSNumberFormatter) SetPaddingCharacter ¶
func (o *NSNumberFormatter) SetPaddingCharacter(paddingCharacter *NSString)
func (*NSNumberFormatter) SetPaddingPosition ¶
func (o *NSNumberFormatter) SetPaddingPosition(paddingPosition NSNumberFormatterPadPosition)
func (*NSNumberFormatter) SetPartialStringValidationEnabled ¶
func (o *NSNumberFormatter) SetPartialStringValidationEnabled(partialStringValidationEnabled bool)
func (*NSNumberFormatter) SetPerMillSymbol ¶
func (o *NSNumberFormatter) SetPerMillSymbol(perMillSymbol *NSString)
func (*NSNumberFormatter) SetPercentSymbol ¶
func (o *NSNumberFormatter) SetPercentSymbol(percentSymbol *NSString)
func (*NSNumberFormatter) SetPlusSign ¶
func (o *NSNumberFormatter) SetPlusSign(plusSign *NSString)
func (*NSNumberFormatter) SetPositiveFormat ¶
func (o *NSNumberFormatter) SetPositiveFormat(positiveFormat *NSString)
func (*NSNumberFormatter) SetPositiveInfinitySymbol ¶
func (o *NSNumberFormatter) SetPositiveInfinitySymbol(positiveInfinitySymbol *NSString)
func (*NSNumberFormatter) SetPositivePrefix ¶
func (o *NSNumberFormatter) SetPositivePrefix(positivePrefix *NSString)
func (*NSNumberFormatter) SetPositiveSuffix ¶
func (o *NSNumberFormatter) SetPositiveSuffix(positiveSuffix *NSString)
func (*NSNumberFormatter) SetRoundingBehavior ¶
func (o *NSNumberFormatter) SetRoundingBehavior(roundingBehavior *NSDecimalNumberHandler)
func (*NSNumberFormatter) SetRoundingIncrement ¶
func (o *NSNumberFormatter) SetRoundingIncrement(roundingIncrement *NSNumber)
func (*NSNumberFormatter) SetRoundingMode ¶
func (o *NSNumberFormatter) SetRoundingMode(roundingMode NSNumberFormatterRoundingMode)
func (*NSNumberFormatter) SetSecondaryGroupingSize ¶
func (o *NSNumberFormatter) SetSecondaryGroupingSize(secondaryGroupingSize uint)
func (*NSNumberFormatter) SetTextAttributesForNegativeInfinity ¶
func (o *NSNumberFormatter) SetTextAttributesForNegativeInfinity(textAttributesForNegativeInfinity *NSDictionary[*NSString, objc.ID])
func (*NSNumberFormatter) SetTextAttributesForNegativeValues ¶
func (o *NSNumberFormatter) SetTextAttributesForNegativeValues(textAttributesForNegativeValues *NSDictionary[*NSString, objc.ID])
func (*NSNumberFormatter) SetTextAttributesForNil ¶
func (o *NSNumberFormatter) SetTextAttributesForNil(textAttributesForNil *NSDictionary[*NSString, objc.ID])
func (*NSNumberFormatter) SetTextAttributesForNotANumber ¶
func (o *NSNumberFormatter) SetTextAttributesForNotANumber(textAttributesForNotANumber *NSDictionary[*NSString, objc.ID])
func (*NSNumberFormatter) SetTextAttributesForPositiveInfinity ¶
func (o *NSNumberFormatter) SetTextAttributesForPositiveInfinity(textAttributesForPositiveInfinity *NSDictionary[*NSString, objc.ID])
func (*NSNumberFormatter) SetTextAttributesForPositiveValues ¶
func (o *NSNumberFormatter) SetTextAttributesForPositiveValues(textAttributesForPositiveValues *NSDictionary[*NSString, objc.ID])
func (*NSNumberFormatter) SetTextAttributesForZero ¶
func (o *NSNumberFormatter) SetTextAttributesForZero(textAttributesForZero *NSDictionary[*NSString, objc.ID])
func (*NSNumberFormatter) SetThousandSeparator ¶
func (o *NSNumberFormatter) SetThousandSeparator(thousandSeparator *NSString)
func (*NSNumberFormatter) SetUsesGroupingSeparator ¶
func (o *NSNumberFormatter) SetUsesGroupingSeparator(usesGroupingSeparator bool)
func (*NSNumberFormatter) SetUsesSignificantDigits ¶
func (o *NSNumberFormatter) SetUsesSignificantDigits(usesSignificantDigits bool)
func (*NSNumberFormatter) SetZeroSymbol ¶
func (o *NSNumberFormatter) SetZeroSymbol(zeroSymbol *NSString)
func (*NSNumberFormatter) StringFromNumber ¶
func (o *NSNumberFormatter) StringFromNumber(number *NSNumber) *NSString
func (*NSNumberFormatter) TextAttributesForNegativeInfinity ¶
func (o *NSNumberFormatter) TextAttributesForNegativeInfinity() *NSDictionary[*NSString, objc.ID]
func (*NSNumberFormatter) TextAttributesForNegativeValues ¶
func (o *NSNumberFormatter) TextAttributesForNegativeValues() *NSDictionary[*NSString, objc.ID]
func (*NSNumberFormatter) TextAttributesForNil ¶
func (o *NSNumberFormatter) TextAttributesForNil() *NSDictionary[*NSString, objc.ID]
func (*NSNumberFormatter) TextAttributesForNotANumber ¶
func (o *NSNumberFormatter) TextAttributesForNotANumber() *NSDictionary[*NSString, objc.ID]
func (*NSNumberFormatter) TextAttributesForPositiveInfinity ¶
func (o *NSNumberFormatter) TextAttributesForPositiveInfinity() *NSDictionary[*NSString, objc.ID]
func (*NSNumberFormatter) TextAttributesForPositiveValues ¶
func (o *NSNumberFormatter) TextAttributesForPositiveValues() *NSDictionary[*NSString, objc.ID]
func (*NSNumberFormatter) TextAttributesForZero ¶
func (o *NSNumberFormatter) TextAttributesForZero() *NSDictionary[*NSString, objc.ID]
func (*NSNumberFormatter) ThousandSeparator ¶
func (o *NSNumberFormatter) ThousandSeparator() *NSString
func (*NSNumberFormatter) UsesGroupingSeparator ¶
func (o *NSNumberFormatter) UsesGroupingSeparator() bool
func (*NSNumberFormatter) UsesSignificantDigits ¶
func (o *NSNumberFormatter) UsesSignificantDigits() bool
func (*NSNumberFormatter) ZeroSymbol ¶
func (o *NSNumberFormatter) ZeroSymbol() *NSString
type NSNumberFormatterBehavior ¶
type NSNumberFormatterBehavior uint64
const ( NSNumberFormatterBehaviorDefault NSNumberFormatterBehavior = 0 NSNumberFormatterBehavior10_0 NSNumberFormatterBehavior = 1000 NSNumberFormatterBehavior10_4 NSNumberFormatterBehavior = 1040 )
func NSNumberFormatterDefaultFormatterBehavior ¶
func NSNumberFormatterDefaultFormatterBehavior() NSNumberFormatterBehavior
func (NSNumberFormatterBehavior) String ¶
func (e NSNumberFormatterBehavior) String() string
type NSNumberFormatterPadPosition ¶
type NSNumberFormatterPadPosition uint64
const ( NSNumberFormatterPadBeforePrefix NSNumberFormatterPadPosition = 0 NSNumberFormatterPadAfterPrefix NSNumberFormatterPadPosition = 1 NSNumberFormatterPadBeforeSuffix NSNumberFormatterPadPosition = 2 NSNumberFormatterPadAfterSuffix NSNumberFormatterPadPosition = 3 )
func (NSNumberFormatterPadPosition) String ¶
func (e NSNumberFormatterPadPosition) String() string
type NSNumberFormatterRoundingMode ¶
type NSNumberFormatterRoundingMode uint64
const ( NSNumberFormatterRoundCeiling NSNumberFormatterRoundingMode = 0 NSNumberFormatterRoundFloor NSNumberFormatterRoundingMode = 1 NSNumberFormatterRoundDown NSNumberFormatterRoundingMode = 2 NSNumberFormatterRoundUp NSNumberFormatterRoundingMode = 3 NSNumberFormatterRoundHalfEven NSNumberFormatterRoundingMode = 4 NSNumberFormatterRoundHalfDown NSNumberFormatterRoundingMode = 5 NSNumberFormatterRoundHalfUp NSNumberFormatterRoundingMode = 6 )
func (NSNumberFormatterRoundingMode) String ¶
func (e NSNumberFormatterRoundingMode) String() string
type NSNumberFormatterStyle ¶
type NSNumberFormatterStyle uint64
const ( NSNumberFormatterNoStyle NSNumberFormatterStyle = 0 NSNumberFormatterDecimalStyle NSNumberFormatterStyle = 1 NSNumberFormatterCurrencyStyle NSNumberFormatterStyle = 2 NSNumberFormatterPercentStyle NSNumberFormatterStyle = 3 NSNumberFormatterScientificStyle NSNumberFormatterStyle = 4 NSNumberFormatterSpellOutStyle NSNumberFormatterStyle = 5 NSNumberFormatterOrdinalStyle NSNumberFormatterStyle = 6 NSNumberFormatterCurrencyISOCodeStyle NSNumberFormatterStyle = 8 NSNumberFormatterCurrencyPluralStyle NSNumberFormatterStyle = 9 NSNumberFormatterCurrencyAccountingStyle NSNumberFormatterStyle = 10 )
func (NSNumberFormatterStyle) String ¶
func (e NSNumberFormatterStyle) String() string
type NSObject ¶
type NSObject struct {
// contains filtered or unexported fields
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsobject
func NSObjectAlloc ¶
func NSObjectAlloc() *NSObject
func NSObjectAllocWithZone ¶
func NSObjectFromID ¶
func NSObjectNew ¶
func NSObjectNew() *NSObject
func NXReadNSObjectFromCoder
deprecated
func (*NSObject) AddObserverForKeyPathOptionsContext ¶
func (*NSObject) AttemptRecoveryFromErrorOptionIndex ¶
func (*NSObject) AttributeKeys ¶
func (*NSObject) AutoContentAccessingProxy ¶
func (*NSObject) AwakeAfterUsingCoder ¶
func (*NSObject) ClassDescription ¶
func (o *NSObject) ClassDescription() *NSClassDescription
func (*NSObject) ClassForArchiver ¶
func (*NSObject) ClassForCoder ¶
func (*NSObject) ClassForKeyedArchiver ¶
func (*NSObject) ClassForPortCoder
deprecated
func (*NSObject) CoerceValueForKey ¶
func (*NSObject) CopyScriptingValueForKeyWithProperties ¶
func (*NSObject) DictionaryWithValuesForKeys ¶
func (*NSObject) DidChangeValueForKey ¶
func (*NSObject) DidChangeValueForKeyWithSetMutationUsingObjects ¶
func (*NSObject) DidChangeValuesAtIndexesForKey ¶
func (o *NSObject) DidChangeValuesAtIndexesForKey(changeKind NSKeyValueChange, indexes *NSIndexSet, key *NSString)
func (*NSObject) DoesNotRecognizeSelector ¶
func (*NSObject) FileManagerShouldProceedAfterError
deprecated
func (o *NSObject) FileManagerShouldProceedAfterError(fm *NSFileManager, errorInfo *NSDictionary[objc.ID, objc.ID]) bool
Deprecated: Handler API no longer supported
func (*NSObject) FileManagerWillProcessPath
deprecated
func (o *NSObject) FileManagerWillProcessPath(fm *NSFileManager, path *NSString)
Deprecated: Handler API no longer supported
func (*NSObject) ForwardInvocation ¶
func (o *NSObject) ForwardInvocation(anInvocation *NSInvocation)
func (*NSObject) ForwardingTargetForSelector ¶
func (*NSObject) HandleQueryWithUnboundKey
deprecated
func (*NSObject) HandleTakeValueForUnboundKey
deprecated
func (*NSObject) IndicesOfObjectsByEvaluatingObjectSpecifier ¶
func (o *NSObject) IndicesOfObjectsByEvaluatingObjectSpecifier(specifier *NSScriptObjectSpecifier) *NSArray[*NSNumber]
func (*NSObject) InsertValueAtIndexInPropertyWithKey ¶
func (*NSObject) InsertValueInPropertyWithKey ¶
func (*NSObject) InverseForRelationshipKey ¶
func (*NSObject) IsCaseInsensitiveLike ¶
func (*NSObject) IsGreaterThanOrEqualTo ¶
func (*NSObject) MethodForSelector ¶
func (*NSObject) MethodSignatureForSelector ¶
func (o *NSObject) MethodSignatureForSelector(aSelector objc.SEL) *NSMethodSignature
func (*NSObject) MutableArrayValueForKey ¶
func (o *NSObject) MutableArrayValueForKey(key *NSString) *NSMutableArray[objc.ID]
func (*NSObject) MutableArrayValueForKeyPath ¶
func (o *NSObject) MutableArrayValueForKeyPath(keyPath *NSString) *NSMutableArray[objc.ID]
func (*NSObject) MutableCopy ¶
func (*NSObject) MutableOrderedSetValueForKey ¶
func (o *NSObject) MutableOrderedSetValueForKey(key *NSString) *NSMutableOrderedSet[objc.ID]
func (*NSObject) MutableOrderedSetValueForKeyPath ¶
func (o *NSObject) MutableOrderedSetValueForKeyPath(keyPath *NSString) *NSMutableOrderedSet[objc.ID]
func (*NSObject) MutableSetValueForKey ¶
func (o *NSObject) MutableSetValueForKey(key *NSString) *NSMutableSet[objc.ID]
func (*NSObject) MutableSetValueForKeyPath ¶
func (o *NSObject) MutableSetValueForKeyPath(keyPath *NSString) *NSMutableSet[objc.ID]
func (*NSObject) NewScriptingObjectOfClassForValueForKeyWithContentsValueProperties ¶
func (*NSObject) ObjectSpecifier ¶
func (o *NSObject) ObjectSpecifier() *NSScriptObjectSpecifier
func (*NSObject) ObservationInfo ¶
func (*NSObject) ObserveValueForKeyPathOfObjectChangeContext ¶
func (*NSObject) PerformSelectorInBackgroundWithObject ¶
func (*NSObject) PerformSelectorOnMainThreadWithObjectWaitUntilDone ¶
func (*NSObject) PerformSelectorOnThreadWithObjectWaitUntilDone ¶
func (*NSObject) PerformSelectorOnThreadWithObjectWaitUntilDoneModes ¶
func (*NSObject) PerformSelectorWithObjectAfterDelay ¶
func (*NSObject) PerformSelectorWithObjectAfterDelayInModes ¶
func (*NSObject) RemoveObserverForKeyPath ¶
func (*NSObject) RemoveObserverForKeyPathContext ¶
func (*NSObject) RemoveValueAtIndexFromPropertyWithKey ¶
func (*NSObject) ReplaceValueAtIndexInPropertyWithKeyWithValue ¶
func (*NSObject) ReplacementObjectForArchiver
deprecated
func (o *NSObject) ReplacementObjectForArchiver(archiver *NSArchiver) objc.ID
Deprecated: since macOS 10.13.
func (*NSObject) ReplacementObjectForCoder ¶
func (*NSObject) ReplacementObjectForKeyedArchiver ¶
func (o *NSObject) ReplacementObjectForKeyedArchiver(archiver *NSKeyedArchiver) objc.ID
func (*NSObject) ReplacementObjectForPortCoder
deprecated
func (o *NSObject) ReplacementObjectForPortCoder(coder *NSPortCoder) objc.ID
Deprecated: Use NSXPCConnection instead
func (*NSObject) ScriptingIsGreaterThan ¶
func (*NSObject) ScriptingIsGreaterThanOrEqualTo ¶
func (*NSObject) ScriptingIsLessThanOrEqualTo ¶
func (*NSObject) ScriptingProperties ¶
func (o *NSObject) ScriptingProperties() *NSDictionary[*NSString, objc.ID]
func (*NSObject) ScriptingValueForSpecifier ¶
func (o *NSObject) ScriptingValueForSpecifier(objectSpecifier *NSScriptObjectSpecifier) objc.ID
func (*NSObject) SetNilValueForKey ¶
func (*NSObject) SetObservationInfo ¶
func (*NSObject) SetScriptingProperties ¶
func (o *NSObject) SetScriptingProperties(scriptingProperties *NSDictionary[*NSString, objc.ID])
func (*NSObject) SetSharedObservers ¶
func (o *NSObject) SetSharedObservers(sharedObservers *NSKeyValueSharedObserversSnapshot)
Register shared observations. A shared observation collection might be shared between multiple observables to minimise registration work. Shared observers remain registered throughout the object's lifetime and do not need to be removed using `removeObserver:`. An observable may only have one set of shared observations. Subsequent calls to this method will replace existing shared observations. - Parameter sharedObservers: shared observer collection that was initialized with the class of this object - Invariant: `sharedObserers` was initialized with the class of this object - Throws: Exception if the class of the receiving observable object does not match the class with which `sharedObserers` was initialized.
func (*NSObject) SetValueForKeyPath ¶
func (*NSObject) SetValueForUndefinedKey ¶
func (*NSObject) SetValuesForKeysWithDictionary ¶
func (o *NSObject) SetValuesForKeysWithDictionary(keyedValues *NSDictionary[*NSString, objc.ID])
func (*NSObject) StoredValueForKey
deprecated
func (*NSObject) TakeStoredValueForKey
deprecated
func (*NSObject) TakeValueForKey
deprecated
func (*NSObject) TakeValueForKeyPath
deprecated
func (*NSObject) TakeValuesFromDictionary
deprecated
func (*NSObject) ToManyRelationshipKeys ¶
func (*NSObject) ToOneRelationshipKeys ¶
func (*NSObject) URLResourceDataDidBecomeAvailable
deprecated
func (*NSObject) URLResourceDidCancelLoading
deprecated
func (*NSObject) URLResourceDidFailLoadingWithReason
deprecated
func (*NSObject) URLResourceDidFinishLoading
deprecated
func (*NSObject) UnableToSetNilForKey
deprecated
func (*NSObject) ValidateValueForKeyError ¶
func (o *NSObject) ValidateValueForKeyError(ioValue **ObjcObject, inKey *NSString) (bool, error)
func (*NSObject) ValidateValueForKeyPathError ¶
func (o *NSObject) ValidateValueForKeyPathError(ioValue **ObjcObject, inKeyPath *NSString) (bool, error)
func (*NSObject) ValueAtIndexInPropertyWithKey ¶
func (*NSObject) ValueForUndefinedKey ¶
func (*NSObject) ValueWithNameInPropertyWithKey ¶
func (*NSObject) ValueWithUniqueIDInPropertyWithKey ¶
func (*NSObject) ValuesForKeys
deprecated
func (*NSObject) WillChangeValueForKey ¶
func (*NSObject) WillChangeValueForKeyWithSetMutationUsingObjects ¶
func (*NSObject) WillChangeValuesAtIndexesForKey ¶
func (o *NSObject) WillChangeValuesAtIndexesForKey(changeKind NSKeyValueChange, indexes *NSIndexSet, key *NSString)
type NSObjectProtocol ¶
type NSObjectProtocol interface {
IsEqual(object objc.ID) bool
Class() objc.Class
Self() unsafe.Pointer
PerformSelector(aSelector objc.SEL) objc.ID
PerformSelectorWithObject(aSelector objc.SEL, object objc.ID) objc.ID
PerformSelectorWithObjectWithObject(aSelector objc.SEL, object1 objc.ID, object2 objc.ID) objc.ID
IsProxy() bool
IsKindOfClass(aClass objc.Class) bool
IsMemberOfClass(aClass objc.Class) bool
ConformsToProtocol(aProtocol unsafe.Pointer) bool
RespondsToSelector(aSelector objc.SEL) bool
Retain() unsafe.Pointer
Release()
Autorelease() unsafe.Pointer
RetainCount() uint
Zone() unsafe.Pointer
Hash() uint
Superclass() objc.Class
Description() *NSString
}
NSObjectProtocol wraps the ObjC protocol NSObject.
type NSOperatingSystemVersion
deprecated
type NSOperation ¶
type NSOperation struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsoperation
func NSOperationFromID ¶
func NSOperationFromID(id objc.ID) *NSOperation
func (*NSOperation) AddDependency ¶
func (o *NSOperation) AddDependency(op *NSOperation)
func (*NSOperation) Cancel ¶
func (o *NSOperation) Cancel()
func (*NSOperation) CompletionBlock ¶
func (o *NSOperation) CompletionBlock() objc.Block
func (*NSOperation) Dependencies ¶
func (o *NSOperation) Dependencies() *NSArray[*NSOperation]
func (*NSOperation) IsAsynchronous ¶
func (o *NSOperation) IsAsynchronous() bool
func (*NSOperation) IsCancelled ¶
func (o *NSOperation) IsCancelled() bool
func (*NSOperation) IsConcurrent ¶
func (o *NSOperation) IsConcurrent() bool
func (*NSOperation) IsExecuting ¶
func (o *NSOperation) IsExecuting() bool
func (*NSOperation) IsFinished ¶
func (o *NSOperation) IsFinished() bool
func (*NSOperation) IsReady ¶
func (o *NSOperation) IsReady() bool
func (*NSOperation) Main ¶
func (o *NSOperation) Main()
func (*NSOperation) Name ¶
func (o *NSOperation) Name() *NSString
func (*NSOperation) QualityOfService ¶
func (o *NSOperation) QualityOfService() NSQualityOfService
func (*NSOperation) QueuePriority ¶
func (o *NSOperation) QueuePriority() NSOperationQueuePriority
func (*NSOperation) RemoveDependency ¶
func (o *NSOperation) RemoveDependency(op *NSOperation)
func (*NSOperation) SetCompletionBlock ¶
func (o *NSOperation) SetCompletionBlock(completionBlock func())
func (*NSOperation) SetName ¶
func (o *NSOperation) SetName(name *NSString)
func (*NSOperation) SetQualityOfService ¶
func (o *NSOperation) SetQualityOfService(qualityOfService NSQualityOfService)
func (*NSOperation) SetQueuePriority ¶
func (o *NSOperation) SetQueuePriority(queuePriority NSOperationQueuePriority)
func (*NSOperation) SetThreadPriority
deprecated
func (o *NSOperation) SetThreadPriority(threadPriority float64)
Deprecated: Not supported
func (*NSOperation) Start ¶
func (o *NSOperation) Start()
func (*NSOperation) ThreadPriority
deprecated
func (o *NSOperation) ThreadPriority() float64
Deprecated: Not supported
func (*NSOperation) WaitUntilFinished ¶
func (o *NSOperation) WaitUntilFinished()
type NSOperationQueue ¶
type NSOperationQueue struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsoperationqueue
func NSOperationQueueCurrentQueue ¶
func NSOperationQueueCurrentQueue() *NSOperationQueue
func NSOperationQueueFromID ¶
func NSOperationQueueFromID(id objc.ID) *NSOperationQueue
func NSOperationQueueMainQueue ¶
func NSOperationQueueMainQueue() *NSOperationQueue
func (*NSOperationQueue) AddBarrierBlock ¶
func (o *NSOperationQueue) AddBarrierBlock(barrier func())
@method addBarrierBlock: @param barrier A block to execute @discussion The `addBarrierBlock:` method executes the block when the NSOperationQueue has finished all enqueued operations and prevents any subsequent operations to be executed until the barrier has been completed. This acts similarly to the `dispatch_barrier_async` function.
func (*NSOperationQueue) AddOperation ¶
func (o *NSOperationQueue) AddOperation(op *NSOperation)
func (*NSOperationQueue) AddOperationWith ¶
func (o *NSOperationQueue) AddOperationWith(block func())
func (*NSOperationQueue) AddOperationsWaitUntilFinished ¶
func (o *NSOperationQueue) AddOperationsWaitUntilFinished(ops *NSArray[*NSOperation], wait bool)
func (*NSOperationQueue) CancelAllOperations ¶
func (o *NSOperationQueue) CancelAllOperations()
func (*NSOperationQueue) IsSuspended ¶
func (o *NSOperationQueue) IsSuspended() bool
func (*NSOperationQueue) MaxConcurrentOperationCount ¶
func (o *NSOperationQueue) MaxConcurrentOperationCount() int
func (*NSOperationQueue) Name ¶
func (o *NSOperationQueue) Name() *NSString
func (*NSOperationQueue) OperationCount
deprecated
func (o *NSOperationQueue) OperationCount() uint
Deprecated: since macOS API_TO_BE_DEPRECATED.
func (*NSOperationQueue) Operations
deprecated
func (o *NSOperationQueue) Operations() *NSArray[*NSOperation]
Deprecated: access to operations is inherently a race condition, it should not be used. For barrier style behaviors please use addBarrierBlock: instead
func (*NSOperationQueue) Progress ¶
func (o *NSOperationQueue) Progress() *NSProgress
@property progress @discussion The `progress` property represents a total progress of the operations executed in the queue. By default NSOperationQueue does not report progress until the `totalUnitCount` of the progress is set. When the `totalUnitCount` property of the progress is set the queue then opts into participating in progress reporting. When enabled, each operation will contribute 1 unit of completion to the overall progress of the queue for operations that are finished by the end of main (operations that override start and do not invoke super will not contribute to progress). Special attention to race conditions should be made when updating the `totalUnitCount` of the progress as well as care should be taken to avoid 'backwards progress'. For example; when a NSOperationQueue's progress is 5/10, representing 50% completed, and there are 90 more operations about to be added and the `totalUnitCount` that would then make the progress report as 5/100 which represents 5%. In this example it would mean that any progress bar would jump from displaying 50% back to 5%, which might not be desirable. In the cases where the `totalUnitCount` needs to be adjusted it is suggested to do this for thread-safety in a barrier by using the `addBarrierBlock:` API. This ensures that no un-expected execution state occurs adjusting into a potentially backwards moving progress scenario. @example NSOperationQueue *queue = [[NSOperationQueue alloc] init]; queue.progress.totalUnitCount = 10;
func (*NSOperationQueue) QualityOfService ¶
func (o *NSOperationQueue) QualityOfService() NSQualityOfService
func (*NSOperationQueue) SetMaxConcurrentOperationCount ¶
func (o *NSOperationQueue) SetMaxConcurrentOperationCount(maxConcurrentOperationCount int)
func (*NSOperationQueue) SetName ¶
func (o *NSOperationQueue) SetName(name *NSString)
func (*NSOperationQueue) SetQualityOfService ¶
func (o *NSOperationQueue) SetQualityOfService(qualityOfService NSQualityOfService)
func (*NSOperationQueue) SetSuspended ¶
func (o *NSOperationQueue) SetSuspended(suspended bool)
func (*NSOperationQueue) SetUnderlyingQueue ¶
func (o *NSOperationQueue) SetUnderlyingQueue(underlyingQueue *NSObject)
func (*NSOperationQueue) UnderlyingQueue ¶
func (o *NSOperationQueue) UnderlyingQueue() *NSObject
func (*NSOperationQueue) WaitUntilAllOperationsAreFinished ¶
func (o *NSOperationQueue) WaitUntilAllOperationsAreFinished()
type NSOperationQueuePriority ¶
type NSOperationQueuePriority int64
const ( NSOperationQueuePriorityVeryLow NSOperationQueuePriority = -8 NSOperationQueuePriorityLow NSOperationQueuePriority = -4 NSOperationQueuePriorityNormal NSOperationQueuePriority = 0 NSOperationQueuePriorityHigh NSOperationQueuePriority = 4 NSOperationQueuePriorityVeryHigh NSOperationQueuePriority = 8 )
func (NSOperationQueuePriority) String ¶
func (e NSOperationQueuePriority) String() string
type NSOrderedCollectionChange ¶
Apple documentation: https://developer.apple.com/documentation/foundation/nsorderedcollectionchange
func NSOrderedCollectionChangeChangeWithObjectTypeIndex ¶
func NSOrderedCollectionChangeChangeWithObjectTypeIndex(anObject objc.ID, type_ NSCollectionChangeType, index uint) *NSOrderedCollectionChange[objc.ID]
func NSOrderedCollectionChangeChangeWithObjectTypeIndexAssociatedIndex ¶
func NSOrderedCollectionChangeChangeWithObjectTypeIndexAssociatedIndex(anObject objc.ID, type_ NSCollectionChangeType, index uint, associatedIndex uint) *NSOrderedCollectionChange[objc.ID]
func NSOrderedCollectionChangeFromID ¶
func NSOrderedCollectionChangeFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSOrderedCollectionChange[ObjectType]
func (*NSOrderedCollectionChange[ObjectType]) AssociatedIndex ¶
func (o *NSOrderedCollectionChange[ObjectType]) AssociatedIndex() uint
func (*NSOrderedCollectionChange[ObjectType]) ChangeType ¶
func (o *NSOrderedCollectionChange[ObjectType]) ChangeType() NSCollectionChangeType
func (*NSOrderedCollectionChange[ObjectType]) Index ¶
func (o *NSOrderedCollectionChange[ObjectType]) Index() uint
func (*NSOrderedCollectionChange[ObjectType]) InitWithObjectTypeIndex ¶
func (o *NSOrderedCollectionChange[ObjectType]) InitWithObjectTypeIndex(anObject ObjectType, type_ NSCollectionChangeType, index uint) *NSOrderedCollectionChange[ObjectType]
func (*NSOrderedCollectionChange[ObjectType]) InitWithObjectTypeIndexAssociatedIndex ¶
func (o *NSOrderedCollectionChange[ObjectType]) InitWithObjectTypeIndexAssociatedIndex(anObject ObjectType, type_ NSCollectionChangeType, index uint, associatedIndex uint) *NSOrderedCollectionChange[ObjectType]
func (*NSOrderedCollectionChange[ObjectType]) Object ¶
func (o *NSOrderedCollectionChange[ObjectType]) Object() ObjectType
type NSOrderedCollectionDifference ¶
Apple documentation: https://developer.apple.com/documentation/foundation/nsorderedcollectiondifference
func NSOrderedCollectionDifferenceFromID ¶
func NSOrderedCollectionDifferenceFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSOrderedCollectionDifference[ObjectType]
func (*NSOrderedCollectionDifference[ObjectType]) DifferenceByTransformingChangesWith ¶
func (o *NSOrderedCollectionDifference[ObjectType]) DifferenceByTransformingChangesWith(block objc.Block) *NSOrderedCollectionDifference[objc.ID]
func (*NSOrderedCollectionDifference[ObjectType]) HasChanges ¶
func (o *NSOrderedCollectionDifference[ObjectType]) HasChanges() bool
func (*NSOrderedCollectionDifference[ObjectType]) InitWithChanges ¶
func (o *NSOrderedCollectionDifference[ObjectType]) InitWithChanges(changes *NSArray[objc.ID]) *NSOrderedCollectionDifference[ObjectType]
Creates a new difference representing the changes in the parameter. For clients interested in the difference between two collections, the collection's differenceFrom method should be used instead. To guarantee that instances are unambiguous and safe for compatible base states, this method requires that its parameter conform to the following requirements: 1) All insertion offsets are unique 2) All removal offsets are unique 3) All associated indexes match a change with the opposite parity.
func (*NSOrderedCollectionDifference[ObjectType]) InitWithInsertIndexesInsertedObjectsRemoveIndexesRemovedObjects ¶
func (o *NSOrderedCollectionDifference[ObjectType]) InitWithInsertIndexesInsertedObjectsRemoveIndexesRemovedObjects(inserts *NSIndexSet, insertedObjects *NSArray[ObjectType], removes *NSIndexSet, removedObjects *NSArray[ObjectType]) *NSOrderedCollectionDifference[ObjectType]
func (*NSOrderedCollectionDifference[ObjectType]) InitWithInsertIndexesInsertedObjectsRemoveIndexesRemovedObjectsAdditionalChanges ¶
func (o *NSOrderedCollectionDifference[ObjectType]) InitWithInsertIndexesInsertedObjectsRemoveIndexesRemovedObjectsAdditionalChanges(inserts *NSIndexSet, insertedObjects *NSArray[ObjectType], removes *NSIndexSet, removedObjects *NSArray[ObjectType], changes *NSArray[objc.ID]) *NSOrderedCollectionDifference[ObjectType]
func (*NSOrderedCollectionDifference[ObjectType]) Insertions ¶
func (o *NSOrderedCollectionDifference[ObjectType]) Insertions() *NSArray[objc.ID]
func (*NSOrderedCollectionDifference[ObjectType]) InverseDifference ¶
func (o *NSOrderedCollectionDifference[ObjectType]) InverseDifference() *NSOrderedCollectionDifference[ObjectType]
type NSOrderedCollectionDifferenceCalculationOptions ¶
type NSOrderedCollectionDifferenceCalculationOptions uint64
const ( // Insertion changes do not store a reference to the inserted object. NSOrderedCollectionDifferenceCalculationOmitInsertedObjects NSOrderedCollectionDifferenceCalculationOptions = 1 // Insertion changes do not store a reference to the removed object. NSOrderedCollectionDifferenceCalculationOmitRemovedObjects NSOrderedCollectionDifferenceCalculationOptions = 2 // Assume objects that were uniquely removed and inserted were moved. This is useful when diffing based on identity instead of equality. NSOrderedCollectionDifferenceCalculationInferMoves NSOrderedCollectionDifferenceCalculationOptions = 4 )
func (NSOrderedCollectionDifferenceCalculationOptions) String ¶
func (e NSOrderedCollectionDifferenceCalculationOptions) String() string
type NSOrderedSet ¶
Apple documentation: https://developer.apple.com/documentation/foundation/nsorderedset
func NSOrderedSetFromID ¶
func NSOrderedSetFromID[ObjectType pureobjc.AnyObject](id objc.ID) *NSOrderedSet[ObjectType]
func NSOrderedSetOrderedSet ¶
func NSOrderedSetOrderedSet() *NSOrderedSet[objc.ID]
func NSOrderedSetOrderedSetWithObject ¶
func NSOrderedSetOrderedSetWithObject(object objc.ID) *NSOrderedSet[objc.ID]
func NSOrderedSetOrderedSetWithOrderedSet ¶
func NSOrderedSetOrderedSetWithOrderedSet(set *NSOrderedSet[objc.ID]) *NSOrderedSet[objc.ID]
func NSOrderedSetOrderedSetWithOrderedSetRangeCopyItems ¶
func NSOrderedSetOrderedSetWithOrderedSetRangeCopyItems(set *NSOrderedSet[objc.ID], range_ NSRange, flag bool) *NSOrderedSet[objc.ID]
func (*NSOrderedSet[ObjectType]) Array ¶
func (o *NSOrderedSet[ObjectType]) Array() *NSArray[ObjectType]
func (*NSOrderedSet[ObjectType]) ContainsObject ¶
func (o *NSOrderedSet[ObjectType]) ContainsObject(object ObjectType) bool
func (*NSOrderedSet[ObjectType]) Count ¶
func (o *NSOrderedSet[ObjectType]) Count() uint
func (*NSOrderedSet[ObjectType]) DescriptionWithLocale ¶
func (o *NSOrderedSet[ObjectType]) DescriptionWithLocale(locale objc.ID) *NSString
func (*NSOrderedSet[ObjectType]) DescriptionWithLocaleIndent ¶
func (o *NSOrderedSet[ObjectType]) DescriptionWithLocaleIndent(locale objc.ID, level uint) *NSString
func (*NSOrderedSet[ObjectType]) DifferenceFromOrderedSet ¶
func (o *NSOrderedSet[ObjectType]) DifferenceFromOrderedSet(other *NSOrderedSet[ObjectType]) *NSOrderedCollectionDifference[ObjectType]
func (*NSOrderedSet[ObjectType]) DifferenceFromOrderedSetWithOptions ¶
func (o *NSOrderedSet[ObjectType]) DifferenceFromOrderedSetWithOptions(other *NSOrderedSet[ObjectType], options NSOrderedCollectionDifferenceCalculationOptions) *NSOrderedCollectionDifference[ObjectType]
func (*NSOrderedSet[ObjectType]) DifferenceFromOrderedSetWithOptionsUsingEquivalenceTest ¶
func (o *NSOrderedSet[ObjectType]) DifferenceFromOrderedSetWithOptionsUsingEquivalenceTest(other *NSOrderedSet[ObjectType], options NSOrderedCollectionDifferenceCalculationOptions, block objc.Block) *NSOrderedCollectionDifference[ObjectType]
func (*NSOrderedSet[ObjectType]) EnumerateObjectsAtIndexesOptionsUsing ¶
func (o *NSOrderedSet[ObjectType]) EnumerateObjectsAtIndexesOptionsUsing(s *NSIndexSet, opts NSEnumerationOptions, block objc.Block)
func (*NSOrderedSet[ObjectType]) EnumerateObjectsUsing ¶
func (o *NSOrderedSet[ObjectType]) EnumerateObjectsUsing(block objc.Block)
func (*NSOrderedSet[ObjectType]) EnumerateObjectsWithOptionsUsing ¶
func (o *NSOrderedSet[ObjectType]) EnumerateObjectsWithOptionsUsing(opts NSEnumerationOptions, block objc.Block)
func (*NSOrderedSet[ObjectType]) FilteredOrderedSetUsingPredicate ¶
func (o *NSOrderedSet[ObjectType]) FilteredOrderedSetUsingPredicate(p *NSPredicate) *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) FirstObject ¶
func (o *NSOrderedSet[ObjectType]) FirstObject() ObjectType
func (*NSOrderedSet[ObjectType]) GetObjectsRange ¶
func (o *NSOrderedSet[ObjectType]) GetObjectsRange(objects unsafe.Pointer, range_ NSRange)
func (*NSOrderedSet[ObjectType]) IndexOfObject ¶
func (o *NSOrderedSet[ObjectType]) IndexOfObject(object ObjectType) uint
func (*NSOrderedSet[ObjectType]) IndexOfObjectAtIndexesOptionsPassingTest ¶
func (o *NSOrderedSet[ObjectType]) IndexOfObjectAtIndexesOptionsPassingTest(s *NSIndexSet, opts NSEnumerationOptions, predicate objc.Block) uint
func (*NSOrderedSet[ObjectType]) IndexOfObjectInSortedRangeOptionsUsingComparator ¶
func (o *NSOrderedSet[ObjectType]) IndexOfObjectInSortedRangeOptionsUsingComparator(object ObjectType, range_ NSRange, opts NSBinarySearchingOptions, cmp func(objc.ID, objc.ID) NSComparisonResult) uint
func (*NSOrderedSet[ObjectType]) IndexOfObjectPassingTest ¶
func (o *NSOrderedSet[ObjectType]) IndexOfObjectPassingTest(predicate objc.Block) uint
func (*NSOrderedSet[ObjectType]) IndexOfObjectWithOptionsPassingTest ¶
func (o *NSOrderedSet[ObjectType]) IndexOfObjectWithOptionsPassingTest(opts NSEnumerationOptions, predicate objc.Block) uint
func (*NSOrderedSet[ObjectType]) IndexesOfObjectsAtIndexesOptionsPassingTest ¶
func (o *NSOrderedSet[ObjectType]) IndexesOfObjectsAtIndexesOptionsPassingTest(s *NSIndexSet, opts NSEnumerationOptions, predicate objc.Block) *NSIndexSet
func (*NSOrderedSet[ObjectType]) IndexesOfObjectsPassingTest ¶
func (o *NSOrderedSet[ObjectType]) IndexesOfObjectsPassingTest(predicate objc.Block) *NSIndexSet
func (*NSOrderedSet[ObjectType]) IndexesOfObjectsWithOptionsPassingTest ¶
func (o *NSOrderedSet[ObjectType]) IndexesOfObjectsWithOptionsPassingTest(opts NSEnumerationOptions, predicate objc.Block) *NSIndexSet
func (*NSOrderedSet[ObjectType]) Init ¶
func (o *NSOrderedSet[ObjectType]) Init() *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) InitWithArray ¶
func (o *NSOrderedSet[ObjectType]) InitWithArray(array *NSArray[ObjectType]) *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) InitWithArrayCopyItems ¶
func (o *NSOrderedSet[ObjectType]) InitWithArrayCopyItems(set *NSArray[ObjectType], flag bool) *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) InitWithArrayRangeCopyItems ¶
func (o *NSOrderedSet[ObjectType]) InitWithArrayRangeCopyItems(set *NSArray[ObjectType], range_ NSRange, flag bool) *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) InitWithCoder ¶
func (o *NSOrderedSet[ObjectType]) InitWithCoder(coder *NSCoder) *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) InitWithObject ¶
func (o *NSOrderedSet[ObjectType]) InitWithObject(object ObjectType) *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) InitWithObjectsCount ¶
func (o *NSOrderedSet[ObjectType]) InitWithObjectsCount(objects unsafe.Pointer, cnt uint) *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) InitWithOrderedSet ¶
func (o *NSOrderedSet[ObjectType]) InitWithOrderedSet(set *NSOrderedSet[ObjectType]) *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) InitWithOrderedSetCopyItems ¶
func (o *NSOrderedSet[ObjectType]) InitWithOrderedSetCopyItems(set *NSOrderedSet[ObjectType], flag bool) *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) InitWithOrderedSetRangeCopyItems ¶
func (o *NSOrderedSet[ObjectType]) InitWithOrderedSetRangeCopyItems(set *NSOrderedSet[ObjectType], range_ NSRange, flag bool) *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) InitWithSet ¶
func (o *NSOrderedSet[ObjectType]) InitWithSet(set *NSSet[ObjectType]) *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) InitWithSetCopyItems ¶
func (o *NSOrderedSet[ObjectType]) InitWithSetCopyItems(set *NSSet[ObjectType], flag bool) *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) IntersectsOrderedSet ¶
func (o *NSOrderedSet[ObjectType]) IntersectsOrderedSet(other *NSOrderedSet[ObjectType]) bool
func (*NSOrderedSet[ObjectType]) IntersectsSet ¶
func (o *NSOrderedSet[ObjectType]) IntersectsSet(set *NSSet[ObjectType]) bool
func (*NSOrderedSet[ObjectType]) IsEqualToOrderedSet ¶
func (o *NSOrderedSet[ObjectType]) IsEqualToOrderedSet(other *NSOrderedSet[ObjectType]) bool
func (*NSOrderedSet[ObjectType]) IsSubsetOfOrderedSet ¶
func (o *NSOrderedSet[ObjectType]) IsSubsetOfOrderedSet(other *NSOrderedSet[ObjectType]) bool
func (*NSOrderedSet[ObjectType]) IsSubsetOfSet ¶
func (o *NSOrderedSet[ObjectType]) IsSubsetOfSet(set *NSSet[ObjectType]) bool
func (*NSOrderedSet[ObjectType]) LastObject ¶
func (o *NSOrderedSet[ObjectType]) LastObject() ObjectType
func (*NSOrderedSet[ObjectType]) ObjectAtIndex ¶
func (o *NSOrderedSet[ObjectType]) ObjectAtIndex(idx uint) ObjectType
func (*NSOrderedSet[ObjectType]) ObjectAtIndexedSubscript ¶
func (o *NSOrderedSet[ObjectType]) ObjectAtIndexedSubscript(idx uint) ObjectType
func (*NSOrderedSet[ObjectType]) ObjectEnumerator ¶
func (o *NSOrderedSet[ObjectType]) ObjectEnumerator() *NSEnumerator[ObjectType]
func (*NSOrderedSet[ObjectType]) ObjectsAtIndexes ¶
func (o *NSOrderedSet[ObjectType]) ObjectsAtIndexes(indexes *NSIndexSet) *NSArray[ObjectType]
func (*NSOrderedSet[ObjectType]) OrderedSetByApplyingDifference ¶
func (o *NSOrderedSet[ObjectType]) OrderedSetByApplyingDifference(difference *NSOrderedCollectionDifference[ObjectType]) *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) ReverseObjectEnumerator ¶
func (o *NSOrderedSet[ObjectType]) ReverseObjectEnumerator() *NSEnumerator[ObjectType]
func (*NSOrderedSet[ObjectType]) ReversedOrderedSet ¶
func (o *NSOrderedSet[ObjectType]) ReversedOrderedSet() *NSOrderedSet[ObjectType]
func (*NSOrderedSet[ObjectType]) Set ¶
func (o *NSOrderedSet[ObjectType]) Set() *NSSet[ObjectType]
func (*NSOrderedSet[ObjectType]) SortedArrayUsingComparator ¶
func (o *NSOrderedSet[ObjectType]) SortedArrayUsingComparator(cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSArray[ObjectType]
func (*NSOrderedSet[ObjectType]) SortedArrayUsingDescriptors ¶
func (o *NSOrderedSet[ObjectType]) SortedArrayUsingDescriptors(sortDescriptors *NSArray[*NSSortDescriptor]) *NSArray[ObjectType]
func (*NSOrderedSet[ObjectType]) SortedArrayWithOptionsUsingComparator ¶
func (o *NSOrderedSet[ObjectType]) SortedArrayWithOptionsUsingComparator(opts NSSortOptions, cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSArray[ObjectType]
type NSOrthography ¶
type NSOrthography struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsorthography
func NSOrthographyDefaultOrthographyForLanguage ¶
func NSOrthographyDefaultOrthographyForLanguage(language *NSString) *NSOrthography
func NSOrthographyFromID ¶
func NSOrthographyFromID(id objc.ID) *NSOrthography
func NSOrthographyOrthographyWithDominantScriptLanguageMap ¶
func NSOrthographyOrthographyWithDominantScriptLanguageMap(script *NSString, map_ *NSDictionary[*NSString, objc.ID]) *NSOrthography
func (*NSOrthography) AllLanguages ¶
func (o *NSOrthography) AllLanguages() *NSArray[*NSString]
func (*NSOrthography) AllScripts ¶
func (o *NSOrthography) AllScripts() *NSArray[*NSString]
func (*NSOrthography) DominantLanguage ¶
func (o *NSOrthography) DominantLanguage() *NSString
func (*NSOrthography) DominantLanguageForScript ¶
func (o *NSOrthography) DominantLanguageForScript(script *NSString) *NSString
func (*NSOrthography) DominantScript ¶
func (o *NSOrthography) DominantScript() *NSString
func (*NSOrthography) InitWithCoder ¶
func (o *NSOrthography) InitWithCoder(coder *NSCoder) *NSOrthography
func (*NSOrthography) InitWithDominantScriptLanguageMap ¶
func (o *NSOrthography) InitWithDominantScriptLanguageMap(script *NSString, map_ *NSDictionary[*NSString, objc.ID]) *NSOrthography
func (*NSOrthography) LanguageMap ¶
func (o *NSOrthography) LanguageMap() *NSDictionary[*NSString, objc.ID]
func (*NSOrthography) LanguagesForScript ¶
func (o *NSOrthography) LanguagesForScript(script *NSString) *NSArray[*NSString]
type NSOutputStream ¶
type NSOutputStream struct {
NSStream
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsoutputstream
func NSOutputStreamFromID ¶
func NSOutputStreamFromID(id objc.ID) *NSOutputStream
func NSOutputStreamOutputStreamToBufferCapacity ¶
func NSOutputStreamOutputStreamToBufferCapacity(buffer *uint8, capacity uint) *NSOutputStream
func NSOutputStreamOutputStreamToFileAtPathAppend ¶
func NSOutputStreamOutputStreamToFileAtPathAppend(path *NSString, shouldAppend bool) *NSOutputStream
func NSOutputStreamOutputStreamToMemory ¶
func NSOutputStreamOutputStreamToMemory() *NSOutputStream
func NSOutputStreamOutputStreamWithURLAppend ¶
func NSOutputStreamOutputStreamWithURLAppend(url *NSURL, shouldAppend bool) *NSOutputStream
func (*NSOutputStream) HasSpaceAvailable ¶
func (o *NSOutputStream) HasSpaceAvailable() bool
func (*NSOutputStream) InitToBufferCapacity ¶
func (o *NSOutputStream) InitToBufferCapacity(buffer *uint8, capacity uint) *NSOutputStream
func (*NSOutputStream) InitToFileAtPathAppend ¶
func (o *NSOutputStream) InitToFileAtPathAppend(path *NSString, shouldAppend bool) *NSOutputStream
func (*NSOutputStream) InitToMemory ¶
func (o *NSOutputStream) InitToMemory() *NSOutputStream
func (*NSOutputStream) InitWithURLAppend ¶
func (o *NSOutputStream) InitWithURLAppend(url *NSURL, shouldAppend bool) *NSOutputStream
func (*NSOutputStream) WriteMaxLength ¶
func (o *NSOutputStream) WriteMaxLength(buffer *uint8, len_ uint) int
type NSPersonNameComponents ¶
type NSPersonNameComponents struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nspersonnamecomponents
func NSPersonNameComponentsFromID ¶
func NSPersonNameComponentsFromID(id objc.ID) *NSPersonNameComponents
func (*NSPersonNameComponents) FamilyName ¶
func (o *NSPersonNameComponents) FamilyName() *NSString
func (*NSPersonNameComponents) GivenName ¶
func (o *NSPersonNameComponents) GivenName() *NSString
func (*NSPersonNameComponents) MiddleName ¶
func (o *NSPersonNameComponents) MiddleName() *NSString
func (*NSPersonNameComponents) NamePrefix ¶
func (o *NSPersonNameComponents) NamePrefix() *NSString
func (*NSPersonNameComponents) NameSuffix ¶
func (o *NSPersonNameComponents) NameSuffix() *NSString
func (*NSPersonNameComponents) Nickname ¶
func (o *NSPersonNameComponents) Nickname() *NSString
func (*NSPersonNameComponents) PhoneticRepresentation ¶
func (o *NSPersonNameComponents) PhoneticRepresentation() *NSPersonNameComponents
func (*NSPersonNameComponents) SetFamilyName ¶
func (o *NSPersonNameComponents) SetFamilyName(familyName *NSString)
func (*NSPersonNameComponents) SetGivenName ¶
func (o *NSPersonNameComponents) SetGivenName(givenName *NSString)
func (*NSPersonNameComponents) SetMiddleName ¶
func (o *NSPersonNameComponents) SetMiddleName(middleName *NSString)
func (*NSPersonNameComponents) SetNamePrefix ¶
func (o *NSPersonNameComponents) SetNamePrefix(namePrefix *NSString)
func (*NSPersonNameComponents) SetNameSuffix ¶
func (o *NSPersonNameComponents) SetNameSuffix(nameSuffix *NSString)
func (*NSPersonNameComponents) SetNickname ¶
func (o *NSPersonNameComponents) SetNickname(nickname *NSString)
func (*NSPersonNameComponents) SetPhoneticRepresentation ¶
func (o *NSPersonNameComponents) SetPhoneticRepresentation(phoneticRepresentation *NSPersonNameComponents)
type NSPersonNameComponentsFormatter ¶
type NSPersonNameComponentsFormatter struct {
NSFormatter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nspersonnamecomponentsformatter
func NSPersonNameComponentsFormatterFromID ¶
func NSPersonNameComponentsFormatterFromID(id objc.ID) *NSPersonNameComponentsFormatter
func (*NSPersonNameComponentsFormatter) AnnotatedStringFromPersonNameComponents ¶
func (o *NSPersonNameComponentsFormatter) AnnotatedStringFromPersonNameComponents(components *NSPersonNameComponents) *NSAttributedString
func (*NSPersonNameComponentsFormatter) IsPhonetic ¶
func (o *NSPersonNameComponentsFormatter) IsPhonetic() bool
func (*NSPersonNameComponentsFormatter) Locale ¶
func (o *NSPersonNameComponentsFormatter) Locale() *NSLocale
func (*NSPersonNameComponentsFormatter) PersonNameComponentsFromString ¶
func (o *NSPersonNameComponentsFormatter) PersonNameComponentsFromString(string_ *NSString) *NSPersonNameComponents
func (*NSPersonNameComponentsFormatter) SetLocale ¶
func (o *NSPersonNameComponentsFormatter) SetLocale(locale *NSLocale)
func (*NSPersonNameComponentsFormatter) SetPhonetic ¶
func (o *NSPersonNameComponentsFormatter) SetPhonetic(phonetic bool)
func (*NSPersonNameComponentsFormatter) SetStyle ¶
func (o *NSPersonNameComponentsFormatter) SetStyle(style NSPersonNameComponentsFormatterStyle)
func (*NSPersonNameComponentsFormatter) StringFromPersonNameComponents ¶
func (o *NSPersonNameComponentsFormatter) StringFromPersonNameComponents(components *NSPersonNameComponents) *NSString
func (*NSPersonNameComponentsFormatter) Style ¶
func (o *NSPersonNameComponentsFormatter) Style() NSPersonNameComponentsFormatterStyle
type NSPersonNameComponentsFormatterOptions ¶
type NSPersonNameComponentsFormatterOptions uint64
const (
NSPersonNameComponentsFormatterPhonetic NSPersonNameComponentsFormatterOptions = 2
)
func (NSPersonNameComponentsFormatterOptions) String ¶
func (e NSPersonNameComponentsFormatterOptions) String() string
type NSPersonNameComponentsFormatterStyle ¶
type NSPersonNameComponentsFormatterStyle int64
const ( NSPersonNameComponentsFormatterStyleDefault NSPersonNameComponentsFormatterStyle = 0 NSPersonNameComponentsFormatterStyleShort NSPersonNameComponentsFormatterStyle = 1 NSPersonNameComponentsFormatterStyleMedium NSPersonNameComponentsFormatterStyle = 2 NSPersonNameComponentsFormatterStyleLong NSPersonNameComponentsFormatterStyle = 3 NSPersonNameComponentsFormatterStyleAbbreviated NSPersonNameComponentsFormatterStyle = 4 )
func (NSPersonNameComponentsFormatterStyle) String ¶
func (e NSPersonNameComponentsFormatterStyle) String() string
type NSPipe ¶
type NSPipe struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nspipe
func NSPipeFromID ¶
func NSPipePipe ¶
func NSPipePipe() *NSPipe
func (*NSPipe) FileHandleForReading ¶
func (o *NSPipe) FileHandleForReading() *NSFileHandle
func (*NSPipe) FileHandleForWriting ¶
func (o *NSPipe) FileHandleForWriting() *NSFileHandle
type NSPointerArray ¶
type NSPointerArray struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nspointerarray
func NSPointerArrayFromID ¶
func NSPointerArrayFromID(id objc.ID) *NSPointerArray
func NSPointerArrayPointerArrayWithOptions ¶
func NSPointerArrayPointerArrayWithOptions(options NSPointerFunctionsOptions) *NSPointerArray
func NSPointerArrayPointerArrayWithPointerFunctions ¶
func NSPointerArrayPointerArrayWithPointerFunctions(functions *NSPointerFunctions) *NSPointerArray
func NSPointerArrayStrongObjectsPointerArray ¶
func NSPointerArrayStrongObjectsPointerArray() *NSPointerArray
func NSPointerArrayWeakObjectsPointerArray ¶
func NSPointerArrayWeakObjectsPointerArray() *NSPointerArray
func (*NSPointerArray) AddPointer ¶
func (o *NSPointerArray) AddPointer(pointer unsafe.Pointer)
func (*NSPointerArray) AllObjects ¶
func (o *NSPointerArray) AllObjects() *NSArray[objc.ID]
func (*NSPointerArray) Compact ¶
func (o *NSPointerArray) Compact()
func (*NSPointerArray) Count ¶
func (o *NSPointerArray) Count() uint
func (*NSPointerArray) InitWithOptions ¶
func (o *NSPointerArray) InitWithOptions(options NSPointerFunctionsOptions) *NSPointerArray
func (*NSPointerArray) InitWithPointerFunctions ¶
func (o *NSPointerArray) InitWithPointerFunctions(functions *NSPointerFunctions) *NSPointerArray
func (*NSPointerArray) InsertPointerAtIndex ¶
func (o *NSPointerArray) InsertPointerAtIndex(item unsafe.Pointer, index uint)
func (*NSPointerArray) PointerAtIndex ¶
func (o *NSPointerArray) PointerAtIndex(index uint) unsafe.Pointer
func (*NSPointerArray) PointerFunctions ¶
func (o *NSPointerArray) PointerFunctions() *NSPointerFunctions
func (*NSPointerArray) RemovePointerAtIndex ¶
func (o *NSPointerArray) RemovePointerAtIndex(index uint)
func (*NSPointerArray) ReplacePointerAtIndexWithPointer ¶
func (o *NSPointerArray) ReplacePointerAtIndexWithPointer(index uint, item unsafe.Pointer)
func (*NSPointerArray) SetCount ¶
func (o *NSPointerArray) SetCount(count uint)
type NSPointerFunctions ¶
type NSPointerFunctions struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nspointerfunctions
func NSPointerFunctionsFromID ¶
func NSPointerFunctionsFromID(id objc.ID) *NSPointerFunctions
func NSPointerFunctionsPointerFunctionsWithOptions ¶
func NSPointerFunctionsPointerFunctionsWithOptions(options NSPointerFunctionsOptions) *NSPointerFunctions
func (*NSPointerFunctions) AcquireFunction ¶
func (o *NSPointerFunctions) AcquireFunction() unsafe.Pointer
func (*NSPointerFunctions) DescriptionFunction ¶
func (o *NSPointerFunctions) DescriptionFunction() unsafe.Pointer
func (*NSPointerFunctions) HashFunction ¶
func (o *NSPointerFunctions) HashFunction() unsafe.Pointer
func (*NSPointerFunctions) InitWithOptions ¶
func (o *NSPointerFunctions) InitWithOptions(options NSPointerFunctionsOptions) *NSPointerFunctions
func (*NSPointerFunctions) IsEqualFunction ¶
func (o *NSPointerFunctions) IsEqualFunction() unsafe.Pointer
func (*NSPointerFunctions) RelinquishFunction ¶
func (o *NSPointerFunctions) RelinquishFunction() unsafe.Pointer
func (*NSPointerFunctions) SetAcquireFunction ¶
func (o *NSPointerFunctions) SetAcquireFunction(acquireFunction unsafe.Pointer)
func (*NSPointerFunctions) SetDescriptionFunction ¶
func (o *NSPointerFunctions) SetDescriptionFunction(descriptionFunction unsafe.Pointer)
func (*NSPointerFunctions) SetHashFunction ¶
func (o *NSPointerFunctions) SetHashFunction(hashFunction unsafe.Pointer)
func (*NSPointerFunctions) SetIsEqualFunction ¶
func (o *NSPointerFunctions) SetIsEqualFunction(isEqualFunction unsafe.Pointer)
func (*NSPointerFunctions) SetRelinquishFunction ¶
func (o *NSPointerFunctions) SetRelinquishFunction(relinquishFunction unsafe.Pointer)
func (*NSPointerFunctions) SetSizeFunction ¶
func (o *NSPointerFunctions) SetSizeFunction(sizeFunction unsafe.Pointer)
func (*NSPointerFunctions) SetUsesStrongWriteBarrier
deprecated
func (o *NSPointerFunctions) SetUsesStrongWriteBarrier(usesStrongWriteBarrier bool)
Deprecated: Garbage collection no longer supported
func (*NSPointerFunctions) SetUsesWeakReadAndWriteBarriers
deprecated
func (o *NSPointerFunctions) SetUsesWeakReadAndWriteBarriers(usesWeakReadAndWriteBarriers bool)
Deprecated: Garbage collection no longer supported
func (*NSPointerFunctions) SizeFunction ¶
func (o *NSPointerFunctions) SizeFunction() unsafe.Pointer
func (*NSPointerFunctions) UsesStrongWriteBarrier
deprecated
func (o *NSPointerFunctions) UsesStrongWriteBarrier() bool
Deprecated: Garbage collection no longer supported
func (*NSPointerFunctions) UsesWeakReadAndWriteBarriers
deprecated
func (o *NSPointerFunctions) UsesWeakReadAndWriteBarriers() bool
Deprecated: Garbage collection no longer supported
type NSPointerFunctionsOptions ¶
type NSPointerFunctionsOptions uint64
const ( NSPointerFunctionsStrongMemory NSPointerFunctionsOptions = 0 NSPointerFunctionsZeroingWeakMemory NSPointerFunctionsOptions = 1 NSPointerFunctionsOpaqueMemory NSPointerFunctionsOptions = 2 NSPointerFunctionsMallocMemory NSPointerFunctionsOptions = 3 NSPointerFunctionsMachVirtualMemory NSPointerFunctionsOptions = 4 NSPointerFunctionsWeakMemory NSPointerFunctionsOptions = 5 NSPointerFunctionsObjectPersonality NSPointerFunctionsOptions = 0 NSPointerFunctionsOpaquePersonality NSPointerFunctionsOptions = 256 NSPointerFunctionsObjectPointerPersonality NSPointerFunctionsOptions = 512 NSPointerFunctionsCStringPersonality NSPointerFunctionsOptions = 768 NSPointerFunctionsStructPersonality NSPointerFunctionsOptions = 1024 NSPointerFunctionsIntegerPersonality NSPointerFunctionsOptions = 1280 NSPointerFunctionsCopyIn NSPointerFunctionsOptions = 65536 )
func (NSPointerFunctionsOptions) String ¶
func (e NSPointerFunctionsOptions) String() string
type NSPort ¶
type NSPort struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsport
func NSMachPortPortWithMachPortOptions ¶
func NSMachPortPortWithMachPortOptions(machPort uint32, f NSMachPortOptions) *NSPort
func NSPortFromID ¶
func NSPortPort ¶
func NSPortPort() *NSPort
func (*NSPort) AddConnectionToRunLoopForMode
deprecated
func (o *NSPort) AddConnectionToRunLoopForMode(conn *NSConnection, runLoop *NSRunLoop, mode *NSString)
Deprecated: Use NSXPCConnection instead
func (*NSPort) Delegate ¶
func (o *NSPort) Delegate() NSPortDelegate
func (*NSPort) Invalidate ¶
func (o *NSPort) Invalidate()
func (*NSPort) RemoveConnectionFromRunLoopForMode
deprecated
func (o *NSPort) RemoveConnectionFromRunLoopForMode(conn *NSConnection, runLoop *NSRunLoop, mode *NSString)
Deprecated: Use NSXPCConnection instead
func (*NSPort) RemoveFromRunLoopForMode ¶
func (*NSPort) ReservedSpaceLength ¶
func (*NSPort) ScheduleInRunLoopForMode ¶
func (*NSPort) SendBeforeDateComponentsFromReserved ¶
func (*NSPort) SendBeforeDateMsgidComponentsFromReserved ¶
func (*NSPort) SetDelegate ¶
func (o *NSPort) SetDelegate(anObject NSPortDelegate)
type NSPortCoder ¶
type NSPortCoder struct {
NSCoder
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsportcoder Deprecated: Use NSXPCConnection instead
func NSPortCoderFromID ¶
func NSPortCoderFromID(id objc.ID) *NSPortCoder
func (*NSPortCoder) Connection
deprecated
func (o *NSPortCoder) Connection() *NSConnection
Deprecated: since macOS 10.7.
func (*NSPortCoder) DecodePortObject ¶
func (o *NSPortCoder) DecodePortObject() *NSPort
func (*NSPortCoder) Dispatch
deprecated
func (o *NSPortCoder) Dispatch()
Deprecated: since macOS 10.7.
func (*NSPortCoder) EncodePortObject ¶
func (o *NSPortCoder) EncodePortObject(aport *NSPort)
func (*NSPortCoder) InitWithReceivePortSendPortComponents
deprecated
func (*NSPortCoder) IsBycopy
deprecated
func (o *NSPortCoder) IsBycopy() bool
Deprecated: Use NSXPCConnection instead
func (*NSPortCoder) IsByref ¶
func (o *NSPortCoder) IsByref() bool
type NSPortDelegate ¶
type NSPortDelegate interface {
}
NSPortDelegate wraps the ObjC protocol NSPortDelegate.
type NSPortMessage ¶
type NSPortMessage struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsportmessage
func NSPortMessageFromID ¶
func NSPortMessageFromID(id objc.ID) *NSPortMessage
func (*NSPortMessage) Components ¶
func (o *NSPortMessage) Components() *NSArray[objc.ID]
func (*NSPortMessage) InitWithSendPortReceivePortComponents ¶
func (o *NSPortMessage) InitWithSendPortReceivePortComponents(sendPort *NSPort, replyPort *NSPort, components *NSArray[objc.ID]) *NSPortMessage
func (*NSPortMessage) Msgid ¶
func (o *NSPortMessage) Msgid() uint32
func (*NSPortMessage) ReceivePort ¶
func (o *NSPortMessage) ReceivePort() *NSPort
func (*NSPortMessage) SendBeforeDate ¶
func (o *NSPortMessage) SendBeforeDate(date *NSDate) bool
func (*NSPortMessage) SendPort ¶
func (o *NSPortMessage) SendPort() *NSPort
func (*NSPortMessage) SetMsgid ¶
func (o *NSPortMessage) SetMsgid(msgid uint32)
type NSPortNameServer ¶
type NSPortNameServer struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsportnameserver Deprecated: Use NSXPCConnection instead
func NSPortNameServerFromID ¶
func NSPortNameServerFromID(id objc.ID) *NSPortNameServer
func NSPortNameServerSystemDefaultPortNameServer
deprecated
func NSPortNameServerSystemDefaultPortNameServer() *NSPortNameServer
Deprecated: Use NSXPCConnection instead
func (*NSPortNameServer) PortForName ¶
func (o *NSPortNameServer) PortForName(name *NSString) *NSPort
func (*NSPortNameServer) PortForNameHost ¶
func (o *NSPortNameServer) PortForNameHost(name *NSString, host *NSString) *NSPort
func (*NSPortNameServer) RegisterPortName ¶
func (o *NSPortNameServer) RegisterPortName(port *NSPort, name *NSString) bool
func (*NSPortNameServer) RemovePortForName ¶
func (o *NSPortNameServer) RemovePortForName(name *NSString) bool
type NSPositionalSpecifier ¶
type NSPositionalSpecifier struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nspositionalspecifier
func NSPositionalSpecifierFromID ¶
func NSPositionalSpecifierFromID(id objc.ID) *NSPositionalSpecifier
func (*NSPositionalSpecifier) Evaluate ¶
func (o *NSPositionalSpecifier) Evaluate()
func (*NSPositionalSpecifier) InitWithPositionObjectSpecifier ¶
func (o *NSPositionalSpecifier) InitWithPositionObjectSpecifier(position NSInsertionPosition, specifier *NSScriptObjectSpecifier) *NSPositionalSpecifier
func (*NSPositionalSpecifier) InsertionContainer ¶
func (o *NSPositionalSpecifier) InsertionContainer() objc.ID
func (*NSPositionalSpecifier) InsertionIndex ¶
func (o *NSPositionalSpecifier) InsertionIndex() int
func (*NSPositionalSpecifier) InsertionKey ¶
func (o *NSPositionalSpecifier) InsertionKey() *NSString
func (*NSPositionalSpecifier) InsertionReplaces ¶
func (o *NSPositionalSpecifier) InsertionReplaces() bool
func (*NSPositionalSpecifier) Position ¶
func (o *NSPositionalSpecifier) Position() NSInsertionPosition
func (*NSPositionalSpecifier) SetInsertionClassDescription ¶
func (o *NSPositionalSpecifier) SetInsertionClassDescription(classDescription *NSScriptClassDescription)
type NSPostingStyle ¶
type NSPostingStyle uint64
const ( NSPostWhenIdle NSPostingStyle = 1 NSPostASAP NSPostingStyle = 2 NSPostNow NSPostingStyle = 3 )
func (NSPostingStyle) String ¶
func (e NSPostingStyle) String() string
type NSPredicate ¶
type NSPredicate struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nspredicate
func NSPredicateFromID ¶
func NSPredicateFromID(id objc.ID) *NSPredicate
func NSPredicatePredicateFromMetadataQueryString ¶
func NSPredicatePredicateFromMetadataQueryString(queryString *NSString) *NSPredicate
func NSPredicatePredicateWith ¶
func NSPredicatePredicateWith(block objc.Block) *NSPredicate
func NSPredicatePredicateWithFormat ¶
func NSPredicatePredicateWithFormat(predicateFormat *NSString) *NSPredicate
func NSPredicatePredicateWithFormatArgumentArray ¶
func NSPredicatePredicateWithFormatArgumentArray(predicateFormat *NSString, arguments *NSArray[objc.ID]) *NSPredicate
func NSPredicatePredicateWithFormatArguments ¶
func NSPredicatePredicateWithFormatArguments(predicateFormat *NSString, argList string) *NSPredicate
func NSPredicatePredicateWithValue ¶
func NSPredicatePredicateWithValue(value bool) *NSPredicate
func (*NSPredicate) AllowEvaluation ¶
func (o *NSPredicate) AllowEvaluation()
func (*NSPredicate) AllowEvaluationWithValidatorError ¶
func (o *NSPredicate) AllowEvaluationWithValidatorError(validator NSPredicateValidating) (bool, error)
func (*NSPredicate) EvaluateWithObject ¶
func (o *NSPredicate) EvaluateWithObject(object objc.ID) bool
func (*NSPredicate) EvaluateWithObjectSubstitutionVariables ¶
func (o *NSPredicate) EvaluateWithObjectSubstitutionVariables(object objc.ID, bindings *NSDictionary[*NSString, objc.ID]) bool
func (*NSPredicate) PredicateFormat ¶
func (o *NSPredicate) PredicateFormat() *NSString
func (*NSPredicate) PredicateWithSubstitutionVariables ¶
func (o *NSPredicate) PredicateWithSubstitutionVariables(variables *NSDictionary[*NSString, objc.ID]) *NSPredicate
type NSPredicateOperatorType ¶
type NSPredicateOperatorType uint64
const ( NSLessThanPredicateOperatorType NSPredicateOperatorType = 0 NSLessThanOrEqualToPredicateOperatorType NSPredicateOperatorType = 1 NSGreaterThanPredicateOperatorType NSPredicateOperatorType = 2 NSGreaterThanOrEqualToPredicateOperatorType NSPredicateOperatorType = 3 NSEqualToPredicateOperatorType NSPredicateOperatorType = 4 NSNotEqualToPredicateOperatorType NSPredicateOperatorType = 5 NSMatchesPredicateOperatorType NSPredicateOperatorType = 6 NSLikePredicateOperatorType NSPredicateOperatorType = 7 NSBeginsWithPredicateOperatorType NSPredicateOperatorType = 8 NSEndsWithPredicateOperatorType NSPredicateOperatorType = 9 NSInPredicateOperatorType NSPredicateOperatorType = 10 NSCustomSelectorPredicateOperatorType NSPredicateOperatorType = 11 NSContainsPredicateOperatorType NSPredicateOperatorType = 99 NSBetweenPredicateOperatorType NSPredicateOperatorType = 100 )
func (NSPredicateOperatorType) String ¶
func (e NSPredicateOperatorType) String() string
type NSPredicateValidating ¶
type NSPredicateValidating interface {
}
NSPredicateValidating wraps the ObjC protocol NSPredicateValidating.
type NSPresentationIntent ¶
type NSPresentationIntent struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nspresentationintent
func NSPresentationIntentBlockQuoteIntentWithIdentityNestedInsideIntent ¶
func NSPresentationIntentBlockQuoteIntentWithIdentityNestedInsideIntent(identity int, parent *NSPresentationIntent) *NSPresentationIntent
func NSPresentationIntentCodeBlockIntentWithIdentityLanguageHintNestedInsideIntent ¶
func NSPresentationIntentCodeBlockIntentWithIdentityLanguageHintNestedInsideIntent(identity int, languageHint *NSString, parent *NSPresentationIntent) *NSPresentationIntent
func NSPresentationIntentFromID ¶
func NSPresentationIntentFromID(id objc.ID) *NSPresentationIntent
func NSPresentationIntentHeaderIntentWithIdentityLevelNestedInsideIntent ¶
func NSPresentationIntentHeaderIntentWithIdentityLevelNestedInsideIntent(identity int, level int, parent *NSPresentationIntent) *NSPresentationIntent
func NSPresentationIntentListItemIntentWithIdentityOrdinalNestedInsideIntent ¶
func NSPresentationIntentListItemIntentWithIdentityOrdinalNestedInsideIntent(identity int, ordinal int, parent *NSPresentationIntent) *NSPresentationIntent
func NSPresentationIntentOrderedListIntentWithIdentityNestedInsideIntent ¶
func NSPresentationIntentOrderedListIntentWithIdentityNestedInsideIntent(identity int, parent *NSPresentationIntent) *NSPresentationIntent
func NSPresentationIntentParagraphIntentWithIdentityNestedInsideIntent ¶
func NSPresentationIntentParagraphIntentWithIdentityNestedInsideIntent(identity int, parent *NSPresentationIntent) *NSPresentationIntent
func NSPresentationIntentTableCellIntentWithIdentityColumnNestedInsideIntent ¶
func NSPresentationIntentTableCellIntentWithIdentityColumnNestedInsideIntent(identity int, column int, parent *NSPresentationIntent) *NSPresentationIntent
func NSPresentationIntentTableHeaderRowIntentWithIdentityNestedInsideIntent ¶
func NSPresentationIntentTableHeaderRowIntentWithIdentityNestedInsideIntent(identity int, parent *NSPresentationIntent) *NSPresentationIntent
func NSPresentationIntentTableIntentWithIdentityColumnCountAlignmentsNestedInsideIntent ¶
func NSPresentationIntentTableIntentWithIdentityColumnCountAlignmentsNestedInsideIntent(identity int, columnCount int, alignments *NSArray[*NSNumber], parent *NSPresentationIntent) *NSPresentationIntent
func NSPresentationIntentTableRowIntentWithIdentityRowNestedInsideIntent ¶
func NSPresentationIntentTableRowIntentWithIdentityRowNestedInsideIntent(identity int, row int, parent *NSPresentationIntent) *NSPresentationIntent
func NSPresentationIntentThematicBreakIntentWithIdentityNestedInsideIntent ¶
func NSPresentationIntentThematicBreakIntentWithIdentityNestedInsideIntent(identity int, parent *NSPresentationIntent) *NSPresentationIntent
func NSPresentationIntentUnorderedListIntentWithIdentityNestedInsideIntent ¶
func NSPresentationIntentUnorderedListIntentWithIdentityNestedInsideIntent(identity int, parent *NSPresentationIntent) *NSPresentationIntent
func (*NSPresentationIntent) Column ¶
func (o *NSPresentationIntent) Column() int
The column to which this cell belongs (0-based). If the intent is not a cell, this value is 0.
func (*NSPresentationIntent) ColumnAlignments ¶
func (o *NSPresentationIntent) ColumnAlignments() *NSArray[*NSNumber]
If the intent is not a table, this value is `nil`.
func (*NSPresentationIntent) ColumnCount ¶
func (o *NSPresentationIntent) ColumnCount() int
If the intent is not a table, this value is 0.
func (*NSPresentationIntent) HeaderLevel ¶
func (o *NSPresentationIntent) HeaderLevel() int
If the intent is not a header, this value is 0.
func (*NSPresentationIntent) Identity ¶
func (o *NSPresentationIntent) Identity() int
An integer value which uniquely identifies this intent in the document. Identity disambiguates attributes which apply to contiguous text -- for example, two headers in a row with the same level. It can also be used to track the location in an attributed string of a particular part of a document, even after mutation.
func (*NSPresentationIntent) IndentationLevel ¶
func (o *NSPresentationIntent) IndentationLevel() int
The indentation level of this intent. Each nested list increases the indentation level by one; all elements within the same list (and not then nested into a child list intent) have the same indentation level. Text outside list intents has an indentation level of 0.
func (*NSPresentationIntent) IntentKind ¶
func (o *NSPresentationIntent) IntentKind() NSPresentationIntentKind
func (*NSPresentationIntent) IsEquivalentToPresentationIntent ¶
func (o *NSPresentationIntent) IsEquivalentToPresentationIntent(other *NSPresentationIntent) bool
Returns `YES` if this intent is equivalent to the other presentation intent. Equivalence is the same as equality except that identity is not taken into account.
func (*NSPresentationIntent) LanguageHint ¶
func (o *NSPresentationIntent) LanguageHint() *NSString
If the intent is not a code block, this value is `nil`.
func (*NSPresentationIntent) Ordinal ¶
func (o *NSPresentationIntent) Ordinal() int
If the intent is not a list, this value is 0.
func (*NSPresentationIntent) ParentIntent ¶
func (o *NSPresentationIntent) ParentIntent() *NSPresentationIntent
func (*NSPresentationIntent) Row ¶
func (o *NSPresentationIntent) Row() int
The row to which this cell belongs (0-based). If the intent is not a row, this value is 0. Header rows are always row 0. If the table has more rows, those start at row 1.
type NSPresentationIntentKind ¶
type NSPresentationIntentKind int64
const ( NSPresentationIntentKindParagraph NSPresentationIntentKind = 0 NSPresentationIntentKindHeader NSPresentationIntentKind = 1 NSPresentationIntentKindOrderedList NSPresentationIntentKind = 2 NSPresentationIntentKindUnorderedList NSPresentationIntentKind = 3 NSPresentationIntentKindListItem NSPresentationIntentKind = 4 NSPresentationIntentKindCodeBlock NSPresentationIntentKind = 5 NSPresentationIntentKindBlockQuote NSPresentationIntentKind = 6 NSPresentationIntentKindThematicBreak NSPresentationIntentKind = 7 NSPresentationIntentKindTable NSPresentationIntentKind = 8 NSPresentationIntentKindTableHeaderRow NSPresentationIntentKind = 9 NSPresentationIntentKindTableRow NSPresentationIntentKind = 10 NSPresentationIntentKindTableCell NSPresentationIntentKind = 11 )
func (NSPresentationIntentKind) String ¶
func (e NSPresentationIntentKind) String() string
type NSPresentationIntentTableColumnAlignment ¶
type NSPresentationIntentTableColumnAlignment int64
const ( NSPresentationIntentTableColumnAlignmentLeft NSPresentationIntentTableColumnAlignment = 0 NSPresentationIntentTableColumnAlignmentCenter NSPresentationIntentTableColumnAlignment = 1 NSPresentationIntentTableColumnAlignmentRight NSPresentationIntentTableColumnAlignment = 2 )
func (NSPresentationIntentTableColumnAlignment) String ¶
func (e NSPresentationIntentTableColumnAlignment) String() string
type NSProcessInfo ¶
type NSProcessInfo struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsprocessinfo
func NSProcessInfoFromID ¶
func NSProcessInfoFromID(id objc.ID) *NSProcessInfo
func NSProcessInfoProcessInfo ¶
func NSProcessInfoProcessInfo() *NSProcessInfo
func (*NSProcessInfo) ActiveProcessorCount ¶
func (o *NSProcessInfo) ActiveProcessorCount() uint
func (*NSProcessInfo) Arguments ¶
func (o *NSProcessInfo) Arguments() *NSArray[*NSString]
func (*NSProcessInfo) AutomaticTerminationSupportEnabled ¶
func (o *NSProcessInfo) AutomaticTerminationSupportEnabled() bool
func (*NSProcessInfo) BeginActivityWithOptionsReason ¶
func (o *NSProcessInfo) BeginActivityWithOptionsReason(options NSActivityOptions, reason *NSString) NSObjectProtocol
func (*NSProcessInfo) DisableAutomaticTermination ¶
func (o *NSProcessInfo) DisableAutomaticTermination(reason *NSString)
func (*NSProcessInfo) DisableSuddenTermination ¶
func (o *NSProcessInfo) DisableSuddenTermination()
func (*NSProcessInfo) EnableAutomaticTermination ¶
func (o *NSProcessInfo) EnableAutomaticTermination(reason *NSString)
func (*NSProcessInfo) EnableSuddenTermination ¶
func (o *NSProcessInfo) EnableSuddenTermination()
func (*NSProcessInfo) EndActivity ¶
func (o *NSProcessInfo) EndActivity(activity NSObjectProtocol)
func (*NSProcessInfo) Environment ¶
func (o *NSProcessInfo) Environment() *NSDictionary[*NSString, *NSString]
func (*NSProcessInfo) FullUserName ¶
func (o *NSProcessInfo) FullUserName() *NSString
func (*NSProcessInfo) GloballyUniqueString ¶
func (o *NSProcessInfo) GloballyUniqueString() *NSString
func (*NSProcessInfo) HostName ¶
func (o *NSProcessInfo) HostName() *NSString
func (*NSProcessInfo) IsLowPowerModeEnabled ¶
func (o *NSProcessInfo) IsLowPowerModeEnabled() bool
func (*NSProcessInfo) IsMacCatalystApp ¶
func (o *NSProcessInfo) IsMacCatalystApp() bool
func (*NSProcessInfo) IsOperatingSystemAtLeastVersion ¶
func (o *NSProcessInfo) IsOperatingSystemAtLeastVersion(version NSOperatingSystemVersion) bool
func (*NSProcessInfo) IsiOSAppOnMac ¶
func (o *NSProcessInfo) IsiOSAppOnMac() bool
func (*NSProcessInfo) IsiOSAppOnVision ¶
func (o *NSProcessInfo) IsiOSAppOnVision() bool
func (*NSProcessInfo) OperatingSystem
deprecated
func (o *NSProcessInfo) OperatingSystem() uint
Deprecated: -operatingSystem always returns NSMACHOperatingSystem, use -operatingSystemVersion or -isOperatingSystemAtLeastVersion: instead
func (*NSProcessInfo) OperatingSystemName
deprecated
func (o *NSProcessInfo) OperatingSystemName() *NSString
Deprecated: -operatingSystemName always returns NSMACHOperatingSystem, use -operatingSystemVersionString instead
func (*NSProcessInfo) OperatingSystemVersion ¶
func (o *NSProcessInfo) OperatingSystemVersion() NSOperatingSystemVersion
func (*NSProcessInfo) OperatingSystemVersionString
deprecated
func (o *NSProcessInfo) OperatingSystemVersionString() *NSString
Deprecated: -operatingSystemName always returns NSMACHOperatingSystem, use -operatingSystemVersionString instead
func (*NSProcessInfo) PerformActivityWithOptionsReasonUsing ¶
func (o *NSProcessInfo) PerformActivityWithOptionsReasonUsing(options NSActivityOptions, reason *NSString, block func())
func (*NSProcessInfo) PhysicalMemory ¶
func (o *NSProcessInfo) PhysicalMemory() uint64
func (*NSProcessInfo) ProcessIdentifier ¶
func (o *NSProcessInfo) ProcessIdentifier() int
func (*NSProcessInfo) ProcessName ¶
func (o *NSProcessInfo) ProcessName() *NSString
func (*NSProcessInfo) ProcessorCount ¶
func (o *NSProcessInfo) ProcessorCount() uint
func (*NSProcessInfo) SetAutomaticTerminationSupportEnabled ¶
func (o *NSProcessInfo) SetAutomaticTerminationSupportEnabled(automaticTerminationSupportEnabled bool)
func (*NSProcessInfo) SetProcessName ¶
func (o *NSProcessInfo) SetProcessName(processName *NSString)
func (*NSProcessInfo) SystemUptime ¶
func (o *NSProcessInfo) SystemUptime() float64
func (*NSProcessInfo) ThermalState ¶
func (o *NSProcessInfo) ThermalState() NSProcessInfoThermalState
func (*NSProcessInfo) UserName ¶
func (o *NSProcessInfo) UserName() *NSString
type NSProcessInfoThermalState ¶
type NSProcessInfoThermalState int64
const ( NSProcessInfoThermalStateNominal NSProcessInfoThermalState = 0 NSProcessInfoThermalStateFair NSProcessInfoThermalState = 1 NSProcessInfoThermalStateSerious NSProcessInfoThermalState = 2 NSProcessInfoThermalStateCritical NSProcessInfoThermalState = 3 )
func (NSProcessInfoThermalState) String ¶
func (e NSProcessInfoThermalState) String() string
type NSProgress ¶
type NSProgress struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsprogress
func NSProgressCurrentProgress ¶
func NSProgressCurrentProgress() *NSProgress
func NSProgressDiscreteProgressWithTotalUnitCount ¶
func NSProgressDiscreteProgressWithTotalUnitCount(unitCount int64) *NSProgress
func NSProgressFromID ¶
func NSProgressFromID(id objc.ID) *NSProgress
func NSProgressProgressWithTotalUnitCount ¶
func NSProgressProgressWithTotalUnitCount(unitCount int64) *NSProgress
func NSProgressProgressWithTotalUnitCountParentPendingUnitCount ¶
func NSProgressProgressWithTotalUnitCountParentPendingUnitCount(unitCount int64, parent *NSProgress, portionOfParentTotalUnitCount int64) *NSProgress
func (*NSProgress) AddChildWithPendingUnitCount ¶
func (o *NSProgress) AddChildWithPendingUnitCount(child *NSProgress, inUnitCount int64)
func (*NSProgress) BecomeCurrentWithPendingUnitCount ¶
func (o *NSProgress) BecomeCurrentWithPendingUnitCount(unitCount int64)
func (*NSProgress) Cancel ¶
func (o *NSProgress) Cancel()
func (*NSProgress) CancellationHandler ¶
func (o *NSProgress) CancellationHandler() objc.Block
func (*NSProgress) CompletedUnitCount ¶
func (o *NSProgress) CompletedUnitCount() int64
func (*NSProgress) EstimatedTimeRemaining ¶
func (o *NSProgress) EstimatedTimeRemaining() *NSNumber
func (*NSProgress) FileCompletedCount ¶
func (o *NSProgress) FileCompletedCount() *NSNumber
func (*NSProgress) FileOperationKind ¶
func (o *NSProgress) FileOperationKind() *NSString
func (*NSProgress) FileTotalCount ¶
func (o *NSProgress) FileTotalCount() *NSNumber
func (*NSProgress) FileURL ¶
func (o *NSProgress) FileURL() *NSURL
func (*NSProgress) FractionCompleted ¶
func (o *NSProgress) FractionCompleted() float64
func (*NSProgress) InitWithParentUserInfo ¶
func (o *NSProgress) InitWithParentUserInfo(parentProgressOrNil *NSProgress, userInfoOrNil *NSDictionary[*NSString, objc.ID]) *NSProgress
func (*NSProgress) IsCancellable ¶
func (o *NSProgress) IsCancellable() bool
func (*NSProgress) IsCancelled ¶
func (o *NSProgress) IsCancelled() bool
func (*NSProgress) IsFinished ¶
func (o *NSProgress) IsFinished() bool
func (*NSProgress) IsIndeterminate ¶
func (o *NSProgress) IsIndeterminate() bool
func (*NSProgress) IsOld ¶
func (o *NSProgress) IsOld() bool
func (*NSProgress) IsPausable ¶
func (o *NSProgress) IsPausable() bool
func (*NSProgress) IsPaused ¶
func (o *NSProgress) IsPaused() bool
func (*NSProgress) Kind ¶
func (o *NSProgress) Kind() *NSString
func (*NSProgress) LocalizedAdditionalDescription ¶
func (o *NSProgress) LocalizedAdditionalDescription() *NSString
func (*NSProgress) LocalizedDescription ¶
func (o *NSProgress) LocalizedDescription() *NSString
func (*NSProgress) Pause ¶
func (o *NSProgress) Pause()
func (*NSProgress) PausingHandler ¶
func (o *NSProgress) PausingHandler() objc.Block
func (*NSProgress) PerformAsCurrentWithPendingUnitCountUsing ¶
func (o *NSProgress) PerformAsCurrentWithPendingUnitCountUsing(unitCount int64, work func())
func (*NSProgress) Publish ¶
func (o *NSProgress) Publish()
func (*NSProgress) ResignCurrent ¶
func (o *NSProgress) ResignCurrent()
func (*NSProgress) Resume ¶
func (o *NSProgress) Resume()
func (*NSProgress) ResumingHandler ¶
func (o *NSProgress) ResumingHandler() objc.Block
func (*NSProgress) SetCancellable ¶
func (o *NSProgress) SetCancellable(cancellable bool)
func (*NSProgress) SetCancellationHandler ¶
func (o *NSProgress) SetCancellationHandler(cancellationHandler func())
func (*NSProgress) SetCompletedUnitCount ¶
func (o *NSProgress) SetCompletedUnitCount(completedUnitCount int64)
func (*NSProgress) SetEstimatedTimeRemaining ¶
func (o *NSProgress) SetEstimatedTimeRemaining(estimatedTimeRemaining *NSNumber)
func (*NSProgress) SetFileCompletedCount ¶
func (o *NSProgress) SetFileCompletedCount(fileCompletedCount *NSNumber)
func (*NSProgress) SetFileOperationKind ¶
func (o *NSProgress) SetFileOperationKind(fileOperationKind *NSString)
func (*NSProgress) SetFileTotalCount ¶
func (o *NSProgress) SetFileTotalCount(fileTotalCount *NSNumber)
func (*NSProgress) SetFileURL ¶
func (o *NSProgress) SetFileURL(fileURL *NSURL)
func (*NSProgress) SetKind ¶
func (o *NSProgress) SetKind(kind *NSString)
func (*NSProgress) SetLocalizedAdditionalDescription ¶
func (o *NSProgress) SetLocalizedAdditionalDescription(localizedAdditionalDescription *NSString)
func (*NSProgress) SetLocalizedDescription ¶
func (o *NSProgress) SetLocalizedDescription(localizedDescription *NSString)
func (*NSProgress) SetPausable ¶
func (o *NSProgress) SetPausable(pausable bool)
func (*NSProgress) SetPausingHandler ¶
func (o *NSProgress) SetPausingHandler(pausingHandler func())
func (*NSProgress) SetResumingHandler ¶
func (o *NSProgress) SetResumingHandler(resumingHandler func())
func (*NSProgress) SetThroughput ¶
func (o *NSProgress) SetThroughput(throughput *NSNumber)
func (*NSProgress) SetTotalUnitCount ¶
func (o *NSProgress) SetTotalUnitCount(totalUnitCount int64)
func (*NSProgress) SetUserInfoObjectForKey ¶
func (o *NSProgress) SetUserInfoObjectForKey(objectOrNil objc.ID, key *NSString)
func (*NSProgress) Throughput ¶
func (o *NSProgress) Throughput() *NSNumber
func (*NSProgress) TotalUnitCount ¶
func (o *NSProgress) TotalUnitCount() int64
func (*NSProgress) Unpublish ¶
func (o *NSProgress) Unpublish()
func (*NSProgress) UserInfo ¶
func (o *NSProgress) UserInfo() *NSDictionary[*NSString, objc.ID]
type NSProgressReporting ¶
type NSProgressReporting interface {
Progress() *NSProgress
}
NSProgressReporting wraps the ObjC protocol NSProgressReporting.
type NSPropertyListFormat ¶
type NSPropertyListFormat uint64
const ( NSPropertyListOpenStepFormat NSPropertyListFormat = 1 NSPropertyListXMLFormat_v1_0 NSPropertyListFormat = 100 NSPropertyListBinaryFormat_v1_0 NSPropertyListFormat = 200 )
func (NSPropertyListFormat) String ¶
func (e NSPropertyListFormat) String() string
type NSPropertyListMutabilityOptions ¶
type NSPropertyListMutabilityOptions uint64
const ( NSPropertyListImmutable NSPropertyListMutabilityOptions = 0 NSPropertyListMutableContainers NSPropertyListMutabilityOptions = 1 NSPropertyListMutableContainersAndLeaves NSPropertyListMutabilityOptions = 2 )
func (NSPropertyListMutabilityOptions) String ¶
func (e NSPropertyListMutabilityOptions) String() string
type NSPropertyListSerialization ¶
type NSPropertyListSerialization struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nspropertylistserialization
func NSPropertyListSerializationFromID ¶
func NSPropertyListSerializationFromID(id objc.ID) *NSPropertyListSerialization
type NSProtocolChecker ¶
type NSProtocolChecker struct {
NSProxy
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsprotocolchecker
func NSProtocolCheckerFromID ¶
func NSProtocolCheckerFromID(id objc.ID) *NSProtocolChecker
func NSProtocolCheckerProtocolCheckerWithTargetProtocol ¶
func NSProtocolCheckerProtocolCheckerWithTargetProtocol(anObject *NSObject, aProtocol unsafe.Pointer) *NSProtocolChecker
func (*NSProtocolChecker) InitWithTargetProtocol ¶
func (o *NSProtocolChecker) InitWithTargetProtocol(anObject *NSObject, aProtocol unsafe.Pointer) *NSProtocolChecker
func (*NSProtocolChecker) Protocol ¶
func (o *NSProtocolChecker) Protocol() unsafe.Pointer
func (*NSProtocolChecker) Target ¶
func (o *NSProtocolChecker) Target() *NSObject
type NSProxy ¶
type NSProxy struct {
// contains filtered or unexported fields
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsproxy
func NSProxyFromID ¶
func (*NSProxy) DebugDescription ¶
func (*NSProxy) Description ¶
func (*NSProxy) ForwardInvocation ¶
func (o *NSProxy) ForwardInvocation(invocation *NSInvocation)
func (*NSProxy) MethodSignatureForSelector ¶
func (o *NSProxy) MethodSignatureForSelector(sel objc.SEL) *NSMethodSignature
type NSPurgeableData ¶
type NSPurgeableData struct {
NSMutableData
}
Apple documentation: https://developer.apple.com/documentation/foundation/nspurgeabledata
func NSPurgeableDataFromID ¶
func NSPurgeableDataFromID(id objc.ID) *NSPurgeableData
type NSQualityOfService ¶
type NSQualityOfService int64
const ( NSQualityOfServiceUserInteractive NSQualityOfService = 33 NSQualityOfServiceUserInitiated NSQualityOfService = 25 NSQualityOfServiceUtility NSQualityOfService = 17 NSQualityOfServiceBackground NSQualityOfService = 9 NSQualityOfServiceDefault NSQualityOfService = -1 )
func (NSQualityOfService) String ¶
func (e NSQualityOfService) String() string
type NSQuitCommand ¶
type NSQuitCommand struct {
NSScriptCommand
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsquitcommand
func NSQuitCommandFromID ¶
func NSQuitCommandFromID(id objc.ID) *NSQuitCommand
func (*NSQuitCommand) SaveOptions ¶
func (o *NSQuitCommand) SaveOptions() NSSaveOptions
type NSRange ¶
C struct: _NSRange
func NSIntersectionRange ¶
func NSMakeRange ¶
func NSRangeFromString ¶
func NSUnionRange ¶
type NSRangeSpecifier ¶
type NSRangeSpecifier struct {
NSScriptObjectSpecifier
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsrangespecifier
func NSRangeSpecifierFromID ¶
func NSRangeSpecifierFromID(id objc.ID) *NSRangeSpecifier
func (*NSRangeSpecifier) EndSpecifier ¶
func (o *NSRangeSpecifier) EndSpecifier() *NSScriptObjectSpecifier
func (*NSRangeSpecifier) InitWithCoder ¶
func (o *NSRangeSpecifier) InitWithCoder(inCoder *NSCoder) *NSRangeSpecifier
func (*NSRangeSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyStartSpecifierEndSpecifier ¶
func (o *NSRangeSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyStartSpecifierEndSpecifier(classDesc *NSScriptClassDescription, container *NSScriptObjectSpecifier, property *NSString, startSpec *NSScriptObjectSpecifier, endSpec *NSScriptObjectSpecifier) *NSRangeSpecifier
func (*NSRangeSpecifier) SetEndSpecifier ¶
func (o *NSRangeSpecifier) SetEndSpecifier(endSpecifier *NSScriptObjectSpecifier)
func (*NSRangeSpecifier) SetStartSpecifier ¶
func (o *NSRangeSpecifier) SetStartSpecifier(startSpecifier *NSScriptObjectSpecifier)
func (*NSRangeSpecifier) StartSpecifier ¶
func (o *NSRangeSpecifier) StartSpecifier() *NSScriptObjectSpecifier
type NSRectEdge ¶
type NSRectEdge uint64
const ( NSRectEdgeMinX NSRectEdge = 0 NSRectEdgeMinY NSRectEdge = 1 NSRectEdgeMaxX NSRectEdge = 2 NSRectEdgeMaxY NSRectEdge = 3 NSMinXEdge NSRectEdge = 0 NSMinYEdge NSRectEdge = 1 NSMaxXEdge NSRectEdge = 2 NSMaxYEdge NSRectEdge = 3 )
func (NSRectEdge) String ¶
func (e NSRectEdge) String() string
type NSRecursiveLock ¶
type NSRecursiveLock struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsrecursivelock
func NSRecursiveLockFromID ¶
func NSRecursiveLockFromID(id objc.ID) *NSRecursiveLock
func (*NSRecursiveLock) LockBeforeDate ¶
func (o *NSRecursiveLock) LockBeforeDate(limit *NSDate) bool
func (*NSRecursiveLock) Name ¶
func (o *NSRecursiveLock) Name() *NSString
func (*NSRecursiveLock) SetName ¶
func (o *NSRecursiveLock) SetName(name *NSString)
func (*NSRecursiveLock) TryLock ¶
func (o *NSRecursiveLock) TryLock() bool
type NSRegularExpression ¶
type NSRegularExpression struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsregularexpression
func NSRegularExpressionFromID ¶
func NSRegularExpressionFromID(id objc.ID) *NSRegularExpression
func NSRegularExpressionRegularExpressionWithPatternOptionsError ¶
func NSRegularExpressionRegularExpressionWithPatternOptionsError(pattern *NSString, options NSRegularExpressionOptions) (*NSRegularExpression, error)
func (*NSRegularExpression) EnumerateMatchesInStringOptionsRangeUsing ¶
func (o *NSRegularExpression) EnumerateMatchesInStringOptionsRangeUsing(string_ *NSString, options NSMatchingOptions, range_ NSRange, block func(*NSTextCheckingResult, NSMatchingFlags, *bool))
func (*NSRegularExpression) FirstMatchInStringOptionsRange ¶
func (o *NSRegularExpression) FirstMatchInStringOptionsRange(string_ *NSString, options NSMatchingOptions, range_ NSRange) *NSTextCheckingResult
func (*NSRegularExpression) InitWithPatternOptionsError ¶
func (o *NSRegularExpression) InitWithPatternOptionsError(pattern *NSString, options NSRegularExpressionOptions) (*NSRegularExpression, error)
func (*NSRegularExpression) MatchesInStringOptionsRange ¶
func (o *NSRegularExpression) MatchesInStringOptionsRange(string_ *NSString, options NSMatchingOptions, range_ NSRange) *NSArray[*NSTextCheckingResult]
func (*NSRegularExpression) NumberOfCaptureGroups ¶
func (o *NSRegularExpression) NumberOfCaptureGroups() uint
func (*NSRegularExpression) NumberOfMatchesInStringOptionsRange ¶
func (o *NSRegularExpression) NumberOfMatchesInStringOptionsRange(string_ *NSString, options NSMatchingOptions, range_ NSRange) uint
func (*NSRegularExpression) Options ¶
func (o *NSRegularExpression) Options() NSRegularExpressionOptions
func (*NSRegularExpression) Pattern ¶
func (o *NSRegularExpression) Pattern() *NSString
func (*NSRegularExpression) RangeOfFirstMatchInStringOptionsRange ¶
func (o *NSRegularExpression) RangeOfFirstMatchInStringOptionsRange(string_ *NSString, options NSMatchingOptions, range_ NSRange) NSRange
func (*NSRegularExpression) ReplaceMatchesInStringOptionsRangeWithTemplate ¶
func (o *NSRegularExpression) ReplaceMatchesInStringOptionsRangeWithTemplate(string_ *NSMutableString, options NSMatchingOptions, range_ NSRange, templ *NSString) uint
func (*NSRegularExpression) ReplacementStringForResultInStringOffsetTemplate ¶
func (o *NSRegularExpression) ReplacementStringForResultInStringOffsetTemplate(result *NSTextCheckingResult, string_ *NSString, offset int, templ *NSString) *NSString
func (*NSRegularExpression) StringByReplacingMatchesInStringOptionsRangeWithTemplate ¶
func (o *NSRegularExpression) StringByReplacingMatchesInStringOptionsRangeWithTemplate(string_ *NSString, options NSMatchingOptions, range_ NSRange, templ *NSString) *NSString
type NSRegularExpressionOptions ¶
type NSRegularExpressionOptions uint64
const ( NSRegularExpressionCaseInsensitive NSRegularExpressionOptions = 1 NSRegularExpressionAllowCommentsAndWhitespace NSRegularExpressionOptions = 2 NSRegularExpressionIgnoreMetacharacters NSRegularExpressionOptions = 4 NSRegularExpressionDotMatchesLineSeparators NSRegularExpressionOptions = 8 NSRegularExpressionAnchorsMatchLines NSRegularExpressionOptions = 16 NSRegularExpressionUseUnixLineSeparators NSRegularExpressionOptions = 32 NSRegularExpressionUseUnicodeWordBoundaries NSRegularExpressionOptions = 64 )
func (NSRegularExpressionOptions) String ¶
func (e NSRegularExpressionOptions) String() string
type NSRelativeDateTimeFormatter ¶
type NSRelativeDateTimeFormatter struct {
NSFormatter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsrelativedatetimeformatter
func NSRelativeDateTimeFormatterFromID ¶
func NSRelativeDateTimeFormatterFromID(id objc.ID) *NSRelativeDateTimeFormatter
func (*NSRelativeDateTimeFormatter) Calendar ¶
func (o *NSRelativeDateTimeFormatter) Calendar() *NSCalendar
func (*NSRelativeDateTimeFormatter) DateTimeStyle ¶
func (o *NSRelativeDateTimeFormatter) DateTimeStyle() NSRelativeDateTimeFormatterStyle
func (*NSRelativeDateTimeFormatter) FormattingContext ¶
func (o *NSRelativeDateTimeFormatter) FormattingContext() NSFormattingContext
func (*NSRelativeDateTimeFormatter) Locale ¶
func (o *NSRelativeDateTimeFormatter) Locale() *NSLocale
func (*NSRelativeDateTimeFormatter) LocalizedStringForDateRelativeToDate ¶
func (o *NSRelativeDateTimeFormatter) LocalizedStringForDateRelativeToDate(date *NSDate, referenceDate *NSDate) *NSString
func (*NSRelativeDateTimeFormatter) LocalizedStringFromDateComponents ¶
func (o *NSRelativeDateTimeFormatter) LocalizedStringFromDateComponents(dateComponents *NSDateComponents) *NSString
func (*NSRelativeDateTimeFormatter) LocalizedStringFromTimeInterval ¶
func (o *NSRelativeDateTimeFormatter) LocalizedStringFromTimeInterval(timeInterval float64) *NSString
func (*NSRelativeDateTimeFormatter) SetCalendar ¶
func (o *NSRelativeDateTimeFormatter) SetCalendar(calendar *NSCalendar)
func (*NSRelativeDateTimeFormatter) SetDateTimeStyle ¶
func (o *NSRelativeDateTimeFormatter) SetDateTimeStyle(dateTimeStyle NSRelativeDateTimeFormatterStyle)
func (*NSRelativeDateTimeFormatter) SetFormattingContext ¶
func (o *NSRelativeDateTimeFormatter) SetFormattingContext(formattingContext NSFormattingContext)
func (*NSRelativeDateTimeFormatter) SetLocale ¶
func (o *NSRelativeDateTimeFormatter) SetLocale(locale *NSLocale)
func (*NSRelativeDateTimeFormatter) SetUnitsStyle ¶
func (o *NSRelativeDateTimeFormatter) SetUnitsStyle(unitsStyle NSRelativeDateTimeFormatterUnitsStyle)
func (*NSRelativeDateTimeFormatter) UnitsStyle ¶
func (o *NSRelativeDateTimeFormatter) UnitsStyle() NSRelativeDateTimeFormatterUnitsStyle
type NSRelativeDateTimeFormatterStyle ¶
type NSRelativeDateTimeFormatterStyle int64
const ( NSRelativeDateTimeFormatterStyleNumeric NSRelativeDateTimeFormatterStyle = 0 NSRelativeDateTimeFormatterStyleNamed NSRelativeDateTimeFormatterStyle = 1 )
func (NSRelativeDateTimeFormatterStyle) String ¶
func (e NSRelativeDateTimeFormatterStyle) String() string
type NSRelativeDateTimeFormatterUnitsStyle ¶
type NSRelativeDateTimeFormatterUnitsStyle int64
const ( NSRelativeDateTimeFormatterUnitsStyleFull NSRelativeDateTimeFormatterUnitsStyle = 0 NSRelativeDateTimeFormatterUnitsStyleSpellOut NSRelativeDateTimeFormatterUnitsStyle = 1 NSRelativeDateTimeFormatterUnitsStyleShort NSRelativeDateTimeFormatterUnitsStyle = 2 NSRelativeDateTimeFormatterUnitsStyleAbbreviated NSRelativeDateTimeFormatterUnitsStyle = 3 )
func (NSRelativeDateTimeFormatterUnitsStyle) String ¶
func (e NSRelativeDateTimeFormatterUnitsStyle) String() string
type NSRelativePosition ¶
type NSRelativePosition uint64
const ( NSRelativeAfter NSRelativePosition = 0 NSRelativeBefore NSRelativePosition = 1 )
func (NSRelativePosition) String ¶
func (e NSRelativePosition) String() string
type NSRelativeSpecifier ¶
type NSRelativeSpecifier struct {
NSScriptObjectSpecifier
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsrelativespecifier
func NSRelativeSpecifierFromID ¶
func NSRelativeSpecifierFromID(id objc.ID) *NSRelativeSpecifier
func (*NSRelativeSpecifier) BaseSpecifier ¶
func (o *NSRelativeSpecifier) BaseSpecifier() *NSScriptObjectSpecifier
func (*NSRelativeSpecifier) InitWithCoder ¶
func (o *NSRelativeSpecifier) InitWithCoder(inCoder *NSCoder) *NSRelativeSpecifier
func (*NSRelativeSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyRelativePositionBaseSpecifier ¶
func (o *NSRelativeSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyRelativePositionBaseSpecifier(classDesc *NSScriptClassDescription, container *NSScriptObjectSpecifier, property *NSString, relPos NSRelativePosition, baseSpecifier *NSScriptObjectSpecifier) *NSRelativeSpecifier
func (*NSRelativeSpecifier) RelativePosition ¶
func (o *NSRelativeSpecifier) RelativePosition() NSRelativePosition
func (*NSRelativeSpecifier) SetBaseSpecifier ¶
func (o *NSRelativeSpecifier) SetBaseSpecifier(baseSpecifier *NSScriptObjectSpecifier)
func (*NSRelativeSpecifier) SetRelativePosition ¶
func (o *NSRelativeSpecifier) SetRelativePosition(relativePosition NSRelativePosition)
type NSRoundingMode ¶
type NSRoundingMode uint64
const ( NSRoundPlain NSRoundingMode = 0 NSRoundDown NSRoundingMode = 1 NSRoundUp NSRoundingMode = 2 NSRoundBankers NSRoundingMode = 3 )
func (NSRoundingMode) String ¶
func (e NSRoundingMode) String() string
type NSRunLoop ¶
type NSRunLoop struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsrunloop
func NSRunLoopCurrentRunLoop ¶
func NSRunLoopCurrentRunLoop() *NSRunLoop
func NSRunLoopFromID ¶
func NSRunLoopMainRunLoop ¶
func NSRunLoopMainRunLoop() *NSRunLoop
func (*NSRunLoop) AcceptInputForModeBeforeDate ¶
func (*NSRunLoop) AddPortForMode ¶
func (*NSRunLoop) AddTimerForMode ¶
func (*NSRunLoop) CancelPerformSelectorTargetArgument ¶
func (*NSRunLoop) CancelPerformSelectorsWithTarget ¶
func (*NSRunLoop) ConfigureAsServer
deprecated
func (o *NSRunLoop) ConfigureAsServer()
Deprecated: Not supported
func (*NSRunLoop) CurrentMode ¶
func (*NSRunLoop) GetCFRunLoop ¶
func (*NSRunLoop) LimitDateForMode ¶
func (*NSRunLoop) PerformBlock ¶
func (o *NSRunLoop) PerformBlock(block func())
Schedules the execution of a block on the target run loop. - parameter: block The block to execute
func (*NSRunLoop) PerformInModesBlock ¶
Schedules the execution of a block on the target run loop in given modes. - parameter: modes An array of input modes for which the block may be executed. - parameter: block The block to execute
func (*NSRunLoop) PerformSelectorTargetArgumentOrderModes ¶
func (*NSRunLoop) RemovePortForMode ¶
func (*NSRunLoop) RunModeBeforeDate ¶
func (*NSRunLoop) RunUntilDate ¶
type NSSaveOptions ¶
type NSSaveOptions uint64
const ( NSSaveOptionsYes NSSaveOptions = 0 NSSaveOptionsNo NSSaveOptions = 1 NSSaveOptionsAsk NSSaveOptions = 2 )
func (NSSaveOptions) String ¶
func (e NSSaveOptions) String() string
type NSScanner ¶
type NSScanner struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsscanner
func NSScannerFromID ¶
func (*NSScanner) CaseSensitive ¶
func (*NSScanner) CharactersToBeSkipped ¶
func (o *NSScanner) CharactersToBeSkipped() *NSCharacterSet
func (*NSScanner) InitWithString ¶
func (*NSScanner) ScanCharactersFromSetIntoString ¶
func (o *NSScanner) ScanCharactersFromSetIntoString(set *NSCharacterSet, result *NSString) bool
func (*NSScanner) ScanDecimal ¶
func (*NSScanner) ScanDouble ¶
func (*NSScanner) ScanHexDouble ¶
func (*NSScanner) ScanHexFloat ¶
func (*NSScanner) ScanHexInt ¶
func (*NSScanner) ScanHexLongLong ¶
func (*NSScanner) ScanInteger ¶
func (*NSScanner) ScanLocation ¶
func (*NSScanner) ScanLongLong ¶
func (*NSScanner) ScanStringIntoString ¶
func (*NSScanner) ScanUnsignedLongLong ¶
func (*NSScanner) ScanUpToCharactersFromSetIntoString ¶
func (o *NSScanner) ScanUpToCharactersFromSetIntoString(set *NSCharacterSet, result *NSString) bool
func (*NSScanner) ScanUpToStringIntoString ¶
func (*NSScanner) SetCaseSensitive ¶
func (*NSScanner) SetCharactersToBeSkipped ¶
func (o *NSScanner) SetCharactersToBeSkipped(charactersToBeSkipped *NSCharacterSet)
func (*NSScanner) SetScanLocation ¶
type NSScriptClassDescription ¶
type NSScriptClassDescription struct {
NSClassDescription
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsscriptclassdescription
func NSScriptClassDescriptionClassDescriptionForClass ¶
func NSScriptClassDescriptionClassDescriptionForClass(aClass objc.Class) *NSScriptClassDescription
func NSScriptClassDescriptionFromID ¶
func NSScriptClassDescriptionFromID(id objc.ID) *NSScriptClassDescription
func (*NSScriptClassDescription) AppleEventCode ¶
func (o *NSScriptClassDescription) AppleEventCode() uint
func (*NSScriptClassDescription) AppleEventCodeForKey ¶
func (o *NSScriptClassDescription) AppleEventCodeForKey(key *NSString) uint
func (*NSScriptClassDescription) ClassDescriptionForKey ¶
func (o *NSScriptClassDescription) ClassDescriptionForKey(key *NSString) *NSScriptClassDescription
func (*NSScriptClassDescription) DefaultSubcontainerAttributeKey ¶
func (o *NSScriptClassDescription) DefaultSubcontainerAttributeKey() *NSString
func (*NSScriptClassDescription) HasOrderedToManyRelationshipForKey ¶
func (o *NSScriptClassDescription) HasOrderedToManyRelationshipForKey(key *NSString) bool
func (*NSScriptClassDescription) HasPropertyForKey ¶
func (o *NSScriptClassDescription) HasPropertyForKey(key *NSString) bool
func (*NSScriptClassDescription) HasReadablePropertyForKey ¶
func (o *NSScriptClassDescription) HasReadablePropertyForKey(key *NSString) bool
func (*NSScriptClassDescription) HasWritablePropertyForKey ¶
func (o *NSScriptClassDescription) HasWritablePropertyForKey(key *NSString) bool
func (*NSScriptClassDescription) ImplementationClassName ¶
func (o *NSScriptClassDescription) ImplementationClassName() *NSString
func (*NSScriptClassDescription) InitWithSuiteNameClassNameDictionary ¶
func (o *NSScriptClassDescription) InitWithSuiteNameClassNameDictionary(suiteName *NSString, className *NSString, classDeclaration *NSDictionary[objc.ID, objc.ID]) *NSScriptClassDescription
func (*NSScriptClassDescription) IsLocationRequiredToCreateForKey ¶
func (o *NSScriptClassDescription) IsLocationRequiredToCreateForKey(toManyRelationshipKey *NSString) bool
func (*NSScriptClassDescription) IsReadOnlyKey
deprecated
func (o *NSScriptClassDescription) IsReadOnlyKey(key *NSString) bool
Deprecated: since macOS 10.5.
func (*NSScriptClassDescription) KeyWithAppleEventCode ¶
func (o *NSScriptClassDescription) KeyWithAppleEventCode(appleEventCode uint) *NSString
func (*NSScriptClassDescription) MatchesAppleEventCode ¶
func (o *NSScriptClassDescription) MatchesAppleEventCode(appleEventCode uint) bool
func (*NSScriptClassDescription) SelectorForCommand ¶
func (o *NSScriptClassDescription) SelectorForCommand(commandDescription *NSScriptCommandDescription) objc.SEL
func (*NSScriptClassDescription) SuiteName ¶
func (o *NSScriptClassDescription) SuiteName() *NSString
func (*NSScriptClassDescription) SuperclassDescription ¶
func (o *NSScriptClassDescription) SuperclassDescription() *NSScriptClassDescription
func (*NSScriptClassDescription) SupportsCommand ¶
func (o *NSScriptClassDescription) SupportsCommand(commandDescription *NSScriptCommandDescription) bool
func (*NSScriptClassDescription) TypeForKey ¶
func (o *NSScriptClassDescription) TypeForKey(key *NSString) *NSString
type NSScriptCoercionHandler ¶
type NSScriptCoercionHandler struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsscriptcoercionhandler
func NSScriptCoercionHandlerFromID ¶
func NSScriptCoercionHandlerFromID(id objc.ID) *NSScriptCoercionHandler
func NSScriptCoercionHandlerSharedCoercionHandler ¶
func NSScriptCoercionHandlerSharedCoercionHandler() *NSScriptCoercionHandler
func (*NSScriptCoercionHandler) CoerceValueToClass ¶
type NSScriptCommand ¶
type NSScriptCommand struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsscriptcommand
func NSScriptCommandCurrentCommand ¶
func NSScriptCommandCurrentCommand() *NSScriptCommand
func NSScriptCommandFromID ¶
func NSScriptCommandFromID(id objc.ID) *NSScriptCommand
func (*NSScriptCommand) AppleEvent ¶
func (o *NSScriptCommand) AppleEvent() *NSAppleEventDescriptor
func (*NSScriptCommand) Arguments ¶
func (o *NSScriptCommand) Arguments() *NSDictionary[*NSString, objc.ID]
func (*NSScriptCommand) CommandDescription ¶
func (o *NSScriptCommand) CommandDescription() *NSScriptCommandDescription
func (*NSScriptCommand) DirectParameter ¶
func (o *NSScriptCommand) DirectParameter() objc.ID
func (*NSScriptCommand) EvaluatedArguments ¶
func (o *NSScriptCommand) EvaluatedArguments() *NSDictionary[*NSString, objc.ID]
func (*NSScriptCommand) EvaluatedReceivers ¶
func (o *NSScriptCommand) EvaluatedReceivers() objc.ID
func (*NSScriptCommand) ExecuteCommand ¶
func (o *NSScriptCommand) ExecuteCommand() objc.ID
func (*NSScriptCommand) InitWithCoder ¶
func (o *NSScriptCommand) InitWithCoder(inCoder *NSCoder) *NSScriptCommand
func (*NSScriptCommand) InitWithCommandDescription ¶
func (o *NSScriptCommand) InitWithCommandDescription(commandDef *NSScriptCommandDescription) *NSScriptCommand
func (*NSScriptCommand) IsWellFormed ¶
func (o *NSScriptCommand) IsWellFormed() bool
func (*NSScriptCommand) PerformDefaultImplementation ¶
func (o *NSScriptCommand) PerformDefaultImplementation() objc.ID
func (*NSScriptCommand) ReceiversSpecifier ¶
func (o *NSScriptCommand) ReceiversSpecifier() *NSScriptObjectSpecifier
func (*NSScriptCommand) ResumeExecutionWithResult ¶
func (o *NSScriptCommand) ResumeExecutionWithResult(result objc.ID)
func (*NSScriptCommand) ScriptErrorExpectedTypeDescriptor ¶
func (o *NSScriptCommand) ScriptErrorExpectedTypeDescriptor() *NSAppleEventDescriptor
func (*NSScriptCommand) ScriptErrorNumber ¶
func (o *NSScriptCommand) ScriptErrorNumber() int
func (*NSScriptCommand) ScriptErrorOffendingObjectDescriptor ¶
func (o *NSScriptCommand) ScriptErrorOffendingObjectDescriptor() *NSAppleEventDescriptor
func (*NSScriptCommand) ScriptErrorString ¶
func (o *NSScriptCommand) ScriptErrorString() *NSString
func (*NSScriptCommand) SetArguments ¶
func (o *NSScriptCommand) SetArguments(arguments *NSDictionary[*NSString, objc.ID])
func (*NSScriptCommand) SetDirectParameter ¶
func (o *NSScriptCommand) SetDirectParameter(directParameter objc.ID)
func (*NSScriptCommand) SetReceiversSpecifier ¶
func (o *NSScriptCommand) SetReceiversSpecifier(receiversSpecifier *NSScriptObjectSpecifier)
func (*NSScriptCommand) SetScriptErrorExpectedTypeDescriptor ¶
func (o *NSScriptCommand) SetScriptErrorExpectedTypeDescriptor(scriptErrorExpectedTypeDescriptor *NSAppleEventDescriptor)
func (*NSScriptCommand) SetScriptErrorNumber ¶
func (o *NSScriptCommand) SetScriptErrorNumber(scriptErrorNumber int)
func (*NSScriptCommand) SetScriptErrorOffendingObjectDescriptor ¶
func (o *NSScriptCommand) SetScriptErrorOffendingObjectDescriptor(scriptErrorOffendingObjectDescriptor *NSAppleEventDescriptor)
func (*NSScriptCommand) SetScriptErrorString ¶
func (o *NSScriptCommand) SetScriptErrorString(scriptErrorString *NSString)
func (*NSScriptCommand) SuspendExecution ¶
func (o *NSScriptCommand) SuspendExecution()
type NSScriptCommandDescription ¶
type NSScriptCommandDescription struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsscriptcommanddescription
func NSScriptCommandDescriptionFromID ¶
func NSScriptCommandDescriptionFromID(id objc.ID) *NSScriptCommandDescription
func (*NSScriptCommandDescription) AppleEventClassCode ¶
func (o *NSScriptCommandDescription) AppleEventClassCode() uint
func (*NSScriptCommandDescription) AppleEventCode ¶
func (o *NSScriptCommandDescription) AppleEventCode() uint
func (*NSScriptCommandDescription) AppleEventCodeForArgumentWithName ¶
func (o *NSScriptCommandDescription) AppleEventCodeForArgumentWithName(argumentName *NSString) uint
func (*NSScriptCommandDescription) AppleEventCodeForReturnType ¶
func (o *NSScriptCommandDescription) AppleEventCodeForReturnType() uint
func (*NSScriptCommandDescription) ArgumentNames ¶
func (o *NSScriptCommandDescription) ArgumentNames() *NSArray[*NSString]
func (*NSScriptCommandDescription) CommandClassName ¶
func (o *NSScriptCommandDescription) CommandClassName() *NSString
func (*NSScriptCommandDescription) CommandName ¶
func (o *NSScriptCommandDescription) CommandName() *NSString
func (*NSScriptCommandDescription) CreateCommandInstance ¶
func (o *NSScriptCommandDescription) CreateCommandInstance() *NSScriptCommand
func (*NSScriptCommandDescription) CreateCommandInstanceWithZone ¶
func (o *NSScriptCommandDescription) CreateCommandInstanceWithZone(zone unsafe.Pointer) *NSScriptCommand
func (*NSScriptCommandDescription) InitWithCoder ¶
func (o *NSScriptCommandDescription) InitWithCoder(inCoder *NSCoder) *NSScriptCommandDescription
func (*NSScriptCommandDescription) InitWithSuiteNameCommandNameDictionary ¶
func (o *NSScriptCommandDescription) InitWithSuiteNameCommandNameDictionary(suiteName *NSString, commandName *NSString, commandDeclaration *NSDictionary[objc.ID, objc.ID]) *NSScriptCommandDescription
func (*NSScriptCommandDescription) IsOptionalArgumentWithName ¶
func (o *NSScriptCommandDescription) IsOptionalArgumentWithName(argumentName *NSString) bool
func (*NSScriptCommandDescription) ReturnType ¶
func (o *NSScriptCommandDescription) ReturnType() *NSString
func (*NSScriptCommandDescription) SuiteName ¶
func (o *NSScriptCommandDescription) SuiteName() *NSString
func (*NSScriptCommandDescription) TypeForArgumentWithName ¶
func (o *NSScriptCommandDescription) TypeForArgumentWithName(argumentName *NSString) *NSString
type NSScriptExecutionContext ¶
type NSScriptExecutionContext struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsscriptexecutioncontext
func NSScriptExecutionContextFromID ¶
func NSScriptExecutionContextFromID(id objc.ID) *NSScriptExecutionContext
func NSScriptExecutionContextSharedScriptExecutionContext ¶
func NSScriptExecutionContextSharedScriptExecutionContext() *NSScriptExecutionContext
func (*NSScriptExecutionContext) ObjectBeingTested ¶
func (o *NSScriptExecutionContext) ObjectBeingTested() objc.ID
func (*NSScriptExecutionContext) RangeContainerObject ¶
func (o *NSScriptExecutionContext) RangeContainerObject() objc.ID
func (*NSScriptExecutionContext) SetObjectBeingTested ¶
func (o *NSScriptExecutionContext) SetObjectBeingTested(objectBeingTested objc.ID)
func (*NSScriptExecutionContext) SetRangeContainerObject ¶
func (o *NSScriptExecutionContext) SetRangeContainerObject(rangeContainerObject objc.ID)
func (*NSScriptExecutionContext) SetTopLevelObject ¶
func (o *NSScriptExecutionContext) SetTopLevelObject(topLevelObject objc.ID)
func (*NSScriptExecutionContext) TopLevelObject ¶
func (o *NSScriptExecutionContext) TopLevelObject() objc.ID
type NSScriptObjectSpecifier ¶
type NSScriptObjectSpecifier struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsscriptobjectspecifier
func NSScriptObjectSpecifierFromID ¶
func NSScriptObjectSpecifierFromID(id objc.ID) *NSScriptObjectSpecifier
func NSScriptObjectSpecifierObjectSpecifierWithDescriptor ¶
func NSScriptObjectSpecifierObjectSpecifierWithDescriptor(descriptor *NSAppleEventDescriptor) *NSScriptObjectSpecifier
func (*NSScriptObjectSpecifier) ChildSpecifier ¶
func (o *NSScriptObjectSpecifier) ChildSpecifier() *NSScriptObjectSpecifier
func (*NSScriptObjectSpecifier) ContainerClassDescription ¶
func (o *NSScriptObjectSpecifier) ContainerClassDescription() *NSScriptClassDescription
func (*NSScriptObjectSpecifier) ContainerIsObjectBeingTested ¶
func (o *NSScriptObjectSpecifier) ContainerIsObjectBeingTested() bool
func (*NSScriptObjectSpecifier) ContainerIsRangeContainerObject ¶
func (o *NSScriptObjectSpecifier) ContainerIsRangeContainerObject() bool
func (*NSScriptObjectSpecifier) ContainerSpecifier ¶
func (o *NSScriptObjectSpecifier) ContainerSpecifier() *NSScriptObjectSpecifier
func (*NSScriptObjectSpecifier) Descriptor ¶
func (o *NSScriptObjectSpecifier) Descriptor() *NSAppleEventDescriptor
func (*NSScriptObjectSpecifier) EvaluationErrorNumber ¶
func (o *NSScriptObjectSpecifier) EvaluationErrorNumber() int
func (*NSScriptObjectSpecifier) EvaluationErrorSpecifier ¶
func (o *NSScriptObjectSpecifier) EvaluationErrorSpecifier() *NSScriptObjectSpecifier
func (*NSScriptObjectSpecifier) IndicesOfObjectsByEvaluatingWithContainerCount ¶
func (o *NSScriptObjectSpecifier) IndicesOfObjectsByEvaluatingWithContainerCount(container objc.ID, count *int64) *int64
func (*NSScriptObjectSpecifier) InitWithCoder ¶
func (o *NSScriptObjectSpecifier) InitWithCoder(inCoder *NSCoder) *NSScriptObjectSpecifier
func (*NSScriptObjectSpecifier) InitWithContainerClassDescriptionContainerSpecifierKey ¶
func (o *NSScriptObjectSpecifier) InitWithContainerClassDescriptionContainerSpecifierKey(classDesc *NSScriptClassDescription, container *NSScriptObjectSpecifier, property *NSString) *NSScriptObjectSpecifier
func (*NSScriptObjectSpecifier) InitWithContainerSpecifierKey ¶
func (o *NSScriptObjectSpecifier) InitWithContainerSpecifierKey(container *NSScriptObjectSpecifier, property *NSString) *NSScriptObjectSpecifier
func (*NSScriptObjectSpecifier) Key ¶
func (o *NSScriptObjectSpecifier) Key() *NSString
func (*NSScriptObjectSpecifier) KeyClassDescription ¶
func (o *NSScriptObjectSpecifier) KeyClassDescription() *NSScriptClassDescription
func (*NSScriptObjectSpecifier) ObjectsByEvaluatingSpecifier ¶
func (o *NSScriptObjectSpecifier) ObjectsByEvaluatingSpecifier() objc.ID
func (*NSScriptObjectSpecifier) ObjectsByEvaluatingWithContainers ¶
func (o *NSScriptObjectSpecifier) ObjectsByEvaluatingWithContainers(containers objc.ID) objc.ID
func (*NSScriptObjectSpecifier) SetChildSpecifier ¶
func (o *NSScriptObjectSpecifier) SetChildSpecifier(childSpecifier *NSScriptObjectSpecifier)
func (*NSScriptObjectSpecifier) SetContainerClassDescription ¶
func (o *NSScriptObjectSpecifier) SetContainerClassDescription(containerClassDescription *NSScriptClassDescription)
func (*NSScriptObjectSpecifier) SetContainerIsObjectBeingTested ¶
func (o *NSScriptObjectSpecifier) SetContainerIsObjectBeingTested(containerIsObjectBeingTested bool)
func (*NSScriptObjectSpecifier) SetContainerIsRangeContainerObject ¶
func (o *NSScriptObjectSpecifier) SetContainerIsRangeContainerObject(containerIsRangeContainerObject bool)
func (*NSScriptObjectSpecifier) SetContainerSpecifier ¶
func (o *NSScriptObjectSpecifier) SetContainerSpecifier(containerSpecifier *NSScriptObjectSpecifier)
func (*NSScriptObjectSpecifier) SetEvaluationErrorNumber ¶
func (o *NSScriptObjectSpecifier) SetEvaluationErrorNumber(evaluationErrorNumber int)
func (*NSScriptObjectSpecifier) SetKey ¶
func (o *NSScriptObjectSpecifier) SetKey(key *NSString)
type NSScriptSuiteRegistry ¶
type NSScriptSuiteRegistry struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsscriptsuiteregistry
func NSScriptSuiteRegistryFromID ¶
func NSScriptSuiteRegistryFromID(id objc.ID) *NSScriptSuiteRegistry
func NSScriptSuiteRegistrySharedScriptSuiteRegistry ¶
func NSScriptSuiteRegistrySharedScriptSuiteRegistry() *NSScriptSuiteRegistry
func (*NSScriptSuiteRegistry) AeteResource ¶
func (o *NSScriptSuiteRegistry) AeteResource(languageName *NSString) *NSData
func (*NSScriptSuiteRegistry) AppleEventCodeForSuite ¶
func (o *NSScriptSuiteRegistry) AppleEventCodeForSuite(suiteName *NSString) uint
func (*NSScriptSuiteRegistry) BundleForSuite ¶
func (o *NSScriptSuiteRegistry) BundleForSuite(suiteName *NSString) *NSBundle
func (*NSScriptSuiteRegistry) ClassDescriptionWithAppleEventCode ¶
func (o *NSScriptSuiteRegistry) ClassDescriptionWithAppleEventCode(appleEventCode uint) *NSScriptClassDescription
func (*NSScriptSuiteRegistry) ClassDescriptionsInSuite ¶
func (o *NSScriptSuiteRegistry) ClassDescriptionsInSuite(suiteName *NSString) *NSDictionary[*NSString, *NSScriptClassDescription]
func (*NSScriptSuiteRegistry) CommandDescriptionWithAppleEventClassAndAppleEventCode ¶
func (o *NSScriptSuiteRegistry) CommandDescriptionWithAppleEventClassAndAppleEventCode(appleEventClassCode uint, appleEventIDCode uint) *NSScriptCommandDescription
func (*NSScriptSuiteRegistry) CommandDescriptionsInSuite ¶
func (o *NSScriptSuiteRegistry) CommandDescriptionsInSuite(suiteName *NSString) *NSDictionary[*NSString, *NSScriptCommandDescription]
func (*NSScriptSuiteRegistry) LoadSuiteWithDictionaryFromBundle ¶
func (o *NSScriptSuiteRegistry) LoadSuiteWithDictionaryFromBundle(suiteDeclaration *NSDictionary[objc.ID, objc.ID], bundle *NSBundle)
func (*NSScriptSuiteRegistry) LoadSuitesFromBundle ¶
func (o *NSScriptSuiteRegistry) LoadSuitesFromBundle(bundle *NSBundle)
func (*NSScriptSuiteRegistry) RegisterClassDescription ¶
func (o *NSScriptSuiteRegistry) RegisterClassDescription(classDescription *NSScriptClassDescription)
func (*NSScriptSuiteRegistry) RegisterCommandDescription ¶
func (o *NSScriptSuiteRegistry) RegisterCommandDescription(commandDescription *NSScriptCommandDescription)
func (*NSScriptSuiteRegistry) SuiteForAppleEventCode ¶
func (o *NSScriptSuiteRegistry) SuiteForAppleEventCode(appleEventCode uint) *NSString
func (*NSScriptSuiteRegistry) SuiteNames ¶
func (o *NSScriptSuiteRegistry) SuiteNames() *NSArray[*NSString]
type NSScriptWhoseTest ¶
type NSScriptWhoseTest struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsscriptwhosetest
func NSScriptWhoseTestFromID ¶
func NSScriptWhoseTestFromID(id objc.ID) *NSScriptWhoseTest
func (*NSScriptWhoseTest) Init ¶
func (o *NSScriptWhoseTest) Init() *NSScriptWhoseTest
func (*NSScriptWhoseTest) InitWithCoder ¶
func (o *NSScriptWhoseTest) InitWithCoder(inCoder *NSCoder) *NSScriptWhoseTest
func (*NSScriptWhoseTest) IsTrue ¶
func (o *NSScriptWhoseTest) IsTrue() bool
type NSSearchPathDirectory ¶
type NSSearchPathDirectory uint64
const ( NSApplicationDirectory NSSearchPathDirectory = 1 NSDemoApplicationDirectory NSSearchPathDirectory = 2 NSDeveloperApplicationDirectory NSSearchPathDirectory = 3 NSAdminApplicationDirectory NSSearchPathDirectory = 4 NSLibraryDirectory NSSearchPathDirectory = 5 NSDeveloperDirectory NSSearchPathDirectory = 6 NSUserDirectory NSSearchPathDirectory = 7 NSDocumentationDirectory NSSearchPathDirectory = 8 NSDocumentDirectory NSSearchPathDirectory = 9 NSCoreServiceDirectory NSSearchPathDirectory = 10 NSAutosavedInformationDirectory NSSearchPathDirectory = 11 NSDesktopDirectory NSSearchPathDirectory = 12 NSCachesDirectory NSSearchPathDirectory = 13 NSApplicationSupportDirectory NSSearchPathDirectory = 14 NSDownloadsDirectory NSSearchPathDirectory = 15 NSInputMethodsDirectory NSSearchPathDirectory = 16 NSMoviesDirectory NSSearchPathDirectory = 17 NSMusicDirectory NSSearchPathDirectory = 18 NSPicturesDirectory NSSearchPathDirectory = 19 NSPrinterDescriptionDirectory NSSearchPathDirectory = 20 NSPreferencePanesDirectory NSSearchPathDirectory = 22 NSApplicationScriptsDirectory NSSearchPathDirectory = 23 NSItemReplacementDirectory NSSearchPathDirectory = 99 NSAllApplicationsDirectory NSSearchPathDirectory = 100 NSAllLibrariesDirectory NSSearchPathDirectory = 101 NSTrashDirectory NSSearchPathDirectory = 102 )
func (NSSearchPathDirectory) String ¶
func (e NSSearchPathDirectory) String() string
type NSSearchPathDomainMask ¶
type NSSearchPathDomainMask uint64
const ( NSUserDomainMask NSSearchPathDomainMask = 1 NSLocalDomainMask NSSearchPathDomainMask = 2 NSNetworkDomainMask NSSearchPathDomainMask = 4 NSSystemDomainMask NSSearchPathDomainMask = 8 NSAllDomainsMask NSSearchPathDomainMask = 65535 )
func (NSSearchPathDomainMask) String ¶
func (e NSSearchPathDomainMask) String() string
type NSSecureCoding ¶
NSSecureCoding wraps the ObjC protocol NSSecureCoding.
type NSSecureUnarchiveFromDataTransformer ¶
type NSSecureUnarchiveFromDataTransformer struct {
NSValueTransformer
}
Apple documentation: https://developer.apple.com/documentation/foundation/nssecureunarchivefromdatatransformer
func NSSecureUnarchiveFromDataTransformerFromID ¶
func NSSecureUnarchiveFromDataTransformerFromID(id objc.ID) *NSSecureUnarchiveFromDataTransformer
type NSSet ¶
Apple documentation: https://developer.apple.com/documentation/foundation/nsset
func (*NSSet[ObjectType]) AllObjects ¶
func (*NSSet[ObjectType]) ContainsObject ¶
func (*NSSet[ObjectType]) DescriptionWithLocale ¶
func (*NSSet[ObjectType]) EnumerateObjectsUsing ¶
func (*NSSet[ObjectType]) EnumerateObjectsWithOptionsUsing ¶
func (o *NSSet[ObjectType]) EnumerateObjectsWithOptionsUsing(opts NSEnumerationOptions, block objc.Block)
func (*NSSet[ObjectType]) FilteredSetUsingPredicate ¶
func (o *NSSet[ObjectType]) FilteredSetUsingPredicate(predicate *NSPredicate) *NSSet[ObjectType]
func (*NSSet[ObjectType]) InitWithArray ¶
func (*NSSet[ObjectType]) InitWithCoder ¶
func (*NSSet[ObjectType]) InitWithObjectsCount ¶
func (*NSSet[ObjectType]) InitWithSet ¶
func (*NSSet[ObjectType]) InitWithSetCopyItems ¶
func (*NSSet[ObjectType]) IntersectsSet ¶
func (*NSSet[ObjectType]) IsEqualToSet ¶
func (*NSSet[ObjectType]) IsSubsetOfSet ¶
func (*NSSet[ObjectType]) MakeObjectsPerformSelector ¶
func (*NSSet[ObjectType]) MakeObjectsPerformSelectorWithObject ¶
func (*NSSet[ObjectType]) Member ¶
func (o *NSSet[ObjectType]) Member(object ObjectType) ObjectType
func (*NSSet[ObjectType]) ObjectEnumerator ¶
func (o *NSSet[ObjectType]) ObjectEnumerator() *NSEnumerator[ObjectType]
func (*NSSet[ObjectType]) ObjectsPassingTest ¶
func (*NSSet[ObjectType]) ObjectsWithOptionsPassingTest ¶
func (o *NSSet[ObjectType]) ObjectsWithOptionsPassingTest(opts NSEnumerationOptions, predicate objc.Block) *NSSet[ObjectType]
func (*NSSet[ObjectType]) SetByAddingObject ¶
func (*NSSet[ObjectType]) SetByAddingObjectsFromArray ¶
func (*NSSet[ObjectType]) SetByAddingObjectsFromSet ¶
func (*NSSet[ObjectType]) SortedArrayUsingDescriptors ¶
func (o *NSSet[ObjectType]) SortedArrayUsingDescriptors(sortDescriptors *NSArray[*NSSortDescriptor]) *NSArray[ObjectType]
type NSSetCommand ¶
type NSSetCommand struct {
NSScriptCommand
}
Apple documentation: https://developer.apple.com/documentation/foundation/nssetcommand
func NSSetCommandFromID ¶
func NSSetCommandFromID(id objc.ID) *NSSetCommand
func (*NSSetCommand) KeySpecifier ¶
func (o *NSSetCommand) KeySpecifier() *NSScriptObjectSpecifier
type NSSimpleCString ¶
type NSSimpleCString struct {
NSString
}
Apple documentation: https://developer.apple.com/documentation/foundation/nssimplecstring
func NSSimpleCStringFromID ¶
func NSSimpleCStringFromID(id objc.ID) *NSSimpleCString
type NSSocketPort ¶
type NSSocketPort struct {
NSPort
}
Apple documentation: https://developer.apple.com/documentation/foundation/nssocketport
func NSSocketPortFromID ¶
func NSSocketPortFromID(id objc.ID) *NSSocketPort
func (*NSSocketPort) Address ¶
func (o *NSSocketPort) Address() *NSData
func (*NSSocketPort) Init ¶
func (o *NSSocketPort) Init() *NSSocketPort
func (*NSSocketPort) InitRemoteWithProtocolFamilySocketTypeProtocolAddress ¶
func (o *NSSocketPort) InitRemoteWithProtocolFamilySocketTypeProtocolAddress(family int, type_ int, protocol int, address *NSData) *NSSocketPort
func (*NSSocketPort) InitRemoteWithTCPPortHost ¶
func (o *NSSocketPort) InitRemoteWithTCPPortHost(port uint16, hostName *NSString) *NSSocketPort
func (*NSSocketPort) InitWithProtocolFamilySocketTypeProtocolAddress ¶
func (o *NSSocketPort) InitWithProtocolFamilySocketTypeProtocolAddress(family int, type_ int, protocol int, address *NSData) *NSSocketPort
func (*NSSocketPort) InitWithProtocolFamilySocketTypeProtocolSocket ¶
func (o *NSSocketPort) InitWithProtocolFamilySocketTypeProtocolSocket(family int, type_ int, protocol int, sock int) *NSSocketPort
func (*NSSocketPort) InitWithTCPPort ¶
func (o *NSSocketPort) InitWithTCPPort(port uint16) *NSSocketPort
func (*NSSocketPort) Protocol ¶
func (o *NSSocketPort) Protocol() int
func (*NSSocketPort) ProtocolFamily ¶
func (o *NSSocketPort) ProtocolFamily() int
func (*NSSocketPort) Socket ¶
func (o *NSSocketPort) Socket() int
func (*NSSocketPort) SocketType ¶
func (o *NSSocketPort) SocketType() int
type NSSocketPortNameServer ¶
type NSSocketPortNameServer struct {
NSPortNameServer
}
Apple documentation: https://developer.apple.com/documentation/foundation/nssocketportnameserver Deprecated: Use NSXPCConnection instead
func NSSocketPortNameServerFromID ¶
func NSSocketPortNameServerFromID(id objc.ID) *NSSocketPortNameServer
func (*NSSocketPortNameServer) DefaultNameServerPortNumber ¶
func (o *NSSocketPortNameServer) DefaultNameServerPortNumber() uint16
func (*NSSocketPortNameServer) PortForNameHostNameServerPortNumber ¶
func (o *NSSocketPortNameServer) PortForNameHostNameServerPortNumber(name *NSString, host *NSString, portNumber uint16) *NSPort
func (*NSSocketPortNameServer) RegisterPortNameNameServerPortNumber ¶
func (o *NSSocketPortNameServer) RegisterPortNameNameServerPortNumber(port *NSPort, name *NSString, portNumber uint16) bool
func (*NSSocketPortNameServer) SetDefaultNameServerPortNumber ¶
func (o *NSSocketPortNameServer) SetDefaultNameServerPortNumber(defaultNameServerPortNumber uint16)
type NSSortDescriptor ¶
type NSSortDescriptor struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nssortdescriptor
func NSSortDescriptorFromID ¶
func NSSortDescriptorFromID(id objc.ID) *NSSortDescriptor
func NSSortDescriptorSortDescriptorWithKeyAscending ¶
func NSSortDescriptorSortDescriptorWithKeyAscending(key *NSString, ascending bool) *NSSortDescriptor
func NSSortDescriptorSortDescriptorWithKeyAscendingComparator ¶
func NSSortDescriptorSortDescriptorWithKeyAscendingComparator(key *NSString, ascending bool, cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSSortDescriptor
func NSSortDescriptorSortDescriptorWithKeyAscendingSelector ¶
func NSSortDescriptorSortDescriptorWithKeyAscendingSelector(key *NSString, ascending bool, selector objc.SEL) *NSSortDescriptor
func (*NSSortDescriptor) AllowEvaluation ¶
func (o *NSSortDescriptor) AllowEvaluation()
func (*NSSortDescriptor) Ascending ¶
func (o *NSSortDescriptor) Ascending() bool
func (*NSSortDescriptor) Comparator ¶
func (o *NSSortDescriptor) Comparator() objc.Block
func (*NSSortDescriptor) CompareObjectToObject ¶
func (o *NSSortDescriptor) CompareObjectToObject(object1 objc.ID, object2 objc.ID) NSComparisonResult
func (*NSSortDescriptor) InitWithCoder ¶
func (o *NSSortDescriptor) InitWithCoder(coder *NSCoder) *NSSortDescriptor
func (*NSSortDescriptor) InitWithKeyAscending ¶
func (o *NSSortDescriptor) InitWithKeyAscending(key *NSString, ascending bool) *NSSortDescriptor
func (*NSSortDescriptor) InitWithKeyAscendingComparator ¶
func (o *NSSortDescriptor) InitWithKeyAscendingComparator(key *NSString, ascending bool, cmptr func(objc.ID, objc.ID) NSComparisonResult) *NSSortDescriptor
func (*NSSortDescriptor) InitWithKeyAscendingSelector ¶
func (o *NSSortDescriptor) InitWithKeyAscendingSelector(key *NSString, ascending bool, selector objc.SEL) *NSSortDescriptor
func (*NSSortDescriptor) Key ¶
func (o *NSSortDescriptor) Key() *NSString
func (*NSSortDescriptor) ReversedSortDescriptor ¶
func (o *NSSortDescriptor) ReversedSortDescriptor() objc.ID
func (*NSSortDescriptor) Selector ¶
func (o *NSSortDescriptor) Selector() objc.SEL
type NSSortOptions ¶
type NSSortOptions uint64
const ( NSSortConcurrent NSSortOptions = 1 NSSortStable NSSortOptions = 16 )
func (NSSortOptions) String ¶
func (e NSSortOptions) String() string
type NSSpecifierTest ¶
type NSSpecifierTest struct {
NSScriptWhoseTest
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsspecifiertest
func NSSpecifierTestFromID ¶
func NSSpecifierTestFromID(id objc.ID) *NSSpecifierTest
func (*NSSpecifierTest) InitWithCoder ¶
func (o *NSSpecifierTest) InitWithCoder(inCoder *NSCoder) *NSSpecifierTest
func (*NSSpecifierTest) InitWithObjectSpecifierComparisonOperatorTestObject ¶
func (o *NSSpecifierTest) InitWithObjectSpecifierComparisonOperatorTestObject(obj1 *NSScriptObjectSpecifier, compOp NSTestComparisonOperation, obj2 objc.ID) *NSSpecifierTest
type NSSpellServer ¶
type NSSpellServer struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsspellserver
func NSSpellServerFromID ¶
func NSSpellServerFromID(id objc.ID) *NSSpellServer
func (*NSSpellServer) Delegate ¶
func (o *NSSpellServer) Delegate() NSSpellServerDelegate
func (*NSSpellServer) IsWordInUserDictionariesCaseSensitive ¶
func (o *NSSpellServer) IsWordInUserDictionariesCaseSensitive(word *NSString, flag bool) bool
func (*NSSpellServer) RegisterLanguageByVendor ¶
func (o *NSSpellServer) RegisterLanguageByVendor(language *NSString, vendor *NSString) bool
func (*NSSpellServer) Run ¶
func (o *NSSpellServer) Run()
func (*NSSpellServer) SetDelegate ¶
func (o *NSSpellServer) SetDelegate(delegate NSSpellServerDelegate)
type NSSpellServerDelegate ¶
type NSSpellServerDelegate interface {
}
NSSpellServerDelegate wraps the ObjC protocol NSSpellServerDelegate.
type NSStream ¶
type NSStream struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsstream
func NSStreamFromID ¶
func (*NSStream) Delegate ¶
func (o *NSStream) Delegate() NSStreamDelegate
func (*NSStream) RemoveFromRunLoopForMode ¶
func (*NSStream) ScheduleInRunLoopForMode ¶
func (*NSStream) SetDelegate ¶
func (o *NSStream) SetDelegate(delegate NSStreamDelegate)
func (*NSStream) SetPropertyForKey ¶
func (*NSStream) StreamError ¶
func (*NSStream) StreamStatus ¶
func (o *NSStream) StreamStatus() NSStreamStatus
type NSStreamDelegate ¶
type NSStreamDelegate interface {
}
NSStreamDelegate wraps the ObjC protocol NSStreamDelegate.
type NSStreamEvent ¶
type NSStreamEvent uint64
const ( NSStreamEventNone NSStreamEvent = 0 NSStreamEventOpenCompleted NSStreamEvent = 1 NSStreamEventHasBytesAvailable NSStreamEvent = 2 NSStreamEventHasSpaceAvailable NSStreamEvent = 4 NSStreamEventErrorOccurred NSStreamEvent = 8 NSStreamEventEndEncountered NSStreamEvent = 16 )
func (NSStreamEvent) String ¶
func (e NSStreamEvent) String() string
type NSStreamStatus ¶
type NSStreamStatus uint64
const ( NSStreamStatusNotOpen NSStreamStatus = 0 NSStreamStatusOpening NSStreamStatus = 1 NSStreamStatusOpen NSStreamStatus = 2 NSStreamStatusReading NSStreamStatus = 3 NSStreamStatusWriting NSStreamStatus = 4 NSStreamStatusAtEnd NSStreamStatus = 5 NSStreamStatusClosed NSStreamStatus = 6 NSStreamStatusError NSStreamStatus = 7 )
func (NSStreamStatus) String ¶
func (e NSStreamStatus) String() string
type NSString ¶
type NSString struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsstring
func NSAppleEventManagerWillProcessFirstEventNotification ¶
func NSAppleEventManagerWillProcessFirstEventNotification() *NSString
func NSAverageKeyValueOperator ¶
func NSAverageKeyValueOperator() *NSString
func NSBundleDidLoadNotification ¶
func NSBundleDidLoadNotification() *NSString
func NSByteCountFormatterStringFromByteCountCountStyle ¶
func NSByteCountFormatterStringFromByteCountCountStyle(byteCount int64, countStyle NSByteCountFormatterCountStyle) *NSString
func NSByteCountFormatterStringFromMeasurementCountStyle ¶
func NSByteCountFormatterStringFromMeasurementCountStyle(measurement *NSMeasurement[*NSUnitInformationStorage], countStyle NSByteCountFormatterCountStyle) *NSString
func NSCalendarDayChangedNotification ¶
func NSCalendarDayChangedNotification() *NSString
func NSCalendarIdentifierBangla ¶
func NSCalendarIdentifierBangla() *NSString
func NSCalendarIdentifierBuddhist ¶
func NSCalendarIdentifierBuddhist() *NSString
func NSCalendarIdentifierChinese ¶
func NSCalendarIdentifierChinese() *NSString
func NSCalendarIdentifierCoptic ¶
func NSCalendarIdentifierCoptic() *NSString
func NSCalendarIdentifierDangi ¶
func NSCalendarIdentifierDangi() *NSString
func NSCalendarIdentifierEthiopicAmeteAlem ¶
func NSCalendarIdentifierEthiopicAmeteAlem() *NSString
func NSCalendarIdentifierEthiopicAmeteMihret ¶
func NSCalendarIdentifierEthiopicAmeteMihret() *NSString
func NSCalendarIdentifierGregorian ¶
func NSCalendarIdentifierGregorian() *NSString
func NSCalendarIdentifierGujarati ¶
func NSCalendarIdentifierGujarati() *NSString
func NSCalendarIdentifierHebrew ¶
func NSCalendarIdentifierHebrew() *NSString
func NSCalendarIdentifierISO8601 ¶
func NSCalendarIdentifierISO8601() *NSString
func NSCalendarIdentifierIndian ¶
func NSCalendarIdentifierIndian() *NSString
func NSCalendarIdentifierIslamic ¶
func NSCalendarIdentifierIslamic() *NSString
func NSCalendarIdentifierIslamicCivil ¶
func NSCalendarIdentifierIslamicCivil() *NSString
func NSCalendarIdentifierIslamicTabular ¶
func NSCalendarIdentifierIslamicTabular() *NSString
func NSCalendarIdentifierIslamicUmmAlQura ¶
func NSCalendarIdentifierIslamicUmmAlQura() *NSString
func NSCalendarIdentifierJapanese ¶
func NSCalendarIdentifierJapanese() *NSString
func NSCalendarIdentifierKannada ¶
func NSCalendarIdentifierKannada() *NSString
func NSCalendarIdentifierMalayalam ¶
func NSCalendarIdentifierMalayalam() *NSString
func NSCalendarIdentifierMarathi ¶
func NSCalendarIdentifierMarathi() *NSString
func NSCalendarIdentifierOdia ¶
func NSCalendarIdentifierOdia() *NSString
func NSCalendarIdentifierPersian ¶
func NSCalendarIdentifierPersian() *NSString
func NSCalendarIdentifierRepublicOfChina ¶
func NSCalendarIdentifierRepublicOfChina() *NSString
func NSCalendarIdentifierTamil ¶
func NSCalendarIdentifierTamil() *NSString
func NSCalendarIdentifierTelugu ¶
func NSCalendarIdentifierTelugu() *NSString
func NSCalendarIdentifierVietnamese ¶
func NSCalendarIdentifierVietnamese() *NSString
func NSCalendarIdentifierVikram ¶
func NSCalendarIdentifierVikram() *NSString
func NSCharacterConversionException ¶
func NSCharacterConversionException() *NSString
func NSClassDescriptionNeededForClassNotification ¶
func NSClassDescriptionNeededForClassNotification() *NSString
func NSCocoaErrorDomain ¶
func NSCocoaErrorDomain() *NSString
func NSCountKeyValueOperator ¶
func NSCountKeyValueOperator() *NSString
func NSCurrentLocaleDidChangeNotification ¶
func NSCurrentLocaleDidChangeNotification() *NSString
func NSDateComponentsFormatterLocalizedStringFromDateComponentsUnitsStyle ¶
func NSDateComponentsFormatterLocalizedStringFromDateComponentsUnitsStyle(components *NSDateComponents, unitsStyle NSDateComponentsFormatterUnitsStyle) *NSString
func NSDateFormatterLocalizedStringFromDateDateStyleTimeStyle ¶
func NSDateFormatterLocalizedStringFromDateDateStyleTimeStyle(date *NSDate, dstyle NSDateFormatterStyle, tstyle NSDateFormatterStyle) *NSString
func NSDebugDescriptionErrorKey ¶
func NSDebugDescriptionErrorKey() *NSString
func NSDecimalNumberDivideByZeroException ¶
func NSDecimalNumberDivideByZeroException() *NSString
func NSDecimalNumberExactnessException ¶
func NSDecimalNumberExactnessException() *NSString
func NSDecimalNumberOverflowException ¶
func NSDecimalNumberOverflowException() *NSString
func NSDecimalNumberUnderflowException ¶
func NSDecimalNumberUnderflowException() *NSString
func NSDefaultRunLoopMode ¶
func NSDefaultRunLoopMode() *NSString
func NSDestinationInvalidException ¶
func NSDestinationInvalidException() *NSString
func NSDidBecomeSingleThreadedNotification
deprecated
func NSDidBecomeSingleThreadedNotification() *NSString
Deprecated: Programs no longer transition to single-threaded mode from threaded environments
func NSDistinctUnionOfArraysKeyValueOperator ¶
func NSDistinctUnionOfArraysKeyValueOperator() *NSString
func NSDistinctUnionOfObjectsKeyValueOperator ¶
func NSDistinctUnionOfObjectsKeyValueOperator() *NSString
func NSDistinctUnionOfSetsKeyValueOperator ¶
func NSDistinctUnionOfSetsKeyValueOperator() *NSString
func NSFileAppendOnly ¶
func NSFileAppendOnly() *NSString
func NSFileBusy ¶
func NSFileBusy() *NSString
func NSFileCreationDate ¶
func NSFileCreationDate() *NSString
func NSFileDeviceIdentifier ¶
func NSFileDeviceIdentifier() *NSString
func NSFileExtensionHidden ¶
func NSFileExtensionHidden() *NSString
func NSFileGroupOwnerAccountID ¶
func NSFileGroupOwnerAccountID() *NSString
func NSFileGroupOwnerAccountName ¶
func NSFileGroupOwnerAccountName() *NSString
func NSFileHFSCreatorCode ¶
func NSFileHFSCreatorCode() *NSString
func NSFileHFSTypeCode ¶
func NSFileHFSTypeCode() *NSString
func NSFileHandleConnectionAcceptedNotification ¶
func NSFileHandleConnectionAcceptedNotification() *NSString
func NSFileHandleDataAvailableNotification ¶
func NSFileHandleDataAvailableNotification() *NSString
func NSFileHandleOperationException ¶
func NSFileHandleOperationException() *NSString
func NSFileHandleReadCompletionNotification ¶
func NSFileHandleReadCompletionNotification() *NSString
func NSFileHandleReadToEndOfFileCompletionNotification ¶
func NSFileHandleReadToEndOfFileCompletionNotification() *NSString
func NSFileImmutable ¶
func NSFileImmutable() *NSString
func NSFileModificationDate ¶
func NSFileModificationDate() *NSString
func NSFileOwnerAccountID ¶
func NSFileOwnerAccountID() *NSString
func NSFileOwnerAccountName ¶
func NSFileOwnerAccountName() *NSString
func NSFilePathErrorKey ¶
func NSFilePathErrorKey() *NSString
func NSFilePosixPermissions ¶
func NSFilePosixPermissions() *NSString
func NSFileProtectionComplete ¶
func NSFileProtectionComplete() *NSString
func NSFileProtectionCompleteUnlessOpen ¶
func NSFileProtectionCompleteUnlessOpen() *NSString
func NSFileProtectionCompleteUntilFirstUserAuthentication ¶
func NSFileProtectionCompleteUntilFirstUserAuthentication() *NSString
func NSFileProtectionKey ¶
func NSFileProtectionKey() *NSString
func NSFileProtectionNone ¶
func NSFileProtectionNone() *NSString
func NSFileReferenceCount ¶
func NSFileReferenceCount() *NSString
func NSFileSize ¶
func NSFileSize() *NSString
func NSFileSystemFileNumber ¶
func NSFileSystemFileNumber() *NSString
func NSFileSystemFreeNodes ¶
func NSFileSystemFreeNodes() *NSString
func NSFileSystemNumber ¶
func NSFileSystemNumber() *NSString
func NSFileType ¶
func NSFileType() *NSString
func NSFileTypeBlockSpecial ¶
func NSFileTypeBlockSpecial() *NSString
func NSFileTypeCharacterSpecial ¶
func NSFileTypeCharacterSpecial() *NSString
func NSFileTypeDirectory ¶
func NSFileTypeDirectory() *NSString
func NSFileTypeRegular ¶
func NSFileTypeRegular() *NSString
func NSFileTypeSocket ¶
func NSFileTypeSocket() *NSString
func NSFileTypeSymbolicLink ¶
func NSFileTypeSymbolicLink() *NSString
func NSFileTypeUnknown ¶
func NSFileTypeUnknown() *NSString
func NSFullUserName ¶
func NSFullUserName() *NSString
func NSGenericException ¶
func NSGenericException() *NSString
func NSHFSTypeOfFile ¶
func NSHTTPCookieComment ¶
func NSHTTPCookieComment() *NSString
@const NSHTTPCookieComment @discussion Key for cookie comment text
func NSHTTPCookieCommentURL ¶
func NSHTTPCookieCommentURL() *NSString
@const NSHTTPCookieCommentURL @discussion Key for cookie comment URL
func NSHTTPCookieDiscard ¶
func NSHTTPCookieDiscard() *NSString
@const NSHTTPCookieDiscard @discussion Key for cookie discard (session-only) flag
func NSHTTPCookieDomain ¶
func NSHTTPCookieDomain() *NSString
@const NSHTTPCookieDomain @discussion Key for cookie domain
func NSHTTPCookieExpires ¶
func NSHTTPCookieExpires() *NSString
@const NSHTTPCookieExpires @discussion Key for cookie expiration date
func NSHTTPCookieManagerAcceptPolicyChangedNotification ¶
func NSHTTPCookieManagerAcceptPolicyChangedNotification() *NSString
@const NSHTTPCookieManagerAcceptPolicyChangedNotification @discussion Name of notification that should be posted to the distributed notification center whenever the accept cookies preference is changed Deprecated: Notification is never posted
func NSHTTPCookieManagerCookiesChangedNotification ¶
func NSHTTPCookieManagerCookiesChangedNotification() *NSString
@const NSHTTPCookieManagerCookiesChangedNotification @abstract Notification sent when the set of cookies changes
func NSHTTPCookieMaximumAge ¶
func NSHTTPCookieMaximumAge() *NSString
@const NSHTTPCookieMaximumAge @discussion Key for cookie maximum age (an alternate way of specifying the expiration)
func NSHTTPCookieName ¶
func NSHTTPCookieName() *NSString
@const NSHTTPCookieName @discussion Key for cookie name
func NSHTTPCookieOriginURL ¶
func NSHTTPCookieOriginURL() *NSString
@const NSHTTPCookieOriginURL @discussion Key for cookie origin URL
func NSHTTPCookiePath ¶
func NSHTTPCookiePath() *NSString
@const NSHTTPCookiePath @discussion Key for cookie path
func NSHTTPCookiePort ¶
func NSHTTPCookiePort() *NSString
@const NSHTTPCookiePort @discussion Key for cookie ports
func NSHTTPCookieSameSiteLax ¶
func NSHTTPCookieSameSiteLax() *NSString
@const NSHTTPCookieSameSiteLax @discussion String constant "lax" to be used as a value for the property key NSHTTPCookieSameSite
func NSHTTPCookieSameSitePolicy ¶
func NSHTTPCookieSameSitePolicy() *NSString
@const NSHTTPCookieSameSitePolicy @discussion Key for cookie same site
func NSHTTPCookieSameSiteStrict ¶
func NSHTTPCookieSameSiteStrict() *NSString
@const NSHTTPCookieSameSiteStrict @discussion String constant "strict" to be used as a value for the property key NSHTTPCookieSameSite
func NSHTTPCookieSecure ¶
func NSHTTPCookieSecure() *NSString
@const NSHTTPCookieSecure @discussion Key for cookie secure flag
func NSHTTPCookieSetByJavaScript ¶
func NSHTTPCookieSetByJavaScript() *NSString
@const NSHTTPCookieSetByJavaScript @discussion An NSString object indicating that the cookie is set via JavaScript.
func NSHTTPCookieValue ¶
func NSHTTPCookieValue() *NSString
@const NSHTTPCookieValue @discussion Key for cookie value
func NSHTTPCookieVersion ¶
func NSHTTPCookieVersion() *NSString
@const NSHTTPCookieVersion @discussion Key for cookie version
func NSHTTPURLResponseLocalizedStringForStatusCode ¶
@method localizedStringForStatusCode: @abstract Convenience method which returns a localized string corresponding to the status code for this response. @param statusCode the status code to use to produce a localized string. @result A localized string corresponding to the given status code.
func NSHelpAnchorErrorKey ¶
func NSHelpAnchorErrorKey() *NSString
func NSHomeDirectory ¶
func NSHomeDirectory() *NSString
func NSHomeDirectoryForUser ¶
func NSISO8601DateFormatterStringFromDateTimeZoneFormatOptions ¶
func NSISO8601DateFormatterStringFromDateTimeZoneFormatOptions(date *NSDate, timeZone *NSTimeZone, formatOptions NSISO8601DateFormatOptions) *NSString
func NSInconsistentArchiveException ¶
func NSInconsistentArchiveException() *NSString
func NSInflectionConceptsKey ¶
func NSInflectionConceptsKey() *NSString
func NSInternalInconsistencyException ¶
func NSInternalInconsistencyException() *NSString
func NSInvalidArchiveOperationException ¶
func NSInvalidArchiveOperationException() *NSString
func NSInvalidArgumentException ¶
func NSInvalidArgumentException() *NSString
func NSInvalidReceivePortException ¶
func NSInvalidReceivePortException() *NSString
func NSInvalidSendPortException ¶
func NSInvalidSendPortException() *NSString
func NSInvalidUnarchiveOperationException ¶
func NSInvalidUnarchiveOperationException() *NSString
func NSInvocationOperationCancelledException ¶
func NSInvocationOperationCancelledException() *NSString
func NSInvocationOperationVoidResultException ¶
func NSInvocationOperationVoidResultException() *NSString
func NSIsNilTransformerName ¶
func NSIsNilTransformerName() *NSString
func NSIsNotNilTransformerName ¶
func NSIsNotNilTransformerName() *NSString
func NSKeyValueChangeIndexesKey ¶
func NSKeyValueChangeIndexesKey() *NSString
func NSKeyValueChangeKindKey ¶
func NSKeyValueChangeKindKey() *NSString
func NSKeyValueChangeNewKey ¶
func NSKeyValueChangeNewKey() *NSString
func NSKeyValueChangeNotificationIsPriorKey ¶
func NSKeyValueChangeNotificationIsPriorKey() *NSString
func NSKeyValueChangeOldKey ¶
func NSKeyValueChangeOldKey() *NSString
func NSKeyedUnarchiveFromDataTransformerName
deprecated
func NSKeyedUnarchiveFromDataTransformerName() *NSString
Deprecated: since macOS 10.14.
func NSLinguisticTagAdjective
deprecated
func NSLinguisticTagAdjective() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagAdverb
deprecated
func NSLinguisticTagAdverb() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagClassifier
deprecated
func NSLinguisticTagClassifier() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagCloseParenthesis
deprecated
func NSLinguisticTagCloseParenthesis() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagCloseQuote
deprecated
func NSLinguisticTagCloseQuote() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagConjunction
deprecated
func NSLinguisticTagConjunction() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagDash
deprecated
func NSLinguisticTagDash() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagDeterminer
deprecated
func NSLinguisticTagDeterminer() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagIdiom
deprecated
func NSLinguisticTagIdiom() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagInterjection
deprecated
func NSLinguisticTagInterjection() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagNoun
deprecated
func NSLinguisticTagNoun() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagNumber
deprecated
func NSLinguisticTagNumber() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagOpenParenthesis
deprecated
func NSLinguisticTagOpenParenthesis() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagOpenQuote
deprecated
func NSLinguisticTagOpenQuote() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagOrganizationName
deprecated
func NSLinguisticTagOrganizationName() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagOther
deprecated
func NSLinguisticTagOther() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagOtherPunctuation
deprecated
func NSLinguisticTagOtherPunctuation() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagOtherWhitespace
deprecated
func NSLinguisticTagOtherWhitespace() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagOtherWord
deprecated
func NSLinguisticTagOtherWord() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagParagraphBreak
deprecated
func NSLinguisticTagParagraphBreak() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagParticle
deprecated
func NSLinguisticTagParticle() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagPersonalName
deprecated
func NSLinguisticTagPersonalName() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagPlaceName
deprecated
func NSLinguisticTagPlaceName() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagPreposition
deprecated
func NSLinguisticTagPreposition() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagPronoun
deprecated
func NSLinguisticTagPronoun() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagPunctuation
deprecated
func NSLinguisticTagPunctuation() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagSchemeLanguage
deprecated
func NSLinguisticTagSchemeLanguage() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagSchemeLemma
deprecated
func NSLinguisticTagSchemeLemma() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagSchemeLexicalClass
deprecated
func NSLinguisticTagSchemeLexicalClass() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagSchemeNameType
deprecated
func NSLinguisticTagSchemeNameType() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagSchemeNameTypeOrLexicalClass
deprecated
func NSLinguisticTagSchemeNameTypeOrLexicalClass() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagSchemeScript
deprecated
func NSLinguisticTagSchemeScript() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagSchemeTokenType
deprecated
func NSLinguisticTagSchemeTokenType() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagSentenceTerminator
deprecated
func NSLinguisticTagSentenceTerminator() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagVerb
deprecated
func NSLinguisticTagVerb() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagWhitespace
deprecated
func NSLinguisticTagWhitespace() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagWord
deprecated
func NSLinguisticTagWord() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTagWordJoiner
deprecated
func NSLinguisticTagWordJoiner() *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLinguisticTaggerDominantLanguageForString
deprecated
func NSLinguisticTaggerTagForStringAtIndexUnitSchemeOrthographyTokenRange
deprecated
func NSLinguisticTaggerTagForStringAtIndexUnitSchemeOrthographyTokenRange(string_ *NSString, charIndex uint, unit NSLinguisticTaggerUnit, scheme *NSString, orthography *NSOrthography, tokenRange *NSRange) *NSString
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func NSLocalNotificationCenterType ¶
func NSLocalNotificationCenterType() *NSString
func NSLocaleAlternateQuotationBeginDelimiterKey ¶
func NSLocaleAlternateQuotationBeginDelimiterKey() *NSString
func NSLocaleAlternateQuotationEndDelimiterKey ¶
func NSLocaleAlternateQuotationEndDelimiterKey() *NSString
func NSLocaleCalendar ¶
func NSLocaleCalendar() *NSString
func NSLocaleCollationIdentifier ¶
func NSLocaleCollationIdentifier() *NSString
func NSLocaleCollatorIdentifier ¶
func NSLocaleCollatorIdentifier() *NSString
func NSLocaleCountryCode ¶
func NSLocaleCountryCode() *NSString
func NSLocaleCurrencyCode ¶
func NSLocaleCurrencyCode() *NSString
func NSLocaleCurrencySymbol ¶
func NSLocaleCurrencySymbol() *NSString
func NSLocaleDecimalSeparator ¶
func NSLocaleDecimalSeparator() *NSString
func NSLocaleExemplarCharacterSet ¶
func NSLocaleExemplarCharacterSet() *NSString
func NSLocaleGroupingSeparator ¶
func NSLocaleGroupingSeparator() *NSString
func NSLocaleIdentifier ¶
func NSLocaleIdentifier() *NSString
func NSLocaleLanguageCode ¶
func NSLocaleLanguageCode() *NSString
func NSLocaleLocaleIdentifierFromComponents ¶
func NSLocaleLocaleIdentifierFromComponents(dict *NSDictionary[*NSString, *NSString]) *NSString
func NSLocaleMeasurementSystem ¶
func NSLocaleMeasurementSystem() *NSString
func NSLocaleQuotationBeginDelimiterKey ¶
func NSLocaleQuotationBeginDelimiterKey() *NSString
func NSLocaleQuotationEndDelimiterKey ¶
func NSLocaleQuotationEndDelimiterKey() *NSString
func NSLocaleScriptCode ¶
func NSLocaleScriptCode() *NSString
func NSLocaleUsesMetricSystem ¶
func NSLocaleUsesMetricSystem() *NSString
func NSLocaleVariantCode ¶
func NSLocaleVariantCode() *NSString
func NSLocalizedDescriptionKey ¶
func NSLocalizedDescriptionKey() *NSString
func NSLocalizedFailureErrorKey ¶
func NSLocalizedFailureErrorKey() *NSString
func NSLocalizedFailureReasonErrorKey ¶
func NSLocalizedFailureReasonErrorKey() *NSString
func NSLocalizedRecoveryOptionsErrorKey ¶
func NSLocalizedRecoveryOptionsErrorKey() *NSString
func NSLocalizedRecoverySuggestionErrorKey ¶
func NSLocalizedRecoverySuggestionErrorKey() *NSString
func NSMachErrorDomain ¶
func NSMachErrorDomain() *NSString
func NSMallocException ¶
func NSMallocException() *NSString
func NSMaximumKeyValueOperator ¶
func NSMaximumKeyValueOperator() *NSString
func NSMetadataQueryDidFinishGatheringNotification ¶
func NSMetadataQueryDidFinishGatheringNotification() *NSString
func NSMetadataQueryDidStartGatheringNotification ¶
func NSMetadataQueryDidStartGatheringNotification() *NSString
func NSMetadataQueryDidUpdateNotification ¶
func NSMetadataQueryDidUpdateNotification() *NSString
func NSMetadataQueryGatheringProgressNotification ¶
func NSMetadataQueryGatheringProgressNotification() *NSString
func NSMinimumKeyValueOperator ¶
func NSMinimumKeyValueOperator() *NSString
func NSMultipleUnderlyingErrorsKey ¶
func NSMultipleUnderlyingErrorsKey() *NSString
func NSNegateBooleanTransformerName ¶
func NSNegateBooleanTransformerName() *NSString
func NSNumberFormatterLocalizedStringFromNumberNumberStyle ¶
func NSNumberFormatterLocalizedStringFromNumberNumberStyle(num *NSNumber, nstyle NSNumberFormatterStyle) *NSString
func NSOSStatusErrorDomain ¶
func NSOSStatusErrorDomain() *NSString
func NSObjectDebugDescription ¶
func NSObjectDebugDescription() *NSString
func NSObjectDescription ¶
func NSObjectDescription() *NSString
func NSObjectInaccessibleException ¶
func NSObjectInaccessibleException() *NSString
func NSObjectNotAvailableException ¶
func NSObjectNotAvailableException() *NSString
func NSOldStyleException ¶
func NSOldStyleException() *NSString
func NSOpenStepRootDirectory ¶
func NSOpenStepRootDirectory() *NSString
func NSPOSIXErrorDomain ¶
func NSPOSIXErrorDomain() *NSString
func NSParseErrorException ¶
func NSParseErrorException() *NSString
func NSPersonNameComponentsFormatterLocalizedStringFromPersonNameComponentsStyleOptions ¶
func NSPersonNameComponentsFormatterLocalizedStringFromPersonNameComponentsStyleOptions(components *NSPersonNameComponents, nameFormatStyle NSPersonNameComponentsFormatterStyle, nameOptions NSPersonNameComponentsFormatterOptions) *NSString
func NSPortDidBecomeInvalidNotification ¶
func NSPortDidBecomeInvalidNotification() *NSString
func NSPortReceiveException ¶
func NSPortReceiveException() *NSString
func NSPortSendException ¶
func NSPortSendException() *NSString
func NSPortTimeoutException ¶
func NSPortTimeoutException() *NSString
func NSPresentationIntentAttributeName ¶
func NSPresentationIntentAttributeName() *NSString
func NSProcessInfoPowerStateDidChangeNotification ¶
func NSProcessInfoPowerStateDidChangeNotification() *NSString
func NSProcessInfoThermalStateDidChangeNotification ¶
func NSProcessInfoThermalStateDidChangeNotification() *NSString
func NSProgressEstimatedTimeRemainingKey ¶
func NSProgressEstimatedTimeRemainingKey() *NSString
func NSProgressFileCompletedCountKey ¶
func NSProgressFileCompletedCountKey() *NSString
func NSProgressFileOperationKindCopying ¶
func NSProgressFileOperationKindCopying() *NSString
func NSProgressFileOperationKindDecompressingAfterDownloading ¶
func NSProgressFileOperationKindDecompressingAfterDownloading() *NSString
func NSProgressFileOperationKindDownloading ¶
func NSProgressFileOperationKindDownloading() *NSString
func NSProgressFileOperationKindDuplicating ¶
func NSProgressFileOperationKindDuplicating() *NSString
func NSProgressFileOperationKindKey ¶
func NSProgressFileOperationKindKey() *NSString
func NSProgressFileOperationKindReceiving ¶
func NSProgressFileOperationKindReceiving() *NSString
func NSProgressFileOperationKindUploading ¶
func NSProgressFileOperationKindUploading() *NSString
func NSProgressFileTotalCountKey ¶
func NSProgressFileTotalCountKey() *NSString
func NSProgressFileURLKey ¶
func NSProgressFileURLKey() *NSString
func NSProgressKindFile ¶
func NSProgressKindFile() *NSString
func NSProgressThroughputKey ¶
func NSProgressThroughputKey() *NSString
func NSRangeException ¶
func NSRangeException() *NSString
func NSRecoveryAttempterErrorKey ¶
func NSRecoveryAttempterErrorKey() *NSString
func NSRunLoopCommonModes ¶
func NSRunLoopCommonModes() *NSString
func NSSecureUnarchiveFromDataTransformerName ¶
func NSSecureUnarchiveFromDataTransformerName() *NSString
func NSStreamDataWrittenToMemoryStreamKey ¶
func NSStreamDataWrittenToMemoryStreamKey() *NSString
func NSStreamFileCurrentOffsetKey ¶
func NSStreamFileCurrentOffsetKey() *NSString
func NSStreamNetworkServiceType ¶
func NSStreamNetworkServiceType() *NSString
func NSStreamNetworkServiceTypeBackground ¶
func NSStreamNetworkServiceTypeBackground() *NSString
func NSStreamNetworkServiceTypeCallSignaling ¶
func NSStreamNetworkServiceTypeCallSignaling() *NSString
func NSStreamNetworkServiceTypeVideo ¶
func NSStreamNetworkServiceTypeVideo() *NSString
func NSStreamNetworkServiceTypeVoIP ¶
func NSStreamNetworkServiceTypeVoIP() *NSString
func NSStreamNetworkServiceTypeVoice ¶
func NSStreamNetworkServiceTypeVoice() *NSString
func NSStreamSOCKSErrorDomain ¶
func NSStreamSOCKSErrorDomain() *NSString
func NSStreamSOCKSProxyConfigurationKey ¶
func NSStreamSOCKSProxyConfigurationKey() *NSString
func NSStreamSOCKSProxyHostKey ¶
func NSStreamSOCKSProxyHostKey() *NSString
func NSStreamSOCKSProxyPasswordKey ¶
func NSStreamSOCKSProxyPasswordKey() *NSString
func NSStreamSOCKSProxyPortKey ¶
func NSStreamSOCKSProxyPortKey() *NSString
func NSStreamSOCKSProxyUserKey ¶
func NSStreamSOCKSProxyUserKey() *NSString
func NSStreamSOCKSProxyVersion4 ¶
func NSStreamSOCKSProxyVersion4() *NSString
func NSStreamSOCKSProxyVersion5 ¶
func NSStreamSOCKSProxyVersion5() *NSString
func NSStreamSOCKSProxyVersionKey ¶
func NSStreamSOCKSProxyVersionKey() *NSString
func NSStreamSocketSSLErrorDomain ¶
func NSStreamSocketSSLErrorDomain() *NSString
func NSStreamSocketSecurityLevelKey ¶
func NSStreamSocketSecurityLevelKey() *NSString
func NSStreamSocketSecurityLevelNegotiatedSSL ¶
func NSStreamSocketSecurityLevelNegotiatedSSL() *NSString
func NSStreamSocketSecurityLevelNone ¶
func NSStreamSocketSecurityLevelNone() *NSString
func NSStreamSocketSecurityLevelSSLv2 ¶
func NSStreamSocketSecurityLevelSSLv2() *NSString
func NSStreamSocketSecurityLevelSSLv3 ¶
func NSStreamSocketSecurityLevelSSLv3() *NSString
func NSStreamSocketSecurityLevelTLSv1 ¶
func NSStreamSocketSecurityLevelTLSv1() *NSString
func NSStringEncodingDetectionAllowLossyKey ¶
func NSStringEncodingDetectionAllowLossyKey() *NSString
func NSStringEncodingDetectionDisallowedEncodingsKey ¶
func NSStringEncodingDetectionDisallowedEncodingsKey() *NSString
func NSStringEncodingDetectionFromWindowsKey ¶
func NSStringEncodingDetectionFromWindowsKey() *NSString
func NSStringEncodingDetectionLikelyLanguageKey ¶
func NSStringEncodingDetectionLikelyLanguageKey() *NSString
func NSStringEncodingDetectionLossySubstitutionKey ¶
func NSStringEncodingDetectionLossySubstitutionKey() *NSString
func NSStringEncodingDetectionSuggestedEncodingsKey ¶
func NSStringEncodingDetectionSuggestedEncodingsKey() *NSString
func NSStringEncodingDetectionUseOnlySuggestedEncodingsKey ¶
func NSStringEncodingDetectionUseOnlySuggestedEncodingsKey() *NSString
func NSStringEncodingErrorKey ¶
func NSStringEncodingErrorKey() *NSString
func NSStringFromClass ¶
func NSStringFromHashTable ¶
func NSStringFromHashTable(table *NSHashTable[objc.ID]) *NSString
func NSStringFromID ¶
func NSStringFromMapTable ¶
func NSStringFromPoint ¶
func NSStringFromPoint(aPoint corefoundation.CGPoint) *NSString
func NSStringFromProtocol ¶
func NSStringFromRange ¶
func NSStringFromRect ¶
func NSStringFromRect(aRect corefoundation.CGRect) *NSString
func NSStringFromSelector ¶
func NSStringFromSize ¶
func NSStringFromSize(aSize corefoundation.CGSize) *NSString
func NSStringString ¶
func NSStringString() *NSString
func NSStringTransformFullwidthToHalfwidth ¶
func NSStringTransformFullwidthToHalfwidth() *NSString
func NSStringTransformHiraganaToKatakana ¶
func NSStringTransformHiraganaToKatakana() *NSString
func NSStringTransformLatinToArabic ¶
func NSStringTransformLatinToArabic() *NSString
func NSStringTransformLatinToCyrillic ¶
func NSStringTransformLatinToCyrillic() *NSString
func NSStringTransformLatinToGreek ¶
func NSStringTransformLatinToGreek() *NSString
func NSStringTransformLatinToHangul ¶
func NSStringTransformLatinToHangul() *NSString
func NSStringTransformLatinToHebrew ¶
func NSStringTransformLatinToHebrew() *NSString
func NSStringTransformLatinToHiragana ¶
func NSStringTransformLatinToHiragana() *NSString
func NSStringTransformLatinToKatakana ¶
func NSStringTransformLatinToKatakana() *NSString
func NSStringTransformLatinToThai ¶
func NSStringTransformLatinToThai() *NSString
func NSStringTransformMandarinToLatin ¶
func NSStringTransformMandarinToLatin() *NSString
func NSStringTransformStripCombiningMarks ¶
func NSStringTransformStripCombiningMarks() *NSString
func NSStringTransformStripDiacritics ¶
func NSStringTransformStripDiacritics() *NSString
func NSStringTransformToLatin ¶
func NSStringTransformToLatin() *NSString
func NSStringTransformToUnicodeName ¶
func NSStringTransformToUnicodeName() *NSString
func NSStringTransformToXMLHex ¶
func NSStringTransformToXMLHex() *NSString
func NSSumKeyValueOperator ¶
func NSSumKeyValueOperator() *NSString
func NSSystemClockDidChangeNotification ¶
func NSSystemClockDidChangeNotification() *NSString
func NSSystemTimeZoneDidChangeNotification ¶
func NSSystemTimeZoneDidChangeNotification() *NSString
func NSTaskDidTerminateNotification ¶
func NSTaskDidTerminateNotification() *NSString
func NSTemporaryDirectory ¶
func NSTemporaryDirectory() *NSString
func NSTextCheckingAirlineKey ¶
func NSTextCheckingAirlineKey() *NSString
func NSTextCheckingCityKey ¶
func NSTextCheckingCityKey() *NSString
func NSTextCheckingCountryKey ¶
func NSTextCheckingCountryKey() *NSString
func NSTextCheckingFlightKey ¶
func NSTextCheckingFlightKey() *NSString
func NSTextCheckingJobTitleKey ¶
func NSTextCheckingJobTitleKey() *NSString
func NSTextCheckingNameKey ¶
func NSTextCheckingNameKey() *NSString
func NSTextCheckingOrganizationKey ¶
func NSTextCheckingOrganizationKey() *NSString
func NSTextCheckingPhoneKey ¶
func NSTextCheckingPhoneKey() *NSString
func NSTextCheckingStateKey ¶
func NSTextCheckingStateKey() *NSString
func NSTextCheckingStreetKey ¶
func NSTextCheckingStreetKey() *NSString
func NSTextCheckingZIPKey ¶
func NSTextCheckingZIPKey() *NSString
func NSThreadWillExitNotification
deprecated
func NSThreadWillExitNotification() *NSString
Deprecated: This notification does not protect against data races
func NSThumbnail1024x1024SizeKey
deprecated
func NSThumbnail1024x1024SizeKey() *NSString
Deprecated: Use the QuickLookThumbnailing framework and extension point instead
func NSTimeZoneTimeZoneDataVersion ¶
func NSTimeZoneTimeZoneDataVersion() *NSString
func NSURLAddedToDirectoryDateKey ¶
func NSURLAddedToDirectoryDateKey() *NSString
func NSURLAttributeModificationDateKey ¶
func NSURLAttributeModificationDateKey() *NSString
func NSURLCanonicalPathKey ¶
func NSURLCanonicalPathKey() *NSString
func NSURLContentAccessDateKey ¶
func NSURLContentAccessDateKey() *NSString
func NSURLContentModificationDateKey ¶
func NSURLContentModificationDateKey() *NSString
func NSURLContentTypeKey ¶
func NSURLContentTypeKey() *NSString
func NSURLCreationDateKey ¶
func NSURLCreationDateKey() *NSString
func NSURLCredentialStorageChangedNotification ¶
func NSURLCredentialStorageChangedNotification() *NSString
@const NSURLCredentialStorageChangedNotification @abstract This notification is sent on the main thread whenever the set of stored credentials changes. Deprecated: Notification is never posted
func NSURLCustomIconKey ¶
func NSURLCustomIconKey() *NSString
func NSURLDirectoryEntryCountKey ¶
func NSURLDirectoryEntryCountKey() *NSString
func NSURLDocumentIdentifierKey ¶
func NSURLDocumentIdentifierKey() *NSString
func NSURLEffectiveIconKey ¶
func NSURLEffectiveIconKey() *NSString
func NSURLErrorDomain ¶
func NSURLErrorDomain() *NSString
func NSURLErrorKey ¶
func NSURLErrorKey() *NSString
func NSURLErrorNetworkUnavailableReasonKey ¶
func NSURLErrorNetworkUnavailableReasonKey() *NSString
@const NSURLErrorNetworkUnavailableReasonKey @abstract The NSErrorUserInfoKey used to store and retrieve the NSNumber object corresponding to the reason why the network is unavailable when the task failed due to unsatisfiable network constraints. See the NSURLErrorNetworkUnavailableReason enum for details.
func NSURLFileAllocatedSizeKey ¶
func NSURLFileAllocatedSizeKey() *NSString
func NSURLFileContentIdentifierKey ¶
func NSURLFileContentIdentifierKey() *NSString
func NSURLFileIdentifierKey ¶
func NSURLFileIdentifierKey() *NSString
func NSURLFileProtectionComplete ¶
func NSURLFileProtectionComplete() *NSString
func NSURLFileProtectionCompleteUnlessOpen ¶
func NSURLFileProtectionCompleteUnlessOpen() *NSString
func NSURLFileProtectionCompleteUntilFirstUserAuthentication ¶
func NSURLFileProtectionCompleteUntilFirstUserAuthentication() *NSString
func NSURLFileProtectionKey ¶
func NSURLFileProtectionKey() *NSString
func NSURLFileProtectionNone ¶
func NSURLFileProtectionNone() *NSString
func NSURLFileResourceIdentifierKey ¶
func NSURLFileResourceIdentifierKey() *NSString
func NSURLFileResourceTypeBlockSpecial ¶
func NSURLFileResourceTypeBlockSpecial() *NSString
func NSURLFileResourceTypeCharacterSpecial ¶
func NSURLFileResourceTypeCharacterSpecial() *NSString
func NSURLFileResourceTypeDirectory ¶
func NSURLFileResourceTypeDirectory() *NSString
func NSURLFileResourceTypeKey ¶
func NSURLFileResourceTypeKey() *NSString
func NSURLFileResourceTypeNamedPipe ¶
func NSURLFileResourceTypeNamedPipe() *NSString
func NSURLFileResourceTypeRegular ¶
func NSURLFileResourceTypeRegular() *NSString
func NSURLFileResourceTypeSocket ¶
func NSURLFileResourceTypeSocket() *NSString
func NSURLFileResourceTypeSymbolicLink ¶
func NSURLFileResourceTypeSymbolicLink() *NSString
func NSURLFileResourceTypeUnknown ¶
func NSURLFileResourceTypeUnknown() *NSString
func NSURLFileSecurityKey ¶
func NSURLFileSecurityKey() *NSString
func NSURLFileSizeKey ¶
func NSURLFileSizeKey() *NSString
func NSURLGenerationIdentifierKey ¶
func NSURLGenerationIdentifierKey() *NSString
func NSURLHasHiddenExtensionKey ¶
func NSURLHasHiddenExtensionKey() *NSString
func NSURLIsAliasFileKey ¶
func NSURLIsAliasFileKey() *NSString
func NSURLIsApplicationKey ¶
func NSURLIsApplicationKey() *NSString
func NSURLIsDirectoryKey ¶
func NSURLIsDirectoryKey() *NSString
func NSURLIsExcludedFromBackupKey ¶
func NSURLIsExcludedFromBackupKey() *NSString
func NSURLIsExecutableKey ¶
func NSURLIsExecutableKey() *NSString
func NSURLIsHiddenKey ¶
func NSURLIsHiddenKey() *NSString
func NSURLIsMountTriggerKey ¶
func NSURLIsMountTriggerKey() *NSString
func NSURLIsPackageKey ¶
func NSURLIsPackageKey() *NSString
func NSURLIsPurgeableKey ¶
func NSURLIsPurgeableKey() *NSString
func NSURLIsReadableKey ¶
func NSURLIsReadableKey() *NSString
func NSURLIsRegularFileKey ¶
func NSURLIsRegularFileKey() *NSString
func NSURLIsSparseKey ¶
func NSURLIsSparseKey() *NSString
func NSURLIsSymbolicLinkKey ¶
func NSURLIsSymbolicLinkKey() *NSString
func NSURLIsSystemImmutableKey ¶
func NSURLIsSystemImmutableKey() *NSString
func NSURLIsUbiquitousItemKey ¶
func NSURLIsUbiquitousItemKey() *NSString
func NSURLIsUserImmutableKey ¶
func NSURLIsUserImmutableKey() *NSString
func NSURLIsVolumeKey ¶
func NSURLIsVolumeKey() *NSString
func NSURLIsWritableKey ¶
func NSURLIsWritableKey() *NSString
func NSURLKeysOfUnsetValuesKey ¶
func NSURLKeysOfUnsetValuesKey() *NSString
func NSURLLabelColorKey ¶
func NSURLLabelColorKey() *NSString
func NSURLLabelNumberKey ¶
func NSURLLabelNumberKey() *NSString
func NSURLLinkCountKey ¶
func NSURLLinkCountKey() *NSString
func NSURLLocalizedLabelKey ¶
func NSURLLocalizedLabelKey() *NSString
func NSURLLocalizedNameKey ¶
func NSURLLocalizedNameKey() *NSString
func NSURLLocalizedTypeDescriptionKey ¶
func NSURLLocalizedTypeDescriptionKey() *NSString
func NSURLMayHaveExtendedAttributesKey ¶
func NSURLMayHaveExtendedAttributesKey() *NSString
func NSURLMayShareFileContentKey ¶
func NSURLMayShareFileContentKey() *NSString
func NSURLNameKey ¶
func NSURLNameKey() *NSString
func NSURLParentDirectoryURLKey ¶
func NSURLParentDirectoryURLKey() *NSString
func NSURLPathKey ¶
func NSURLPathKey() *NSString
func NSURLPreferredIOBlockSizeKey ¶
func NSURLPreferredIOBlockSizeKey() *NSString
func NSURLThumbnailDictionaryKey
deprecated
func NSURLThumbnailDictionaryKey() *NSString
Deprecated: Use the QuickLookThumbnailing framework and extension point instead
func NSURLTotalFileAllocatedSizeKey ¶
func NSURLTotalFileAllocatedSizeKey() *NSString
func NSURLTotalFileSizeKey ¶
func NSURLTotalFileSizeKey() *NSString
func NSURLTypeIdentifierKey
deprecated
func NSURLTypeIdentifierKey() *NSString
Deprecated: Use NSURLContentTypeKey instead
func NSURLUbiquitousItemContainerDisplayNameKey ¶
func NSURLUbiquitousItemContainerDisplayNameKey() *NSString
func NSURLUbiquitousItemDownloadRequestedKey ¶
func NSURLUbiquitousItemDownloadRequestedKey() *NSString
func NSURLUbiquitousItemDownloadingErrorKey ¶
func NSURLUbiquitousItemDownloadingErrorKey() *NSString
func NSURLUbiquitousItemDownloadingStatusCurrent ¶
func NSURLUbiquitousItemDownloadingStatusCurrent() *NSString
func NSURLUbiquitousItemDownloadingStatusDownloaded ¶
func NSURLUbiquitousItemDownloadingStatusDownloaded() *NSString
func NSURLUbiquitousItemDownloadingStatusKey ¶
func NSURLUbiquitousItemDownloadingStatusKey() *NSString
func NSURLUbiquitousItemDownloadingStatusNotDownloaded ¶
func NSURLUbiquitousItemDownloadingStatusNotDownloaded() *NSString
func NSURLUbiquitousItemHasUnresolvedConflictsKey ¶
func NSURLUbiquitousItemHasUnresolvedConflictsKey() *NSString
func NSURLUbiquitousItemIsDownloadedKey
deprecated
func NSURLUbiquitousItemIsDownloadedKey() *NSString
Deprecated: Use NSURLUbiquitousItemDownloadingStatusKey instead
func NSURLUbiquitousItemIsDownloadingKey ¶
func NSURLUbiquitousItemIsDownloadingKey() *NSString
func NSURLUbiquitousItemIsExcludedFromSyncKey ¶
func NSURLUbiquitousItemIsExcludedFromSyncKey() *NSString
func NSURLUbiquitousItemIsSharedKey ¶
func NSURLUbiquitousItemIsSharedKey() *NSString
func NSURLUbiquitousItemIsSyncPausedKey ¶
func NSURLUbiquitousItemIsSyncPausedKey() *NSString
func NSURLUbiquitousItemIsUploadedKey ¶
func NSURLUbiquitousItemIsUploadedKey() *NSString
func NSURLUbiquitousItemIsUploadingKey ¶
func NSURLUbiquitousItemIsUploadingKey() *NSString
func NSURLUbiquitousItemPercentDownloadedKey
deprecated
func NSURLUbiquitousItemPercentDownloadedKey() *NSString
Deprecated: Use NSMetadataUbiquitousItemPercentDownloadedKey instead
func NSURLUbiquitousItemPercentUploadedKey
deprecated
func NSURLUbiquitousItemPercentUploadedKey() *NSString
Deprecated: Use NSMetadataUbiquitousItemPercentUploadedKey instead
func NSURLUbiquitousItemSupportedSyncControlsKey ¶
func NSURLUbiquitousItemSupportedSyncControlsKey() *NSString
func NSURLUbiquitousItemUploadingErrorKey ¶
func NSURLUbiquitousItemUploadingErrorKey() *NSString
func NSURLUbiquitousSharedItemCurrentUserPermissionsKey ¶
func NSURLUbiquitousSharedItemCurrentUserPermissionsKey() *NSString
func NSURLUbiquitousSharedItemCurrentUserRoleKey ¶
func NSURLUbiquitousSharedItemCurrentUserRoleKey() *NSString
func NSURLUbiquitousSharedItemMostRecentEditorNameComponentsKey ¶
func NSURLUbiquitousSharedItemMostRecentEditorNameComponentsKey() *NSString
func NSURLUbiquitousSharedItemOwnerNameComponentsKey ¶
func NSURLUbiquitousSharedItemOwnerNameComponentsKey() *NSString
func NSURLUbiquitousSharedItemPermissionsReadOnly ¶
func NSURLUbiquitousSharedItemPermissionsReadOnly() *NSString
func NSURLUbiquitousSharedItemPermissionsReadWrite ¶
func NSURLUbiquitousSharedItemPermissionsReadWrite() *NSString
func NSURLUbiquitousSharedItemRoleOwner ¶
func NSURLUbiquitousSharedItemRoleOwner() *NSString
func NSURLUbiquitousSharedItemRoleParticipant ¶
func NSURLUbiquitousSharedItemRoleParticipant() *NSString
func NSURLVolumeAvailableCapacityForImportantUsageKey ¶
func NSURLVolumeAvailableCapacityForImportantUsageKey() *NSString
func NSURLVolumeAvailableCapacityForOpportunisticUsageKey ¶
func NSURLVolumeAvailableCapacityForOpportunisticUsageKey() *NSString
func NSURLVolumeAvailableCapacityKey ¶
func NSURLVolumeAvailableCapacityKey() *NSString
func NSURLVolumeCreationDateKey ¶
func NSURLVolumeCreationDateKey() *NSString
func NSURLVolumeIdentifierKey ¶
func NSURLVolumeIdentifierKey() *NSString
func NSURLVolumeIsAutomountedKey ¶
func NSURLVolumeIsAutomountedKey() *NSString
func NSURLVolumeIsBrowsableKey ¶
func NSURLVolumeIsBrowsableKey() *NSString
func NSURLVolumeIsEjectableKey ¶
func NSURLVolumeIsEjectableKey() *NSString
func NSURLVolumeIsEncryptedKey ¶
func NSURLVolumeIsEncryptedKey() *NSString
func NSURLVolumeIsInternalKey ¶
func NSURLVolumeIsInternalKey() *NSString
func NSURLVolumeIsJournalingKey ¶
func NSURLVolumeIsJournalingKey() *NSString
func NSURLVolumeIsLocalKey ¶
func NSURLVolumeIsLocalKey() *NSString
func NSURLVolumeIsReadOnlyKey ¶
func NSURLVolumeIsReadOnlyKey() *NSString
func NSURLVolumeIsRemovableKey ¶
func NSURLVolumeIsRemovableKey() *NSString
func NSURLVolumeIsRootFileSystemKey ¶
func NSURLVolumeIsRootFileSystemKey() *NSString
func NSURLVolumeLocalizedFormatDescriptionKey ¶
func NSURLVolumeLocalizedFormatDescriptionKey() *NSString
func NSURLVolumeLocalizedNameKey ¶
func NSURLVolumeLocalizedNameKey() *NSString
func NSURLVolumeMaximumFileSizeKey ¶
func NSURLVolumeMaximumFileSizeKey() *NSString
func NSURLVolumeMountFromLocationKey ¶
func NSURLVolumeMountFromLocationKey() *NSString
func NSURLVolumeNameKey ¶
func NSURLVolumeNameKey() *NSString
func NSURLVolumeResourceCountKey ¶
func NSURLVolumeResourceCountKey() *NSString
func NSURLVolumeSubtypeKey ¶
func NSURLVolumeSubtypeKey() *NSString
func NSURLVolumeSupportsAccessPermissionsKey ¶
func NSURLVolumeSupportsAccessPermissionsKey() *NSString
func NSURLVolumeSupportsAdvisoryFileLockingKey ¶
func NSURLVolumeSupportsAdvisoryFileLockingKey() *NSString
func NSURLVolumeSupportsCasePreservedNamesKey ¶
func NSURLVolumeSupportsCasePreservedNamesKey() *NSString
func NSURLVolumeSupportsCaseSensitiveNamesKey ¶
func NSURLVolumeSupportsCaseSensitiveNamesKey() *NSString
func NSURLVolumeSupportsCompressionKey ¶
func NSURLVolumeSupportsCompressionKey() *NSString
func NSURLVolumeSupportsExclusiveRenamingKey ¶
func NSURLVolumeSupportsExclusiveRenamingKey() *NSString
func NSURLVolumeSupportsExtendedSecurityKey ¶
func NSURLVolumeSupportsExtendedSecurityKey() *NSString
func NSURLVolumeSupportsFileCloningKey ¶
func NSURLVolumeSupportsFileCloningKey() *NSString
func NSURLVolumeSupportsFileProtectionKey ¶
func NSURLVolumeSupportsFileProtectionKey() *NSString
func NSURLVolumeSupportsHardLinksKey ¶
func NSURLVolumeSupportsHardLinksKey() *NSString
func NSURLVolumeSupportsImmutableFilesKey ¶
func NSURLVolumeSupportsImmutableFilesKey() *NSString
func NSURLVolumeSupportsJournalingKey ¶
func NSURLVolumeSupportsJournalingKey() *NSString
func NSURLVolumeSupportsPersistentIDsKey ¶
func NSURLVolumeSupportsPersistentIDsKey() *NSString
func NSURLVolumeSupportsRenamingKey ¶
func NSURLVolumeSupportsRenamingKey() *NSString
func NSURLVolumeSupportsRootDirectoryDatesKey ¶
func NSURLVolumeSupportsRootDirectoryDatesKey() *NSString
func NSURLVolumeSupportsSparseFilesKey ¶
func NSURLVolumeSupportsSparseFilesKey() *NSString
func NSURLVolumeSupportsSwapRenamingKey ¶
func NSURLVolumeSupportsSwapRenamingKey() *NSString
func NSURLVolumeSupportsSymbolicLinksKey ¶
func NSURLVolumeSupportsSymbolicLinksKey() *NSString
func NSURLVolumeSupportsVolumeSizesKey ¶
func NSURLVolumeSupportsVolumeSizesKey() *NSString
func NSURLVolumeSupportsZeroRunsKey ¶
func NSURLVolumeSupportsZeroRunsKey() *NSString
func NSURLVolumeTotalCapacityKey ¶
func NSURLVolumeTotalCapacityKey() *NSString
func NSURLVolumeTypeNameKey ¶
func NSURLVolumeTypeNameKey() *NSString
func NSURLVolumeURLForRemountingKey ¶
func NSURLVolumeURLForRemountingKey() *NSString
func NSURLVolumeURLKey ¶
func NSURLVolumeURLKey() *NSString
func NSURLVolumeUUIDStringKey ¶
func NSURLVolumeUUIDStringKey() *NSString
func NSUbiquitousKeyValueStoreDidChangeExternallyNotification ¶
func NSUbiquitousKeyValueStoreDidChangeExternallyNotification() *NSString
func NSUbiquityIdentityDidChangeNotification ¶
func NSUbiquityIdentityDidChangeNotification() *NSString
func NSUnarchiveFromDataTransformerName
deprecated
func NSUnarchiveFromDataTransformerName() *NSString
Deprecated: since macOS 10.14.
func NSUndefinedKeyException ¶
func NSUndefinedKeyException() *NSString
func NSUnderlyingErrorKey ¶
func NSUnderlyingErrorKey() *NSString
func NSUndoManagerCheckpointNotification ¶
func NSUndoManagerCheckpointNotification() *NSString
func NSUndoManagerDidCloseUndoGroupNotification ¶
func NSUndoManagerDidCloseUndoGroupNotification() *NSString
func NSUndoManagerDidOpenUndoGroupNotification ¶
func NSUndoManagerDidOpenUndoGroupNotification() *NSString
func NSUndoManagerDidRedoChangeNotification ¶
func NSUndoManagerDidRedoChangeNotification() *NSString
func NSUndoManagerDidUndoChangeNotification ¶
func NSUndoManagerDidUndoChangeNotification() *NSString
func NSUndoManagerWillCloseUndoGroupNotification ¶
func NSUndoManagerWillCloseUndoGroupNotification() *NSString
func NSUndoManagerWillRedoChangeNotification ¶
func NSUndoManagerWillRedoChangeNotification() *NSString
func NSUndoManagerWillUndoChangeNotification ¶
func NSUndoManagerWillUndoChangeNotification() *NSString
func NSUnionOfArraysKeyValueOperator ¶
func NSUnionOfArraysKeyValueOperator() *NSString
func NSUnionOfObjectsKeyValueOperator ¶
func NSUnionOfObjectsKeyValueOperator() *NSString
func NSUnionOfSetsKeyValueOperator ¶
func NSUnionOfSetsKeyValueOperator() *NSString
func NSUserDefaultsDidChangeNotification ¶
func NSUserDefaultsDidChangeNotification() *NSString
NSUserDefaultsDidChangeNotification is posted whenever any user defaults changed within the current process, but is not posted when ubiquitous defaults change, or when an outside process changes defaults. Using key-value observing to register observers for the specific keys of interest will inform you of all updates, regardless of where they're from.
func NSUserName ¶
func NSUserName() *NSString
func NSWillBecomeMultiThreadedNotification
deprecated
func NSWillBecomeMultiThreadedNotification() *NSString
Deprecated: This notification does not protect against data races
func NSXMLNodeLocalNameForName ¶
@method localNameForName: @abstract Returns the local name bar in foo:bar.
func NSXMLNodePrefixForName ¶
@method localNameForName: @abstract Returns the prefix foo in the name foo:bar.
func NSXMLParserErrorDomain ¶
func NSXMLParserErrorDomain() *NSString
func NSZoneName ¶
func (*NSString) CStringLength
deprecated
func (*NSString) CStringUsingEncoding ¶
func (*NSString) CanBeConvertedToEncoding ¶
func (*NSString) CapitalizedString ¶
func (*NSString) CapitalizedStringWithLocale ¶
func (*NSString) CaseInsensitiveCompare ¶
func (o *NSString) CaseInsensitiveCompare(string_ *NSString) NSComparisonResult
func (*NSString) CharacterAtIndex ¶
func (*NSString) CommonPrefixWithStringOptions ¶
func (o *NSString) CommonPrefixWithStringOptions(str *NSString, mask NSStringCompareOptions) *NSString
func (*NSString) Compare ¶
func (o *NSString) Compare(string_ *NSString) NSComparisonResult
func (*NSString) CompareOptions ¶
func (o *NSString) CompareOptions(string_ *NSString, mask NSStringCompareOptions) NSComparisonResult
func (*NSString) CompareOptionsRange ¶
func (o *NSString) CompareOptionsRange(string_ *NSString, mask NSStringCompareOptions, rangeOfReceiverToCompare NSRange) NSComparisonResult
func (*NSString) CompareOptionsRangeLocale ¶
func (o *NSString) CompareOptionsRangeLocale(string_ *NSString, mask NSStringCompareOptions, rangeOfReceiverToCompare NSRange, locale objc.ID) NSComparisonResult
func (*NSString) CompletePathIntoStringCaseSensitiveMatchesIntoArrayFilterTypes ¶
func (*NSString) ComponentsSeparatedByCharactersInSet ¶
func (o *NSString) ComponentsSeparatedByCharactersInSet(separator *NSCharacterSet) *NSArray[*NSString]
func (*NSString) ComponentsSeparatedByString ¶
func (*NSString) ContainsString ¶
func (*NSString) DataUsingEncoding ¶
func (*NSString) DataUsingEncodingAllowLossyConversion ¶
func (*NSString) DecomposedStringWithCanonicalMapping ¶
func (*NSString) DecomposedStringWithCompatibilityMapping ¶
func (*NSString) DoubleValue ¶
func (*NSString) EnumerateLinesUsing ¶
func (*NSString) EnumerateLinguisticTagsInRangeSchemeOptionsOrthographyUsing
deprecated
func (o *NSString) EnumerateLinguisticTagsInRangeSchemeOptionsOrthographyUsing(range_ NSRange, scheme *NSString, options NSLinguisticTaggerOptions, orthography *NSOrthography, block objc.Block)
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSString) EnumerateSubstringsInRangeOptionsUsing ¶
func (o *NSString) EnumerateSubstringsInRangeOptionsUsing(range_ NSRange, opts NSStringEnumerationOptions, block objc.Block)
func (*NSString) FastestEncoding ¶
func (*NSString) FileSystemRepresentation ¶
func (*NSString) FloatValue ¶
func (*NSString) GetBytesMaxLengthUsedLengthEncodingOptionsRangeRemainingRange ¶
func (*NSString) GetCString
deprecated
func (*NSString) GetCStringMaxLength
deprecated
func (*NSString) GetCStringMaxLengthEncoding ¶
func (*NSString) GetCharacters
deprecated
func (*NSString) GetCharactersRange ¶
func (*NSString) GetFileSystemRepresentationMaxLength ¶
func (*NSString) GetLineStartEndContentsEndForRange ¶
func (*NSString) GetParagraphStartEndContentsEndForRange ¶
func (*NSString) InitWithBytesLengthEncoding ¶
func (*NSString) InitWithBytesNoCopyLengthEncodingDeallocator ¶
func (*NSString) InitWithBytesNoCopyLengthEncodingFreeWhenDone ¶
func (*NSString) InitWithCString
deprecated
func (*NSString) InitWithCStringEncoding ¶
func (*NSString) InitWithCharactersLength ¶
func (*NSString) InitWithCharactersNoCopyLengthDeallocator ¶
func (*NSString) InitWithCharactersNoCopyLengthFreeWhenDone ¶
func (*NSString) InitWithCoder ¶
func (*NSString) InitWithContentsOfFile
deprecated
func (*NSString) InitWithContentsOfFileEncodingError ¶
func (*NSString) InitWithContentsOfFileUsedEncodingError ¶
func (*NSString) InitWithContentsOfURL
deprecated
func (*NSString) InitWithContentsOfURLEncodingError ¶
func (*NSString) InitWithContentsOfURLUsedEncodingError ¶
func (*NSString) InitWithDataEncoding ¶
func (*NSString) InitWithFormat ¶
func (*NSString) InitWithFormatArguments ¶
func (*NSString) InitWithFormatLocale ¶
func (*NSString) InitWithFormatLocaleArguments ¶
func (*NSString) InitWithString ¶
func (*NSString) InitWithUTF8String ¶
func (*NSString) InitWithValidatedFormatValidFormatSpecifiersArgumentsError ¶
func (*NSString) InitWithValidatedFormatValidFormatSpecifiersError ¶
func (*NSString) InitWithValidatedFormatValidFormatSpecifiersLocaleArgumentsError ¶
func (*NSString) InitWithValidatedFormatValidFormatSpecifiersLocaleError ¶
func (*NSString) IntegerValue ¶
func (*NSString) IsAbsolutePath ¶
func (*NSString) IsEqualToString ¶
func (*NSString) LastPathComponent ¶
func (*NSString) LengthOfBytesUsingEncoding ¶
func (*NSString) LineRangeForRange ¶
func (*NSString) LinguisticTagsInRangeSchemeOptionsOrthographyTokenRanges
deprecated
func (o *NSString) LinguisticTagsInRangeSchemeOptionsOrthographyTokenRanges(range_ NSRange, scheme *NSString, options NSLinguisticTaggerOptions, orthography *NSOrthography, tokenRanges *NSArray[*NSValue]) *NSArray[*NSString]
Deprecated: All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
func (*NSString) LocalizedCapitalizedString ¶
func (*NSString) LocalizedCaseInsensitiveCompare ¶
func (o *NSString) LocalizedCaseInsensitiveCompare(string_ *NSString) NSComparisonResult
func (*NSString) LocalizedCaseInsensitiveContainsString ¶
func (*NSString) LocalizedCompare ¶
func (o *NSString) LocalizedCompare(string_ *NSString) NSComparisonResult
func (*NSString) LocalizedLowercaseString ¶
func (*NSString) LocalizedStandardCompare ¶
func (o *NSString) LocalizedStandardCompare(string_ *NSString) NSComparisonResult
func (*NSString) LocalizedStandardContainsString ¶
func (*NSString) LocalizedStandardRangeOfString ¶
func (*NSString) LocalizedUppercaseString ¶
func (*NSString) LongLongValue ¶
func (*NSString) LossyCString
deprecated
func (*NSString) LowercaseString ¶
func (*NSString) LowercaseStringWithLocale ¶
func (*NSString) MaximumLengthOfBytesUsingEncoding ¶
func (*NSString) ParagraphRangeForRange ¶
func (*NSString) PathComponents ¶
func (*NSString) PathExtension ¶
func (*NSString) PrecomposedStringWithCanonicalMapping ¶
func (*NSString) PrecomposedStringWithCompatibilityMapping ¶
func (*NSString) PropertyList ¶
func (*NSString) PropertyListFromStringsFileFormat ¶
func (*NSString) RangeOfCharacterFromSet ¶
func (o *NSString) RangeOfCharacterFromSet(searchSet *NSCharacterSet) NSRange
func (*NSString) RangeOfCharacterFromSetOptions ¶
func (o *NSString) RangeOfCharacterFromSetOptions(searchSet *NSCharacterSet, mask NSStringCompareOptions) NSRange
func (*NSString) RangeOfCharacterFromSetOptionsRange ¶
func (o *NSString) RangeOfCharacterFromSetOptionsRange(searchSet *NSCharacterSet, mask NSStringCompareOptions, rangeOfReceiverToSearch NSRange) NSRange
func (*NSString) RangeOfComposedCharacterSequenceAtIndex ¶
func (*NSString) RangeOfComposedCharacterSequencesForRange ¶
func (*NSString) RangeOfString ¶
func (*NSString) RangeOfStringOptions ¶
func (o *NSString) RangeOfStringOptions(searchString *NSString, mask NSStringCompareOptions) NSRange
func (*NSString) RangeOfStringOptionsRange ¶
func (o *NSString) RangeOfStringOptionsRange(searchString *NSString, mask NSStringCompareOptions, rangeOfReceiverToSearch NSRange) NSRange
func (*NSString) RangeOfStringOptionsRangeLocale ¶
func (*NSString) SmallestEncoding ¶
func (*NSString) StringByAbbreviatingWithTildeInPath ¶
func (*NSString) StringByAddingPercentEncodingWithAllowedCharacters ¶
func (o *NSString) StringByAddingPercentEncodingWithAllowedCharacters(allowedCharacters *NSCharacterSet) *NSString
func (*NSString) StringByAddingPercentEscapesUsingEncoding
deprecated
Deprecated: Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each URL component or subcomponent has different rules for what characters are valid.
func (*NSString) StringByAppendingFormat ¶
func (*NSString) StringByAppendingPathComponent ¶
func (*NSString) StringByAppendingPathExtension ¶
func (*NSString) StringByAppendingString ¶
func (*NSString) StringByApplyingTransformReverse ¶
func (*NSString) StringByDeletingLastPathComponent ¶
func (*NSString) StringByDeletingPathExtension ¶
func (*NSString) StringByExpandingTildeInPath ¶
func (*NSString) StringByFoldingWithOptionsLocale ¶
func (o *NSString) StringByFoldingWithOptionsLocale(options NSStringCompareOptions, locale *NSLocale) *NSString
func (*NSString) StringByPaddingToLengthWithStringStartingAtIndex ¶
func (*NSString) StringByRemovingPercentEncoding ¶
func (*NSString) StringByReplacingCharactersInRangeWithString ¶
func (*NSString) StringByReplacingOccurrencesOfStringWithString ¶
func (*NSString) StringByReplacingOccurrencesOfStringWithStringOptionsRange ¶
func (*NSString) StringByReplacingPercentEscapesUsingEncoding
deprecated
func (*NSString) StringByResolvingSymlinksInPath ¶
func (*NSString) StringByStandardizingPath ¶
func (*NSString) StringByTrimmingCharactersInSet ¶
func (o *NSString) StringByTrimmingCharactersInSet(set *NSCharacterSet) *NSString
func (*NSString) StringsByAppendingPaths ¶
func (*NSString) SubstringFromIndex ¶
func (*NSString) SubstringToIndex ¶
func (*NSString) SubstringWithRange ¶
func (*NSString) UTF8String ¶
func (*NSString) UppercaseString ¶
func (*NSString) UppercaseStringWithLocale ¶
func (*NSString) VariantFittingPresentationWidth ¶
func (*NSString) WriteToFileAtomically
deprecated
func (*NSString) WriteToFileAtomicallyEncodingError ¶
func (*NSString) WriteToURLAtomically
deprecated
type NSStringCompareOptions ¶
type NSStringCompareOptions uint64
const ( NSCaseInsensitiveSearch NSStringCompareOptions = 1 NSLiteralSearch NSStringCompareOptions = 2 NSBackwardsSearch NSStringCompareOptions = 4 NSAnchoredSearch NSStringCompareOptions = 8 NSNumericSearch NSStringCompareOptions = 64 NSDiacriticInsensitiveSearch NSStringCompareOptions = 128 NSWidthInsensitiveSearch NSStringCompareOptions = 256 NSForcedOrderingSearch NSStringCompareOptions = 512 NSRegularExpressionSearch NSStringCompareOptions = 1024 )
func (NSStringCompareOptions) String ¶
func (e NSStringCompareOptions) String() string
type NSStringEncodingConversionOptions ¶
type NSStringEncodingConversionOptions uint64
const ( NSStringEncodingConversionAllowLossy NSStringEncodingConversionOptions = 1 NSStringEncodingConversionExternalRepresentation NSStringEncodingConversionOptions = 2 )
func (NSStringEncodingConversionOptions) String ¶
func (e NSStringEncodingConversionOptions) String() string
type NSStringEnumerationOptions ¶
type NSStringEnumerationOptions uint64
const ( NSStringEnumerationByLines NSStringEnumerationOptions = 0 NSStringEnumerationByParagraphs NSStringEnumerationOptions = 1 NSStringEnumerationByComposedCharacterSequences NSStringEnumerationOptions = 2 NSStringEnumerationByWords NSStringEnumerationOptions = 3 NSStringEnumerationBySentences NSStringEnumerationOptions = 4 NSStringEnumerationByCaretPositions NSStringEnumerationOptions = 5 NSStringEnumerationByDeletionClusters NSStringEnumerationOptions = 6 NSStringEnumerationReverse NSStringEnumerationOptions = 256 NSStringEnumerationSubstringNotRequired NSStringEnumerationOptions = 512 NSStringEnumerationLocalized NSStringEnumerationOptions = 1024 )
func (NSStringEnumerationOptions) String ¶
func (e NSStringEnumerationOptions) String() string
type NSSwappedDouble ¶
type NSSwappedDouble struct {
V uint64
}
func NSConvertHostDoubleToSwapped ¶
func NSConvertHostDoubleToSwapped(x float64) NSSwappedDouble
func NSSwapDouble ¶
func NSSwapDouble(x NSSwappedDouble) NSSwappedDouble
func NSSwapHostDoubleToBig ¶
func NSSwapHostDoubleToBig(x float64) NSSwappedDouble
func NSSwapHostDoubleToLittle ¶
func NSSwapHostDoubleToLittle(x float64) NSSwappedDouble
type NSSwappedFloat ¶
type NSSwappedFloat struct {
V uint
}
func NSConvertHostFloatToSwapped ¶
func NSConvertHostFloatToSwapped(x float32) NSSwappedFloat
func NSSwapFloat ¶
func NSSwapFloat(x NSSwappedFloat) NSSwappedFloat
func NSSwapHostFloatToBig ¶
func NSSwapHostFloatToBig(x float32) NSSwappedFloat
func NSSwapHostFloatToLittle ¶
func NSSwapHostFloatToLittle(x float32) NSSwappedFloat
type NSTask ¶
type NSTask struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nstask
func NSTaskFromID ¶
func NSTaskLaunchedTaskWithLaunchPathArguments
deprecated
func (*NSTask) CurrentDirectoryPath
deprecated
func (*NSTask) CurrentDirectoryURL ¶
func (*NSTask) Environment ¶
func (o *NSTask) Environment() *NSDictionary[*NSString, *NSString]
func (*NSTask) ExecutableURL ¶
func (*NSTask) LaunchAndReturnError ¶
func (*NSTask) LaunchPath
deprecated
func (*NSTask) LaunchRequirementData ¶
func (*NSTask) ProcessIdentifier ¶
func (*NSTask) QualityOfService ¶
func (o *NSTask) QualityOfService() NSQualityOfService
func (*NSTask) SetArguments ¶
func (*NSTask) SetCurrentDirectoryPath
deprecated
func (*NSTask) SetCurrentDirectoryURL ¶
func (*NSTask) SetEnvironment ¶
func (o *NSTask) SetEnvironment(environment *NSDictionary[*NSString, *NSString])
func (*NSTask) SetExecutableURL ¶
func (*NSTask) SetLaunchPath
deprecated
func (*NSTask) SetLaunchRequirementData ¶
func (*NSTask) SetQualityOfService ¶
func (o *NSTask) SetQualityOfService(qualityOfService NSQualityOfService)
func (*NSTask) SetStandardError ¶
func (*NSTask) SetStandardInput ¶
func (*NSTask) SetStandardOutput ¶
func (*NSTask) SetTerminationHandler ¶
func (*NSTask) StandardError ¶
func (*NSTask) StandardInput ¶
func (*NSTask) StandardOutput ¶
func (*NSTask) TerminationHandler ¶
func (*NSTask) TerminationReason ¶
func (o *NSTask) TerminationReason() NSTaskTerminationReason
func (*NSTask) TerminationStatus ¶
func (*NSTask) WaitUntilExit ¶
func (o *NSTask) WaitUntilExit()
type NSTaskTerminationReason ¶
type NSTaskTerminationReason int64
const ( NSTaskTerminationReasonExit NSTaskTerminationReason = 1 NSTaskTerminationReasonUncaughtSignal NSTaskTerminationReason = 2 )
func (NSTaskTerminationReason) String ¶
func (e NSTaskTerminationReason) String() string
type NSTermOfAddress ¶
type NSTermOfAddress struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nstermofaddress
func NSTermOfAddressCurrentUser ¶
func NSTermOfAddressCurrentUser() *NSTermOfAddress
The term of address that should be used for addressing the user This term of address will only compare equal to another `+[NSTermOfAddress currentUser]`
func NSTermOfAddressFeminine ¶
func NSTermOfAddressFeminine() *NSTermOfAddress
Term of address that uses feminine pronouns (e.g. she/her/hers in English), and a feminine grammatical gender when inflecting verbs and adjectives referring to the person
func NSTermOfAddressFromID ¶
func NSTermOfAddressFromID(id objc.ID) *NSTermOfAddress
func NSTermOfAddressLocalizedForLanguageIdentifierWithPronouns ¶
func NSTermOfAddressLocalizedForLanguageIdentifierWithPronouns(language *NSString, pronouns *NSArray[*NSMorphologyPronoun]) *NSTermOfAddress
A term of address restricted to a given language @param language ISO language code identifier for the language @param pronouns A list of pronouns in the target language that can be used to refer to the person.
func NSTermOfAddressMasculine ¶
func NSTermOfAddressMasculine() *NSTermOfAddress
Term of address that uses masculine pronouns (e.g. he/him/his in English), and a masculine grammatical gender when inflecting verbs and adjectives referring to the person
func NSTermOfAddressNeutral ¶
func NSTermOfAddressNeutral() *NSTermOfAddress
Term of address that uses gender-neutral pronouns (e.g. they/them/theirs in English), and an epicene grammatical gender when inflecting verbs and adjectives referring to the person
func (*NSTermOfAddress) LanguageIdentifier ¶
func (o *NSTermOfAddress) LanguageIdentifier() *NSString
The ISO language code if this is a localized term of address
func (*NSTermOfAddress) Pronouns ¶
func (o *NSTermOfAddress) Pronouns() *NSArray[*NSMorphologyPronoun]
A list of pronouns for a localized term of address
type NSTestComparisonOperation ¶
type NSTestComparisonOperation uint64
const ( NSEqualToComparison NSTestComparisonOperation = 0 NSLessThanOrEqualToComparison NSTestComparisonOperation = 1 NSLessThanComparison NSTestComparisonOperation = 2 NSGreaterThanOrEqualToComparison NSTestComparisonOperation = 3 NSGreaterThanComparison NSTestComparisonOperation = 4 NSBeginsWithComparison NSTestComparisonOperation = 5 NSEndsWithComparison NSTestComparisonOperation = 6 NSContainsComparison NSTestComparisonOperation = 7 )
func (NSTestComparisonOperation) String ¶
func (e NSTestComparisonOperation) String() string
type NSTextCheckingResult ¶
type NSTextCheckingResult struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nstextcheckingresult
func NSTextCheckingResultAddressCheckingResultWithRangeComponents ¶
func NSTextCheckingResultAddressCheckingResultWithRangeComponents(range_ NSRange, components *NSDictionary[*NSString, *NSString]) *NSTextCheckingResult
func NSTextCheckingResultCorrectionCheckingResultWithRangeReplacementString ¶
func NSTextCheckingResultCorrectionCheckingResultWithRangeReplacementString(range_ NSRange, replacementString *NSString) *NSTextCheckingResult
func NSTextCheckingResultCorrectionCheckingResultWithRangeReplacementStringAlternativeStrings ¶
func NSTextCheckingResultCorrectionCheckingResultWithRangeReplacementStringAlternativeStrings(range_ NSRange, replacementString *NSString, alternativeStrings *NSArray[*NSString]) *NSTextCheckingResult
func NSTextCheckingResultDashCheckingResultWithRangeReplacementString ¶
func NSTextCheckingResultDashCheckingResultWithRangeReplacementString(range_ NSRange, replacementString *NSString) *NSTextCheckingResult
func NSTextCheckingResultDateCheckingResultWithRangeDate ¶
func NSTextCheckingResultDateCheckingResultWithRangeDate(range_ NSRange, date *NSDate) *NSTextCheckingResult
func NSTextCheckingResultDateCheckingResultWithRangeDateTimeZoneDuration ¶
func NSTextCheckingResultDateCheckingResultWithRangeDateTimeZoneDuration(range_ NSRange, date *NSDate, timeZone *NSTimeZone, duration float64) *NSTextCheckingResult
func NSTextCheckingResultFromID ¶
func NSTextCheckingResultFromID(id objc.ID) *NSTextCheckingResult
func NSTextCheckingResultGrammarCheckingResultWithRangeDetails ¶
func NSTextCheckingResultGrammarCheckingResultWithRangeDetails(range_ NSRange, details *NSArray[objc.ID]) *NSTextCheckingResult
func NSTextCheckingResultLinkCheckingResultWithRangeURL ¶
func NSTextCheckingResultLinkCheckingResultWithRangeURL(range_ NSRange, url *NSURL) *NSTextCheckingResult
func NSTextCheckingResultOrthographyCheckingResultWithRangeOrthography ¶
func NSTextCheckingResultOrthographyCheckingResultWithRangeOrthography(range_ NSRange, orthography *NSOrthography) *NSTextCheckingResult
func NSTextCheckingResultPhoneNumberCheckingResultWithRangePhoneNumber ¶
func NSTextCheckingResultPhoneNumberCheckingResultWithRangePhoneNumber(range_ NSRange, phoneNumber *NSString) *NSTextCheckingResult
func NSTextCheckingResultQuoteCheckingResultWithRangeReplacementString ¶
func NSTextCheckingResultQuoteCheckingResultWithRangeReplacementString(range_ NSRange, replacementString *NSString) *NSTextCheckingResult
func NSTextCheckingResultRegularExpressionCheckingResultWithRangesCountRegularExpression ¶
func NSTextCheckingResultRegularExpressionCheckingResultWithRangesCountRegularExpression(ranges *NSRange, count uint, regularExpression *NSRegularExpression) *NSTextCheckingResult
func NSTextCheckingResultReplacementCheckingResultWithRangeReplacementString ¶
func NSTextCheckingResultReplacementCheckingResultWithRangeReplacementString(range_ NSRange, replacementString *NSString) *NSTextCheckingResult
func NSTextCheckingResultSpellCheckingResultWithRange ¶
func NSTextCheckingResultSpellCheckingResultWithRange(range_ NSRange) *NSTextCheckingResult
func NSTextCheckingResultTransitInformationCheckingResultWithRangeComponents ¶
func NSTextCheckingResultTransitInformationCheckingResultWithRangeComponents(range_ NSRange, components *NSDictionary[*NSString, *NSString]) *NSTextCheckingResult
func (*NSTextCheckingResult) AddressComponents ¶
func (o *NSTextCheckingResult) AddressComponents() *NSDictionary[*NSString, *NSString]
func (*NSTextCheckingResult) AlternativeStrings ¶
func (o *NSTextCheckingResult) AlternativeStrings() *NSArray[*NSString]
func (*NSTextCheckingResult) Components ¶
func (o *NSTextCheckingResult) Components() *NSDictionary[*NSString, *NSString]
func (*NSTextCheckingResult) Date ¶
func (o *NSTextCheckingResult) Date() *NSDate
func (*NSTextCheckingResult) Duration ¶
func (o *NSTextCheckingResult) Duration() float64
func (*NSTextCheckingResult) GrammarDetails ¶
func (o *NSTextCheckingResult) GrammarDetails() *NSArray[objc.ID]
func (*NSTextCheckingResult) NumberOfRanges ¶
func (o *NSTextCheckingResult) NumberOfRanges() uint
func (*NSTextCheckingResult) Orthography ¶
func (o *NSTextCheckingResult) Orthography() *NSOrthography
func (*NSTextCheckingResult) PhoneNumber ¶
func (o *NSTextCheckingResult) PhoneNumber() *NSString
func (*NSTextCheckingResult) Range ¶
func (o *NSTextCheckingResult) Range() NSRange
func (*NSTextCheckingResult) RangeAtIndex ¶
func (o *NSTextCheckingResult) RangeAtIndex(idx uint) NSRange
func (*NSTextCheckingResult) RangeWithName ¶
func (o *NSTextCheckingResult) RangeWithName(name *NSString) NSRange
func (*NSTextCheckingResult) RegularExpression ¶
func (o *NSTextCheckingResult) RegularExpression() *NSRegularExpression
func (*NSTextCheckingResult) ReplacementString ¶
func (o *NSTextCheckingResult) ReplacementString() *NSString
func (*NSTextCheckingResult) ResultByAdjustingRangesWithOffset ¶
func (o *NSTextCheckingResult) ResultByAdjustingRangesWithOffset(offset int) *NSTextCheckingResult
func (*NSTextCheckingResult) ResultType ¶
func (o *NSTextCheckingResult) ResultType() NSTextCheckingType
func (*NSTextCheckingResult) TimeZone ¶
func (o *NSTextCheckingResult) TimeZone() *NSTimeZone
func (*NSTextCheckingResult) URL ¶
func (o *NSTextCheckingResult) URL() *NSURL
type NSTextCheckingType ¶
type NSTextCheckingType int64
const ( NSTextCheckingTypeOrthography NSTextCheckingType = 1 NSTextCheckingTypeSpelling NSTextCheckingType = 2 NSTextCheckingTypeGrammar NSTextCheckingType = 4 NSTextCheckingTypeDate NSTextCheckingType = 8 NSTextCheckingTypeAddress NSTextCheckingType = 16 NSTextCheckingTypeLink NSTextCheckingType = 32 NSTextCheckingTypeQuote NSTextCheckingType = 64 NSTextCheckingTypeDash NSTextCheckingType = 128 NSTextCheckingTypeReplacement NSTextCheckingType = 256 NSTextCheckingTypeCorrection NSTextCheckingType = 512 NSTextCheckingTypeRegularExpression NSTextCheckingType = 1024 NSTextCheckingTypePhoneNumber NSTextCheckingType = 2048 NSTextCheckingTypeTransitInformation NSTextCheckingType = 4096 )
func (NSTextCheckingType) String ¶
func (e NSTextCheckingType) String() string
type NSThread ¶
type NSThread struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsthread
func NSThreadCurrentThread ¶
func NSThreadCurrentThread() *NSThread
func NSThreadFromID ¶
func NSThreadMainThread ¶
func NSThreadMainThread() *NSThread
func (*NSThread) InitWithTargetSelectorObject ¶
func (*NSThread) IsCancelled ¶
func (*NSThread) IsExecuting ¶
func (*NSThread) IsFinished ¶
func (*NSThread) IsMainThread ¶
func (*NSThread) QualityOfService ¶
func (o *NSThread) QualityOfService() NSQualityOfService
func (*NSThread) SetQualityOfService ¶
func (o *NSThread) SetQualityOfService(qualityOfService NSQualityOfService)
func (*NSThread) SetStackSize ¶
func (*NSThread) SetThreadPriority ¶
func (*NSThread) ThreadDictionary ¶
func (*NSThread) ThreadPriority ¶
type NSTimeZone ¶
type NSTimeZone struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nstimezone
func NSTimeZoneDefaultTimeZone ¶
func NSTimeZoneDefaultTimeZone() *NSTimeZone
func NSTimeZoneFromID ¶
func NSTimeZoneFromID(id objc.ID) *NSTimeZone
func NSTimeZoneLocalTimeZone ¶
func NSTimeZoneLocalTimeZone() *NSTimeZone
func NSTimeZoneSystemTimeZone ¶
func NSTimeZoneSystemTimeZone() *NSTimeZone
func NSTimeZoneTimeZoneForSecondsFromGMT ¶
func NSTimeZoneTimeZoneForSecondsFromGMT(seconds int) *NSTimeZone
func NSTimeZoneTimeZoneWithAbbreviation ¶
func NSTimeZoneTimeZoneWithAbbreviation(abbreviation *NSString) *NSTimeZone
func NSTimeZoneTimeZoneWithName ¶
func NSTimeZoneTimeZoneWithName(tzName *NSString) *NSTimeZone
func NSTimeZoneTimeZoneWithNameData ¶
func NSTimeZoneTimeZoneWithNameData(tzName *NSString, aData *NSData) *NSTimeZone
func (*NSTimeZone) Abbreviation ¶
func (o *NSTimeZone) Abbreviation() *NSString
func (*NSTimeZone) AbbreviationForDate ¶
func (o *NSTimeZone) AbbreviationForDate(aDate *NSDate) *NSString
func (*NSTimeZone) Data ¶
func (o *NSTimeZone) Data() *NSData
func (*NSTimeZone) DaylightSavingTimeOffset ¶
func (o *NSTimeZone) DaylightSavingTimeOffset() float64
func (*NSTimeZone) DaylightSavingTimeOffsetForDate ¶
func (o *NSTimeZone) DaylightSavingTimeOffsetForDate(aDate *NSDate) float64
func (*NSTimeZone) InitWithName ¶
func (o *NSTimeZone) InitWithName(tzName *NSString) *NSTimeZone
func (*NSTimeZone) InitWithNameData ¶
func (o *NSTimeZone) InitWithNameData(tzName *NSString, aData *NSData) *NSTimeZone
func (*NSTimeZone) IsDaylightSavingTime ¶
func (o *NSTimeZone) IsDaylightSavingTime() bool
func (*NSTimeZone) IsDaylightSavingTimeForDate ¶
func (o *NSTimeZone) IsDaylightSavingTimeForDate(aDate *NSDate) bool
func (*NSTimeZone) IsEqualToTimeZone ¶
func (o *NSTimeZone) IsEqualToTimeZone(aTimeZone *NSTimeZone) bool
func (*NSTimeZone) LocalizedNameLocale ¶
func (o *NSTimeZone) LocalizedNameLocale(style NSTimeZoneNameStyle, locale *NSLocale) *NSString
func (*NSTimeZone) Name ¶
func (o *NSTimeZone) Name() *NSString
func (*NSTimeZone) NextDaylightSavingTimeTransition ¶
func (o *NSTimeZone) NextDaylightSavingTimeTransition() *NSDate
func (*NSTimeZone) NextDaylightSavingTimeTransitionAfterDate ¶
func (o *NSTimeZone) NextDaylightSavingTimeTransitionAfterDate(aDate *NSDate) *NSDate
func (*NSTimeZone) SecondsFromGMT ¶
func (o *NSTimeZone) SecondsFromGMT() int
func (*NSTimeZone) SecondsFromGMTForDate ¶
func (o *NSTimeZone) SecondsFromGMTForDate(aDate *NSDate) int
type NSTimeZoneNameStyle ¶
type NSTimeZoneNameStyle int64
const ( NSTimeZoneNameStyleStandard NSTimeZoneNameStyle = 0 NSTimeZoneNameStyleShortStandard NSTimeZoneNameStyle = 1 NSTimeZoneNameStyleDaylightSaving NSTimeZoneNameStyle = 2 NSTimeZoneNameStyleShortDaylightSaving NSTimeZoneNameStyle = 3 NSTimeZoneNameStyleGeneric NSTimeZoneNameStyle = 4 NSTimeZoneNameStyleShortGeneric NSTimeZoneNameStyle = 5 )
func (NSTimeZoneNameStyle) String ¶
func (e NSTimeZoneNameStyle) String() string
type NSTimer ¶
type NSTimer struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nstimer
func NSTimerFromID ¶
func NSTimerScheduledTimerWithTimeIntervalInvocationRepeats ¶
func NSTimerScheduledTimerWithTimeIntervalInvocationRepeats(ti float64, invocation *NSInvocation, yesOrNo bool) *NSTimer
func NSTimerScheduledTimerWithTimeIntervalRepeatsBlock ¶
func NSTimerScheduledTimerWithTimeIntervalRepeatsBlock(interval float64, repeats bool, block func(*NSTimer)) *NSTimer
Creates and returns a new NSTimer object initialized with the specified block object and schedules it on the current run loop in the default mode. - parameter: ti The number of seconds between firings of the timer. If seconds is less than or equal to 0.0, this method chooses the nonnegative value of 0.1 milliseconds instead - parameter: repeats If YES, the timer will repeatedly reschedule itself until invalidated. If NO, the timer will be invalidated after it fires. - parameter: block The execution body of the timer; the timer itself is passed as the parameter to this block when executed to aid in avoiding cyclical references
func NSTimerTimerWithTimeIntervalInvocationRepeats ¶
func NSTimerTimerWithTimeIntervalInvocationRepeats(ti float64, invocation *NSInvocation, yesOrNo bool) *NSTimer
func NSTimerTimerWithTimeIntervalRepeatsBlock ¶
func NSTimerTimerWithTimeIntervalRepeatsBlock(interval float64, repeats bool, block func(*NSTimer)) *NSTimer
Creates and returns a new NSTimer object initialized with the specified block object. This timer needs to be scheduled on a run loop (via -[NSRunLoop addTimer:]) before it will fire. - parameter: timeInterval The number of seconds between firings of the timer. If seconds is less than or equal to 0.0, this method chooses the nonnegative value of 0.1 milliseconds instead - parameter: repeats If YES, the timer will repeatedly reschedule itself until invalidated. If NO, the timer will be invalidated after it fires. - parameter: block The execution body of the timer; the timer itself is passed as the parameter to this block when executed to aid in avoiding cyclical references
func (*NSTimer) InitWithFireDateIntervalRepeatsBlock ¶
func (o *NSTimer) InitWithFireDateIntervalRepeatsBlock(date *NSDate, interval float64, repeats bool, block func(*NSTimer)) *NSTimer
Initializes a new NSTimer object using the block as the main body of execution for the timer. This timer needs to be scheduled on a run loop (via -[NSRunLoop addTimer:]) before it will fire. - parameter: fireDate The time at which the timer should first fire. - parameter: interval The number of seconds between firings of the timer. If seconds is less than or equal to 0.0, this method chooses the nonnegative value of 0.1 milliseconds instead - parameter: repeats If YES, the timer will repeatedly reschedule itself until invalidated. If NO, the timer will be invalidated after it fires. - parameter: block The execution body of the timer; the timer itself is passed as the parameter to this block when executed to aid in avoiding cyclical references
func (*NSTimer) InitWithFireDateIntervalTargetSelectorUserInfoRepeats ¶
func (*NSTimer) Invalidate ¶
func (o *NSTimer) Invalidate()
func (*NSTimer) SetFireDate ¶
func (*NSTimer) SetTolerance ¶
func (*NSTimer) TimeInterval ¶
type NSURL ¶
type NSURL struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurl
func NSURLFileURLWithPath ¶
func NSURLFromID ¶
func NSURLURLByResolvingAliasFileAtURLOptionsError ¶
func NSURLURLByResolvingAliasFileAtURLOptionsError(url *NSURL, options NSURLBookmarkResolutionOptions) (*NSURL, error)
func NSURLURLWithString ¶
func NSURLURLWithStringEncodingInvalidCharacters ¶
func NSURLURLWithStringEncodingInvalidCharacters(uRLString *NSString, encodingInvalidCharacters bool) *NSURL
Initializes and returns a newly created `NSURL` with a URL string and the option to add (or skip) IDNA- and percent-encoding of invalid characters. If `encodingInvalidCharacters` is false, and the URL string is invalid according to RFC 3986, `nil` is returned. If `encodingInvalidCharacters` is true, `NSURL` will try to encode the string to create a valid URL. If the URL string is still invalid after encoding, `nil` is returned. - Parameter URLString: The URL string. - Parameter encodingInvalidCharacters: True if `NSURL` should try to encode an invalid URL string, false otherwise. - Returns: An `NSURL` instance for a valid URL, or `nil` if the URL is invalid.
func (*NSURL) AbsoluteString ¶
func (*NSURL) AbsoluteURL ¶
func (*NSURL) CheckPromisedItemIsReachableAndReturnError ¶
func (*NSURL) CheckResourceIsReachableAndReturnError ¶
func (*NSURL) DataRepresentation ¶
func (*NSURL) FilePathURL ¶
func (*NSURL) FileReferenceURL ¶
func (*NSURL) FileSystemRepresentation ¶
func (*NSURL) GetFileSystemRepresentationMaxLength ¶
func (*NSURL) GetPromisedItemResourceValueForKeyError ¶
func (o *NSURL) GetPromisedItemResourceValueForKeyError(value **ObjcObject, key *NSString) (bool, error)
func (*NSURL) GetResourceValueForKeyError ¶
func (o *NSURL) GetResourceValueForKeyError(value **ObjcObject, key *NSString) (bool, error)
func (*NSURL) HasDirectoryPath ¶
func (*NSURL) InitAbsoluteURLWithDataRepresentationRelativeToURL ¶
func (*NSURL) InitFileURLWithPath ¶
func (*NSURL) InitFileURLWithPathIsDirectory ¶
func (*NSURL) InitFileURLWithPathIsDirectoryRelativeToURL ¶
func (*NSURL) InitFileURLWithPathRelativeToURL ¶
func (*NSURL) InitWithDataRepresentationRelativeToURL ¶
func (*NSURL) InitWithSchemeHostPath
deprecated
Deprecated: Use NSURLComponents instead, which lets you create a valid URL with any valid combination of URL components and subcomponents (not just scheme, host and path), and lets you set components and subcomponents with either percent-encoded or un-percent-encoded strings.
func (*NSURL) InitWithString ¶
func (*NSURL) InitWithStringEncodingInvalidCharacters ¶
func (o *NSURL) InitWithStringEncodingInvalidCharacters(uRLString *NSString, encodingInvalidCharacters bool) *NSURL
Initializes an `NSURL` with a URL string and the option to add (or skip) IDNA- and percent-encoding of invalid characters. If `encodingInvalidCharacters` is false, and the URL string is invalid according to RFC 3986, `nil` is returned. If `encodingInvalidCharacters` is true, `NSURL` will try to encode the string to create a valid URL. If the URL string is still invalid after encoding, `nil` is returned. - Parameter URLString: The URL string. - Parameter encodingInvalidCharacters: True if `NSURL` should try to encode an invalid URL string, false otherwise. - Returns: An `NSURL` instance for a valid URL, or `nil` if the URL is invalid.
func (*NSURL) InitWithStringRelativeToURL ¶
func (*NSURL) IsFileReferenceURL ¶
func (*NSURL) LastPathComponent ¶
func (*NSURL) LoadResourceDataNotifyingClientUsingCache
deprecated
func (*NSURL) ParameterString
deprecated
Deprecated: The parameterString method is deprecated. Post deprecation for applications linked with or after the macOS 10.15, and for all iOS, watchOS, and tvOS applications, parameterString will always return nil, and the path method will return the complete path including the semicolon separator and params component if the URL string contains them.
func (*NSURL) PathComponents ¶
func (*NSURL) PathExtension ¶
func (*NSURL) PromisedItemResourceValuesForKeysError ¶
func (*NSURL) PropertyForKey
deprecated
func (*NSURL) Query
deprecated
Deprecated: The parameterString method is deprecated. Post deprecation for applications linked with or after the macOS 10.15, and for all iOS, watchOS, and tvOS applications, parameterString will always return nil, and the path method will return the complete path including the semicolon separator and params component if the URL string contains them.
func (*NSURL) RelativePath
deprecated
Deprecated: The parameterString method is deprecated. Post deprecation for applications linked with or after the macOS 10.15, and for all iOS, watchOS, and tvOS applications, parameterString will always return nil, and the path method will return the complete path including the semicolon separator and params component if the URL string contains them.
func (*NSURL) RelativeString ¶
func (*NSURL) RemoveAllCachedResourceValues ¶
func (o *NSURL) RemoveAllCachedResourceValues()
func (*NSURL) RemoveCachedResourceValueForKey ¶
func (*NSURL) ResourceDataUsingCache
deprecated
func (*NSURL) ResourceSpecifier ¶
func (*NSURL) ResourceValuesForKeysError ¶
func (*NSURL) SetResourceData
deprecated
func (*NSURL) SetResourceValueForKeyError ¶
func (*NSURL) SetResourceValuesError ¶
func (*NSURL) SetTemporaryResourceValueForKey ¶
func (*NSURL) StandardizedURL ¶
func (*NSURL) StartAccessingSecurityScopedResource ¶
func (*NSURL) StopAccessingSecurityScopedResource ¶
func (o *NSURL) StopAccessingSecurityScopedResource()
func (*NSURL) URLByAppendingPathComponent ¶
func (*NSURL) URLByAppendingPathComponentIsDirectory ¶
func (*NSURL) URLByAppendingPathExtension ¶
func (*NSURL) URLByDeletingLastPathComponent ¶
func (*NSURL) URLByDeletingPathExtension ¶
func (*NSURL) URLByResolvingSymlinksInPath ¶
func (*NSURL) URLByStandardizingPath ¶
func (*NSURL) URLHandleUsingCache
deprecated
func (o *NSURL) URLHandleUsingCache(shouldUseCache bool) *NSURLHandle
Deprecated: Use NSURLConnection instead
type NSURLAuthenticationChallenge ¶
type NSURLAuthenticationChallenge struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlauthenticationchallenge
func NSURLAuthenticationChallengeFromID ¶
func NSURLAuthenticationChallengeFromID(id objc.ID) *NSURLAuthenticationChallenge
func (*NSURLAuthenticationChallenge) Error ¶
func (o *NSURLAuthenticationChallenge) Error() unsafe.Pointer
@abstract Get the error representing authentication failure. @discussion If there was a previous authentication failure, and this protocol uses errors to indicate authentication failure, then this method will return the error. Otherwise it will return nil.
func (*NSURLAuthenticationChallenge) FailureResponse ¶
func (o *NSURLAuthenticationChallenge) FailureResponse() *NSURLResponse
@abstract Get the response representing authentication failure. @result The failure response or nil @discussion If there was a previous authentication failure, and this protocol uses responses to indicate authentication failure, then this method will return the response. Otherwise it will return nil.
func (*NSURLAuthenticationChallenge) InitWithAuthenticationChallengeSender ¶
func (o *NSURLAuthenticationChallenge) InitWithAuthenticationChallengeSender(challenge *NSURLAuthenticationChallenge, sender NSURLAuthenticationChallengeSender) *NSURLAuthenticationChallenge
@method initWithAuthenticationChallenge: @abstract Initialize an authentication challenge copying all parameters from another one. @result A new challenge initialized with the parameters from the passed in challenge @discussion This initializer may be useful to subclassers that want to proxy one type of authentication challenge to look like another type.
func (*NSURLAuthenticationChallenge) InitWithProtectionSpaceProposedCredentialPreviousFailureCountFailureResponseErrorSender ¶
func (o *NSURLAuthenticationChallenge) InitWithProtectionSpaceProposedCredentialPreviousFailureCountFailureResponseErrorSender(space *NSURLProtectionSpace, credential *NSURLCredential, previousFailureCount int, response *NSURLResponse, error_ unsafe.Pointer, sender NSURLAuthenticationChallengeSender) *NSURLAuthenticationChallenge
@method initWithProtectionSpace:proposedCredential:previousFailureCount:failureResponse:error: @abstract Initialize an authentication challenge @param space The NSURLProtectionSpace to use @param credential The proposed NSURLCredential for this challenge, or nil @param previousFailureCount A count of previous failures attempting access. @param response The NSURLResponse for the authentication failure, if applicable, else nil @param error The NSError for the authentication failure, if applicable, else nil @result An authentication challenge initialized with the specified parameters
func (*NSURLAuthenticationChallenge) PreviousFailureCount ¶
func (o *NSURLAuthenticationChallenge) PreviousFailureCount() int
@abstract Get count of previous failed authentication attempts @result The count of previous failures
func (*NSURLAuthenticationChallenge) ProposedCredential ¶
func (o *NSURLAuthenticationChallenge) ProposedCredential() *NSURLCredential
@abstract Get the proposed credential for this challenge @result The proposed credential @discussion proposedCredential may be nil, if there is no default credential to use for this challenge (either stored or in the URL). If the credential is not nil and returns YES for hasPassword, this means the NSURLConnection thinks the credential is ready to use as-is. If it returns NO for hasPassword, then the credential is not ready to use as-is, but provides a default username the client could use when prompting.
func (*NSURLAuthenticationChallenge) ProtectionSpace ¶
func (o *NSURLAuthenticationChallenge) ProtectionSpace() *NSURLProtectionSpace
@abstract Get a description of the protection space that requires authentication @result The protection space that needs authentication
func (*NSURLAuthenticationChallenge) Sender ¶
func (o *NSURLAuthenticationChallenge) Sender() NSURLAuthenticationChallengeSender
@abstract Get the sender of this challenge @result The sender of the challenge @discussion The sender is the object you should reply to when done processing the challenge.
type NSURLAuthenticationChallengeSender ¶
type NSURLAuthenticationChallengeSender interface {
UseCredentialForAuthenticationChallenge(credential *NSURLCredential, challenge *NSURLAuthenticationChallenge)
ContinueWithoutCredentialForAuthenticationChallenge(challenge *NSURLAuthenticationChallenge)
CancelAuthenticationChallenge(challenge *NSURLAuthenticationChallenge)
}
NSURLAuthenticationChallengeSender wraps the ObjC protocol NSURLAuthenticationChallengeSender.
type NSURLBookmarkCreationOptions ¶
type NSURLBookmarkCreationOptions uint64
const ( NSURLBookmarkCreationPreferFileIDResolution NSURLBookmarkCreationOptions = 256 NSURLBookmarkCreationMinimalBookmark NSURLBookmarkCreationOptions = 512 NSURLBookmarkCreationSuitableForBookmarkFile NSURLBookmarkCreationOptions = 1024 NSURLBookmarkCreationWithSecurityScope NSURLBookmarkCreationOptions = 2048 NSURLBookmarkCreationSecurityScopeAllowOnlyReadAccess NSURLBookmarkCreationOptions = 4096 NSURLBookmarkCreationWithoutImplicitSecurityScope NSURLBookmarkCreationOptions = 536870912 )
func (NSURLBookmarkCreationOptions) String ¶
func (e NSURLBookmarkCreationOptions) String() string
type NSURLBookmarkResolutionOptions ¶
type NSURLBookmarkResolutionOptions uint64
const ( NSURLBookmarkResolutionWithoutUI NSURLBookmarkResolutionOptions = 256 NSURLBookmarkResolutionWithoutMounting NSURLBookmarkResolutionOptions = 512 NSURLBookmarkResolutionWithSecurityScope NSURLBookmarkResolutionOptions = 1024 NSURLBookmarkResolutionWithoutImplicitStartAccessing NSURLBookmarkResolutionOptions = 32768 )
func (NSURLBookmarkResolutionOptions) String ¶
func (e NSURLBookmarkResolutionOptions) String() string
type NSURLCache ¶
type NSURLCache struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlcache
func NSURLCacheFromID ¶
func NSURLCacheFromID(id objc.ID) *NSURLCache
func NSURLCacheSharedURLCache ¶
func NSURLCacheSharedURLCache() *NSURLCache
@property sharedURLCache @abstract Returns the shared NSURLCache instance or sets the NSURLCache instance shared by all clients of the current process. This will be the new object returned when calls to the <tt>sharedURLCache</tt> method are made. @discussion Unless set explicitly through a call to <tt>+setSharedURLCache:</tt>, this method returns an NSURLCache instance created with the following default values: <ul> <li>Memory capacity: 4 megabytes (4 * 1024 * 1024 bytes) <li>Disk capacity: 20 megabytes (20 * 1024 * 1024 bytes) <li>Disk path: <nobr>(user home directory)/Library/Caches/(application bundle id)</nobr> </ul> <p>Users who do not have special caching requirements or constraints should find the default shared cache instance acceptable. If this default shared cache instance is not acceptable, <tt>+setSharedURLCache:</tt> can be called to set a different NSURLCache instance to be returned from this method. Callers should take care to ensure that the setter is called at a time when no other caller has a reference to the previously-set shared URL cache. This is to prevent storing cache data from becoming unexpectedly unretrievable. @result the shared NSURLCache instance.
func (*NSURLCache) CachedResponseForRequest ¶
func (o *NSURLCache) CachedResponseForRequest(request *NSURLRequest) *NSCachedURLResponse
@method cachedResponseForRequest: @abstract Returns the NSCachedURLResponse stored in the cache with the given request. @discussion The method returns nil if there is no NSCachedURLResponse stored using the given request. @param request the NSURLRequest to use as a key for the lookup. @result The NSCachedURLResponse stored in the cache with the given request, or nil if there is no NSCachedURLResponse stored with the given request.
func (*NSURLCache) CurrentDiskUsage ¶
func (o *NSURLCache) CurrentDiskUsage() uint
@abstract Returns the current amount of space consumed by the on-disk cache of the receiver. @discussion This size, measured in bytes, indicates the current usage of the on-disk cache. @result the current usage of the on-disk cache of the receiver.
func (*NSURLCache) CurrentMemoryUsage ¶
func (o *NSURLCache) CurrentMemoryUsage() uint
@abstract Returns the current amount of space consumed by the in-memory cache of the receiver. @discussion This size, measured in bytes, indicates the current usage of the in-memory cache. @result the current usage of the in-memory cache of the receiver.
func (*NSURLCache) DiskCapacity ¶
func (o *NSURLCache) DiskCapacity() uint
@abstract The on-disk capacity of the receiver. @discussion The on-disk capacity, measured in bytes, for the receiver. On mutation the on-disk cache will truncate its contents to the size given, if necessary.
func (*NSURLCache) GetCachedResponseForDataTaskCompletionHandler ¶
func (o *NSURLCache) GetCachedResponseForDataTaskCompletionHandler(dataTask *NSURLSessionDataTask, completionHandler func(*NSCachedURLResponse))
func (*NSURLCache) InitWithMemoryCapacityDiskCapacityDirectoryURL ¶
func (o *NSURLCache) InitWithMemoryCapacityDiskCapacityDirectoryURL(memoryCapacity uint, diskCapacity uint, directoryURL *NSURL) *NSURLCache
@method initWithMemoryCapacity:diskCapacity:directoryURL: @abstract Initializes an NSURLCache with the given capacity and directory. @param memoryCapacity the capacity, measured in bytes, for the cache in memory. Or 0 to disable memory cache. @param diskCapacity the capacity, measured in bytes, for the cache on disk. Or 0 to disable disk cache. @param directoryURL the path to a directory on disk where the cache data is stored. Or nil for default directory. @result an initialized NSURLCache, with the given capacity, optionally backed by disk.
func (*NSURLCache) InitWithMemoryCapacityDiskCapacityDiskPath ¶
func (o *NSURLCache) InitWithMemoryCapacityDiskCapacityDiskPath(memoryCapacity uint, diskCapacity uint, path *NSString) *NSURLCache
@method initWithMemoryCapacity:diskCapacity:diskPath: @abstract Initializes an NSURLCache with the given capacity and path. @discussion The returned NSURLCache is backed by disk, so developers can be more liberal with space when choosing the capacity for this kind of cache. A disk cache measured in the tens of megabytes should be acceptable in most cases. @param memoryCapacity the capacity, measured in bytes, for the cache in memory. @param diskCapacity the capacity, measured in bytes, for the cache on disk. @param path the path on disk where the cache data is stored. @result an initialized NSURLCache, with the given capacity, backed by disk. Deprecated: since macOS API_TO_BE_DEPRECATED.
func (*NSURLCache) MemoryCapacity ¶
func (o *NSURLCache) MemoryCapacity() uint
@abstract In-memory capacity of the receiver. @discussion At the time this call is made, the in-memory cache will truncate its contents to the size given, if necessary. @result The in-memory capacity, measured in bytes, for the receiver.
func (*NSURLCache) RemoveAllCachedResponses ¶
func (o *NSURLCache) RemoveAllCachedResponses()
@method removeAllCachedResponses @abstract Clears the given cache, removing all NSCachedURLResponse objects that it stores.
func (*NSURLCache) RemoveCachedResponseForDataTask ¶
func (o *NSURLCache) RemoveCachedResponseForDataTask(dataTask *NSURLSessionDataTask)
func (*NSURLCache) RemoveCachedResponseForRequest ¶
func (o *NSURLCache) RemoveCachedResponseForRequest(request *NSURLRequest)
@method removeCachedResponseForRequest: @abstract Removes the NSCachedURLResponse from the cache that is stored using the given request. @discussion No action is taken if there is no NSCachedURLResponse stored with the given request. @param request the NSURLRequest to use as a key for the lookup.
func (*NSURLCache) RemoveCachedResponsesSinceDate ¶
func (o *NSURLCache) RemoveCachedResponsesSinceDate(date *NSDate)
@method removeCachedResponsesSince: @abstract Clears the given cache of any cached responses since the provided date.
func (*NSURLCache) SetDiskCapacity ¶
func (o *NSURLCache) SetDiskCapacity(diskCapacity uint)
func (*NSURLCache) SetMemoryCapacity ¶
func (o *NSURLCache) SetMemoryCapacity(memoryCapacity uint)
func (*NSURLCache) StoreCachedResponseForDataTask ¶
func (o *NSURLCache) StoreCachedResponseForDataTask(cachedResponse *NSCachedURLResponse, dataTask *NSURLSessionDataTask)
func (*NSURLCache) StoreCachedResponseForRequest ¶
func (o *NSURLCache) StoreCachedResponseForRequest(cachedResponse *NSCachedURLResponse, request *NSURLRequest)
@method storeCachedResponse:forRequest: @abstract Stores the given NSCachedURLResponse in the cache using the given request. @param cachedResponse The cached response to store. @param request the NSURLRequest to use as a key for the storage.
type NSURLCacheStoragePolicy ¶
type NSURLCacheStoragePolicy uint64
const ( NSURLCacheStorageAllowed NSURLCacheStoragePolicy = 0 NSURLCacheStorageAllowedInMemoryOnly NSURLCacheStoragePolicy = 1 NSURLCacheStorageNotAllowed NSURLCacheStoragePolicy = 2 )
func (NSURLCacheStoragePolicy) String ¶
func (e NSURLCacheStoragePolicy) String() string
type NSURLComponents ¶
type NSURLComponents struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlcomponents
func NSURLComponentsComponentsWithString ¶
func NSURLComponentsComponentsWithString(uRLString *NSString) *NSURLComponents
func NSURLComponentsComponentsWithStringEncodingInvalidCharacters ¶
func NSURLComponentsComponentsWithStringEncodingInvalidCharacters(uRLString *NSString, encodingInvalidCharacters bool) *NSURLComponents
Initializes and returns a newly created `NSURLComponents` with a URL string and the option to add (or skip) IDNA- and percent-encoding of invalid characters. If `encodingInvalidCharacters` is false, and the URL string is invalid according to RFC 3986, `nil` is returned. If `encodingInvalidCharacters` is true, `NSURLComponents` will try to encode the string to create a valid URL. If the URL string is still invalid after encoding, nil is returned. - Parameter URLString: The URL string. - Parameter encodingInvalidCharacters: True if `NSURLComponents` should try to encode an invalid URL string, false otherwise. - Returns: An `NSURLComponents` instance for a valid URL, or `nil` if the URL is invalid.
func NSURLComponentsComponentsWithURLResolvingAgainstBaseURL ¶
func NSURLComponentsComponentsWithURLResolvingAgainstBaseURL(url *NSURL, resolve bool) *NSURLComponents
func NSURLComponentsFromID ¶
func NSURLComponentsFromID(id objc.ID) *NSURLComponents
func (*NSURLComponents) EncodedHost ¶
func (o *NSURLComponents) EncodedHost() *NSString
func (*NSURLComponents) Fragment ¶
func (o *NSURLComponents) Fragment() *NSString
func (*NSURLComponents) Host ¶
func (o *NSURLComponents) Host() *NSString
func (*NSURLComponents) Init ¶
func (o *NSURLComponents) Init() *NSURLComponents
func (*NSURLComponents) InitWithString ¶
func (o *NSURLComponents) InitWithString(uRLString *NSString) *NSURLComponents
func (*NSURLComponents) InitWithStringEncodingInvalidCharacters ¶
func (o *NSURLComponents) InitWithStringEncodingInvalidCharacters(uRLString *NSString, encodingInvalidCharacters bool) *NSURLComponents
Initializes an `NSURLComponents` with a URL string and the option to add (or skip) IDNA- and percent-encoding of invalid characters. If `encodingInvalidCharacters` is false, and the URL string is invalid according to RFC 3986, `nil` is returned. If `encodingInvalidCharacters` is true, `NSURLComponents` will try to encode the string to create a valid URL. If the URL string is still invalid after encoding, `nil` is returned. - Parameter URLString: The URL string. - Parameter encodingInvalidCharacters: True if `NSURLComponents` should try to encode an invalid URL string, false otherwise. - Returns: An `NSURLComponents` instance for a valid URL, or `nil` if the URL is invalid.
func (*NSURLComponents) InitWithURLResolvingAgainstBaseURL ¶
func (o *NSURLComponents) InitWithURLResolvingAgainstBaseURL(url *NSURL, resolve bool) *NSURLComponents
func (*NSURLComponents) Password ¶
func (o *NSURLComponents) Password() *NSString
func (*NSURLComponents) Path ¶
func (o *NSURLComponents) Path() *NSString
func (*NSURLComponents) PercentEncodedFragment
deprecated
func (o *NSURLComponents) PercentEncodedFragment() *NSString
Deprecated: Use encodedHost instead
func (*NSURLComponents) PercentEncodedHost
deprecated
func (o *NSURLComponents) PercentEncodedHost() *NSString
Deprecated: Use encodedHost instead
func (*NSURLComponents) PercentEncodedPassword ¶
func (o *NSURLComponents) PercentEncodedPassword() *NSString
func (*NSURLComponents) PercentEncodedPath
deprecated
func (o *NSURLComponents) PercentEncodedPath() *NSString
Deprecated: Use encodedHost instead
func (*NSURLComponents) PercentEncodedQuery
deprecated
func (o *NSURLComponents) PercentEncodedQuery() *NSString
Deprecated: Use encodedHost instead
func (*NSURLComponents) PercentEncodedQueryItems ¶
func (o *NSURLComponents) PercentEncodedQueryItems() *NSArray[*NSURLQueryItem]
func (*NSURLComponents) PercentEncodedUser ¶
func (o *NSURLComponents) PercentEncodedUser() *NSString
func (*NSURLComponents) Port ¶
func (o *NSURLComponents) Port() *NSNumber
func (*NSURLComponents) Query ¶
func (o *NSURLComponents) Query() *NSString
func (*NSURLComponents) QueryItems ¶
func (o *NSURLComponents) QueryItems() *NSArray[*NSURLQueryItem]
func (*NSURLComponents) RangeOfFragment ¶
func (o *NSURLComponents) RangeOfFragment() NSRange
func (*NSURLComponents) RangeOfHost ¶
func (o *NSURLComponents) RangeOfHost() NSRange
func (*NSURLComponents) RangeOfPassword ¶
func (o *NSURLComponents) RangeOfPassword() NSRange
func (*NSURLComponents) RangeOfPath ¶
func (o *NSURLComponents) RangeOfPath() NSRange
func (*NSURLComponents) RangeOfPort ¶
func (o *NSURLComponents) RangeOfPort() NSRange
func (*NSURLComponents) RangeOfQuery ¶
func (o *NSURLComponents) RangeOfQuery() NSRange
func (*NSURLComponents) RangeOfScheme ¶
func (o *NSURLComponents) RangeOfScheme() NSRange
func (*NSURLComponents) RangeOfUser ¶
func (o *NSURLComponents) RangeOfUser() NSRange
func (*NSURLComponents) Scheme ¶
func (o *NSURLComponents) Scheme() *NSString
func (*NSURLComponents) SetEncodedHost ¶
func (o *NSURLComponents) SetEncodedHost(encodedHost *NSString)
func (*NSURLComponents) SetFragment ¶
func (o *NSURLComponents) SetFragment(fragment *NSString)
func (*NSURLComponents) SetHost ¶
func (o *NSURLComponents) SetHost(host *NSString)
func (*NSURLComponents) SetPassword ¶
func (o *NSURLComponents) SetPassword(password *NSString)
func (*NSURLComponents) SetPath ¶
func (o *NSURLComponents) SetPath(path *NSString)
func (*NSURLComponents) SetPercentEncodedFragment ¶
func (o *NSURLComponents) SetPercentEncodedFragment(percentEncodedFragment *NSString)
func (*NSURLComponents) SetPercentEncodedHost
deprecated
func (o *NSURLComponents) SetPercentEncodedHost(percentEncodedHost *NSString)
Deprecated: Use encodedHost instead
func (*NSURLComponents) SetPercentEncodedPassword ¶
func (o *NSURLComponents) SetPercentEncodedPassword(percentEncodedPassword *NSString)
func (*NSURLComponents) SetPercentEncodedPath ¶
func (o *NSURLComponents) SetPercentEncodedPath(percentEncodedPath *NSString)
func (*NSURLComponents) SetPercentEncodedQuery ¶
func (o *NSURLComponents) SetPercentEncodedQuery(percentEncodedQuery *NSString)
func (*NSURLComponents) SetPercentEncodedQueryItems ¶
func (o *NSURLComponents) SetPercentEncodedQueryItems(percentEncodedQueryItems *NSArray[*NSURLQueryItem])
func (*NSURLComponents) SetPercentEncodedUser ¶
func (o *NSURLComponents) SetPercentEncodedUser(percentEncodedUser *NSString)
func (*NSURLComponents) SetPort ¶
func (o *NSURLComponents) SetPort(port *NSNumber)
func (*NSURLComponents) SetQuery ¶
func (o *NSURLComponents) SetQuery(query *NSString)
func (*NSURLComponents) SetQueryItems ¶
func (o *NSURLComponents) SetQueryItems(queryItems *NSArray[*NSURLQueryItem])
func (*NSURLComponents) SetScheme ¶
func (o *NSURLComponents) SetScheme(scheme *NSString)
func (*NSURLComponents) SetUser ¶
func (o *NSURLComponents) SetUser(user *NSString)
func (*NSURLComponents) String ¶
func (o *NSURLComponents) String() *NSString
func (*NSURLComponents) URL ¶
func (o *NSURLComponents) URL() *NSURL
func (*NSURLComponents) URLRelativeToURL ¶
func (o *NSURLComponents) URLRelativeToURL(baseURL *NSURL) *NSURL
func (*NSURLComponents) User ¶
func (o *NSURLComponents) User() *NSString
type NSURLConnection ¶
type NSURLConnection struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlconnection
func NSURLConnectionConnectionWithRequestDelegate
deprecated
func NSURLConnectionConnectionWithRequestDelegate(request *NSURLRequest, delegate objc.ID) *NSURLConnection
Deprecated: Use NSURLSession (see NSURLSession.h)
func NSURLConnectionFromID ¶
func NSURLConnectionFromID(id objc.ID) *NSURLConnection
func (*NSURLConnection) Cancel ¶
func (o *NSURLConnection) Cancel()
func (*NSURLConnection) CurrentRequest ¶
func (o *NSURLConnection) CurrentRequest() *NSURLRequest
func (*NSURLConnection) InitWithRequestDelegate
deprecated
func (o *NSURLConnection) InitWithRequestDelegate(request *NSURLRequest, delegate objc.ID) *NSURLConnection
Deprecated: Use NSURLSession (see NSURLSession.h)
func (*NSURLConnection) InitWithRequestDelegateStartImmediately
deprecated
func (o *NSURLConnection) InitWithRequestDelegateStartImmediately(request *NSURLRequest, delegate objc.ID, startImmediately bool) *NSURLConnection
Deprecated: Use NSURLSession (see NSURLSession.h)
func (*NSURLConnection) OriginalRequest ¶
func (o *NSURLConnection) OriginalRequest() *NSURLRequest
func (*NSURLConnection) ScheduleInRunLoopForMode ¶
func (o *NSURLConnection) ScheduleInRunLoopForMode(aRunLoop *NSRunLoop, mode *NSString)
func (*NSURLConnection) SetDelegateQueue ¶
func (o *NSURLConnection) SetDelegateQueue(queue *NSOperationQueue)
func (*NSURLConnection) Start ¶
func (o *NSURLConnection) Start()
func (*NSURLConnection) UnscheduleFromRunLoopForMode ¶
func (o *NSURLConnection) UnscheduleFromRunLoopForMode(aRunLoop *NSRunLoop, mode *NSString)
type NSURLConnectionDataDelegate ¶
type NSURLConnectionDataDelegate interface {
NSURLConnectionDelegate
}
NSURLConnectionDataDelegate wraps the ObjC protocol NSURLConnectionDataDelegate.
type NSURLConnectionDelegate ¶
type NSURLConnectionDelegate interface {
}
NSURLConnectionDelegate wraps the ObjC protocol NSURLConnectionDelegate.
type NSURLConnectionDownloadDelegate ¶
type NSURLConnectionDownloadDelegate interface {
NSURLConnectionDelegate
ConnectionDidFinishDownloadingDestinationURL(connection *NSURLConnection, destinationURL *NSURL)
}
NSURLConnectionDownloadDelegate wraps the ObjC protocol NSURLConnectionDownloadDelegate.
type NSURLCredential ¶
type NSURLCredential struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlcredential
func NSURLCredentialCredentialForTrust ¶
func NSURLCredentialCredentialForTrust(trust unsafe.Pointer) *NSURLCredential
@method credentialForTrust: @abstract Create a new NSURLCredential which specifies that a handshake has been trusted. @result The new autoreleased NSURLCredential
func NSURLCredentialCredentialWithIdentityCertificatesPersistence ¶
func NSURLCredentialCredentialWithIdentityCertificatesPersistence(identity unsafe.Pointer, certArray *NSArray[objc.ID], persistence NSURLCredentialPersistence) *NSURLCredential
@method credentialWithIdentity:certificates:persistence: @abstract Create a new NSURLCredential with an identity and certificate array @param identity a SecIdentityRef object @param certArray an array containing at least one SecCertificateRef objects @param persistence enum that says to store per session, permanently or not at all @result The new autoreleased NSURLCredential
func NSURLCredentialCredentialWithUserPasswordPersistence ¶
func NSURLCredentialCredentialWithUserPasswordPersistence(user *NSString, password *NSString, persistence NSURLCredentialPersistence) *NSURLCredential
@method credentialWithUser:password:persistence: @abstract Create a new NSURLCredential with a user and password @param user the username @param password the password @param persistence enum that says to store per session, permanently or not at all @result The new autoreleased NSURLCredential
func NSURLCredentialFromID ¶
func NSURLCredentialFromID(id objc.ID) *NSURLCredential
func (*NSURLCredential) Certificates ¶
func (o *NSURLCredential) Certificates() *NSArray[objc.ID]
@abstract Returns an NSArray of SecCertificateRef objects representing the client certificate for this credential, if this credential was created with an identity and certificate. @result an NSArray of SecCertificateRef or NULL if this is a username/password credential
func (*NSURLCredential) HasPassword ¶
func (o *NSURLCredential) HasPassword() bool
@abstract Find out if this credential has a password, without trying to get it @result YES if this credential has a password, otherwise NO @discussion If this credential's password is actually kept in an external store, the password method may return nil even if this method returns YES, since getting the password may fail, or the user may refuse access.
func (*NSURLCredential) Identity ¶
func (o *NSURLCredential) Identity() unsafe.Pointer
@abstract Returns the SecIdentityRef of this credential, if it was created with a certificate and identity @result A SecIdentityRef or NULL if this is a username/password credential
func (*NSURLCredential) InitWithIdentityCertificatesPersistence ¶
func (o *NSURLCredential) InitWithIdentityCertificatesPersistence(identity unsafe.Pointer, certArray *NSArray[objc.ID], persistence NSURLCredentialPersistence) *NSURLCredential
@method initWithIdentity:certificates:persistence: @abstract Initialize an NSURLCredential with an identity and array of at least 1 client certificates (SecCertificateRef) @param identity a SecIdentityRef object @param certArray an array containing at least one SecCertificateRef objects @param persistence enum that says to store per session, permanently or not at all @result the Initialized NSURLCredential
func (*NSURLCredential) InitWithTrust ¶
func (o *NSURLCredential) InitWithTrust(trust unsafe.Pointer) *NSURLCredential
@method initWithTrust: @abstract Initialize a new NSURLCredential which specifies that the specified trust has been accepted. @result the Initialized NSURLCredential
func (*NSURLCredential) InitWithUserPasswordPersistence ¶
func (o *NSURLCredential) InitWithUserPasswordPersistence(user *NSString, password *NSString, persistence NSURLCredentialPersistence) *NSURLCredential
@method initWithUser:password:persistence: @abstract Initialize a NSURLCredential with a user and password @param user the username @param password the password @param persistence enum that says to store per session, permanently or not at all @result The initialized NSURLCredential
func (*NSURLCredential) Password ¶
func (o *NSURLCredential) Password() *NSString
@abstract Get the password @result The password string @discussion This method might actually attempt to retrieve the password from an external store, possible resulting in prompting, so do not call it unless needed.
func (*NSURLCredential) Persistence ¶
func (o *NSURLCredential) Persistence() NSURLCredentialPersistence
func (*NSURLCredential) User ¶
func (o *NSURLCredential) User() *NSString
@abstract Get the username @result The user string
type NSURLCredentialPersistence ¶
type NSURLCredentialPersistence uint64
const ( NSURLCredentialPersistenceNone NSURLCredentialPersistence = 0 NSURLCredentialPersistenceForSession NSURLCredentialPersistence = 1 NSURLCredentialPersistencePermanent NSURLCredentialPersistence = 2 NSURLCredentialPersistenceSynchronizable NSURLCredentialPersistence = 3 )
func (NSURLCredentialPersistence) String ¶
func (e NSURLCredentialPersistence) String() string
type NSURLCredentialStorage ¶
type NSURLCredentialStorage struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlcredentialstorage
func NSURLCredentialStorageFromID ¶
func NSURLCredentialStorageFromID(id objc.ID) *NSURLCredentialStorage
func NSURLCredentialStorageSharedCredentialStorage ¶
func NSURLCredentialStorageSharedCredentialStorage() *NSURLCredentialStorage
@property sharedCredentialStorage @abstract Get the shared singleton authentication storage @result the shared authentication storage
func (*NSURLCredentialStorage) AllCredentials ¶
func (o *NSURLCredentialStorage) AllCredentials() *NSDictionary[*NSURLProtectionSpace, objc.ID]
@abstract Get a dictionary mapping NSURLProtectionSpaces to dictionaries which map usernames to NSURLCredentials @result an NSDictionary where the keys are NSURLProtectionSpaces and the values are dictionaries, in which the keys are usernames and the values are NSURLCredentials
func (*NSURLCredentialStorage) CredentialsForProtectionSpace ¶
func (o *NSURLCredentialStorage) CredentialsForProtectionSpace(space *NSURLProtectionSpace) *NSDictionary[*NSString, *NSURLCredential]
@method credentialsForProtectionSpace: @abstract Get a dictionary mapping usernames to credentials for the specified protection space. @param space An NSURLProtectionSpace indicating the protection space for which to get credentials @result A dictionary where the keys are usernames and the values are the corresponding NSURLCredentials.
func (*NSURLCredentialStorage) DefaultCredentialForProtectionSpace ¶
func (o *NSURLCredentialStorage) DefaultCredentialForProtectionSpace(space *NSURLProtectionSpace) *NSURLCredential
@method defaultCredentialForProtectionSpace: @abstract Get the default credential for the specified protection space. @param space The protection space for which to get the default credential.
func (*NSURLCredentialStorage) GetCredentialsForProtectionSpaceTaskCompletionHandler ¶
func (o *NSURLCredentialStorage) GetCredentialsForProtectionSpaceTaskCompletionHandler(protectionSpace *NSURLProtectionSpace, task *NSURLSessionTask, completionHandler func(*NSDictionary[*NSString, *NSURLCredential]))
func (*NSURLCredentialStorage) GetDefaultCredentialForProtectionSpaceTaskCompletionHandler ¶
func (o *NSURLCredentialStorage) GetDefaultCredentialForProtectionSpaceTaskCompletionHandler(space *NSURLProtectionSpace, task *NSURLSessionTask, completionHandler func(*NSURLCredential))
func (*NSURLCredentialStorage) RemoveCredentialForProtectionSpace ¶
func (o *NSURLCredentialStorage) RemoveCredentialForProtectionSpace(credential *NSURLCredential, space *NSURLProtectionSpace)
@method removeCredential:forProtectionSpace: @abstract Remove the credential from the set for the specified protection space. @param credential The credential to remove. @param space The protection space for which a credential should be removed @discussion The credential is removed from both persistent and temporary storage. A credential that has a persistence policy of NSURLCredentialPersistenceSynchronizable will fail. See removeCredential:forProtectionSpace:options.
func (*NSURLCredentialStorage) RemoveCredentialForProtectionSpaceOptions ¶
func (o *NSURLCredentialStorage) RemoveCredentialForProtectionSpaceOptions(credential *NSURLCredential, space *NSURLProtectionSpace, options *NSDictionary[*NSString, objc.ID])
@method removeCredential:forProtectionSpace:options @abstract Remove the credential from the set for the specified protection space based on options. @param credential The credential to remove. @param space The protection space for which a credential should be removed @param options A dictionary containing options to consider when removing the credential. This should be used when trying to delete a credential that has the NSURLCredentialPersistenceSynchronizable policy. Please note that when NSURLCredential objects that have a NSURLCredentialPersistenceSynchronizable policy are removed, the credential will be removed on all devices that contain this credential. @discussion The credential is removed from both persistent and temporary storage.
func (*NSURLCredentialStorage) RemoveCredentialForProtectionSpaceOptionsTask ¶
func (o *NSURLCredentialStorage) RemoveCredentialForProtectionSpaceOptionsTask(credential *NSURLCredential, protectionSpace *NSURLProtectionSpace, options *NSDictionary[*NSString, objc.ID], task *NSURLSessionTask)
func (*NSURLCredentialStorage) SetCredentialForProtectionSpace ¶
func (o *NSURLCredentialStorage) SetCredentialForProtectionSpace(credential *NSURLCredential, space *NSURLProtectionSpace)
@method setCredential:forProtectionSpace: @abstract Add a new credential to the set for the specified protection space or replace an existing one. @param credential The credential to set. @param space The protection space for which to add it. @discussion Multiple credentials may be set for a given protection space, but each must have a distinct user. If a credential with the same user is already set for the protection space, the new one will replace it.
func (*NSURLCredentialStorage) SetCredentialForProtectionSpaceTask ¶
func (o *NSURLCredentialStorage) SetCredentialForProtectionSpaceTask(credential *NSURLCredential, protectionSpace *NSURLProtectionSpace, task *NSURLSessionTask)
func (*NSURLCredentialStorage) SetDefaultCredentialForProtectionSpace ¶
func (o *NSURLCredentialStorage) SetDefaultCredentialForProtectionSpace(credential *NSURLCredential, space *NSURLProtectionSpace)
@method setDefaultCredential:forProtectionSpace: @abstract Set the default credential for the specified protection space. @param credential The credential to set as default. @param space The protection space for which the credential should be set as default. @discussion If the credential is not yet in the set for the protection space, it will be added to it.
func (*NSURLCredentialStorage) SetDefaultCredentialForProtectionSpaceTask ¶
func (o *NSURLCredentialStorage) SetDefaultCredentialForProtectionSpaceTask(credential *NSURLCredential, protectionSpace *NSURLProtectionSpace, task *NSURLSessionTask)
type NSURLDownload ¶
type NSURLDownload struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurldownload
func NSURLDownloadFromID ¶
func NSURLDownloadFromID(id objc.ID) *NSURLDownload
func (*NSURLDownload) Cancel ¶
func (o *NSURLDownload) Cancel()
@method cancel @abstract Cancels the download and deletes the downloaded file.
func (*NSURLDownload) DeletesFileUponFailure ¶
func (o *NSURLDownload) DeletesFileUponFailure() bool
@abstract Sets whether or not the downloaded file should be deleted upon failure. 1 @description To allow the download to be resumed in case the download ends prematurely, deletesFileUponFailure must be set to NO as soon as possible to prevent the downloaded file from being deleted. deletesFileUponFailure is YES by default.
func (*NSURLDownload) InitWithRequestDelegate ¶
func (o *NSURLDownload) InitWithRequestDelegate(request *NSURLRequest, delegate NSURLDownloadDelegate) *NSURLDownload
@method initWithRequest:delegate: @abstract Initializes a NSURLDownload object and starts the download. @param request The request to download. Must not be nil. @param delegate The delegate of the download. @result An initialized NSURLDownload object. Deprecated: Use NSURLSession downloadTask (see NSURLSession.h)
func (*NSURLDownload) InitWithResumeDataDelegatePath ¶
func (o *NSURLDownload) InitWithResumeDataDelegatePath(resumeData *NSData, delegate NSURLDownloadDelegate, path *NSString) *NSURLDownload
@method initWithResumeData:delegate:path: @abstract Initializes a NSURLDownload object for resuming a previous download. @param resumeData The resume data from the previous download. @param delegate The delegate of the download. @param path The path of the incomplete downloaded file. @result An initialized NSURLDownload object. Deprecated: Use NSURLSession downloadTask (see NSURLSession.h)
func (*NSURLDownload) Request ¶
func (o *NSURLDownload) Request() *NSURLRequest
@abstract Returns the request of the download. @result The request of the download.
func (*NSURLDownload) ResumeData ¶
func (o *NSURLDownload) ResumeData() *NSData
@abstract Returns the resume data of a download that is incomplete. @result The resume data. @description resumeData returns the resume data of a download that is incomplete. This data represents the necessary state information that NSURLDownload needs to resume a download. The resume data can later be used when initializing a download with initWithResumeData:delegate:path:. Non-nil is returned if resuming the download seems possible. Non-nil is returned if the download was cancelled or ended in error after some but not all data has been received. The protocol of the download as well as the server must support resuming for non-nil to be returned. In order to later resume a download, be sure to call setDeletesFileUponFailure: with NO.
func (*NSURLDownload) SetDeletesFileUponFailure ¶
func (o *NSURLDownload) SetDeletesFileUponFailure(deletesFileUponFailure bool)
func (*NSURLDownload) SetDestinationAllowOverwrite ¶
func (o *NSURLDownload) SetDestinationAllowOverwrite(path *NSString, allowOverwrite bool)
@method setDestination:allowOverwrite: @abstract Sets the destination path of the downloaded file. @param path The destination path of the downloaded file. @param allowOverwrite Allows a file of the same path to be overwritten. @discussion This method can be called after the download is created or in response to the decideDestinationWithSuggestedFilename: delegate method. It should only be called once. If NO is passed for allowOverwrite and a file of the same path exists, a number will be appended to the filename to prevent the overwrite. Because of this, use the path passed with didCreateDestination: to determine the actual path of the downloaded file.
type NSURLDownloadDelegate ¶
type NSURLDownloadDelegate interface {
}
NSURLDownloadDelegate wraps the ObjC protocol NSURLDownloadDelegate.
type NSURLErrorNetworkUnavailableReason ¶
type NSURLErrorNetworkUnavailableReason int64
const ( )
func (NSURLErrorNetworkUnavailableReason) String ¶
func (e NSURLErrorNetworkUnavailableReason) String() string
type NSURLHandle ¶
type NSURLHandle struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlhandle Deprecated: since macOS 10.4.
func NSURLHandleCachedHandleForURL
deprecated
func NSURLHandleCachedHandleForURL(anURL *NSURL) *NSURLHandle
Deprecated: since macOS 10.4.
func NSURLHandleFromID ¶
func NSURLHandleFromID(id objc.ID) *NSURLHandle
func (*NSURLHandle) AddClient
deprecated
func (o *NSURLHandle) AddClient(client NSURLHandleClient)
Deprecated: since macOS 10.4.
func (*NSURLHandle) AvailableResourceData
deprecated
func (o *NSURLHandle) AvailableResourceData() *NSData
Deprecated: since macOS 10.4.
func (*NSURLHandle) BackgroundLoadDidFailWithReason
deprecated
func (o *NSURLHandle) BackgroundLoadDidFailWithReason(reason *NSString)
Deprecated: since macOS 10.4.
func (*NSURLHandle) BeginLoadInBackground
deprecated
func (o *NSURLHandle) BeginLoadInBackground()
Deprecated: since macOS 10.4.
func (*NSURLHandle) CancelLoadInBackground
deprecated
func (o *NSURLHandle) CancelLoadInBackground()
Deprecated: since macOS 10.4.
func (*NSURLHandle) DidLoadBytesLoadComplete
deprecated
func (o *NSURLHandle) DidLoadBytesLoadComplete(newBytes *NSData, yorn bool)
Deprecated: since macOS 10.4.
func (*NSURLHandle) EndLoadInBackground
deprecated
func (o *NSURLHandle) EndLoadInBackground()
Deprecated: since macOS 10.4.
func (*NSURLHandle) ExpectedResourceDataSize
deprecated
func (o *NSURLHandle) ExpectedResourceDataSize() int64
Deprecated: since macOS 10.4.
func (*NSURLHandle) FailureReason
deprecated
func (o *NSURLHandle) FailureReason() *NSString
Deprecated: since macOS 10.4.
func (*NSURLHandle) FlushCachedData
deprecated
func (o *NSURLHandle) FlushCachedData()
Deprecated: since macOS 10.4.
func (*NSURLHandle) InitWithURLCached
deprecated
func (o *NSURLHandle) InitWithURLCached(anURL *NSURL, willCache bool) objc.ID
Deprecated: since macOS 10.4.
func (*NSURLHandle) LoadInBackground
deprecated
func (o *NSURLHandle) LoadInBackground()
Deprecated: since macOS 10.4.
func (*NSURLHandle) LoadInForeground
deprecated
func (o *NSURLHandle) LoadInForeground() *NSData
Deprecated: since macOS 10.4.
func (*NSURLHandle) PropertyForKey
deprecated
func (o *NSURLHandle) PropertyForKey(propertyKey *NSString) objc.ID
Deprecated: since macOS 10.4.
func (*NSURLHandle) PropertyForKeyIfAvailable
deprecated
func (o *NSURLHandle) PropertyForKeyIfAvailable(propertyKey *NSString) objc.ID
Deprecated: since macOS 10.4.
func (*NSURLHandle) RemoveClient
deprecated
func (o *NSURLHandle) RemoveClient(client NSURLHandleClient)
Deprecated: since macOS 10.4.
func (*NSURLHandle) ResourceData
deprecated
func (o *NSURLHandle) ResourceData() *NSData
Deprecated: since macOS 10.4.
func (*NSURLHandle) Status
deprecated
func (o *NSURLHandle) Status() NSURLHandleStatus
Deprecated: since macOS 10.4.
func (*NSURLHandle) WriteData
deprecated
func (o *NSURLHandle) WriteData(data *NSData) bool
Deprecated: since macOS 10.4.
func (*NSURLHandle) WritePropertyForKey
deprecated
func (o *NSURLHandle) WritePropertyForKey(propertyValue objc.ID, propertyKey *NSString) bool
Deprecated: since macOS 10.4.
type NSURLHandleClient ¶
type NSURLHandleClient interface {
URLHandleResourceDataDidBecomeAvailable(sender *NSURLHandle, newBytes *NSData)
URLHandleResourceDidBeginLoading(sender *NSURLHandle)
URLHandleResourceDidFinishLoading(sender *NSURLHandle)
URLHandleResourceDidCancelLoading(sender *NSURLHandle)
URLHandleResourceDidFailLoadingWithReason(sender *NSURLHandle, reason *NSString)
}
NSURLHandleClient wraps the ObjC protocol NSURLHandleClient.
type NSURLHandleStatus ¶
type NSURLHandleStatus uint64
const ( NSURLHandleNotLoaded NSURLHandleStatus = 0 NSURLHandleLoadSucceeded NSURLHandleStatus = 1 NSURLHandleLoadInProgress NSURLHandleStatus = 2 NSURLHandleLoadFailed NSURLHandleStatus = 3 )
func (NSURLHandleStatus) String ¶
func (e NSURLHandleStatus) String() string
type NSURLProtectionSpace ¶
type NSURLProtectionSpace struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlprotectionspace
func NSURLProtectionSpaceFromID ¶
func NSURLProtectionSpaceFromID(id objc.ID) *NSURLProtectionSpace
func (*NSURLProtectionSpace) AuthenticationMethod ¶
func (o *NSURLProtectionSpace) AuthenticationMethod() *NSString
@abstract Get the authentication method to be used for this protection space @result The authentication method
func (*NSURLProtectionSpace) DistinguishedNames ¶
func (o *NSURLProtectionSpace) DistinguishedNames() *NSArray[*NSData]
func (*NSURLProtectionSpace) Host ¶
func (o *NSURLProtectionSpace) Host() *NSString
@abstract Get the proxy host if this is a proxy authentication, or the host from the URL. @result The host for this protection space.
func (*NSURLProtectionSpace) InitWithHostPortProtocolRealmAuthenticationMethod ¶
func (o *NSURLProtectionSpace) InitWithHostPortProtocolRealmAuthenticationMethod(host *NSString, port int, protocol *NSString, realm *NSString, authenticationMethod *NSString) *NSURLProtectionSpace
@method initWithHost:port:protocol:realm:authenticationMethod: @abstract Initialize a protection space representing an origin server, or a realm on one @param host The hostname of the server @param port The port for the server @param protocol The protocol for this server - e.g. "http", "ftp", "https" @param realm A string indicating a protocol-specific subdivision of a single host. For http and https, this maps to the realm string in http authentication challenges. For many other protocols it is unused. @param authenticationMethod The authentication method to use to access this protection space - valid values include nil (default method), @"digest" and @"form". @result The initialized object.
func (*NSURLProtectionSpace) InitWithProxyHostPortTypeRealmAuthenticationMethod ¶
func (o *NSURLProtectionSpace) InitWithProxyHostPortTypeRealmAuthenticationMethod(host *NSString, port int, type_ *NSString, realm *NSString, authenticationMethod *NSString) *NSURLProtectionSpace
@method initWithProxyHost:port:type:realm:authenticationMethod: @abstract Initialize a protection space representing a proxy server, or a realm on one @param host The hostname of the proxy server @param port The port for the proxy server @param type The type of proxy - e.g. "http", "ftp", "SOCKS" @param realm A string indicating a protocol-specific subdivision of a single host. For http and https, this maps to the realm string in http authentication challenges. For many other protocols it is unused. @param authenticationMethod The authentication method to use to access this protection space - valid values include nil (default method) and @"digest" @result The initialized object.
func (*NSURLProtectionSpace) IsProxy ¶
func (o *NSURLProtectionSpace) IsProxy() bool
@abstract Determine if this authenticating protection space is a proxy server @result YES if a proxy, NO otherwise
func (*NSURLProtectionSpace) Port ¶
func (o *NSURLProtectionSpace) Port() int
@abstract Get the proxy port if this is a proxy authentication, or the port from the URL. @result The port for this protection space, or 0 if not set.
func (*NSURLProtectionSpace) Protocol ¶
func (o *NSURLProtectionSpace) Protocol() *NSString
@abstract Get the protocol of this protection space, if not a proxy @result The type string, or nil if a proxy.
func (*NSURLProtectionSpace) ProxyType ¶
func (o *NSURLProtectionSpace) ProxyType() *NSString
@abstract Get the type of this protection space, if a proxy @result The type string, or nil if not a proxy.
func (*NSURLProtectionSpace) Realm ¶
func (o *NSURLProtectionSpace) Realm() *NSString
@abstract Get the authentication realm for which the protection space that needs authentication @discussion This is generally only available for http authentication, and may be nil otherwise. @result The realm string
func (*NSURLProtectionSpace) ReceivesCredentialSecurely ¶
func (o *NSURLProtectionSpace) ReceivesCredentialSecurely() bool
@abstract Determine if the password for this protection space can be sent securely @result YES if a secure authentication method or protocol will be used, NO otherwise
func (*NSURLProtectionSpace) ServerTrust ¶
func (o *NSURLProtectionSpace) ServerTrust() unsafe.Pointer
type NSURLProtocol ¶
type NSURLProtocol struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlprotocol
func NSURLProtocolFromID ¶
func NSURLProtocolFromID(id objc.ID) *NSURLProtocol
func (*NSURLProtocol) CachedResponse ¶
func (o *NSURLProtocol) CachedResponse() *NSCachedURLResponse
@abstract Returns the NSCachedURLResponse of the receiver. @result The NSCachedURLResponse of the receiver.
func (*NSURLProtocol) Client ¶
func (o *NSURLProtocol) Client() NSURLProtocolClient
@abstract Returns the NSURLProtocolClient of the receiver. @result The NSURLProtocolClient of the receiver.
func (*NSURLProtocol) InitWithRequestCachedResponseClient ¶
func (o *NSURLProtocol) InitWithRequestCachedResponseClient(request *NSURLRequest, cachedResponse *NSCachedURLResponse, client NSURLProtocolClient) *NSURLProtocol
@method initWithRequest:cachedResponse:client: @abstract Initializes an NSURLProtocol given request, cached response, and client. @param request The request to load. @param cachedResponse A response that has been retrieved from the cache for the given request. The protocol implementation should apply protocol-specific validity checks if such tests are necessary. @param client The NSURLProtocolClient object that serves as the interface the protocol implementation can use to report results back to the URL loading system.
func (*NSURLProtocol) InitWithTaskCachedResponseClient ¶
func (o *NSURLProtocol) InitWithTaskCachedResponseClient(task *NSURLSessionTask, cachedResponse *NSCachedURLResponse, client NSURLProtocolClient) *NSURLProtocol
func (*NSURLProtocol) Request ¶
func (o *NSURLProtocol) Request() *NSURLRequest
@abstract Returns the NSURLRequest of the receiver. @result The NSURLRequest of the receiver.
func (*NSURLProtocol) StartLoading ¶
func (o *NSURLProtocol) StartLoading()
@method startLoading @abstract Starts protocol-specific loading of a request. @discussion When this method is called, the protocol implementation should start loading a request.
func (*NSURLProtocol) StopLoading ¶
func (o *NSURLProtocol) StopLoading()
@method stopLoading @abstract Stops protocol-specific loading of a request. @discussion When this method is called, the protocol implementation should end the work of loading a request. This could be in response to a cancel operation, so protocol implementations must be able to handle this call while a load is in progress.
func (*NSURLProtocol) Task ¶
func (o *NSURLProtocol) Task() *NSURLSessionTask
type NSURLProtocolClient ¶
type NSURLProtocolClient interface {
URLProtocolWasRedirectedToRequestRedirectResponse(protocol *NSURLProtocol, request *NSURLRequest, redirectResponse *NSURLResponse)
URLProtocolCachedResponseIsValid(protocol *NSURLProtocol, cachedResponse *NSCachedURLResponse)
URLProtocolDidReceiveResponseCacheStoragePolicy(protocol *NSURLProtocol, response *NSURLResponse, policy NSURLCacheStoragePolicy)
URLProtocolDidLoadData(protocol *NSURLProtocol, data *NSData)
URLProtocolDidFinishLoading(protocol *NSURLProtocol)
URLProtocolDidFailWithError(protocol *NSURLProtocol, error_ unsafe.Pointer)
URLProtocolDidReceiveAuthenticationChallenge(protocol *NSURLProtocol, challenge *NSURLAuthenticationChallenge)
URLProtocolDidCancelAuthenticationChallenge(protocol *NSURLProtocol, challenge *NSURLAuthenticationChallenge)
}
NSURLProtocolClient wraps the ObjC protocol NSURLProtocolClient.
type NSURLQueryItem ¶
type NSURLQueryItem struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlqueryitem
func NSURLQueryItemFromID ¶
func NSURLQueryItemFromID(id objc.ID) *NSURLQueryItem
func NSURLQueryItemQueryItemWithNameValue ¶
func NSURLQueryItemQueryItemWithNameValue(name *NSString, value *NSString) *NSURLQueryItem
func (*NSURLQueryItem) InitWithNameValue ¶
func (o *NSURLQueryItem) InitWithNameValue(name *NSString, value *NSString) *NSURLQueryItem
func (*NSURLQueryItem) Name ¶
func (o *NSURLQueryItem) Name() *NSString
func (*NSURLQueryItem) Value ¶
func (o *NSURLQueryItem) Value() *NSString
type NSURLRelationship ¶
type NSURLRelationship int64
const ( NSURLRelationshipContains NSURLRelationship = 0 NSURLRelationshipSame NSURLRelationship = 1 NSURLRelationshipOther NSURLRelationship = 2 )
func (NSURLRelationship) String ¶
func (e NSURLRelationship) String() string
type NSURLRequest ¶
type NSURLRequest struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlrequest
func NSURLProtocolCanonicalRequestForRequest ¶
func NSURLProtocolCanonicalRequestForRequest(request *NSURLRequest) *NSURLRequest
@method canonicalRequestForRequest: @abstract This method returns a canonical version of the given request. @discussion It is up to each concrete protocol implementation to define what "canonical" means. However, a protocol should guarantee that the same input request always yields the same canonical form. Special consideration should be given when implementing this method since the canonical form of a request is used to look up objects in the URL cache, a process which performs equality checks between NSURLRequest objects. <p> This is an abstract method; subclasses must provide an implementation. @param request A request to make canonical. @result The canonical form of the given request.
func NSURLRequestFromID ¶
func NSURLRequestFromID(id objc.ID) *NSURLRequest
func NSURLRequestRequestWithURL ¶
func NSURLRequestRequestWithURL(uRL *NSURL) *NSURLRequest
@method requestWithURL: @abstract Allocates and initializes an NSURLRequest with the given URL. @discussion Default values are used for cache policy (NSURLRequestUseProtocolCachePolicy) and timeout interval (60 seconds). @param URL The URL for the request. @result A newly-created and autoreleased NSURLRequest instance.
func NSURLRequestRequestWithURLCachePolicyTimeoutInterval ¶
func NSURLRequestRequestWithURLCachePolicyTimeoutInterval(uRL *NSURL, cachePolicy NSURLRequestCachePolicy, timeoutInterval float64) *NSURLRequest
@method requestWithURL:cachePolicy:timeoutInterval: @abstract Allocates and initializes a NSURLRequest with the given URL and cache policy. @param URL The URL for the request. @param cachePolicy The cache policy for the request. @param timeoutInterval The timeout interval for the request. See the commentary for the <tt>timeoutInterval</tt> for more information on timeout intervals. @result A newly-created and autoreleased NSURLRequest instance.
func (*NSURLRequest) AllHTTPHeaderFields ¶
func (o *NSURLRequest) AllHTTPHeaderFields() *NSDictionary[*NSString, *NSString]
@abstract Returns a dictionary containing all the HTTP header fields of the receiver. @result a dictionary containing all the HTTP header fields of the receiver.
func (*NSURLRequest) AllowsCellularAccess ¶
func (o *NSURLRequest) AllowsCellularAccess() bool
@abstract returns whether a connection created with this request is allowed to use the built in cellular radios (if present). @result YES if the receiver is allowed to use the built in cellular radios to satisfy the request, NO otherwise.
func (*NSURLRequest) AllowsConstrainedNetworkAccess ¶
func (o *NSURLRequest) AllowsConstrainedNetworkAccess() bool
@abstract returns whether a connection created with this request is allowed to use network interfaces which have been marked as constrained. @result YES if the receiver is allowed to use an interface marked as constrained to satisfy the request, NO otherwise.
func (*NSURLRequest) AllowsExpensiveNetworkAccess ¶
func (o *NSURLRequest) AllowsExpensiveNetworkAccess() bool
@abstract returns whether a connection created with this request is allowed to use network interfaces which have been marked as expensive. @result YES if the receiver is allowed to use an interface marked as expensive to satisfy the request, NO otherwise.
func (*NSURLRequest) AllowsPersistentDNS ¶
func (o *NSURLRequest) AllowsPersistentDNS() bool
@abstract Allows storing and usage of DNS answers, potentially beyond TTL expiry, in a persistent per-process cache. This should only be set for hostnames whose resolutions are not expected to change across networks. @discussion YES, if the DNS lookup for this request is allowed to use a persistent per-process cache, NO otherwise. Defaults to NO.
func (*NSURLRequest) AllowsUltraConstrainedNetworkAccess ¶
func (o *NSURLRequest) AllowsUltraConstrainedNetworkAccess() bool
@abstract returns whether a connection created with this request is allowed to use network interfaces which have been marked as ultra constrained. @result YES if the receiver is allowed to use an interface marked as ultra constrained to satisfy the request, NO otherwise.
func (*NSURLRequest) AssumesHTTP3Capable ¶
func (o *NSURLRequest) AssumesHTTP3Capable() bool
@abstract returns whether we assume that server supports HTTP/3. Enables QUIC racing without HTTP/3 service discovery. @result YES if server endpoint is known to support HTTP/3. Defaults to NO. The default may be YES in a future OS update.
func (*NSURLRequest) Attribution ¶
func (o *NSURLRequest) Attribution() NSURLRequestAttribution
@abstract Returns the NSURLRequestAttribution associated with this request. @discussion This will return NSURLRequestAttributionDeveloper for requests that have not explicitly set an attribution. @result The NSURLRequestAttribution associated with this request.
func (*NSURLRequest) CachePolicy ¶
func (o *NSURLRequest) CachePolicy() NSURLRequestCachePolicy
@abstract Returns the cache policy of the receiver. @result The cache policy of the receiver.
func (*NSURLRequest) CookiePartitionIdentifier ¶
func (o *NSURLRequest) CookiePartitionIdentifier() *NSString
func (*NSURLRequest) HTTPBody ¶
func (o *NSURLRequest) HTTPBody() *NSData
@abstract Returns the request body data of the receiver. @discussion This data is sent as the message body of the request, as in done in an HTTP POST request. @result The request body data of the receiver.
func (*NSURLRequest) HTTPBodyStream ¶
func (o *NSURLRequest) HTTPBodyStream() *NSInputStream
@abstract Returns the request body stream of the receiver if any has been set @discussion The stream is returned for examination only; it is not safe for the caller to manipulate the stream in any way. Also note that the HTTPBodyStream and HTTPBody are mutually exclusive - only one can be set on a given request. Also note that the body stream is preserved across copies, but is LOST when the request is coded via the NSCoding protocol @result The request body stream of the receiver.
func (*NSURLRequest) HTTPMethod ¶
func (o *NSURLRequest) HTTPMethod() *NSString
@abstract Returns the HTTP request method of the receiver. @result the HTTP request method of the receiver.
func (*NSURLRequest) HTTPShouldHandleCookies ¶
func (o *NSURLRequest) HTTPShouldHandleCookies() bool
@abstract Determine whether default cookie handling will happen for this request. @discussion NOTE: This value is not used prior to 10.3 @result YES if cookies will be sent with and set for this request; otherwise NO.
func (*NSURLRequest) HTTPShouldUsePipelining ¶
func (o *NSURLRequest) HTTPShouldUsePipelining() bool
@abstract Reports whether the receiver is not expected to wait for the previous response before transmitting. @result YES if the receiver should transmit before the previous response is received. NO if the receiver should wait for the previous response before transmitting. Deprecated: Only supported in the classic loader, please adopt HTTP/2 and HTTP/3 instead
func (*NSURLRequest) InitWithURL ¶
func (o *NSURLRequest) InitWithURL(uRL *NSURL) *NSURLRequest
@method initWithURL: @abstract Initializes an NSURLRequest with the given URL. @discussion Default values are used for cache policy (NSURLRequestUseProtocolCachePolicy) and timeout interval (60 seconds). @param URL The URL for the request. @result An initialized NSURLRequest.
func (*NSURLRequest) InitWithURLCachePolicyTimeoutInterval ¶
func (o *NSURLRequest) InitWithURLCachePolicyTimeoutInterval(uRL *NSURL, cachePolicy NSURLRequestCachePolicy, timeoutInterval float64) *NSURLRequest
@method initWithURL: @abstract Initializes an NSURLRequest with the given URL and cache policy. @discussion This is the designated initializer for the NSURLRequest class. @param URL The URL for the request. @param cachePolicy The cache policy for the request. @param timeoutInterval The timeout interval for the request. See the commentary for the <tt>timeoutInterval</tt> for more information on timeout intervals. @result An initialized NSURLRequest.
func (*NSURLRequest) MainDocumentURL ¶
func (o *NSURLRequest) MainDocumentURL() *NSURL
@abstract The main document URL associated with this load. @discussion This URL is used for the cookie "same domain as main document" policy, and attributing the request as a sub-resource of a user-specified URL. There may also be other future uses. See setMainDocumentURL: @result The main document URL.
func (*NSURLRequest) NetworkServiceType ¶
func (o *NSURLRequest) NetworkServiceType() NSURLRequestNetworkServiceType
@abstract Returns the NSURLRequestNetworkServiceType associated with this request. @discussion This will return NSURLNetworkServiceTypeDefault for requests that have not explicitly set a networkServiceType (using the setNetworkServiceType method). @result The NSURLRequestNetworkServiceType associated with this request.
func (*NSURLRequest) RequiresDNSSECValidation ¶
func (o *NSURLRequest) RequiresDNSSECValidation() bool
@abstract sets whether a request is required to do DNSSEC validation during DNS lookup. @discussion YES, if the DNS lookup for this request should require DNSSEC validation, No otherwise. Defaults to NO.
func (*NSURLRequest) TimeoutInterval ¶
func (o *NSURLRequest) TimeoutInterval() float64
@abstract Returns the timeout interval of the receiver. @discussion The timeout interval specifies the limit on the idle interval allotted to a request in the process of loading. The "idle interval" is defined as the period of time that has passed since the last instance of load activity occurred for a request that is in the process of loading. Hence, when an instance of load activity occurs (e.g. bytes are received from the network for a request), the idle interval for a request is reset to 0. If the idle interval ever becomes greater than or equal to the timeout interval, the request is considered to have timed out. This timeout interval is measured in seconds. @result The timeout interval of the receiver.
func (*NSURLRequest) URL ¶
func (o *NSURLRequest) URL() *NSURL
@abstract Returns the URL of the receiver. @result The URL of the receiver.
func (*NSURLRequest) ValueForHTTPHeaderField ¶
func (o *NSURLRequest) ValueForHTTPHeaderField(field *NSString) *NSString
@method valueForHTTPHeaderField: @abstract Returns the value which corresponds to the given header field. Note that, in keeping with the HTTP RFC, HTTP header field names are case-insensitive. @param field the header field name to use for the lookup (case-insensitive). @result the value associated with the given header field, or nil if there is no value associated with the given header field.
type NSURLRequestAttribution ¶
type NSURLRequestAttribution uint64
const ( NSURLRequestAttributionDeveloper NSURLRequestAttribution = 0 NSURLRequestAttributionUser NSURLRequestAttribution = 1 )
func (NSURLRequestAttribution) String ¶
func (e NSURLRequestAttribution) String() string
type NSURLRequestCachePolicy ¶
type NSURLRequestCachePolicy uint64
const ( NSURLRequestUseProtocolCachePolicy NSURLRequestCachePolicy = 0 NSURLRequestReloadIgnoringLocalCacheData NSURLRequestCachePolicy = 1 NSURLRequestReloadIgnoringLocalAndRemoteCacheData NSURLRequestCachePolicy = 4 NSURLRequestReloadIgnoringCacheData NSURLRequestCachePolicy = 1 NSURLRequestReturnCacheDataElseLoad NSURLRequestCachePolicy = 2 NSURLRequestReturnCacheDataDontLoad NSURLRequestCachePolicy = 3 NSURLRequestReloadRevalidatingCacheData NSURLRequestCachePolicy = 5 )
func (NSURLRequestCachePolicy) String ¶
func (e NSURLRequestCachePolicy) String() string
type NSURLRequestNetworkServiceType ¶
type NSURLRequestNetworkServiceType uint64
const ( NSURLNetworkServiceTypeDefault NSURLRequestNetworkServiceType = 0 NSURLNetworkServiceTypeVoIP NSURLRequestNetworkServiceType = 1 NSURLNetworkServiceTypeVideo NSURLRequestNetworkServiceType = 2 NSURLNetworkServiceTypeBackground NSURLRequestNetworkServiceType = 3 NSURLNetworkServiceTypeVoice NSURLRequestNetworkServiceType = 4 NSURLNetworkServiceTypeResponsiveData NSURLRequestNetworkServiceType = 6 NSURLNetworkServiceTypeAVStreaming NSURLRequestNetworkServiceType = 8 NSURLNetworkServiceTypeResponsiveAV NSURLRequestNetworkServiceType = 9 NSURLNetworkServiceTypeCallSignaling NSURLRequestNetworkServiceType = 11 )
func (NSURLRequestNetworkServiceType) String ¶
func (e NSURLRequestNetworkServiceType) String() string
type NSURLResponse ¶
type NSURLResponse struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlresponse
func NSURLResponseFromID ¶
func NSURLResponseFromID(id objc.ID) *NSURLResponse
func (*NSURLResponse) ExpectedContentLength ¶
func (o *NSURLResponse) ExpectedContentLength() int64
@abstract Returns the expected content length of the receiver. @discussion Some protocol implementations report a content length as part of delivering load metadata, but not all protocols guarantee the amount of data that will be delivered in actuality. Hence, this method returns an expected amount. Clients should use this value as an advisory, and should be prepared to deal with either more or less data. @result The expected content length of the receiver, or -1 if there is no expectation that can be arrived at regarding expected content length.
func (*NSURLResponse) InitWithURLMIMETypeExpectedContentLengthTextEncodingName ¶
func (o *NSURLResponse) InitWithURLMIMETypeExpectedContentLengthTextEncodingName(uRL *NSURL, mIMEType *NSString, length int, name *NSString) *NSURLResponse
@method initWithURL:MIMEType:expectedContentLength:textEncodingName: @abstract Initialize an NSURLResponse with the provided values. @param URL the URL @param MIMEType the MIME content type of the response @param length the expected content length of the associated data @param name the name of the text encoding for the associated data, if applicable, else nil @result The initialized NSURLResponse. @discussion This is the designated initializer for NSURLResponse.
func (*NSURLResponse) MIMEType ¶
func (o *NSURLResponse) MIMEType() *NSString
@abstract Returns the MIME type of the receiver. @discussion The MIME type is based on the information provided from an origin source. However, that value may be changed or corrected by a protocol implementation if it can be determined that the origin server or source reported the information incorrectly or imprecisely. An attempt to guess the MIME type may be made if the origin source did not report any such information. @result The MIME type of the receiver.
func (*NSURLResponse) SuggestedFilename ¶
func (o *NSURLResponse) SuggestedFilename() *NSString
@abstract Returns a suggested filename if the resource were saved to disk. @discussion The method first checks if the server has specified a filename using the content disposition header. If no valid filename is specified using that mechanism, this method checks the last path component of the URL. If no valid filename can be obtained using the last path component, this method uses the URL's host as the filename. If the URL's host can't be converted to a valid filename, the filename "unknown" is used. In most cases, this method appends the proper file extension based on the MIME type. This method always returns a valid filename. @result A suggested filename to use if saving the resource to disk.
func (*NSURLResponse) TextEncodingName ¶
func (o *NSURLResponse) TextEncodingName() *NSString
@abstract Returns the name of the text encoding of the receiver. @discussion This name will be the actual string reported by the origin source during the course of performing a protocol-specific URL load. Clients can inspect this string and convert it to an NSStringEncoding or CFStringEncoding using the methods and functions made available in the appropriate framework. @result The name of the text encoding of the receiver, or nil if no text encoding was specified.
func (*NSURLResponse) URL ¶
func (o *NSURLResponse) URL() *NSURL
@abstract Returns the URL of the receiver. @result The URL of the receiver.
type NSURLSession ¶
type NSURLSession struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlsession
func NSURLSessionFromID ¶
func NSURLSessionFromID(id objc.ID) *NSURLSession
func NSURLSessionNew
deprecated
func NSURLSessionNew() *NSURLSession
Deprecated: Please use +[NSURLSession sessionWithConfiguration:] or other class methods to create instances
func NSURLSessionSessionWithConfiguration ¶
func NSURLSessionSessionWithConfiguration(configuration *NSURLSessionConfiguration) *NSURLSession
func NSURLSessionSessionWithConfigurationDelegateDelegateQueue ¶
func NSURLSessionSessionWithConfigurationDelegateDelegateQueue(configuration *NSURLSessionConfiguration, delegate NSURLSessionDelegate, queue *NSOperationQueue) *NSURLSession
func NSURLSessionSharedSession ¶
func NSURLSessionSharedSession() *NSURLSession
func (*NSURLSession) Configuration ¶
func (o *NSURLSession) Configuration() *NSURLSessionConfiguration
func (*NSURLSession) DataTaskWithRequest ¶
func (o *NSURLSession) DataTaskWithRequest(request *NSURLRequest) *NSURLSessionDataTask
func (*NSURLSession) DataTaskWithRequestCompletionHandler ¶
func (o *NSURLSession) DataTaskWithRequestCompletionHandler(request *NSURLRequest, completionHandler func(*NSData, *NSURLResponse, unsafe.Pointer)) *NSURLSessionDataTask
func (*NSURLSession) DataTaskWithURL ¶
func (o *NSURLSession) DataTaskWithURL(url *NSURL) *NSURLSessionDataTask
func (*NSURLSession) DataTaskWithURLCompletionHandler ¶
func (o *NSURLSession) DataTaskWithURLCompletionHandler(url *NSURL, completionHandler func(*NSData, *NSURLResponse, unsafe.Pointer)) *NSURLSessionDataTask
func (*NSURLSession) Delegate ¶
func (o *NSURLSession) Delegate() NSURLSessionDelegate
func (*NSURLSession) DelegateQueue ¶
func (o *NSURLSession) DelegateQueue() *NSOperationQueue
func (*NSURLSession) DownloadTaskWithRequest ¶
func (o *NSURLSession) DownloadTaskWithRequest(request *NSURLRequest) *NSURLSessionDownloadTask
func (*NSURLSession) DownloadTaskWithRequestCompletionHandler ¶
func (o *NSURLSession) DownloadTaskWithRequestCompletionHandler(request *NSURLRequest, completionHandler func(*NSURL, *NSURLResponse, unsafe.Pointer)) *NSURLSessionDownloadTask
func (*NSURLSession) DownloadTaskWithResumeData ¶
func (o *NSURLSession) DownloadTaskWithResumeData(resumeData *NSData) *NSURLSessionDownloadTask
func (*NSURLSession) DownloadTaskWithResumeDataCompletionHandler ¶
func (o *NSURLSession) DownloadTaskWithResumeDataCompletionHandler(resumeData *NSData, completionHandler func(*NSURL, *NSURLResponse, unsafe.Pointer)) *NSURLSessionDownloadTask
func (*NSURLSession) DownloadTaskWithURL ¶
func (o *NSURLSession) DownloadTaskWithURL(url *NSURL) *NSURLSessionDownloadTask
func (*NSURLSession) DownloadTaskWithURLCompletionHandler ¶
func (o *NSURLSession) DownloadTaskWithURLCompletionHandler(url *NSURL, completionHandler func(*NSURL, *NSURLResponse, unsafe.Pointer)) *NSURLSessionDownloadTask
func (*NSURLSession) FinishTasksAndInvalidate ¶
func (o *NSURLSession) FinishTasksAndInvalidate()
func (*NSURLSession) FlushWithCompletionHandler ¶
func (o *NSURLSession) FlushWithCompletionHandler(completionHandler func())
func (*NSURLSession) GetAllTasksWithCompletionHandler ¶
func (o *NSURLSession) GetAllTasksWithCompletionHandler(completionHandler func(*NSArray[*NSURLSessionTask]))
func (*NSURLSession) GetTasksWithCompletionHandler ¶
func (o *NSURLSession) GetTasksWithCompletionHandler(completionHandler func(*NSArray[*NSURLSessionDataTask], *NSArray[*NSURLSessionUploadTask], *NSArray[*NSURLSessionDownloadTask]))
func (*NSURLSession) Init
deprecated
func (o *NSURLSession) Init() *NSURLSession
Deprecated: Please use +[NSURLSession sessionWithConfiguration:] or other class methods to create instances
func (*NSURLSession) InvalidateAndCancel ¶
func (o *NSURLSession) InvalidateAndCancel()
func (*NSURLSession) ResetWithCompletionHandler ¶
func (o *NSURLSession) ResetWithCompletionHandler(completionHandler func())
func (*NSURLSession) SessionDescription ¶
func (o *NSURLSession) SessionDescription() *NSString
func (*NSURLSession) SetSessionDescription ¶
func (o *NSURLSession) SetSessionDescription(sessionDescription *NSString)
func (*NSURLSession) StreamTaskWithHostNamePort ¶
func (o *NSURLSession) StreamTaskWithHostNamePort(hostname *NSString, port int) *NSURLSessionStreamTask
func (*NSURLSession) StreamTaskWithNetService
deprecated
func (o *NSURLSession) StreamTaskWithNetService(service *NSNetService) *NSURLSessionStreamTask
Deprecated: Use nw_connection_t in Network framework instead
func (*NSURLSession) UploadTaskWithRequestFromData ¶
func (o *NSURLSession) UploadTaskWithRequestFromData(request *NSURLRequest, bodyData *NSData) *NSURLSessionUploadTask
func (*NSURLSession) UploadTaskWithRequestFromDataCompletionHandler ¶
func (o *NSURLSession) UploadTaskWithRequestFromDataCompletionHandler(request *NSURLRequest, bodyData *NSData, completionHandler func(*NSData, *NSURLResponse, unsafe.Pointer)) *NSURLSessionUploadTask
func (*NSURLSession) UploadTaskWithRequestFromFile ¶
func (o *NSURLSession) UploadTaskWithRequestFromFile(request *NSURLRequest, fileURL *NSURL) *NSURLSessionUploadTask
func (*NSURLSession) UploadTaskWithRequestFromFileCompletionHandler ¶
func (o *NSURLSession) UploadTaskWithRequestFromFileCompletionHandler(request *NSURLRequest, fileURL *NSURL, completionHandler func(*NSData, *NSURLResponse, unsafe.Pointer)) *NSURLSessionUploadTask
func (*NSURLSession) UploadTaskWithResumeData ¶
func (o *NSURLSession) UploadTaskWithResumeData(resumeData *NSData) *NSURLSessionUploadTask
Creates an upload task from a resume data blob. Requires the server to support the latest resumable uploads Internet-Draft from the HTTP Working Group, found at https://datatracker.ietf.org/doc/draft-ietf-httpbis-resumable-upload/ If resuming from an upload file, the file must still exist and be unmodified. If the upload cannot be successfully resumed, URLSession:task:didCompleteWithError: will be called. - Parameter resumeData: Resume data blob from an incomplete upload, such as data returned by the cancelByProducingResumeData: method. - Returns: A new session upload task, or nil if the resumeData is invalid.
func (*NSURLSession) UploadTaskWithResumeDataCompletionHandler ¶
func (o *NSURLSession) UploadTaskWithResumeDataCompletionHandler(resumeData *NSData, completionHandler func(*NSData, *NSURLResponse, unsafe.Pointer)) *NSURLSessionUploadTask
Creates a URLSessionUploadTask from a resume data blob. If resuming from an upload file, the file must still exist and be unmodified. - Parameter resumeData: Resume data blob from an incomplete upload, such as data returned by the cancelByProducingResumeData: method. - Parameter completionHandler: The completion handler to call when the load request is complete. - Returns: A new session upload task, or nil if the resumeData is invalid.
func (*NSURLSession) UploadTaskWithStreamedRequest ¶
func (o *NSURLSession) UploadTaskWithStreamedRequest(request *NSURLRequest) *NSURLSessionUploadTask
func (*NSURLSession) WebSocketTaskWithRequest ¶
func (o *NSURLSession) WebSocketTaskWithRequest(request *NSURLRequest) *NSURLSessionWebSocketTask
func (*NSURLSession) WebSocketTaskWithURL ¶
func (o *NSURLSession) WebSocketTaskWithURL(url *NSURL) *NSURLSessionWebSocketTask
func (*NSURLSession) WebSocketTaskWithURLProtocols ¶
func (o *NSURLSession) WebSocketTaskWithURLProtocols(url *NSURL, protocols *NSArray[*NSString]) *NSURLSessionWebSocketTask
type NSURLSessionAuthChallengeDisposition ¶
type NSURLSessionAuthChallengeDisposition int64
const ( NSURLSessionAuthChallengeUseCredential NSURLSessionAuthChallengeDisposition = 0 NSURLSessionAuthChallengePerformDefaultHandling NSURLSessionAuthChallengeDisposition = 1 NSURLSessionAuthChallengeCancelAuthenticationChallenge NSURLSessionAuthChallengeDisposition = 2 NSURLSessionAuthChallengeRejectProtectionSpace NSURLSessionAuthChallengeDisposition = 3 )
func (NSURLSessionAuthChallengeDisposition) String ¶
func (e NSURLSessionAuthChallengeDisposition) String() string
type NSURLSessionConfiguration ¶
type NSURLSessionConfiguration struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlsessionconfiguration
func NSURLSessionConfigurationBackgroundSessionConfiguration
deprecated
func NSURLSessionConfigurationBackgroundSessionConfiguration(identifier *NSString) *NSURLSessionConfiguration
Deprecated: since macOS 10.10.
func NSURLSessionConfigurationBackgroundSessionConfigurationWithIdentifier ¶
func NSURLSessionConfigurationBackgroundSessionConfigurationWithIdentifier(identifier *NSString) *NSURLSessionConfiguration
func NSURLSessionConfigurationDefaultSessionConfiguration ¶
func NSURLSessionConfigurationDefaultSessionConfiguration() *NSURLSessionConfiguration
func NSURLSessionConfigurationEphemeralSessionConfiguration ¶
func NSURLSessionConfigurationEphemeralSessionConfiguration() *NSURLSessionConfiguration
func NSURLSessionConfigurationFromID ¶
func NSURLSessionConfigurationFromID(id objc.ID) *NSURLSessionConfiguration
func NSURLSessionConfigurationNew
deprecated
func NSURLSessionConfigurationNew() *NSURLSessionConfiguration
Deprecated: Please use NSURLSessionConfiguration.defaultSessionConfiguration or other class methods to create instances
func (*NSURLSessionConfiguration) AllowsCellularAccess ¶
func (o *NSURLSessionConfiguration) AllowsCellularAccess() bool
func (*NSURLSessionConfiguration) AllowsConstrainedNetworkAccess ¶
func (o *NSURLSessionConfiguration) AllowsConstrainedNetworkAccess() bool
func (*NSURLSessionConfiguration) AllowsExpensiveNetworkAccess ¶
func (o *NSURLSessionConfiguration) AllowsExpensiveNetworkAccess() bool
func (*NSURLSessionConfiguration) AllowsUltraConstrainedNetworkAccess ¶
func (o *NSURLSessionConfiguration) AllowsUltraConstrainedNetworkAccess() bool
func (*NSURLSessionConfiguration) ConnectionProxyDictionary ¶
func (o *NSURLSessionConfiguration) ConnectionProxyDictionary() *NSDictionary[objc.ID, objc.ID]
func (*NSURLSessionConfiguration) EnablesEarlyData ¶
func (o *NSURLSessionConfiguration) EnablesEarlyData() bool
func (*NSURLSessionConfiguration) HTTPAdditionalHeaders ¶
func (o *NSURLSessionConfiguration) HTTPAdditionalHeaders() *NSDictionary[objc.ID, objc.ID]
func (*NSURLSessionConfiguration) HTTPCookieAcceptPolicy ¶
func (o *NSURLSessionConfiguration) HTTPCookieAcceptPolicy() NSHTTPCookieAcceptPolicy
func (*NSURLSessionConfiguration) HTTPCookieStorage ¶
func (o *NSURLSessionConfiguration) HTTPCookieStorage() *NSHTTPCookieStorage
func (*NSURLSessionConfiguration) HTTPMaximumConnectionsPerHost ¶
func (o *NSURLSessionConfiguration) HTTPMaximumConnectionsPerHost() int
func (*NSURLSessionConfiguration) HTTPShouldSetCookies
deprecated
func (o *NSURLSessionConfiguration) HTTPShouldSetCookies() bool
Deprecated: Only supported in the classic loader, please adopt HTTP/2 and HTTP/3 instead
func (*NSURLSessionConfiguration) HTTPShouldUsePipelining
deprecated
func (o *NSURLSessionConfiguration) HTTPShouldUsePipelining() bool
Deprecated: Only supported in the classic loader, please adopt HTTP/2 and HTTP/3 instead
func (*NSURLSessionConfiguration) Identifier ¶
func (o *NSURLSessionConfiguration) Identifier() *NSString
func (*NSURLSessionConfiguration) Init
deprecated
func (o *NSURLSessionConfiguration) Init() *NSURLSessionConfiguration
Deprecated: Please use NSURLSessionConfiguration.defaultSessionConfiguration or other class methods to create instances
func (*NSURLSessionConfiguration) IsDiscretionary ¶
func (o *NSURLSessionConfiguration) IsDiscretionary() bool
func (*NSURLSessionConfiguration) NetworkServiceType ¶
func (o *NSURLSessionConfiguration) NetworkServiceType() NSURLRequestNetworkServiceType
func (*NSURLSessionConfiguration) ProtocolClasses ¶
func (o *NSURLSessionConfiguration) ProtocolClasses() *NSArray[objc.Class]
func (*NSURLSessionConfiguration) RequestCachePolicy ¶
func (o *NSURLSessionConfiguration) RequestCachePolicy() NSURLRequestCachePolicy
func (*NSURLSessionConfiguration) RequiresDNSSECValidation ¶
func (o *NSURLSessionConfiguration) RequiresDNSSECValidation() bool
func (*NSURLSessionConfiguration) SessionSendsLaunchEvents ¶
func (o *NSURLSessionConfiguration) SessionSendsLaunchEvents() bool
func (*NSURLSessionConfiguration) SetAllowsCellularAccess ¶
func (o *NSURLSessionConfiguration) SetAllowsCellularAccess(allowsCellularAccess bool)
func (*NSURLSessionConfiguration) SetAllowsConstrainedNetworkAccess ¶
func (o *NSURLSessionConfiguration) SetAllowsConstrainedNetworkAccess(allowsConstrainedNetworkAccess bool)
func (*NSURLSessionConfiguration) SetAllowsExpensiveNetworkAccess ¶
func (o *NSURLSessionConfiguration) SetAllowsExpensiveNetworkAccess(allowsExpensiveNetworkAccess bool)
func (*NSURLSessionConfiguration) SetAllowsUltraConstrainedNetworkAccess ¶
func (o *NSURLSessionConfiguration) SetAllowsUltraConstrainedNetworkAccess(allowsUltraConstrainedNetworkAccess bool)
func (*NSURLSessionConfiguration) SetConnectionProxyDictionary ¶
func (o *NSURLSessionConfiguration) SetConnectionProxyDictionary(connectionProxyDictionary *NSDictionary[objc.ID, objc.ID])
func (*NSURLSessionConfiguration) SetDiscretionary ¶
func (o *NSURLSessionConfiguration) SetDiscretionary(discretionary bool)
func (*NSURLSessionConfiguration) SetEnablesEarlyData ¶
func (o *NSURLSessionConfiguration) SetEnablesEarlyData(enablesEarlyData bool)
func (*NSURLSessionConfiguration) SetHTTPAdditionalHeaders ¶
func (o *NSURLSessionConfiguration) SetHTTPAdditionalHeaders(hTTPAdditionalHeaders *NSDictionary[objc.ID, objc.ID])
func (*NSURLSessionConfiguration) SetHTTPCookieAcceptPolicy ¶
func (o *NSURLSessionConfiguration) SetHTTPCookieAcceptPolicy(hTTPCookieAcceptPolicy NSHTTPCookieAcceptPolicy)
func (*NSURLSessionConfiguration) SetHTTPCookieStorage ¶
func (o *NSURLSessionConfiguration) SetHTTPCookieStorage(hTTPCookieStorage *NSHTTPCookieStorage)
func (*NSURLSessionConfiguration) SetHTTPMaximumConnectionsPerHost ¶
func (o *NSURLSessionConfiguration) SetHTTPMaximumConnectionsPerHost(hTTPMaximumConnectionsPerHost int)
func (*NSURLSessionConfiguration) SetHTTPShouldSetCookies ¶
func (o *NSURLSessionConfiguration) SetHTTPShouldSetCookies(hTTPShouldSetCookies bool)
func (*NSURLSessionConfiguration) SetHTTPShouldUsePipelining
deprecated
func (o *NSURLSessionConfiguration) SetHTTPShouldUsePipelining(hTTPShouldUsePipelining bool)
Deprecated: Only supported in the classic loader, please adopt HTTP/2 and HTTP/3 instead
func (*NSURLSessionConfiguration) SetNetworkServiceType ¶
func (o *NSURLSessionConfiguration) SetNetworkServiceType(networkServiceType NSURLRequestNetworkServiceType)
func (*NSURLSessionConfiguration) SetProtocolClasses ¶
func (o *NSURLSessionConfiguration) SetProtocolClasses(protocolClasses *NSArray[objc.Class])
func (*NSURLSessionConfiguration) SetRequestCachePolicy ¶
func (o *NSURLSessionConfiguration) SetRequestCachePolicy(requestCachePolicy NSURLRequestCachePolicy)
func (*NSURLSessionConfiguration) SetRequiresDNSSECValidation ¶
func (o *NSURLSessionConfiguration) SetRequiresDNSSECValidation(requiresDNSSECValidation bool)
func (*NSURLSessionConfiguration) SetSessionSendsLaunchEvents ¶
func (o *NSURLSessionConfiguration) SetSessionSendsLaunchEvents(sessionSendsLaunchEvents bool)
func (*NSURLSessionConfiguration) SetSharedContainerIdentifier ¶
func (o *NSURLSessionConfiguration) SetSharedContainerIdentifier(sharedContainerIdentifier *NSString)
func (*NSURLSessionConfiguration) SetShouldUseExtendedBackgroundIdleMode
deprecated
func (o *NSURLSessionConfiguration) SetShouldUseExtendedBackgroundIdleMode(shouldUseExtendedBackgroundIdleMode bool)
Deprecated: Not supported
func (*NSURLSessionConfiguration) SetTLSMaximumSupportedProtocol
deprecated
func (o *NSURLSessionConfiguration) SetTLSMaximumSupportedProtocol(tLSMaximumSupportedProtocol security.SSLProtocol)
Deprecated: since macOS API_TO_BE_DEPRECATED.
func (*NSURLSessionConfiguration) SetTLSMaximumSupportedProtocolVersion ¶
func (o *NSURLSessionConfiguration) SetTLSMaximumSupportedProtocolVersion(tLSMaximumSupportedProtocolVersion security.Tls_protocol_version_t)
func (*NSURLSessionConfiguration) SetTLSMinimumSupportedProtocol
deprecated
func (o *NSURLSessionConfiguration) SetTLSMinimumSupportedProtocol(tLSMinimumSupportedProtocol security.SSLProtocol)
Deprecated: since macOS API_TO_BE_DEPRECATED.
func (*NSURLSessionConfiguration) SetTLSMinimumSupportedProtocolVersion ¶
func (o *NSURLSessionConfiguration) SetTLSMinimumSupportedProtocolVersion(tLSMinimumSupportedProtocolVersion security.Tls_protocol_version_t)
func (*NSURLSessionConfiguration) SetTimeoutIntervalForRequest ¶
func (o *NSURLSessionConfiguration) SetTimeoutIntervalForRequest(timeoutIntervalForRequest float64)
func (*NSURLSessionConfiguration) SetTimeoutIntervalForResource ¶
func (o *NSURLSessionConfiguration) SetTimeoutIntervalForResource(timeoutIntervalForResource float64)
func (*NSURLSessionConfiguration) SetURLCache ¶
func (o *NSURLSessionConfiguration) SetURLCache(uRLCache *NSURLCache)
func (*NSURLSessionConfiguration) SetURLCredentialStorage ¶
func (o *NSURLSessionConfiguration) SetURLCredentialStorage(uRLCredentialStorage *NSURLCredentialStorage)
func (*NSURLSessionConfiguration) SetUsesClassicLoadingMode ¶
func (o *NSURLSessionConfiguration) SetUsesClassicLoadingMode(usesClassicLoadingMode bool)
func (*NSURLSessionConfiguration) SetWaitsForConnectivity ¶
func (o *NSURLSessionConfiguration) SetWaitsForConnectivity(waitsForConnectivity bool)
func (*NSURLSessionConfiguration) SharedContainerIdentifier ¶
func (o *NSURLSessionConfiguration) SharedContainerIdentifier() *NSString
func (*NSURLSessionConfiguration) ShouldUseExtendedBackgroundIdleMode
deprecated
func (o *NSURLSessionConfiguration) ShouldUseExtendedBackgroundIdleMode() bool
Deprecated: Not supported
func (*NSURLSessionConfiguration) TLSMaximumSupportedProtocol
deprecated
func (o *NSURLSessionConfiguration) TLSMaximumSupportedProtocol() security.SSLProtocol
Deprecated: since macOS API_TO_BE_DEPRECATED.
func (*NSURLSessionConfiguration) TLSMaximumSupportedProtocolVersion ¶
func (o *NSURLSessionConfiguration) TLSMaximumSupportedProtocolVersion() security.Tls_protocol_version_t
func (*NSURLSessionConfiguration) TLSMinimumSupportedProtocol
deprecated
func (o *NSURLSessionConfiguration) TLSMinimumSupportedProtocol() security.SSLProtocol
Deprecated: since macOS API_TO_BE_DEPRECATED.
func (*NSURLSessionConfiguration) TLSMinimumSupportedProtocolVersion ¶
func (o *NSURLSessionConfiguration) TLSMinimumSupportedProtocolVersion() security.Tls_protocol_version_t
func (*NSURLSessionConfiguration) TimeoutIntervalForRequest ¶
func (o *NSURLSessionConfiguration) TimeoutIntervalForRequest() float64
func (*NSURLSessionConfiguration) TimeoutIntervalForResource ¶
func (o *NSURLSessionConfiguration) TimeoutIntervalForResource() float64
func (*NSURLSessionConfiguration) URLCache ¶
func (o *NSURLSessionConfiguration) URLCache() *NSURLCache
func (*NSURLSessionConfiguration) URLCredentialStorage ¶
func (o *NSURLSessionConfiguration) URLCredentialStorage() *NSURLCredentialStorage
func (*NSURLSessionConfiguration) UsesClassicLoadingMode ¶
func (o *NSURLSessionConfiguration) UsesClassicLoadingMode() bool
func (*NSURLSessionConfiguration) WaitsForConnectivity ¶
func (o *NSURLSessionConfiguration) WaitsForConnectivity() bool
type NSURLSessionDataDelegate ¶
type NSURLSessionDataDelegate interface {
NSURLSessionTaskDelegate
}
NSURLSessionDataDelegate wraps the ObjC protocol NSURLSessionDataDelegate.
type NSURLSessionDataTask ¶
type NSURLSessionDataTask struct {
NSURLSessionTask
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlsessiondatatask
func NSURLSessionDataTaskFromID ¶
func NSURLSessionDataTaskFromID(id objc.ID) *NSURLSessionDataTask
func NSURLSessionDataTaskNew
deprecated
func NSURLSessionDataTaskNew() *NSURLSessionDataTask
Deprecated: Please use -[NSURLSession dataTaskWithRequest:] or other NSURLSession methods to create instances
func (*NSURLSessionDataTask) Init
deprecated
func (o *NSURLSessionDataTask) Init() *NSURLSessionDataTask
Deprecated: Please use -[NSURLSession dataTaskWithRequest:] or other NSURLSession methods to create instances
type NSURLSessionDelayedRequestDisposition ¶
type NSURLSessionDelayedRequestDisposition int64
const ( NSURLSessionDelayedRequestContinueLoading NSURLSessionDelayedRequestDisposition = 0 NSURLSessionDelayedRequestUseNewRequest NSURLSessionDelayedRequestDisposition = 1 NSURLSessionDelayedRequestCancel NSURLSessionDelayedRequestDisposition = 2 )
func (NSURLSessionDelayedRequestDisposition) String ¶
func (e NSURLSessionDelayedRequestDisposition) String() string
type NSURLSessionDelegate ¶
type NSURLSessionDelegate interface {
}
NSURLSessionDelegate wraps the ObjC protocol NSURLSessionDelegate.
type NSURLSessionDownloadDelegate ¶
type NSURLSessionDownloadDelegate interface {
NSURLSessionTaskDelegate
URLSessionDownloadTaskDidFinishDownloadingToURL(session *NSURLSession, downloadTask *NSURLSessionDownloadTask, location *NSURL)
}
NSURLSessionDownloadDelegate wraps the ObjC protocol NSURLSessionDownloadDelegate.
type NSURLSessionDownloadTask ¶
type NSURLSessionDownloadTask struct {
NSURLSessionTask
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlsessiondownloadtask
func NSURLSessionDownloadTaskFromID ¶
func NSURLSessionDownloadTaskFromID(id objc.ID) *NSURLSessionDownloadTask
func NSURLSessionDownloadTaskNew
deprecated
func NSURLSessionDownloadTaskNew() *NSURLSessionDownloadTask
Deprecated: Please use -[NSURLSession downloadTaskWithRequest:] or other NSURLSession methods to create instances
func (*NSURLSessionDownloadTask) CancelByProducingResumeData ¶
func (o *NSURLSessionDownloadTask) CancelByProducingResumeData(completionHandler func(*NSData))
func (*NSURLSessionDownloadTask) Init
deprecated
func (o *NSURLSessionDownloadTask) Init() *NSURLSessionDownloadTask
Deprecated: Please use -[NSURLSession downloadTaskWithRequest:] or other NSURLSession methods to create instances
type NSURLSessionResponseDisposition ¶
type NSURLSessionResponseDisposition int64
const ( NSURLSessionResponseCancel NSURLSessionResponseDisposition = 0 NSURLSessionResponseAllow NSURLSessionResponseDisposition = 1 NSURLSessionResponseBecomeDownload NSURLSessionResponseDisposition = 2 NSURLSessionResponseBecomeStream NSURLSessionResponseDisposition = 3 )
func (NSURLSessionResponseDisposition) String ¶
func (e NSURLSessionResponseDisposition) String() string
type NSURLSessionStreamDelegate ¶
type NSURLSessionStreamDelegate interface {
NSURLSessionTaskDelegate
}
NSURLSessionStreamDelegate wraps the ObjC protocol NSURLSessionStreamDelegate.
type NSURLSessionStreamTask ¶
type NSURLSessionStreamTask struct {
NSURLSessionTask
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlsessionstreamtask
func NSURLSessionStreamTaskFromID ¶
func NSURLSessionStreamTaskFromID(id objc.ID) *NSURLSessionStreamTask
func NSURLSessionStreamTaskNew
deprecated
func NSURLSessionStreamTaskNew() *NSURLSessionStreamTask
Deprecated: Please use -[NSURLSession streamTaskWithHostName:port:] or other NSURLSession methods to create instances
func (*NSURLSessionStreamTask) CaptureStreams ¶
func (o *NSURLSessionStreamTask) CaptureStreams()
func (*NSURLSessionStreamTask) CloseRead ¶
func (o *NSURLSessionStreamTask) CloseRead()
func (*NSURLSessionStreamTask) CloseWrite ¶
func (o *NSURLSessionStreamTask) CloseWrite()
func (*NSURLSessionStreamTask) Init
deprecated
func (o *NSURLSessionStreamTask) Init() *NSURLSessionStreamTask
Deprecated: Please use -[NSURLSession streamTaskWithHostName:port:] or other NSURLSession methods to create instances
func (*NSURLSessionStreamTask) ReadDataOfMinLengthMaxLengthTimeoutCompletionHandler ¶
func (*NSURLSessionStreamTask) StartSecureConnection ¶
func (o *NSURLSessionStreamTask) StartSecureConnection()
func (*NSURLSessionStreamTask) StopSecureConnection
deprecated
func (o *NSURLSessionStreamTask) StopSecureConnection()
Deprecated: TLS cannot be disabled once it is enabled
func (*NSURLSessionStreamTask) WriteDataTimeoutCompletionHandler ¶
func (o *NSURLSessionStreamTask) WriteDataTimeoutCompletionHandler(data *NSData, timeout float64, completionHandler func(unsafe.Pointer))
type NSURLSessionTask ¶
type NSURLSessionTask struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlsessiontask
func NSURLSessionTaskFromID ¶
func NSURLSessionTaskFromID(id objc.ID) *NSURLSessionTask
func NSURLSessionTaskNew
deprecated
func NSURLSessionTaskNew() *NSURLSessionTask
Deprecated: Not supported
func (*NSURLSessionTask) Cancel ¶
func (o *NSURLSessionTask) Cancel()
func (*NSURLSessionTask) CountOfBytesClientExpectsToReceive ¶
func (o *NSURLSessionTask) CountOfBytesClientExpectsToReceive() int64
func (*NSURLSessionTask) CountOfBytesClientExpectsToSend ¶
func (o *NSURLSessionTask) CountOfBytesClientExpectsToSend() int64
func (*NSURLSessionTask) CountOfBytesExpectedToReceive ¶
func (o *NSURLSessionTask) CountOfBytesExpectedToReceive() int64
func (*NSURLSessionTask) CountOfBytesExpectedToSend ¶
func (o *NSURLSessionTask) CountOfBytesExpectedToSend() int64
func (*NSURLSessionTask) CountOfBytesReceived ¶
func (o *NSURLSessionTask) CountOfBytesReceived() int64
func (*NSURLSessionTask) CountOfBytesSent ¶
func (o *NSURLSessionTask) CountOfBytesSent() int64
func (*NSURLSessionTask) CurrentRequest ¶
func (o *NSURLSessionTask) CurrentRequest() *NSURLRequest
func (*NSURLSessionTask) Delegate ¶
func (o *NSURLSessionTask) Delegate() NSURLSessionTaskDelegate
func (*NSURLSessionTask) EarliestBeginDate ¶
func (o *NSURLSessionTask) EarliestBeginDate() *NSDate
func (*NSURLSessionTask) Error ¶
func (o *NSURLSessionTask) Error() unsafe.Pointer
func (*NSURLSessionTask) Init
deprecated
func (o *NSURLSessionTask) Init() *NSURLSessionTask
Deprecated: Not supported
func (*NSURLSessionTask) OriginalRequest ¶
func (o *NSURLSessionTask) OriginalRequest() *NSURLRequest
func (*NSURLSessionTask) PrefersIncrementalDelivery ¶
func (o *NSURLSessionTask) PrefersIncrementalDelivery() bool
func (*NSURLSessionTask) Priority ¶
func (o *NSURLSessionTask) Priority() float32
func (*NSURLSessionTask) Progress ¶
func (o *NSURLSessionTask) Progress() *NSProgress
func (*NSURLSessionTask) Response ¶
func (o *NSURLSessionTask) Response() *NSURLResponse
func (*NSURLSessionTask) Resume ¶
func (o *NSURLSessionTask) Resume()
func (*NSURLSessionTask) SetCountOfBytesClientExpectsToReceive ¶
func (o *NSURLSessionTask) SetCountOfBytesClientExpectsToReceive(countOfBytesClientExpectsToReceive int64)
func (*NSURLSessionTask) SetCountOfBytesClientExpectsToSend ¶
func (o *NSURLSessionTask) SetCountOfBytesClientExpectsToSend(countOfBytesClientExpectsToSend int64)
func (*NSURLSessionTask) SetDelegate ¶
func (o *NSURLSessionTask) SetDelegate(delegate NSURLSessionTaskDelegate)
func (*NSURLSessionTask) SetEarliestBeginDate ¶
func (o *NSURLSessionTask) SetEarliestBeginDate(earliestBeginDate *NSDate)
func (*NSURLSessionTask) SetPrefersIncrementalDelivery ¶
func (o *NSURLSessionTask) SetPrefersIncrementalDelivery(prefersIncrementalDelivery bool)
func (*NSURLSessionTask) SetPriority ¶
func (o *NSURLSessionTask) SetPriority(priority float32)
func (*NSURLSessionTask) SetTaskDescription ¶
func (o *NSURLSessionTask) SetTaskDescription(taskDescription *NSString)
func (*NSURLSessionTask) State ¶
func (o *NSURLSessionTask) State() NSURLSessionTaskState
func (*NSURLSessionTask) Suspend ¶
func (o *NSURLSessionTask) Suspend()
func (*NSURLSessionTask) TaskDescription ¶
func (o *NSURLSessionTask) TaskDescription() *NSString
func (*NSURLSessionTask) TaskIdentifier ¶
func (o *NSURLSessionTask) TaskIdentifier() uint
type NSURLSessionTaskDelegate ¶
type NSURLSessionTaskDelegate interface {
NSURLSessionDelegate
}
NSURLSessionTaskDelegate wraps the ObjC protocol NSURLSessionTaskDelegate.
type NSURLSessionTaskMetrics ¶
type NSURLSessionTaskMetrics struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlsessiontaskmetrics
func NSURLSessionTaskMetricsFromID ¶
func NSURLSessionTaskMetricsFromID(id objc.ID) *NSURLSessionTaskMetrics
func NSURLSessionTaskMetricsNew
deprecated
func NSURLSessionTaskMetricsNew() *NSURLSessionTaskMetrics
Deprecated: Not supported
func (*NSURLSessionTaskMetrics) Init
deprecated
func (o *NSURLSessionTaskMetrics) Init() *NSURLSessionTaskMetrics
Deprecated: Not supported
func (*NSURLSessionTaskMetrics) RedirectCount ¶
func (o *NSURLSessionTaskMetrics) RedirectCount() uint
func (*NSURLSessionTaskMetrics) TaskInterval ¶
func (o *NSURLSessionTaskMetrics) TaskInterval() *NSDateInterval
func (*NSURLSessionTaskMetrics) TransactionMetrics ¶
func (o *NSURLSessionTaskMetrics) TransactionMetrics() *NSArray[*NSURLSessionTaskTransactionMetrics]
type NSURLSessionTaskMetricsDomainResolutionProtocol ¶
type NSURLSessionTaskMetricsDomainResolutionProtocol int64
const ( NSURLSessionTaskMetricsDomainResolutionProtocolUnknown NSURLSessionTaskMetricsDomainResolutionProtocol = 0 NSURLSessionTaskMetricsDomainResolutionProtocolUDP NSURLSessionTaskMetricsDomainResolutionProtocol = 1 NSURLSessionTaskMetricsDomainResolutionProtocolTCP NSURLSessionTaskMetricsDomainResolutionProtocol = 2 NSURLSessionTaskMetricsDomainResolutionProtocolTLS NSURLSessionTaskMetricsDomainResolutionProtocol = 3 NSURLSessionTaskMetricsDomainResolutionProtocolHTTPS NSURLSessionTaskMetricsDomainResolutionProtocol = 4 )
func (NSURLSessionTaskMetricsDomainResolutionProtocol) String ¶
func (e NSURLSessionTaskMetricsDomainResolutionProtocol) String() string
type NSURLSessionTaskMetricsResourceFetchType ¶
type NSURLSessionTaskMetricsResourceFetchType int64
const ( NSURLSessionTaskMetricsResourceFetchTypeUnknown NSURLSessionTaskMetricsResourceFetchType = 0 NSURLSessionTaskMetricsResourceFetchTypeNetworkLoad NSURLSessionTaskMetricsResourceFetchType = 1 NSURLSessionTaskMetricsResourceFetchTypeServerPush NSURLSessionTaskMetricsResourceFetchType = 2 NSURLSessionTaskMetricsResourceFetchTypeLocalCache NSURLSessionTaskMetricsResourceFetchType = 3 )
func (NSURLSessionTaskMetricsResourceFetchType) String ¶
func (e NSURLSessionTaskMetricsResourceFetchType) String() string
type NSURLSessionTaskState ¶
type NSURLSessionTaskState int64
const ( NSURLSessionTaskStateRunning NSURLSessionTaskState = 0 NSURLSessionTaskStateSuspended NSURLSessionTaskState = 1 NSURLSessionTaskStateCanceling NSURLSessionTaskState = 2 NSURLSessionTaskStateCompleted NSURLSessionTaskState = 3 )
func (NSURLSessionTaskState) String ¶
func (e NSURLSessionTaskState) String() string
type NSURLSessionTaskTransactionMetrics ¶
type NSURLSessionTaskTransactionMetrics struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlsessiontasktransactionmetrics
func NSURLSessionTaskTransactionMetricsFromID ¶
func NSURLSessionTaskTransactionMetricsFromID(id objc.ID) *NSURLSessionTaskTransactionMetrics
func NSURLSessionTaskTransactionMetricsNew
deprecated
func NSURLSessionTaskTransactionMetricsNew() *NSURLSessionTaskTransactionMetrics
Deprecated: Not supported
func (*NSURLSessionTaskTransactionMetrics) ConnectEndDate ¶
func (o *NSURLSessionTaskTransactionMetrics) ConnectEndDate() *NSDate
func (*NSURLSessionTaskTransactionMetrics) ConnectStartDate ¶
func (o *NSURLSessionTaskTransactionMetrics) ConnectStartDate() *NSDate
func (*NSURLSessionTaskTransactionMetrics) CountOfRequestBodyBytesBeforeEncoding ¶
func (o *NSURLSessionTaskTransactionMetrics) CountOfRequestBodyBytesBeforeEncoding() int64
func (*NSURLSessionTaskTransactionMetrics) CountOfRequestBodyBytesSent ¶
func (o *NSURLSessionTaskTransactionMetrics) CountOfRequestBodyBytesSent() int64
func (*NSURLSessionTaskTransactionMetrics) CountOfRequestHeaderBytesSent ¶
func (o *NSURLSessionTaskTransactionMetrics) CountOfRequestHeaderBytesSent() int64
func (*NSURLSessionTaskTransactionMetrics) CountOfResponseBodyBytesAfterDecoding ¶
func (o *NSURLSessionTaskTransactionMetrics) CountOfResponseBodyBytesAfterDecoding() int64
func (*NSURLSessionTaskTransactionMetrics) CountOfResponseBodyBytesReceived ¶
func (o *NSURLSessionTaskTransactionMetrics) CountOfResponseBodyBytesReceived() int64
func (*NSURLSessionTaskTransactionMetrics) CountOfResponseHeaderBytesReceived ¶
func (o *NSURLSessionTaskTransactionMetrics) CountOfResponseHeaderBytesReceived() int64
func (*NSURLSessionTaskTransactionMetrics) DomainLookupEndDate ¶
func (o *NSURLSessionTaskTransactionMetrics) DomainLookupEndDate() *NSDate
func (*NSURLSessionTaskTransactionMetrics) DomainLookupStartDate ¶
func (o *NSURLSessionTaskTransactionMetrics) DomainLookupStartDate() *NSDate
func (*NSURLSessionTaskTransactionMetrics) DomainResolutionProtocol ¶
func (o *NSURLSessionTaskTransactionMetrics) DomainResolutionProtocol() NSURLSessionTaskMetricsDomainResolutionProtocol
func (*NSURLSessionTaskTransactionMetrics) FetchStartDate ¶
func (o *NSURLSessionTaskTransactionMetrics) FetchStartDate() *NSDate
func (*NSURLSessionTaskTransactionMetrics) Init
deprecated
func (o *NSURLSessionTaskTransactionMetrics) Init() *NSURLSessionTaskTransactionMetrics
Deprecated: Not supported
func (*NSURLSessionTaskTransactionMetrics) IsCellular ¶
func (o *NSURLSessionTaskTransactionMetrics) IsCellular() bool
func (*NSURLSessionTaskTransactionMetrics) IsConstrained ¶
func (o *NSURLSessionTaskTransactionMetrics) IsConstrained() bool
func (*NSURLSessionTaskTransactionMetrics) IsExpensive ¶
func (o *NSURLSessionTaskTransactionMetrics) IsExpensive() bool
func (*NSURLSessionTaskTransactionMetrics) IsMultipath ¶
func (o *NSURLSessionTaskTransactionMetrics) IsMultipath() bool
func (*NSURLSessionTaskTransactionMetrics) IsProxyConnection ¶
func (o *NSURLSessionTaskTransactionMetrics) IsProxyConnection() bool
func (*NSURLSessionTaskTransactionMetrics) IsReusedConnection ¶
func (o *NSURLSessionTaskTransactionMetrics) IsReusedConnection() bool
func (*NSURLSessionTaskTransactionMetrics) LocalAddress ¶
func (o *NSURLSessionTaskTransactionMetrics) LocalAddress() *NSString
func (*NSURLSessionTaskTransactionMetrics) LocalPort ¶
func (o *NSURLSessionTaskTransactionMetrics) LocalPort() *NSNumber
func (*NSURLSessionTaskTransactionMetrics) NegotiatedTLSCipherSuite ¶
func (o *NSURLSessionTaskTransactionMetrics) NegotiatedTLSCipherSuite() *NSNumber
func (*NSURLSessionTaskTransactionMetrics) NegotiatedTLSProtocolVersion ¶
func (o *NSURLSessionTaskTransactionMetrics) NegotiatedTLSProtocolVersion() *NSNumber
func (*NSURLSessionTaskTransactionMetrics) NetworkProtocolName ¶
func (o *NSURLSessionTaskTransactionMetrics) NetworkProtocolName() *NSString
func (*NSURLSessionTaskTransactionMetrics) RemoteAddress ¶
func (o *NSURLSessionTaskTransactionMetrics) RemoteAddress() *NSString
func (*NSURLSessionTaskTransactionMetrics) RemotePort ¶
func (o *NSURLSessionTaskTransactionMetrics) RemotePort() *NSNumber
func (*NSURLSessionTaskTransactionMetrics) Request ¶
func (o *NSURLSessionTaskTransactionMetrics) Request() *NSURLRequest
func (*NSURLSessionTaskTransactionMetrics) RequestEndDate ¶
func (o *NSURLSessionTaskTransactionMetrics) RequestEndDate() *NSDate
func (*NSURLSessionTaskTransactionMetrics) RequestStartDate ¶
func (o *NSURLSessionTaskTransactionMetrics) RequestStartDate() *NSDate
func (*NSURLSessionTaskTransactionMetrics) ResourceFetchType ¶
func (o *NSURLSessionTaskTransactionMetrics) ResourceFetchType() NSURLSessionTaskMetricsResourceFetchType
func (*NSURLSessionTaskTransactionMetrics) Response ¶
func (o *NSURLSessionTaskTransactionMetrics) Response() *NSURLResponse
func (*NSURLSessionTaskTransactionMetrics) ResponseEndDate ¶
func (o *NSURLSessionTaskTransactionMetrics) ResponseEndDate() *NSDate
func (*NSURLSessionTaskTransactionMetrics) ResponseStartDate ¶
func (o *NSURLSessionTaskTransactionMetrics) ResponseStartDate() *NSDate
func (*NSURLSessionTaskTransactionMetrics) SecureConnectionEndDate ¶
func (o *NSURLSessionTaskTransactionMetrics) SecureConnectionEndDate() *NSDate
func (*NSURLSessionTaskTransactionMetrics) SecureConnectionStartDate ¶
func (o *NSURLSessionTaskTransactionMetrics) SecureConnectionStartDate() *NSDate
type NSURLSessionUploadTask ¶
type NSURLSessionUploadTask struct {
NSURLSessionDataTask
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlsessionuploadtask
func NSURLSessionUploadTaskFromID ¶
func NSURLSessionUploadTaskFromID(id objc.ID) *NSURLSessionUploadTask
func NSURLSessionUploadTaskNew
deprecated
func NSURLSessionUploadTaskNew() *NSURLSessionUploadTask
Deprecated: Please use -[NSURLSession uploadTaskWithStreamedRequest:] or other NSURLSession methods to create instances
func (*NSURLSessionUploadTask) CancelByProducingResumeData ¶
func (o *NSURLSessionUploadTask) CancelByProducingResumeData(completionHandler func(*NSData))
Cancels an upload and calls the completion handler with resume data for later use. resumeData will be nil if the server does not support the latest resumable uploads Internet-Draft from the HTTP Working Group, found at https://datatracker.ietf.org/doc/draft-ietf-httpbis-resumable-upload/ - Parameter completionHandler: The completion handler to call when the upload has been successfully canceled.
func (*NSURLSessionUploadTask) Init
deprecated
func (o *NSURLSessionUploadTask) Init() *NSURLSessionUploadTask
Deprecated: Please use -[NSURLSession uploadTaskWithStreamedRequest:] or other NSURLSession methods to create instances
type NSURLSessionWebSocketCloseCode ¶
type NSURLSessionWebSocketCloseCode int64
const ( NSURLSessionWebSocketCloseCodeInvalid NSURLSessionWebSocketCloseCode = 0 NSURLSessionWebSocketCloseCodeNormalClosure NSURLSessionWebSocketCloseCode = 1000 NSURLSessionWebSocketCloseCodeGoingAway NSURLSessionWebSocketCloseCode = 1001 NSURLSessionWebSocketCloseCodeProtocolError NSURLSessionWebSocketCloseCode = 1002 NSURLSessionWebSocketCloseCodeUnsupportedData NSURLSessionWebSocketCloseCode = 1003 NSURLSessionWebSocketCloseCodeNoStatusReceived NSURLSessionWebSocketCloseCode = 1005 NSURLSessionWebSocketCloseCodeAbnormalClosure NSURLSessionWebSocketCloseCode = 1006 NSURLSessionWebSocketCloseCodeInvalidFramePayloadData NSURLSessionWebSocketCloseCode = 1007 NSURLSessionWebSocketCloseCodePolicyViolation NSURLSessionWebSocketCloseCode = 1008 NSURLSessionWebSocketCloseCodeMessageTooBig NSURLSessionWebSocketCloseCode = 1009 NSURLSessionWebSocketCloseCodeMandatoryExtensionMissing NSURLSessionWebSocketCloseCode = 1010 NSURLSessionWebSocketCloseCodeInternalServerError NSURLSessionWebSocketCloseCode = 1011 NSURLSessionWebSocketCloseCodeTLSHandshakeFailure NSURLSessionWebSocketCloseCode = 1015 )
func (NSURLSessionWebSocketCloseCode) String ¶
func (e NSURLSessionWebSocketCloseCode) String() string
type NSURLSessionWebSocketDelegate ¶
type NSURLSessionWebSocketDelegate interface {
NSURLSessionTaskDelegate
}
NSURLSessionWebSocketDelegate wraps the ObjC protocol NSURLSessionWebSocketDelegate.
type NSURLSessionWebSocketMessage ¶
type NSURLSessionWebSocketMessage struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlsessionwebsocketmessage
func NSURLSessionWebSocketMessageFromID ¶
func NSURLSessionWebSocketMessageFromID(id objc.ID) *NSURLSessionWebSocketMessage
func (*NSURLSessionWebSocketMessage) Data ¶
func (o *NSURLSessionWebSocketMessage) Data() *NSData
func (*NSURLSessionWebSocketMessage) InitWithData ¶
func (o *NSURLSessionWebSocketMessage) InitWithData(data *NSData) *NSURLSessionWebSocketMessage
func (*NSURLSessionWebSocketMessage) InitWithString ¶
func (o *NSURLSessionWebSocketMessage) InitWithString(string_ *NSString) *NSURLSessionWebSocketMessage
func (*NSURLSessionWebSocketMessage) String ¶
func (o *NSURLSessionWebSocketMessage) String() *NSString
func (*NSURLSessionWebSocketMessage) Type ¶
func (o *NSURLSessionWebSocketMessage) Type() NSURLSessionWebSocketMessageType
type NSURLSessionWebSocketMessageType ¶
type NSURLSessionWebSocketMessageType int64
const ( NSURLSessionWebSocketMessageTypeData NSURLSessionWebSocketMessageType = 0 NSURLSessionWebSocketMessageTypeString NSURLSessionWebSocketMessageType = 1 )
func (NSURLSessionWebSocketMessageType) String ¶
func (e NSURLSessionWebSocketMessageType) String() string
type NSURLSessionWebSocketTask ¶
type NSURLSessionWebSocketTask struct {
NSURLSessionTask
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsurlsessionwebsockettask
func NSURLSessionWebSocketTaskFromID ¶
func NSURLSessionWebSocketTaskFromID(id objc.ID) *NSURLSessionWebSocketTask
func (*NSURLSessionWebSocketTask) CancelWithCloseCodeReason ¶
func (o *NSURLSessionWebSocketTask) CancelWithCloseCodeReason(closeCode NSURLSessionWebSocketCloseCode, reason *NSData)
func (*NSURLSessionWebSocketTask) CloseCode ¶
func (o *NSURLSessionWebSocketTask) CloseCode() NSURLSessionWebSocketCloseCode
func (*NSURLSessionWebSocketTask) CloseReason ¶
func (o *NSURLSessionWebSocketTask) CloseReason() *NSData
func (*NSURLSessionWebSocketTask) MaximumMessageSize ¶
func (o *NSURLSessionWebSocketTask) MaximumMessageSize() int
func (*NSURLSessionWebSocketTask) ReceiveMessageWithCompletionHandler ¶
func (o *NSURLSessionWebSocketTask) ReceiveMessageWithCompletionHandler(completionHandler func(*NSURLSessionWebSocketMessage, unsafe.Pointer))
func (*NSURLSessionWebSocketTask) SendMessageCompletionHandler ¶
func (o *NSURLSessionWebSocketTask) SendMessageCompletionHandler(message *NSURLSessionWebSocketMessage, completionHandler func(unsafe.Pointer))
func (*NSURLSessionWebSocketTask) SendPingWithPongReceiveHandler ¶
func (o *NSURLSessionWebSocketTask) SendPingWithPongReceiveHandler(pongReceiveHandler func(unsafe.Pointer))
func (*NSURLSessionWebSocketTask) SetMaximumMessageSize ¶
func (o *NSURLSessionWebSocketTask) SetMaximumMessageSize(maximumMessageSize int)
type NSUUID ¶
type NSUUID struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsuuid
func NSUUIDFromID ¶
func NSUUIDUUID ¶
func NSUUIDUUID() *NSUUID
func (*NSUUID) Compare ¶
func (o *NSUUID) Compare(otherUUID *NSUUID) NSComparisonResult
func (*NSUUID) GetUUIDBytes ¶
func (*NSUUID) InitWithUUIDBytes ¶
func (*NSUUID) InitWithUUIDString ¶
func (*NSUUID) UUIDString ¶
type NSUbiquitousKeyValueStore ¶
type NSUbiquitousKeyValueStore struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsubiquitouskeyvaluestore
func NSUbiquitousKeyValueStoreDefaultStore ¶
func NSUbiquitousKeyValueStoreDefaultStore() *NSUbiquitousKeyValueStore
func NSUbiquitousKeyValueStoreFromID ¶
func NSUbiquitousKeyValueStoreFromID(id objc.ID) *NSUbiquitousKeyValueStore
func (*NSUbiquitousKeyValueStore) ArrayForKey ¶
func (o *NSUbiquitousKeyValueStore) ArrayForKey(aKey *NSString) *NSArray[objc.ID]
func (*NSUbiquitousKeyValueStore) BoolForKey ¶
func (o *NSUbiquitousKeyValueStore) BoolForKey(aKey *NSString) bool
func (*NSUbiquitousKeyValueStore) DataForKey ¶
func (o *NSUbiquitousKeyValueStore) DataForKey(aKey *NSString) *NSData
func (*NSUbiquitousKeyValueStore) DictionaryForKey ¶
func (o *NSUbiquitousKeyValueStore) DictionaryForKey(aKey *NSString) *NSDictionary[*NSString, objc.ID]
func (*NSUbiquitousKeyValueStore) DictionaryRepresentation ¶
func (o *NSUbiquitousKeyValueStore) DictionaryRepresentation() *NSDictionary[*NSString, objc.ID]
func (*NSUbiquitousKeyValueStore) DoubleForKey ¶
func (o *NSUbiquitousKeyValueStore) DoubleForKey(aKey *NSString) float64
func (*NSUbiquitousKeyValueStore) LongLongForKey ¶
func (o *NSUbiquitousKeyValueStore) LongLongForKey(aKey *NSString) int64
func (*NSUbiquitousKeyValueStore) ObjectForKey ¶
func (o *NSUbiquitousKeyValueStore) ObjectForKey(aKey *NSString) objc.ID
func (*NSUbiquitousKeyValueStore) RemoveObjectForKey ¶
func (o *NSUbiquitousKeyValueStore) RemoveObjectForKey(aKey *NSString)
func (*NSUbiquitousKeyValueStore) SetArrayForKey ¶
func (o *NSUbiquitousKeyValueStore) SetArrayForKey(anArray *NSArray[objc.ID], aKey *NSString)
func (*NSUbiquitousKeyValueStore) SetBoolForKey ¶
func (o *NSUbiquitousKeyValueStore) SetBoolForKey(value bool, aKey *NSString)
func (*NSUbiquitousKeyValueStore) SetDataForKey ¶
func (o *NSUbiquitousKeyValueStore) SetDataForKey(aData *NSData, aKey *NSString)
func (*NSUbiquitousKeyValueStore) SetDictionaryForKey ¶
func (o *NSUbiquitousKeyValueStore) SetDictionaryForKey(aDictionary *NSDictionary[*NSString, objc.ID], aKey *NSString)
func (*NSUbiquitousKeyValueStore) SetDoubleForKey ¶
func (o *NSUbiquitousKeyValueStore) SetDoubleForKey(value float64, aKey *NSString)
func (*NSUbiquitousKeyValueStore) SetLongLongForKey ¶
func (o *NSUbiquitousKeyValueStore) SetLongLongForKey(value int64, aKey *NSString)
func (*NSUbiquitousKeyValueStore) SetObjectForKey ¶
func (o *NSUbiquitousKeyValueStore) SetObjectForKey(anObject objc.ID, aKey *NSString)
func (*NSUbiquitousKeyValueStore) SetStringForKey ¶
func (o *NSUbiquitousKeyValueStore) SetStringForKey(aString *NSString, aKey *NSString)
func (*NSUbiquitousKeyValueStore) StringForKey ¶
func (o *NSUbiquitousKeyValueStore) StringForKey(aKey *NSString) *NSString
func (*NSUbiquitousKeyValueStore) Synchronize ¶
func (o *NSUbiquitousKeyValueStore) Synchronize() bool
type NSUnarchiver ¶
type NSUnarchiver struct {
NSCoder
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunarchiver Deprecated: Use NSKeyedUnarchiver instead
func NSUnarchiverFromID ¶
func NSUnarchiverFromID(id objc.ID) *NSUnarchiver
func (*NSUnarchiver) ClassNameDecodedForArchiveClassName ¶
func (o *NSUnarchiver) ClassNameDecodedForArchiveClassName(inArchiveName *NSString) *NSString
func (*NSUnarchiver) DecodeClassNameAsClassName ¶
func (o *NSUnarchiver) DecodeClassNameAsClassName(inArchiveName *NSString, trueName *NSString)
func (*NSUnarchiver) InitForReadingWithData ¶
func (o *NSUnarchiver) InitForReadingWithData(data *NSData) *NSUnarchiver
func (*NSUnarchiver) IsAtEnd ¶
func (o *NSUnarchiver) IsAtEnd() bool
func (*NSUnarchiver) ReplaceObjectWithObject ¶
func (o *NSUnarchiver) ReplaceObjectWithObject(object objc.ID, newObject objc.ID)
type NSUndoManager ¶
type NSUndoManager struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsundomanager
func NSUndoManagerFromID ¶
func NSUndoManagerFromID(id objc.ID) *NSUndoManager
func (*NSUndoManager) BeginUndoGrouping ¶
func (o *NSUndoManager) BeginUndoGrouping()
Marks the beginning of an undo group. All individual undo operations before a subsequent “endUndoGrouping“ message are grouped together and reversed by a later “undo“ message. By default undo groups are begun automatically at the start of the event loop, but you can begin your own undo groups with this method, and nest them within other groups. This method posts an “NSUndoManagerCheckpointNotification“ unless a top-level undo is in progress. It posts an “NSUndoManagerDidOpenUndoGroupNotification“ if a new group was successfully created.
func (*NSUndoManager) CanRedo ¶
func (o *NSUndoManager) CanRedo() bool
Whether the receiver has any actions to redo. Because any undo operation registered clears the redo stack, this method posts an NSUndoManagerCheckpointNotification to allow clients to apply their pending operations before testing the redo stack.
func (*NSUndoManager) CanUndo ¶
func (o *NSUndoManager) CanUndo() bool
Whether the receiver has any actions to undo. The return value does not mean you can safely invoke “undo“ or “undoNestedGroup“ — you may have to close open undo groups first.
func (*NSUndoManager) DisableUndoRegistration ¶
func (o *NSUndoManager) DisableUndoRegistration()
Disables the recording of undo operations, whether by “registerUndoWithTarget:selector:object:“ or by invocation-based undo. This method can be invoked multiple times by multiple clients. The “enableUndoRegistration“ method must be invoked an equal number of times to re-enable undo registration.
func (*NSUndoManager) EnableUndoRegistration ¶
func (o *NSUndoManager) EnableUndoRegistration()
Enables the recording of undo operations. Because undo registration is enabled by default, this is used to balance a prior “disableUndoRegistration“. Undo registration isn’t actually re-enabled until an enable message balances the last disable message in effect. Raises an NSInternalInconsistencyException if invoked while no disableUndoRegistration() message is in effect.
func (*NSUndoManager) EndUndoGrouping ¶
func (o *NSUndoManager) EndUndoGrouping()
Marks the end of an undo group. All individual undo operations back to the matching “beginUndoGrouping“ message are grouped together and reversed by a later “undo“ or “undoNestedGroup“ message. Undo groups can be nested, thus providing functionality similar to nested transactions. Raises an “NSInternalInconsistencyException“ if there’s no “beginUndoGrouping“ message in effect. This method posts an “NSUndoManagerCheckpointNotification“ and an “NSUndoManagerDidCloseUndoGroupNotification“ just before the group is closed.
func (*NSUndoManager) GroupingLevel ¶
func (o *NSUndoManager) GroupingLevel() int
The number of nested undo groups (or redo groups, if Redo was invoked last) in the current event loop. An integer indicating the number of nested groups. If `0` is returned, there is no open undo or redo group.
func (*NSUndoManager) GroupsByEvent ¶
func (o *NSUndoManager) GroupsByEvent() bool
A Boolean value that indicates whether the receiver automatically creates undo groups around each pass of the run loop. If `true`, the receiver automatically creates undo groups around each pass of the run loop. The default is `true`. If you turn automatic grouping off, you must close groups explicitly before invoking either “undo“ or “undoNestedGroup“.
func (*NSUndoManager) IsRedoing ¶
func (o *NSUndoManager) IsRedoing() bool
Whether the receiver is in the process of performing its “redo“ method.
func (*NSUndoManager) IsUndoRegistrationEnabled ¶
func (o *NSUndoManager) IsUndoRegistrationEnabled() bool
Whether the recording of undo operations is enabled.
func (*NSUndoManager) IsUndoing ¶
func (o *NSUndoManager) IsUndoing() bool
Whether the receiver is in the process of performing its “undo“ or “undoNestedGroup“ method.
func (*NSUndoManager) LevelsOfUndo ¶
func (o *NSUndoManager) LevelsOfUndo() uint
The maximum number of top-level undo groups the receiver holds. An integer specifying the number of undo groups. A limit of 0 indicates no limit, so old undo groups are never dropped. When ending an undo group results in the number of groups exceeding this limit, the oldest groups are dropped from the stack. The default is 0. If you change the limit to a level below the prior limit, old undo groups are immediately dropped.
func (*NSUndoManager) PrepareWithInvocationTarget ¶
func (o *NSUndoManager) PrepareWithInvocationTarget(target objc.ID) objc.ID
Prepares the undo manager for invocation-based undo with the given target as the subject of the next undo operation. For example, when called as: [[undoManager prepareWithInvocationTarget:target] setFont:oldFont color:oldColor] When undo is called, the specified target will be called with [target setFont:oldFont color:oldColor] - Parameter target: The target of the undo operation. The undo manager maintains a weak reference to `target`. - Returns: A proxy object that forwards messages to the undo manager for recording as undo actions.
func (*NSUndoManager) Redo ¶
func (o *NSUndoManager) Redo()
Performs the operations in the last group on the redo stack, if there are any, recording them on the undo stack as a single group. Raises an “NSInternalInconsistencyException“ if the method is invoked during an undo operation. This method posts an “NSUndoManagerCheckpointNotification“ and “NSUndoManagerWillRedoChangeNotification“ before it performs the redo operation, and it posts the “NSUndoManagerDidRedoChangeNotification“ after it performs the redo operation.
func (*NSUndoManager) RedoActionIsDiscardable ¶
func (o *NSUndoManager) RedoActionIsDiscardable() bool
Whether the next redo action is discardable. Specifies that the latest redo action may be safely discarded when a document can not be saved for any reason. These are typically actions that don’t affect persistent state. An example might be an redo action that changes the viewable area of a document.
func (*NSUndoManager) RedoActionName ¶
func (o *NSUndoManager) RedoActionName() *NSString
The name identifying the redo action. The redo action name. Returns an empty string if no action name has been assigned or if there is nothing to redo. For example, if the menu title is “Redo Delete,” the string returned is “Delete.”
func (*NSUndoManager) RedoActionUserInfoValueForKey ¶
func (o *NSUndoManager) RedoActionUserInfoValueForKey(key *NSString) objc.ID
Get a value from the redo action's user info - Parameter key: Which value should be retrieved
func (*NSUndoManager) RedoCount ¶
func (o *NSUndoManager) RedoCount() uint
How many times `redo` can be invoked before there are no more actions left to be redone
func (*NSUndoManager) RedoMenuItemTitle ¶
func (o *NSUndoManager) RedoMenuItemTitle() *NSString
The complete title of the Redo menu command, for example, “Redo Paste.” Returns “Redo” if no action name has been assigned or nil if there is nothing to redo.
func (*NSUndoManager) RedoMenuTitleForUndoActionName ¶
func (o *NSUndoManager) RedoMenuTitleForUndoActionName(actionName *NSString) *NSString
Returns the complete, localized title of the Redo menu command for the action identified by the given name. Override this method if you want to customize the localization behaviour. This method is invoked by “redoMenuItemTitle“. - Parameter actionName: The name of the redo action. - Returns: The localized title of the redo menu item.
func (*NSUndoManager) RegisterUndoWithTargetHandler ¶
func (o *NSUndoManager) RegisterUndoWithTargetHandler(target objc.ID, undoHandler func(objc.ID))
Records a single undo operation for a given target so that when an undo is performed, it executes the specified block. As with other undo operations, this does not strongly retain target. Care should be taken to avoid introducing retain cycles by other references captured by the block. - Parameter target: The target of the undo operation. - Parameter undoHandler: The block to be executed when an operation is undone. The block takes a single argument, the target of the undo operation.
func (*NSUndoManager) RegisterUndoWithTargetSelectorObject ¶
func (o *NSUndoManager) RegisterUndoWithTargetSelectorObject(target objc.ID, selector objc.SEL, object objc.ID)
Registers the selector of the specified target to implement a single undo operation that the target receives. - Parameter target: The target of the undo operation. The undo manager maintains an unowned reference to `target` to prevent retain cycles. - Parameter selector: The selector for the undo operation. - Parameter object: The argument sent with the selector. The undo manager maintains a strong reference to `object`
func (*NSUndoManager) RemoveAllActions ¶
func (o *NSUndoManager) RemoveAllActions()
Clears the undo and redo stacks and re-enables the receiver.
func (*NSUndoManager) RemoveAllActionsWithTarget ¶
func (o *NSUndoManager) RemoveAllActionsWithTarget(target objc.ID)
Clears the undo and redo stacks of all operations involving the specified target as the recipient of the undo message. Doesn't re-enable the receiver if it's disabled. - Parameter target: The recepient of the undo mesages to be removed.
func (*NSUndoManager) RunLoopModes ¶
func (o *NSUndoManager) RunLoopModes() *NSArray[*NSString]
The modes governing the types of input handled during a cycle of the run loop. An array of string constants specifying the current run-loop modes. By default, the sole run-loop mode is “NSDefaultRunLoopMode“ (which excludes data from “NSConnection“ objects). Some examples of other uses are to limit the input to data received during a mouse-tracking session by setting the mode to “NSEventTrackingRunLoopMode“, or limit it to data received from a modal panel with “NSModalPanelRunLoopMode“.
func (*NSUndoManager) SetActionIsDiscardable ¶
func (o *NSUndoManager) SetActionIsDiscardable(discardable bool)
Sets whether the next undo or redo action is discardable. Specifies that the latest undo action may be safely discarded when a document can not be saved for any reason. An example might be an undo action that changes the viewable area of a document. To find out if an undo group contains only discardable actions, look for the “NSUndoManagerGroupIsDiscardableKey“ in the `userInfo` dictionary of the “NSUndoManagerWillCloseUndoGroupNotification“. - Parameter discardable: Specifies if the action is discardable. YES if the next undo or redo action can be discarded; NO otherwise.
func (*NSUndoManager) SetActionName ¶
func (o *NSUndoManager) SetActionName(actionName *NSString)
Sets the name of the action associated with the Undo or Redo command. If `actionName` is an empty string, the undo manager removes the action name currently associated with the menu command. - Parameter actionName: The name of the action.
func (*NSUndoManager) SetActionUserInfoValueForKey ¶
func (o *NSUndoManager) SetActionUserInfoValueForKey(info objc.ID, key *NSString)
Set user info for the Undo or Redo command. - Parameter info: Value to be saved in the user info - Parameter key: Key at which the object should be saved
func (*NSUndoManager) SetGroupsByEvent ¶
func (o *NSUndoManager) SetGroupsByEvent(groupsByEvent bool)
func (*NSUndoManager) SetLevelsOfUndo ¶
func (o *NSUndoManager) SetLevelsOfUndo(levelsOfUndo uint)
func (*NSUndoManager) SetRunLoopModes ¶
func (o *NSUndoManager) SetRunLoopModes(runLoopModes *NSArray[*NSString])
func (*NSUndoManager) Undo ¶
func (o *NSUndoManager) Undo()
Closes the top-level undo group if necessary and invokes “undoNestedGroup“. This method also invokes “endUndoGrouping“ if the nesting level is 1. Raises an “NSInternalInconsistencyException“ if more than one undo group is open (that is, if the last group isn’t at the top level). This method posts an “NSUndoManagerCheckpointNotification“.
func (*NSUndoManager) UndoActionIsDiscardable ¶
func (o *NSUndoManager) UndoActionIsDiscardable() bool
Whether the next undo action is discardable. Specifies that the latest undo action may be safely discarded when a document can not be saved for any reason. These are typically actions that don’t affect persistent state. An example might be an undo action that changes the viewable area of a document.
func (*NSUndoManager) UndoActionName ¶
func (o *NSUndoManager) UndoActionName() *NSString
The name identifying the undo action. The undo action name. Returns an empty string if no action name has been assigned or if there is nothing to undo. For example, if the menu title is “Undo Delete,” the string returned is “Delete.”
func (*NSUndoManager) UndoActionUserInfoValueForKey ¶
func (o *NSUndoManager) UndoActionUserInfoValueForKey(key *NSString) objc.ID
Get a value from the undo action's user info - Parameter key: Which value should be retrieved
func (*NSUndoManager) UndoCount ¶
func (o *NSUndoManager) UndoCount() uint
How many times `undo` can be invoked before there are no more actions left to be undone
func (*NSUndoManager) UndoMenuItemTitle ¶
func (o *NSUndoManager) UndoMenuItemTitle() *NSString
The complete title of the Undo menu command, for example, “Undo Paste.” Returns “Undo” if no action name has been assigned or nil if there is nothing to undo.
func (*NSUndoManager) UndoMenuTitleForUndoActionName ¶
func (o *NSUndoManager) UndoMenuTitleForUndoActionName(actionName *NSString) *NSString
Returns the complete, localized title of the Undo menu command for the action identified by the given name. Override this method if you want to customize the localization behaviour. This method is invoked by “undoMenuItemTitle“. - Parameter actionName: The name of the undo action. - Returns: The localized title of the undo menu item.
func (*NSUndoManager) UndoNestedGroup ¶
func (o *NSUndoManager) UndoNestedGroup()
Performs the undo operations in the last undo group (whether top-level or nested), recording the operations on the redo stack as a single group. Raises an “NSInternalInconsistencyException“ if any undo operations have been registered since the last “enableUndoRegistration“ message. This method posts an “NSUndoManagerCheckpointNotification“ and “NSUndoManagerWillUndoChangeNotification“ before it performs the undo operation, and it posts an “NSUndoManagerDidUndoChangeNotification“ after it performs the undo operation.
type NSUniqueIDSpecifier ¶
type NSUniqueIDSpecifier struct {
NSScriptObjectSpecifier
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsuniqueidspecifier
func NSUniqueIDSpecifierFromID ¶
func NSUniqueIDSpecifierFromID(id objc.ID) *NSUniqueIDSpecifier
func (*NSUniqueIDSpecifier) InitWithCoder ¶
func (o *NSUniqueIDSpecifier) InitWithCoder(inCoder *NSCoder) *NSUniqueIDSpecifier
func (*NSUniqueIDSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyUniqueID ¶
func (o *NSUniqueIDSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyUniqueID(classDesc *NSScriptClassDescription, container *NSScriptObjectSpecifier, property *NSString, uniqueID objc.ID) *NSUniqueIDSpecifier
func (*NSUniqueIDSpecifier) SetUniqueID ¶
func (o *NSUniqueIDSpecifier) SetUniqueID(uniqueID objc.ID)
func (*NSUniqueIDSpecifier) UniqueID ¶
func (o *NSUniqueIDSpecifier) UniqueID() objc.ID
type NSUnit ¶
type NSUnit struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunit
func NSUnitFromID ¶
type NSUnitAcceleration ¶
type NSUnitAcceleration struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitacceleration
func NSUnitAccelerationFromID ¶
func NSUnitAccelerationFromID(id objc.ID) *NSUnitAcceleration
func NSUnitAccelerationGravity ¶
func NSUnitAccelerationGravity() *NSUnitAcceleration
func NSUnitAccelerationMetersPerSecondSquared ¶
func NSUnitAccelerationMetersPerSecondSquared() *NSUnitAcceleration
type NSUnitAngle ¶
type NSUnitAngle struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitangle
func NSUnitAngleArcMinutes ¶
func NSUnitAngleArcMinutes() *NSUnitAngle
func NSUnitAngleArcSeconds ¶
func NSUnitAngleArcSeconds() *NSUnitAngle
func NSUnitAngleDegrees ¶
func NSUnitAngleDegrees() *NSUnitAngle
func NSUnitAngleFromID ¶
func NSUnitAngleFromID(id objc.ID) *NSUnitAngle
func NSUnitAngleGradians ¶
func NSUnitAngleGradians() *NSUnitAngle
func NSUnitAngleRadians ¶
func NSUnitAngleRadians() *NSUnitAngle
func NSUnitAngleRevolutions ¶
func NSUnitAngleRevolutions() *NSUnitAngle
type NSUnitArea ¶
type NSUnitArea struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitarea
func NSUnitAreaAcres ¶
func NSUnitAreaAcres() *NSUnitArea
func NSUnitAreaAres ¶
func NSUnitAreaAres() *NSUnitArea
func NSUnitAreaFromID ¶
func NSUnitAreaFromID(id objc.ID) *NSUnitArea
func NSUnitAreaHectares ¶
func NSUnitAreaHectares() *NSUnitArea
func NSUnitAreaSquareCentimeters ¶
func NSUnitAreaSquareCentimeters() *NSUnitArea
func NSUnitAreaSquareFeet ¶
func NSUnitAreaSquareFeet() *NSUnitArea
func NSUnitAreaSquareInches ¶
func NSUnitAreaSquareInches() *NSUnitArea
func NSUnitAreaSquareKilometers ¶
func NSUnitAreaSquareKilometers() *NSUnitArea
func NSUnitAreaSquareMegameters ¶
func NSUnitAreaSquareMegameters() *NSUnitArea
func NSUnitAreaSquareMeters ¶
func NSUnitAreaSquareMeters() *NSUnitArea
func NSUnitAreaSquareMicrometers ¶
func NSUnitAreaSquareMicrometers() *NSUnitArea
func NSUnitAreaSquareMiles ¶
func NSUnitAreaSquareMiles() *NSUnitArea
func NSUnitAreaSquareMillimeters ¶
func NSUnitAreaSquareMillimeters() *NSUnitArea
func NSUnitAreaSquareNanometers ¶
func NSUnitAreaSquareNanometers() *NSUnitArea
func NSUnitAreaSquareYards ¶
func NSUnitAreaSquareYards() *NSUnitArea
type NSUnitConcentrationMass ¶
type NSUnitConcentrationMass struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitconcentrationmass
func NSUnitConcentrationMassFromID ¶
func NSUnitConcentrationMassFromID(id objc.ID) *NSUnitConcentrationMass
func NSUnitConcentrationMassGramsPerLiter ¶
func NSUnitConcentrationMassGramsPerLiter() *NSUnitConcentrationMass
func NSUnitConcentrationMassMilligramsPerDeciliter ¶
func NSUnitConcentrationMassMilligramsPerDeciliter() *NSUnitConcentrationMass
func NSUnitConcentrationMassMillimolesPerLiterWithGramsPerMole ¶
func NSUnitConcentrationMassMillimolesPerLiterWithGramsPerMole(gramsPerMole float64) *NSUnitConcentrationMass
type NSUnitConverter ¶
type NSUnitConverter struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitconverter
func NSUnitConverterFromID ¶
func NSUnitConverterFromID(id objc.ID) *NSUnitConverter
func (*NSUnitConverter) BaseUnitValueFromValue ¶
func (o *NSUnitConverter) BaseUnitValueFromValue(value float64) float64
func (*NSUnitConverter) ValueFromBaseUnitValue ¶
func (o *NSUnitConverter) ValueFromBaseUnitValue(baseUnitValue float64) float64
type NSUnitConverterLinear ¶
type NSUnitConverterLinear struct {
NSUnitConverter
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitconverterlinear
func NSUnitConverterLinearFromID ¶
func NSUnitConverterLinearFromID(id objc.ID) *NSUnitConverterLinear
func (*NSUnitConverterLinear) Coefficient ¶
func (o *NSUnitConverterLinear) Coefficient() float64
func (*NSUnitConverterLinear) Constant ¶
func (o *NSUnitConverterLinear) Constant() float64
func (*NSUnitConverterLinear) InitWithCoefficient ¶
func (o *NSUnitConverterLinear) InitWithCoefficient(coefficient float64) *NSUnitConverterLinear
func (*NSUnitConverterLinear) InitWithCoefficientConstant ¶
func (o *NSUnitConverterLinear) InitWithCoefficientConstant(coefficient float64, constant float64) *NSUnitConverterLinear
type NSUnitDispersion ¶
type NSUnitDispersion struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitdispersion
func NSUnitDispersionFromID ¶
func NSUnitDispersionFromID(id objc.ID) *NSUnitDispersion
func NSUnitDispersionPartsPerMillion ¶
func NSUnitDispersionPartsPerMillion() *NSUnitDispersion
type NSUnitDuration ¶
type NSUnitDuration struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitduration
func NSUnitDurationFromID ¶
func NSUnitDurationFromID(id objc.ID) *NSUnitDuration
func NSUnitDurationHours ¶
func NSUnitDurationHours() *NSUnitDuration
func NSUnitDurationMicroseconds ¶
func NSUnitDurationMicroseconds() *NSUnitDuration
func NSUnitDurationMilliseconds ¶
func NSUnitDurationMilliseconds() *NSUnitDuration
func NSUnitDurationMinutes ¶
func NSUnitDurationMinutes() *NSUnitDuration
func NSUnitDurationNanoseconds ¶
func NSUnitDurationNanoseconds() *NSUnitDuration
func NSUnitDurationPicoseconds ¶
func NSUnitDurationPicoseconds() *NSUnitDuration
func NSUnitDurationSeconds ¶
func NSUnitDurationSeconds() *NSUnitDuration
type NSUnitElectricCharge ¶
type NSUnitElectricCharge struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitelectriccharge
func NSUnitElectricChargeAmpereHours ¶
func NSUnitElectricChargeAmpereHours() *NSUnitElectricCharge
func NSUnitElectricChargeCoulombs ¶
func NSUnitElectricChargeCoulombs() *NSUnitElectricCharge
func NSUnitElectricChargeFromID ¶
func NSUnitElectricChargeFromID(id objc.ID) *NSUnitElectricCharge
func NSUnitElectricChargeKiloampereHours ¶
func NSUnitElectricChargeKiloampereHours() *NSUnitElectricCharge
func NSUnitElectricChargeMegaampereHours ¶
func NSUnitElectricChargeMegaampereHours() *NSUnitElectricCharge
func NSUnitElectricChargeMicroampereHours ¶
func NSUnitElectricChargeMicroampereHours() *NSUnitElectricCharge
func NSUnitElectricChargeMilliampereHours ¶
func NSUnitElectricChargeMilliampereHours() *NSUnitElectricCharge
type NSUnitElectricCurrent ¶
type NSUnitElectricCurrent struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitelectriccurrent
func NSUnitElectricCurrentAmperes ¶
func NSUnitElectricCurrentAmperes() *NSUnitElectricCurrent
func NSUnitElectricCurrentFromID ¶
func NSUnitElectricCurrentFromID(id objc.ID) *NSUnitElectricCurrent
func NSUnitElectricCurrentKiloamperes ¶
func NSUnitElectricCurrentKiloamperes() *NSUnitElectricCurrent
func NSUnitElectricCurrentMegaamperes ¶
func NSUnitElectricCurrentMegaamperes() *NSUnitElectricCurrent
func NSUnitElectricCurrentMicroamperes ¶
func NSUnitElectricCurrentMicroamperes() *NSUnitElectricCurrent
func NSUnitElectricCurrentMilliamperes ¶
func NSUnitElectricCurrentMilliamperes() *NSUnitElectricCurrent
type NSUnitElectricPotentialDifference ¶
type NSUnitElectricPotentialDifference struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitelectricpotentialdifference
func NSUnitElectricPotentialDifferenceFromID ¶
func NSUnitElectricPotentialDifferenceFromID(id objc.ID) *NSUnitElectricPotentialDifference
func NSUnitElectricPotentialDifferenceKilovolts ¶
func NSUnitElectricPotentialDifferenceKilovolts() *NSUnitElectricPotentialDifference
func NSUnitElectricPotentialDifferenceMegavolts ¶
func NSUnitElectricPotentialDifferenceMegavolts() *NSUnitElectricPotentialDifference
func NSUnitElectricPotentialDifferenceMicrovolts ¶
func NSUnitElectricPotentialDifferenceMicrovolts() *NSUnitElectricPotentialDifference
func NSUnitElectricPotentialDifferenceMillivolts ¶
func NSUnitElectricPotentialDifferenceMillivolts() *NSUnitElectricPotentialDifference
func NSUnitElectricPotentialDifferenceVolts ¶
func NSUnitElectricPotentialDifferenceVolts() *NSUnitElectricPotentialDifference
type NSUnitElectricResistance ¶
type NSUnitElectricResistance struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitelectricresistance
func NSUnitElectricResistanceFromID ¶
func NSUnitElectricResistanceFromID(id objc.ID) *NSUnitElectricResistance
func NSUnitElectricResistanceKiloohms ¶
func NSUnitElectricResistanceKiloohms() *NSUnitElectricResistance
func NSUnitElectricResistanceMegaohms ¶
func NSUnitElectricResistanceMegaohms() *NSUnitElectricResistance
func NSUnitElectricResistanceMicroohms ¶
func NSUnitElectricResistanceMicroohms() *NSUnitElectricResistance
func NSUnitElectricResistanceMilliohms ¶
func NSUnitElectricResistanceMilliohms() *NSUnitElectricResistance
func NSUnitElectricResistanceOhms ¶
func NSUnitElectricResistanceOhms() *NSUnitElectricResistance
type NSUnitEnergy ¶
type NSUnitEnergy struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitenergy
func NSUnitEnergyCalories ¶
func NSUnitEnergyCalories() *NSUnitEnergy
func NSUnitEnergyFromID ¶
func NSUnitEnergyFromID(id objc.ID) *NSUnitEnergy
func NSUnitEnergyJoules ¶
func NSUnitEnergyJoules() *NSUnitEnergy
func NSUnitEnergyKilocalories ¶
func NSUnitEnergyKilocalories() *NSUnitEnergy
func NSUnitEnergyKilojoules ¶
func NSUnitEnergyKilojoules() *NSUnitEnergy
func NSUnitEnergyKilowattHours ¶
func NSUnitEnergyKilowattHours() *NSUnitEnergy
type NSUnitFrequency ¶
type NSUnitFrequency struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitfrequency
func NSUnitFrequencyFramesPerSecond ¶
func NSUnitFrequencyFramesPerSecond() *NSUnitFrequency
func NSUnitFrequencyFromID ¶
func NSUnitFrequencyFromID(id objc.ID) *NSUnitFrequency
func NSUnitFrequencyGigahertz ¶
func NSUnitFrequencyGigahertz() *NSUnitFrequency
func NSUnitFrequencyHertz ¶
func NSUnitFrequencyHertz() *NSUnitFrequency
func NSUnitFrequencyKilohertz ¶
func NSUnitFrequencyKilohertz() *NSUnitFrequency
func NSUnitFrequencyMegahertz ¶
func NSUnitFrequencyMegahertz() *NSUnitFrequency
func NSUnitFrequencyMicrohertz ¶
func NSUnitFrequencyMicrohertz() *NSUnitFrequency
func NSUnitFrequencyMillihertz ¶
func NSUnitFrequencyMillihertz() *NSUnitFrequency
func NSUnitFrequencyNanohertz ¶
func NSUnitFrequencyNanohertz() *NSUnitFrequency
func NSUnitFrequencyTerahertz ¶
func NSUnitFrequencyTerahertz() *NSUnitFrequency
type NSUnitFuelEfficiency ¶
type NSUnitFuelEfficiency struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitfuelefficiency
func NSUnitFuelEfficiencyFromID ¶
func NSUnitFuelEfficiencyFromID(id objc.ID) *NSUnitFuelEfficiency
func NSUnitFuelEfficiencyLitersPer100Kilometers ¶
func NSUnitFuelEfficiencyLitersPer100Kilometers() *NSUnitFuelEfficiency
func NSUnitFuelEfficiencyMilesPerGallon ¶
func NSUnitFuelEfficiencyMilesPerGallon() *NSUnitFuelEfficiency
func NSUnitFuelEfficiencyMilesPerImperialGallon ¶
func NSUnitFuelEfficiencyMilesPerImperialGallon() *NSUnitFuelEfficiency
type NSUnitIlluminance ¶
type NSUnitIlluminance struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitilluminance
func NSUnitIlluminanceFromID ¶
func NSUnitIlluminanceFromID(id objc.ID) *NSUnitIlluminance
func NSUnitIlluminanceLux ¶
func NSUnitIlluminanceLux() *NSUnitIlluminance
type NSUnitInformationStorage ¶
type NSUnitInformationStorage struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitinformationstorage
func NSUnitInformationStorageBits ¶
func NSUnitInformationStorageBits() *NSUnitInformationStorage
func NSUnitInformationStorageBytes ¶
func NSUnitInformationStorageBytes() *NSUnitInformationStorage
func NSUnitInformationStorageExabits ¶
func NSUnitInformationStorageExabits() *NSUnitInformationStorage
func NSUnitInformationStorageExabytes ¶
func NSUnitInformationStorageExabytes() *NSUnitInformationStorage
func NSUnitInformationStorageExbibits ¶
func NSUnitInformationStorageExbibits() *NSUnitInformationStorage
func NSUnitInformationStorageExbibytes ¶
func NSUnitInformationStorageExbibytes() *NSUnitInformationStorage
func NSUnitInformationStorageFromID ¶
func NSUnitInformationStorageFromID(id objc.ID) *NSUnitInformationStorage
func NSUnitInformationStorageGibibits ¶
func NSUnitInformationStorageGibibits() *NSUnitInformationStorage
func NSUnitInformationStorageGibibytes ¶
func NSUnitInformationStorageGibibytes() *NSUnitInformationStorage
func NSUnitInformationStorageGigabits ¶
func NSUnitInformationStorageGigabits() *NSUnitInformationStorage
func NSUnitInformationStorageGigabytes ¶
func NSUnitInformationStorageGigabytes() *NSUnitInformationStorage
func NSUnitInformationStorageKibibits ¶
func NSUnitInformationStorageKibibits() *NSUnitInformationStorage
func NSUnitInformationStorageKibibytes ¶
func NSUnitInformationStorageKibibytes() *NSUnitInformationStorage
func NSUnitInformationStorageKilobits ¶
func NSUnitInformationStorageKilobits() *NSUnitInformationStorage
func NSUnitInformationStorageKilobytes ¶
func NSUnitInformationStorageKilobytes() *NSUnitInformationStorage
func NSUnitInformationStorageMebibits ¶
func NSUnitInformationStorageMebibits() *NSUnitInformationStorage
func NSUnitInformationStorageMebibytes ¶
func NSUnitInformationStorageMebibytes() *NSUnitInformationStorage
func NSUnitInformationStorageMegabits ¶
func NSUnitInformationStorageMegabits() *NSUnitInformationStorage
func NSUnitInformationStorageMegabytes ¶
func NSUnitInformationStorageMegabytes() *NSUnitInformationStorage
func NSUnitInformationStorageNibbles ¶
func NSUnitInformationStorageNibbles() *NSUnitInformationStorage
func NSUnitInformationStoragePebibits ¶
func NSUnitInformationStoragePebibits() *NSUnitInformationStorage
func NSUnitInformationStoragePebibytes ¶
func NSUnitInformationStoragePebibytes() *NSUnitInformationStorage
func NSUnitInformationStoragePetabits ¶
func NSUnitInformationStoragePetabits() *NSUnitInformationStorage
func NSUnitInformationStoragePetabytes ¶
func NSUnitInformationStoragePetabytes() *NSUnitInformationStorage
func NSUnitInformationStorageTebibits ¶
func NSUnitInformationStorageTebibits() *NSUnitInformationStorage
func NSUnitInformationStorageTebibytes ¶
func NSUnitInformationStorageTebibytes() *NSUnitInformationStorage
func NSUnitInformationStorageTerabits ¶
func NSUnitInformationStorageTerabits() *NSUnitInformationStorage
func NSUnitInformationStorageTerabytes ¶
func NSUnitInformationStorageTerabytes() *NSUnitInformationStorage
func NSUnitInformationStorageYobibits ¶
func NSUnitInformationStorageYobibits() *NSUnitInformationStorage
func NSUnitInformationStorageYobibytes ¶
func NSUnitInformationStorageYobibytes() *NSUnitInformationStorage
func NSUnitInformationStorageYottabits ¶
func NSUnitInformationStorageYottabits() *NSUnitInformationStorage
func NSUnitInformationStorageYottabytes ¶
func NSUnitInformationStorageYottabytes() *NSUnitInformationStorage
func NSUnitInformationStorageZebibits ¶
func NSUnitInformationStorageZebibits() *NSUnitInformationStorage
func NSUnitInformationStorageZebibytes ¶
func NSUnitInformationStorageZebibytes() *NSUnitInformationStorage
func NSUnitInformationStorageZettabits ¶
func NSUnitInformationStorageZettabits() *NSUnitInformationStorage
func NSUnitInformationStorageZettabytes ¶
func NSUnitInformationStorageZettabytes() *NSUnitInformationStorage
type NSUnitLength ¶
type NSUnitLength struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitlength
func NSUnitLengthAstronomicalUnits ¶
func NSUnitLengthAstronomicalUnits() *NSUnitLength
func NSUnitLengthCentimeters ¶
func NSUnitLengthCentimeters() *NSUnitLength
func NSUnitLengthDecameters ¶
func NSUnitLengthDecameters() *NSUnitLength
func NSUnitLengthDecimeters ¶
func NSUnitLengthDecimeters() *NSUnitLength
func NSUnitLengthFathoms ¶
func NSUnitLengthFathoms() *NSUnitLength
func NSUnitLengthFeet ¶
func NSUnitLengthFeet() *NSUnitLength
func NSUnitLengthFromID ¶
func NSUnitLengthFromID(id objc.ID) *NSUnitLength
func NSUnitLengthFurlongs ¶
func NSUnitLengthFurlongs() *NSUnitLength
func NSUnitLengthHectometers ¶
func NSUnitLengthHectometers() *NSUnitLength
func NSUnitLengthInches ¶
func NSUnitLengthInches() *NSUnitLength
func NSUnitLengthKilometers ¶
func NSUnitLengthKilometers() *NSUnitLength
func NSUnitLengthLightyears ¶
func NSUnitLengthLightyears() *NSUnitLength
func NSUnitLengthMegameters ¶
func NSUnitLengthMegameters() *NSUnitLength
func NSUnitLengthMeters ¶
func NSUnitLengthMeters() *NSUnitLength
func NSUnitLengthMicrometers ¶
func NSUnitLengthMicrometers() *NSUnitLength
func NSUnitLengthMiles ¶
func NSUnitLengthMiles() *NSUnitLength
func NSUnitLengthMillimeters ¶
func NSUnitLengthMillimeters() *NSUnitLength
func NSUnitLengthNanometers ¶
func NSUnitLengthNanometers() *NSUnitLength
func NSUnitLengthNauticalMiles ¶
func NSUnitLengthNauticalMiles() *NSUnitLength
func NSUnitLengthParsecs ¶
func NSUnitLengthParsecs() *NSUnitLength
func NSUnitLengthPicometers ¶
func NSUnitLengthPicometers() *NSUnitLength
func NSUnitLengthScandinavianMiles ¶
func NSUnitLengthScandinavianMiles() *NSUnitLength
func NSUnitLengthYards ¶
func NSUnitLengthYards() *NSUnitLength
type NSUnitMass ¶
type NSUnitMass struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitmass
func NSUnitMassCarats ¶
func NSUnitMassCarats() *NSUnitMass
func NSUnitMassCentigrams ¶
func NSUnitMassCentigrams() *NSUnitMass
func NSUnitMassDecigrams ¶
func NSUnitMassDecigrams() *NSUnitMass
func NSUnitMassFromID ¶
func NSUnitMassFromID(id objc.ID) *NSUnitMass
func NSUnitMassGrams ¶
func NSUnitMassGrams() *NSUnitMass
func NSUnitMassKilograms ¶
func NSUnitMassKilograms() *NSUnitMass
func NSUnitMassMetricTons ¶
func NSUnitMassMetricTons() *NSUnitMass
func NSUnitMassMicrograms ¶
func NSUnitMassMicrograms() *NSUnitMass
func NSUnitMassMilligrams ¶
func NSUnitMassMilligrams() *NSUnitMass
func NSUnitMassNanograms ¶
func NSUnitMassNanograms() *NSUnitMass
func NSUnitMassOunces ¶
func NSUnitMassOunces() *NSUnitMass
func NSUnitMassOuncesTroy ¶
func NSUnitMassOuncesTroy() *NSUnitMass
func NSUnitMassPicograms ¶
func NSUnitMassPicograms() *NSUnitMass
func NSUnitMassPoundsMass ¶
func NSUnitMassPoundsMass() *NSUnitMass
func NSUnitMassShortTons ¶
func NSUnitMassShortTons() *NSUnitMass
func NSUnitMassSlugs ¶
func NSUnitMassSlugs() *NSUnitMass
func NSUnitMassStones ¶
func NSUnitMassStones() *NSUnitMass
type NSUnitPower ¶
type NSUnitPower struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitpower
func NSUnitPowerFemtowatts ¶
func NSUnitPowerFemtowatts() *NSUnitPower
func NSUnitPowerFromID ¶
func NSUnitPowerFromID(id objc.ID) *NSUnitPower
func NSUnitPowerGigawatts ¶
func NSUnitPowerGigawatts() *NSUnitPower
func NSUnitPowerHorsepower ¶
func NSUnitPowerHorsepower() *NSUnitPower
func NSUnitPowerKilowatts ¶
func NSUnitPowerKilowatts() *NSUnitPower
func NSUnitPowerMegawatts ¶
func NSUnitPowerMegawatts() *NSUnitPower
func NSUnitPowerMicrowatts ¶
func NSUnitPowerMicrowatts() *NSUnitPower
func NSUnitPowerMilliwatts ¶
func NSUnitPowerMilliwatts() *NSUnitPower
func NSUnitPowerNanowatts ¶
func NSUnitPowerNanowatts() *NSUnitPower
func NSUnitPowerPicowatts ¶
func NSUnitPowerPicowatts() *NSUnitPower
func NSUnitPowerTerawatts ¶
func NSUnitPowerTerawatts() *NSUnitPower
func NSUnitPowerWatts ¶
func NSUnitPowerWatts() *NSUnitPower
type NSUnitPressure ¶
type NSUnitPressure struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitpressure
func NSUnitPressureBars ¶
func NSUnitPressureBars() *NSUnitPressure
func NSUnitPressureFromID ¶
func NSUnitPressureFromID(id objc.ID) *NSUnitPressure
func NSUnitPressureGigapascals ¶
func NSUnitPressureGigapascals() *NSUnitPressure
func NSUnitPressureHectopascals ¶
func NSUnitPressureHectopascals() *NSUnitPressure
func NSUnitPressureInchesOfMercury ¶
func NSUnitPressureInchesOfMercury() *NSUnitPressure
func NSUnitPressureKilopascals ¶
func NSUnitPressureKilopascals() *NSUnitPressure
func NSUnitPressureMegapascals ¶
func NSUnitPressureMegapascals() *NSUnitPressure
func NSUnitPressureMillibars ¶
func NSUnitPressureMillibars() *NSUnitPressure
func NSUnitPressureMillimetersOfMercury ¶
func NSUnitPressureMillimetersOfMercury() *NSUnitPressure
func NSUnitPressureNewtonsPerMetersSquared ¶
func NSUnitPressureNewtonsPerMetersSquared() *NSUnitPressure
func NSUnitPressurePoundsForcePerSquareInch ¶
func NSUnitPressurePoundsForcePerSquareInch() *NSUnitPressure
type NSUnitSpeed ¶
type NSUnitSpeed struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitspeed
func NSUnitSpeedFromID ¶
func NSUnitSpeedFromID(id objc.ID) *NSUnitSpeed
func NSUnitSpeedKilometersPerHour ¶
func NSUnitSpeedKilometersPerHour() *NSUnitSpeed
func NSUnitSpeedKnots ¶
func NSUnitSpeedKnots() *NSUnitSpeed
func NSUnitSpeedMetersPerSecond ¶
func NSUnitSpeedMetersPerSecond() *NSUnitSpeed
func NSUnitSpeedMilesPerHour ¶
func NSUnitSpeedMilesPerHour() *NSUnitSpeed
type NSUnitTemperature ¶
type NSUnitTemperature struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunittemperature
func NSUnitTemperatureCelsius ¶
func NSUnitTemperatureCelsius() *NSUnitTemperature
func NSUnitTemperatureFahrenheit ¶
func NSUnitTemperatureFahrenheit() *NSUnitTemperature
func NSUnitTemperatureFromID ¶
func NSUnitTemperatureFromID(id objc.ID) *NSUnitTemperature
func NSUnitTemperatureKelvin ¶
func NSUnitTemperatureKelvin() *NSUnitTemperature
type NSUnitVolume ¶
type NSUnitVolume struct {
NSDimension
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsunitvolume
func NSUnitVolumeAcreFeet ¶
func NSUnitVolumeAcreFeet() *NSUnitVolume
func NSUnitVolumeBushels ¶
func NSUnitVolumeBushels() *NSUnitVolume
func NSUnitVolumeCentiliters ¶
func NSUnitVolumeCentiliters() *NSUnitVolume
func NSUnitVolumeCubicCentimeters ¶
func NSUnitVolumeCubicCentimeters() *NSUnitVolume
func NSUnitVolumeCubicDecimeters ¶
func NSUnitVolumeCubicDecimeters() *NSUnitVolume
func NSUnitVolumeCubicFeet ¶
func NSUnitVolumeCubicFeet() *NSUnitVolume
func NSUnitVolumeCubicInches ¶
func NSUnitVolumeCubicInches() *NSUnitVolume
func NSUnitVolumeCubicKilometers ¶
func NSUnitVolumeCubicKilometers() *NSUnitVolume
func NSUnitVolumeCubicMeters ¶
func NSUnitVolumeCubicMeters() *NSUnitVolume
func NSUnitVolumeCubicMiles ¶
func NSUnitVolumeCubicMiles() *NSUnitVolume
func NSUnitVolumeCubicMillimeters ¶
func NSUnitVolumeCubicMillimeters() *NSUnitVolume
func NSUnitVolumeCubicYards ¶
func NSUnitVolumeCubicYards() *NSUnitVolume
func NSUnitVolumeCups ¶
func NSUnitVolumeCups() *NSUnitVolume
func NSUnitVolumeDeciliters ¶
func NSUnitVolumeDeciliters() *NSUnitVolume
func NSUnitVolumeFluidOunces ¶
func NSUnitVolumeFluidOunces() *NSUnitVolume
func NSUnitVolumeFromID ¶
func NSUnitVolumeFromID(id objc.ID) *NSUnitVolume
func NSUnitVolumeGallons ¶
func NSUnitVolumeGallons() *NSUnitVolume
func NSUnitVolumeImperialFluidOunces ¶
func NSUnitVolumeImperialFluidOunces() *NSUnitVolume
func NSUnitVolumeImperialGallons ¶
func NSUnitVolumeImperialGallons() *NSUnitVolume
func NSUnitVolumeImperialPints ¶
func NSUnitVolumeImperialPints() *NSUnitVolume
func NSUnitVolumeImperialQuarts ¶
func NSUnitVolumeImperialQuarts() *NSUnitVolume
func NSUnitVolumeImperialTablespoons ¶
func NSUnitVolumeImperialTablespoons() *NSUnitVolume
func NSUnitVolumeImperialTeaspoons ¶
func NSUnitVolumeImperialTeaspoons() *NSUnitVolume
func NSUnitVolumeKiloliters ¶
func NSUnitVolumeKiloliters() *NSUnitVolume
func NSUnitVolumeLiters ¶
func NSUnitVolumeLiters() *NSUnitVolume
func NSUnitVolumeMegaliters ¶
func NSUnitVolumeMegaliters() *NSUnitVolume
func NSUnitVolumeMetricCups ¶
func NSUnitVolumeMetricCups() *NSUnitVolume
func NSUnitVolumeMilliliters ¶
func NSUnitVolumeMilliliters() *NSUnitVolume
func NSUnitVolumePints ¶
func NSUnitVolumePints() *NSUnitVolume
func NSUnitVolumeQuarts ¶
func NSUnitVolumeQuarts() *NSUnitVolume
func NSUnitVolumeTablespoons ¶
func NSUnitVolumeTablespoons() *NSUnitVolume
func NSUnitVolumeTeaspoons ¶
func NSUnitVolumeTeaspoons() *NSUnitVolume
type NSUserActivity ¶
type NSUserActivity struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsuseractivity
func NSUserActivityFromID ¶
func NSUserActivityFromID(id objc.ID) *NSUserActivity
func (*NSUserActivity) ActivityType
deprecated
func (o *NSUserActivity) ActivityType() *NSString
Deprecated: Use initWithActivityType: with a specific activity type string
func (*NSUserActivity) AddUserInfoEntriesFromDictionary ¶
func (o *NSUserActivity) AddUserInfoEntriesFromDictionary(otherDictionary *NSDictionary[objc.ID, objc.ID])
func (*NSUserActivity) BecomeCurrent ¶
func (o *NSUserActivity) BecomeCurrent()
func (*NSUserActivity) Delegate ¶
func (o *NSUserActivity) Delegate() NSUserActivityDelegate
func (*NSUserActivity) ExpirationDate ¶
func (o *NSUserActivity) ExpirationDate() *NSDate
func (*NSUserActivity) GetContinuationStreamsWithCompletionHandler ¶
func (o *NSUserActivity) GetContinuationStreamsWithCompletionHandler(completionHandler func(*NSInputStream, *NSOutputStream, unsafe.Pointer))
func (*NSUserActivity) Init
deprecated
func (o *NSUserActivity) Init() *NSUserActivity
Deprecated: Use initWithActivityType: with a specific activity type string
func (*NSUserActivity) InitWithActivityType ¶
func (o *NSUserActivity) InitWithActivityType(activityType *NSString) *NSUserActivity
func (*NSUserActivity) Invalidate ¶
func (o *NSUserActivity) Invalidate()
func (*NSUserActivity) IsEligibleForHandoff ¶
func (o *NSUserActivity) IsEligibleForHandoff() bool
func (*NSUserActivity) IsEligibleForPublicIndexing ¶
func (o *NSUserActivity) IsEligibleForPublicIndexing() bool
func (*NSUserActivity) IsEligibleForSearch ¶
func (o *NSUserActivity) IsEligibleForSearch() bool
func (*NSUserActivity) Keywords ¶
func (o *NSUserActivity) Keywords() *NSSet[*NSString]
func (*NSUserActivity) NeedsSave ¶
func (o *NSUserActivity) NeedsSave() bool
func (*NSUserActivity) PersistentIdentifier ¶
func (o *NSUserActivity) PersistentIdentifier() *NSString
func (*NSUserActivity) ReferrerURL ¶
func (o *NSUserActivity) ReferrerURL() *NSURL
func (*NSUserActivity) RequiredUserInfoKeys ¶
func (o *NSUserActivity) RequiredUserInfoKeys() *NSSet[*NSString]
func (*NSUserActivity) ResignCurrent ¶
func (o *NSUserActivity) ResignCurrent()
func (*NSUserActivity) SetDelegate ¶
func (o *NSUserActivity) SetDelegate(delegate NSUserActivityDelegate)
func (*NSUserActivity) SetEligibleForHandoff ¶
func (o *NSUserActivity) SetEligibleForHandoff(eligibleForHandoff bool)
func (*NSUserActivity) SetEligibleForPublicIndexing ¶
func (o *NSUserActivity) SetEligibleForPublicIndexing(eligibleForPublicIndexing bool)
func (*NSUserActivity) SetEligibleForSearch ¶
func (o *NSUserActivity) SetEligibleForSearch(eligibleForSearch bool)
func (*NSUserActivity) SetExpirationDate ¶
func (o *NSUserActivity) SetExpirationDate(expirationDate *NSDate)
func (*NSUserActivity) SetKeywords ¶
func (o *NSUserActivity) SetKeywords(keywords *NSSet[*NSString])
func (*NSUserActivity) SetNeedsSave ¶
func (o *NSUserActivity) SetNeedsSave(needsSave bool)
func (*NSUserActivity) SetPersistentIdentifier ¶
func (o *NSUserActivity) SetPersistentIdentifier(persistentIdentifier *NSString)
func (*NSUserActivity) SetReferrerURL ¶
func (o *NSUserActivity) SetReferrerURL(referrerURL *NSURL)
func (*NSUserActivity) SetRequiredUserInfoKeys ¶
func (o *NSUserActivity) SetRequiredUserInfoKeys(requiredUserInfoKeys *NSSet[*NSString])
func (*NSUserActivity) SetSupportsContinuationStreams ¶
func (o *NSUserActivity) SetSupportsContinuationStreams(supportsContinuationStreams bool)
func (*NSUserActivity) SetTargetContentIdentifier ¶
func (o *NSUserActivity) SetTargetContentIdentifier(targetContentIdentifier *NSString)
func (*NSUserActivity) SetTitle ¶
func (o *NSUserActivity) SetTitle(title *NSString)
func (*NSUserActivity) SetUserInfo ¶
func (o *NSUserActivity) SetUserInfo(userInfo *NSDictionary[objc.ID, objc.ID])
func (*NSUserActivity) SetWebpageURL ¶
func (o *NSUserActivity) SetWebpageURL(webpageURL *NSURL)
func (*NSUserActivity) SupportsContinuationStreams ¶
func (o *NSUserActivity) SupportsContinuationStreams() bool
func (*NSUserActivity) TargetContentIdentifier ¶
func (o *NSUserActivity) TargetContentIdentifier() *NSString
func (*NSUserActivity) Title ¶
func (o *NSUserActivity) Title() *NSString
func (*NSUserActivity) UserInfo ¶
func (o *NSUserActivity) UserInfo() *NSDictionary[objc.ID, objc.ID]
func (*NSUserActivity) WebpageURL ¶
func (o *NSUserActivity) WebpageURL() *NSURL
type NSUserActivityDelegate ¶
type NSUserActivityDelegate interface {
}
NSUserActivityDelegate wraps the ObjC protocol NSUserActivityDelegate.
type NSUserAppleScriptTask ¶
type NSUserAppleScriptTask struct {
NSUserScriptTask
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsuserapplescripttask
func NSUserAppleScriptTaskFromID ¶
func NSUserAppleScriptTaskFromID(id objc.ID) *NSUserAppleScriptTask
func (*NSUserAppleScriptTask) ExecuteWithAppleEventCompletionHandler ¶
func (o *NSUserAppleScriptTask) ExecuteWithAppleEventCompletionHandler(event *NSAppleEventDescriptor, handler func(*NSAppleEventDescriptor, unsafe.Pointer))
type NSUserAutomatorTask ¶
type NSUserAutomatorTask struct {
NSUserScriptTask
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsuserautomatortask
func NSUserAutomatorTaskFromID ¶
func NSUserAutomatorTaskFromID(id objc.ID) *NSUserAutomatorTask
func (*NSUserAutomatorTask) ExecuteWithInputCompletionHandler ¶
func (o *NSUserAutomatorTask) ExecuteWithInputCompletionHandler(input NSSecureCoding, handler func(objc.ID, unsafe.Pointer))
func (*NSUserAutomatorTask) SetVariables ¶
func (o *NSUserAutomatorTask) SetVariables(variables *NSDictionary[*NSString, objc.ID])
func (*NSUserAutomatorTask) Variables ¶
func (o *NSUserAutomatorTask) Variables() *NSDictionary[*NSString, objc.ID]
type NSUserDefaults ¶
type NSUserDefaults struct {
NSObject
}
NSUserDefaults is a hierarchical persistent interprocess (optionally distributed) key-value store, optimized for storing user settings. Hierarchical: NSUserDefaults has a list of places to look for data called the "search list". A search list is referred to by an arbitrary string called the "suite identifier" or "domain identifier". When queried, NSUserDefaults checks each entry of its search list until it finds one that contains the key in question, or has searched the whole list. The list is (note: "current host + current user" preferences are unimplemented on iOS, watchOS, and tvOS, and "any user" preferences are not generally useful for applications on those operating systems): - Managed ("forced") preferences, set by a configuration profile or via mcx from a network administrator - Commandline arguments - Preferences for the current domain, in the cloud - Preferences for the current domain, the current user, in the current host - Preferences for the current domain, the current user, in any host - Preferences added via -addSuiteNamed: - Preferences global to all apps for the current user, in the current host - Preferences global to all apps for the current user, in any host - Preferences for the current domain, for all users, in the current host - Preferences global to all apps for all users, in the current host - Preferences registered with -registerDefaults: Persistent: Preferences stored in NSUserDefaults persist across reboots and relaunches of apps unless otherwise specified. Interprocess: Preferences may be accessible to and modified from multiple processes simultaneously (for example between an application and an extension). Optionally distributed (Currently only supported in Shared iPad for Students mode): Data stored in user defaults can be made "ubiqitous", i.e. synchronized between devices via the cloud. Ubiquitous user defaults are automatically propagated to all devices logged into the same iCloud account. When reading defaults (via -*ForKey: methods on NSUserDefaults), ubiquitous defaults are searched before local defaults. All operations on ubiquitous defaults are asynchronous, so registered defaults may be returned in place of ubiquitous defaults if downloading from iCloud hasn't finished. Ubiquitous defaults are specified in the Defaults Configuration File for an application. Key-Value Store: NSUserDefaults stores Property List objects (NSString, NSData, NSNumber, NSDate, NSArray, and NSDictionary) identified by NSString keys, similar to an NSMutableDictionary. Optimized for storing user settings: NSUserDefaults is intended for relatively small amounts of data, queried very frequently, and modified occasionally. Using it in other ways may be slow or use more memory than solutions more suited to those uses. The 'App' CFPreferences functions in CoreFoundation act on the same search lists that NSUserDefaults does. NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
Apple documentation: https://developer.apple.com/documentation/foundation/nsuserdefaults
func NSUserDefaultsFromID ¶
func NSUserDefaultsFromID(id objc.ID) *NSUserDefaults
func NSUserDefaultsStandardUserDefaults ¶
func NSUserDefaultsStandardUserDefaults() *NSUserDefaults
+standardUserDefaults returns a global instance of NSUserDefaults configured to search the current application's search list.
func (*NSUserDefaults) AddSuiteNamed ¶
func (o *NSUserDefaults) AddSuiteNamed(suiteName *NSString)
-addSuiteNamed: adds the full search list for 'suiteName' as a sub-search-list of the receiver's. The additional search lists are searched after the current domain, but before global defaults. Passing NSGlobalDomain or the current application's bundle identifier is unsupported.
func (*NSUserDefaults) ArrayForKey ¶
func (o *NSUserDefaults) ArrayForKey(defaultName *NSString) *NSArray[objc.ID]
-arrayForKey: is equivalent to -objectForKey:, except that it will return nil if the value is not an NSArray.
func (*NSUserDefaults) BoolForKey ¶
func (o *NSUserDefaults) BoolForKey(defaultName *NSString) bool
-boolForKey: is equivalent to -objectForKey:, except that it converts the returned value to a BOOL. If the value is an NSNumber, NO will be returned if the value is 0, YES otherwise. If the value is an NSString, values of "YES" or "1" will return YES, and values of "NO", "0", or any other string will return NO. If the value is absent or can't be converted to a BOOL, NO will be returned.
func (*NSUserDefaults) DataForKey ¶
func (o *NSUserDefaults) DataForKey(defaultName *NSString) *NSData
-dataForKey: is equivalent to -objectForKey:, except that it will return nil if the value is not an NSData.
func (*NSUserDefaults) DictionaryForKey ¶
func (o *NSUserDefaults) DictionaryForKey(defaultName *NSString) *NSDictionary[*NSString, objc.ID]
-dictionaryForKey: is equivalent to -objectForKey:, except that it will return nil if the value is not an NSDictionary.
func (*NSUserDefaults) DictionaryRepresentation ¶
func (o *NSUserDefaults) DictionaryRepresentation() *NSDictionary[*NSString, objc.ID]
-dictionaryRepresentation returns a composite snapshot of the values in the receiver's search list, such that [[receiver dictionaryRepresentation] objectForKey:x] will return the same thing as [receiver objectForKey:x].
func (*NSUserDefaults) DoubleForKey ¶
func (o *NSUserDefaults) DoubleForKey(defaultName *NSString) float64
-doubleForKey: is similar to -integerForKey:, except that it returns a double, and boolean values will not be converted.
func (*NSUserDefaults) FloatForKey ¶
func (o *NSUserDefaults) FloatForKey(defaultName *NSString) float32
-floatForKey: is similar to -integerForKey:, except that it returns a float, and boolean values will not be converted.
func (*NSUserDefaults) Init ¶
func (o *NSUserDefaults) Init() *NSUserDefaults
-init is equivalent to -initWithSuiteName:nil
func (*NSUserDefaults) InitWithSuiteName ¶
func (o *NSUserDefaults) InitWithSuiteName(suitename *NSString) *NSUserDefaults
-initWithSuiteName: initializes an instance of NSUserDefaults that searches the shared preferences search list for the domain 'suitename'. For example, using the identifier of an application group will cause the receiver to search the preferences for that group. Passing the current application's bundle identifier, NSGlobalDomain, or the corresponding CFPreferences constants is an error. Passing nil will search the default search list.
func (*NSUserDefaults) InitWithUser ¶
func (o *NSUserDefaults) InitWithUser(username *NSString) objc.ID
-initWithUser: is equivalent to -init Deprecated: Use -init instead
func (*NSUserDefaults) IntegerForKey ¶
func (o *NSUserDefaults) IntegerForKey(defaultName *NSString) int
-integerForKey: is equivalent to -objectForKey:, except that it converts the returned value to an NSInteger. If the value is an NSNumber, the result of -integerValue will be returned. If the value is an NSString, it will be converted to NSInteger if possible. If the value is a boolean, it will be converted to either 1 for YES or 0 for NO. If the value is absent or can't be converted to an integer, 0 will be returned.
func (*NSUserDefaults) ObjectForKey ¶
func (o *NSUserDefaults) ObjectForKey(defaultName *NSString) objc.ID
-objectForKey: will search the receiver's search list for a default with the key 'defaultName' and return it. If another process has changed defaults in the search list, NSUserDefaults will automatically update to the latest values. If the key in question has been marked as ubiquitous via a Defaults Configuration File, the latest value may not be immediately available, and the registered value will be returned instead.
func (*NSUserDefaults) ObjectIsForcedForKey ¶
func (o *NSUserDefaults) ObjectIsForcedForKey(key *NSString) bool
func (*NSUserDefaults) ObjectIsForcedForKeyInDomain ¶
func (o *NSUserDefaults) ObjectIsForcedForKeyInDomain(key *NSString, domain *NSString) bool
func (*NSUserDefaults) PersistentDomainForName ¶
func (o *NSUserDefaults) PersistentDomainForName(domainName *NSString) *NSDictionary[*NSString, objc.ID]
-persistentDomainForName: returns a dictionary representation of the search list entry specified by 'domainName', the current user, and any host. Deprecated: Not recommended
func (*NSUserDefaults) PersistentDomainNames ¶
func (o *NSUserDefaults) PersistentDomainNames() *NSArray[objc.ID]
-persistentDomainNames returns an incomplete list of domains that have preferences stored in them. Deprecated: Not recommended
func (*NSUserDefaults) RegisterDefaults ¶
func (o *NSUserDefaults) RegisterDefaults(registrationDictionary *NSDictionary[*NSString, objc.ID])
-registerDefaults: adds the registrationDictionary to the last item in every search list. This means that after NSUserDefaults has looked for a value in every other valid location, it will look in registered defaults, making them useful as a "fallback" value. Registered defaults are never stored between runs of an application, and are visible only to the application that registers them. Default values from Defaults Configuration Files will automatically be registered.
func (*NSUserDefaults) RemoveObjectForKey ¶
func (o *NSUserDefaults) RemoveObjectForKey(defaultName *NSString)
-removeObjectForKey: is equivalent to -[... setObject:nil forKey:defaultName]
func (*NSUserDefaults) RemovePersistentDomainForName ¶
func (o *NSUserDefaults) RemovePersistentDomainForName(domainName *NSString)
-removePersistentDomainForName: removes all values from the search list entry specified by 'domainName', the current user, and any host. The change is persistent.
func (*NSUserDefaults) RemoveSuiteNamed ¶
func (o *NSUserDefaults) RemoveSuiteNamed(suiteName *NSString)
-removeSuiteNamed: removes a sub-searchlist added via -addSuiteNamed:.
func (*NSUserDefaults) RemoveVolatileDomainForName ¶
func (o *NSUserDefaults) RemoveVolatileDomainForName(domainName *NSString)
func (*NSUserDefaults) SetBoolForKey ¶
func (o *NSUserDefaults) SetBoolForKey(value bool, defaultName *NSString)
-setBool:forKey: is equivalent to -setObject:forKey: except that the value is converted from a BOOL to an NSNumber.
func (*NSUserDefaults) SetDoubleForKey ¶
func (o *NSUserDefaults) SetDoubleForKey(value float64, defaultName *NSString)
-setDouble:forKey: is equivalent to -setObject:forKey: except that the value is converted from a double to an NSNumber.
func (*NSUserDefaults) SetFloatForKey ¶
func (o *NSUserDefaults) SetFloatForKey(value float32, defaultName *NSString)
-setFloat:forKey: is equivalent to -setObject:forKey: except that the value is converted from a float to an NSNumber.
func (*NSUserDefaults) SetIntegerForKey ¶
func (o *NSUserDefaults) SetIntegerForKey(value int, defaultName *NSString)
-setInteger:forKey: is equivalent to -setObject:forKey: except that the value is converted from an NSInteger to an NSNumber.
func (*NSUserDefaults) SetObjectForKey ¶
func (o *NSUserDefaults) SetObjectForKey(value objc.ID, defaultName *NSString)
-setObject:forKey: immediately stores a value (or removes the value if nil is passed as the value) for the provided key in the search list entry for the receiver's suite name in the current user and any host, then asynchronously stores the value persistently, where it is made available to other processes.
func (*NSUserDefaults) SetPersistentDomainForName ¶
func (o *NSUserDefaults) SetPersistentDomainForName(domain *NSDictionary[*NSString, objc.ID], domainName *NSString)
-setPersistentDomain:forName: replaces all values in the search list entry specified by 'domainName', the current user, and any host, with the values in 'domain'. The change will be persisted.
func (*NSUserDefaults) SetURLForKey ¶
func (o *NSUserDefaults) SetURLForKey(url *NSURL, defaultName *NSString)
-setURL:forKey is equivalent to -setObject:forKey: except that the value is archived to an NSData. Use -URLForKey: to retrieve values set this way.
func (*NSUserDefaults) SetVolatileDomainForName ¶
func (o *NSUserDefaults) SetVolatileDomainForName(domain *NSDictionary[*NSString, objc.ID], domainName *NSString)
func (*NSUserDefaults) StringArrayForKey ¶
func (o *NSUserDefaults) StringArrayForKey(defaultName *NSString) *NSArray[*NSString]
-stringForKey: is equivalent to -objectForKey:, except that it will return nil if the value is not an NSArray<NSString *>. Note that unlike -stringForKey:, NSNumbers are not converted to NSStrings.
func (*NSUserDefaults) StringForKey ¶
func (o *NSUserDefaults) StringForKey(defaultName *NSString) *NSString
-stringForKey: is equivalent to -objectForKey:, except that it will convert NSNumber values to their NSString representation. If a non-string non-number value is found, nil will be returned.
func (*NSUserDefaults) Synchronize ¶
func (o *NSUserDefaults) Synchronize() bool
-synchronize is deprecated and will be marked with the API_DEPRECATED macro in a future release. -synchronize blocks the calling thread until all in-progress set operations have completed. This is no longer necessary. Replacements for previous uses of -synchronize depend on what the intent of calling synchronize was. If you synchronized... - ...before reading in order to fetch updated values: remove the synchronize call - ...after writing in order to notify another program to read: the other program can use KVO to observe the default without needing to notify - ...before exiting in a non-app (command line tool, agent, or daemon) process: call CFPreferencesAppSynchronize(kCFPreferencesCurrentApplication) - ...for any other reason: remove the synchronize call
func (*NSUserDefaults) URLForKey ¶
func (o *NSUserDefaults) URLForKey(defaultName *NSString) *NSURL
-URLForKey: is equivalent to -objectForKey: except that it converts the returned value to an NSURL. If the value is an NSString path, then it will construct a file URL to that path. If the value is an archived URL from -setURL:forKey: it will be unarchived. If the value is absent or can't be converted to an NSURL, nil will be returned.
func (*NSUserDefaults) VolatileDomainForName ¶
func (o *NSUserDefaults) VolatileDomainForName(domainName *NSString) *NSDictionary[*NSString, objc.ID]
func (*NSUserDefaults) VolatileDomainNames ¶
func (o *NSUserDefaults) VolatileDomainNames() *NSArray[*NSString]
type NSUserNotification ¶
type NSUserNotification struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsusernotification Deprecated: All NSUserNotifications API should be replaced with UserNotifications.frameworks API
func NSUserNotificationFromID ¶
func NSUserNotificationFromID(id objc.ID) *NSUserNotification
func (*NSUserNotification) ActionButtonTitle ¶
func (o *NSUserNotification) ActionButtonTitle() *NSString
func (*NSUserNotification) ActivationType ¶
func (o *NSUserNotification) ActivationType() NSUserNotificationActivationType
func (*NSUserNotification) ActualDeliveryDate ¶
func (o *NSUserNotification) ActualDeliveryDate() *NSDate
func (*NSUserNotification) AdditionalActions ¶
func (o *NSUserNotification) AdditionalActions() *NSArray[*NSUserNotificationAction]
func (*NSUserNotification) AdditionalActivationAction ¶
func (o *NSUserNotification) AdditionalActivationAction() *NSUserNotificationAction
func (*NSUserNotification) ContentImage ¶
func (o *NSUserNotification) ContentImage() objc.ID
func (*NSUserNotification) DeliveryDate ¶
func (o *NSUserNotification) DeliveryDate() *NSDate
func (*NSUserNotification) DeliveryRepeatInterval ¶
func (o *NSUserNotification) DeliveryRepeatInterval() *NSDateComponents
func (*NSUserNotification) DeliveryTimeZone ¶
func (o *NSUserNotification) DeliveryTimeZone() *NSTimeZone
func (*NSUserNotification) HasActionButton ¶
func (o *NSUserNotification) HasActionButton() bool
func (*NSUserNotification) HasReplyButton ¶
func (o *NSUserNotification) HasReplyButton() bool
func (*NSUserNotification) Identifier ¶
func (o *NSUserNotification) Identifier() *NSString
func (*NSUserNotification) InformativeText ¶
func (o *NSUserNotification) InformativeText() *NSString
func (*NSUserNotification) Init ¶
func (o *NSUserNotification) Init() *NSUserNotification
func (*NSUserNotification) IsPresented ¶
func (o *NSUserNotification) IsPresented() bool
func (*NSUserNotification) IsRemote ¶
func (o *NSUserNotification) IsRemote() bool
func (*NSUserNotification) OtherButtonTitle ¶
func (o *NSUserNotification) OtherButtonTitle() *NSString
func (*NSUserNotification) Response ¶
func (o *NSUserNotification) Response() *NSAttributedString
func (*NSUserNotification) ResponsePlaceholder ¶
func (o *NSUserNotification) ResponsePlaceholder() *NSString
func (*NSUserNotification) SetActionButtonTitle ¶
func (o *NSUserNotification) SetActionButtonTitle(actionButtonTitle *NSString)
func (*NSUserNotification) SetAdditionalActions ¶
func (o *NSUserNotification) SetAdditionalActions(additionalActions *NSArray[*NSUserNotificationAction])
func (*NSUserNotification) SetContentImage ¶
func (o *NSUserNotification) SetContentImage(contentImage objc.ID)
func (*NSUserNotification) SetDeliveryDate ¶
func (o *NSUserNotification) SetDeliveryDate(deliveryDate *NSDate)
func (*NSUserNotification) SetDeliveryRepeatInterval ¶
func (o *NSUserNotification) SetDeliveryRepeatInterval(deliveryRepeatInterval *NSDateComponents)
func (*NSUserNotification) SetDeliveryTimeZone ¶
func (o *NSUserNotification) SetDeliveryTimeZone(deliveryTimeZone *NSTimeZone)
func (*NSUserNotification) SetHasActionButton ¶
func (o *NSUserNotification) SetHasActionButton(hasActionButton bool)
func (*NSUserNotification) SetHasReplyButton ¶
func (o *NSUserNotification) SetHasReplyButton(hasReplyButton bool)
func (*NSUserNotification) SetIdentifier ¶
func (o *NSUserNotification) SetIdentifier(identifier *NSString)
func (*NSUserNotification) SetInformativeText ¶
func (o *NSUserNotification) SetInformativeText(informativeText *NSString)
func (*NSUserNotification) SetOtherButtonTitle ¶
func (o *NSUserNotification) SetOtherButtonTitle(otherButtonTitle *NSString)
func (*NSUserNotification) SetResponsePlaceholder ¶
func (o *NSUserNotification) SetResponsePlaceholder(responsePlaceholder *NSString)
func (*NSUserNotification) SetSoundName ¶
func (o *NSUserNotification) SetSoundName(soundName *NSString)
func (*NSUserNotification) SetSubtitle ¶
func (o *NSUserNotification) SetSubtitle(subtitle *NSString)
func (*NSUserNotification) SetTitle ¶
func (o *NSUserNotification) SetTitle(title *NSString)
func (*NSUserNotification) SetUserInfo ¶
func (o *NSUserNotification) SetUserInfo(userInfo *NSDictionary[*NSString, objc.ID])
func (*NSUserNotification) SoundName ¶
func (o *NSUserNotification) SoundName() *NSString
func (*NSUserNotification) Subtitle ¶
func (o *NSUserNotification) Subtitle() *NSString
func (*NSUserNotification) Title ¶
func (o *NSUserNotification) Title() *NSString
func (*NSUserNotification) UserInfo ¶
func (o *NSUserNotification) UserInfo() *NSDictionary[*NSString, objc.ID]
type NSUserNotificationAction ¶
type NSUserNotificationAction struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsusernotificationaction Deprecated: All NSUserNotifications API should be replaced with UserNotifications.frameworks API
func NSUserNotificationActionActionWithIdentifierTitle
deprecated
func NSUserNotificationActionActionWithIdentifierTitle(identifier *NSString, title *NSString) *NSUserNotificationAction
Deprecated: All NSUserNotifications API should be replaced with UserNotifications.frameworks API
func NSUserNotificationActionFromID ¶
func NSUserNotificationActionFromID(id objc.ID) *NSUserNotificationAction
func (*NSUserNotificationAction) Identifier ¶
func (o *NSUserNotificationAction) Identifier() *NSString
func (*NSUserNotificationAction) Title ¶
func (o *NSUserNotificationAction) Title() *NSString
type NSUserNotificationActivationType
deprecated
type NSUserNotificationActivationType int64
Deprecated: All NSUserNotifications API should be replaced with UserNotifications.frameworks API
const ( NSUserNotificationActivationTypeNone NSUserNotificationActivationType = 0 NSUserNotificationActivationTypeContentsClicked NSUserNotificationActivationType = 1 NSUserNotificationActivationTypeActionButtonClicked NSUserNotificationActivationType = 2 NSUserNotificationActivationTypeReplied NSUserNotificationActivationType = 3 NSUserNotificationActivationTypeAdditionalActionClicked NSUserNotificationActivationType = 4 )
func (NSUserNotificationActivationType) String ¶
func (e NSUserNotificationActivationType) String() string
type NSUserNotificationCenter ¶
type NSUserNotificationCenter struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsusernotificationcenter Deprecated: All NSUserNotifications API should be replaced with UserNotifications.frameworks API
func NSUserNotificationCenterDefaultUserNotificationCenter ¶
func NSUserNotificationCenterDefaultUserNotificationCenter() *NSUserNotificationCenter
func NSUserNotificationCenterFromID ¶
func NSUserNotificationCenterFromID(id objc.ID) *NSUserNotificationCenter
func (*NSUserNotificationCenter) Delegate ¶
func (o *NSUserNotificationCenter) Delegate() NSUserNotificationCenterDelegate
func (*NSUserNotificationCenter) DeliverNotification ¶
func (o *NSUserNotificationCenter) DeliverNotification(notification *NSUserNotification)
func (*NSUserNotificationCenter) DeliveredNotifications ¶
func (o *NSUserNotificationCenter) DeliveredNotifications() *NSArray[*NSUserNotification]
func (*NSUserNotificationCenter) RemoveAllDeliveredNotifications ¶
func (o *NSUserNotificationCenter) RemoveAllDeliveredNotifications()
func (*NSUserNotificationCenter) RemoveDeliveredNotification ¶
func (o *NSUserNotificationCenter) RemoveDeliveredNotification(notification *NSUserNotification)
func (*NSUserNotificationCenter) RemoveScheduledNotification ¶
func (o *NSUserNotificationCenter) RemoveScheduledNotification(notification *NSUserNotification)
func (*NSUserNotificationCenter) ScheduleNotification ¶
func (o *NSUserNotificationCenter) ScheduleNotification(notification *NSUserNotification)
func (*NSUserNotificationCenter) ScheduledNotifications ¶
func (o *NSUserNotificationCenter) ScheduledNotifications() *NSArray[*NSUserNotification]
func (*NSUserNotificationCenter) SetDelegate ¶
func (o *NSUserNotificationCenter) SetDelegate(delegate NSUserNotificationCenterDelegate)
func (*NSUserNotificationCenter) SetScheduledNotifications ¶
func (o *NSUserNotificationCenter) SetScheduledNotifications(scheduledNotifications *NSArray[*NSUserNotification])
type NSUserNotificationCenterDelegate ¶
type NSUserNotificationCenterDelegate interface {
}
NSUserNotificationCenterDelegate wraps the ObjC protocol NSUserNotificationCenterDelegate.
type NSUserScriptTask ¶
type NSUserScriptTask struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsuserscripttask
func NSUserScriptTaskFromID ¶
func NSUserScriptTaskFromID(id objc.ID) *NSUserScriptTask
func (*NSUserScriptTask) ExecuteWithCompletionHandler ¶
func (o *NSUserScriptTask) ExecuteWithCompletionHandler(handler func(unsafe.Pointer))
func (*NSUserScriptTask) InitWithURLError ¶
func (o *NSUserScriptTask) InitWithURLError(url *NSURL) (*NSUserScriptTask, error)
func (*NSUserScriptTask) ScriptURL ¶
func (o *NSUserScriptTask) ScriptURL() *NSURL
type NSUserUnixTask ¶
type NSUserUnixTask struct {
NSUserScriptTask
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsuserunixtask
func NSUserUnixTaskFromID ¶
func NSUserUnixTaskFromID(id objc.ID) *NSUserUnixTask
func (*NSUserUnixTask) ExecuteWithArgumentsCompletionHandler ¶
func (o *NSUserUnixTask) ExecuteWithArgumentsCompletionHandler(arguments *NSArray[*NSString], handler func(unsafe.Pointer))
func (*NSUserUnixTask) SetStandardError ¶
func (o *NSUserUnixTask) SetStandardError(standardError *NSFileHandle)
func (*NSUserUnixTask) SetStandardInput ¶
func (o *NSUserUnixTask) SetStandardInput(standardInput *NSFileHandle)
func (*NSUserUnixTask) SetStandardOutput ¶
func (o *NSUserUnixTask) SetStandardOutput(standardOutput *NSFileHandle)
func (*NSUserUnixTask) StandardError ¶
func (o *NSUserUnixTask) StandardError() *NSFileHandle
func (*NSUserUnixTask) StandardInput ¶
func (o *NSUserUnixTask) StandardInput() *NSFileHandle
func (*NSUserUnixTask) StandardOutput ¶
func (o *NSUserUnixTask) StandardOutput() *NSFileHandle
type NSValue ¶
type NSValue struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsvalue
func NSValueFromID ¶
func NSValueValueWithEdgeInsets ¶
func NSValueValueWithEdgeInsets(insets NSEdgeInsets) *NSValue
func NSValueValueWithPoint ¶
func NSValueValueWithPoint(point corefoundation.CGPoint) *NSValue
func NSValueValueWithRange ¶
func NSValueValueWithRect ¶
func NSValueValueWithRect(rect corefoundation.CGRect) *NSValue
func NSValueValueWithSize ¶
func NSValueValueWithSize(size corefoundation.CGSize) *NSValue
func (*NSValue) EdgeInsetsValue ¶
func (o *NSValue) EdgeInsetsValue() NSEdgeInsets
func (*NSValue) InitWithBytesObjCType ¶
func (*NSValue) InitWithCoder ¶
func (*NSValue) IsEqualToValue ¶
func (*NSValue) NonretainedObjectValue ¶
func (*NSValue) PointValue ¶
func (o *NSValue) PointValue() corefoundation.CGPoint
func (*NSValue) PointerValue ¶
func (*NSValue) RangeValue ¶
func (*NSValue) RectValue ¶
func (o *NSValue) RectValue() corefoundation.CGRect
func (*NSValue) SizeValue ¶
func (o *NSValue) SizeValue() corefoundation.CGSize
type NSValueTransformer ¶
type NSValueTransformer struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsvaluetransformer
func NSValueTransformerFromID ¶
func NSValueTransformerFromID(id objc.ID) *NSValueTransformer
func NSValueTransformerValueTransformerForName ¶
func NSValueTransformerValueTransformerForName(name *NSString) *NSValueTransformer
func (*NSValueTransformer) ReverseTransformedValue ¶
func (o *NSValueTransformer) ReverseTransformedValue(value objc.ID) objc.ID
func (*NSValueTransformer) TransformedValue ¶
func (o *NSValueTransformer) TransformedValue(value objc.ID) objc.ID
type NSVolumeEnumerationOptions ¶
type NSVolumeEnumerationOptions uint64
const ( NSVolumeEnumerationSkipHiddenVolumes NSVolumeEnumerationOptions = 2 NSVolumeEnumerationProduceFileReferenceURLs NSVolumeEnumerationOptions = 4 )
func (NSVolumeEnumerationOptions) String ¶
func (e NSVolumeEnumerationOptions) String() string
type NSWhoseSpecifier ¶
type NSWhoseSpecifier struct {
NSScriptObjectSpecifier
}
Apple documentation: https://developer.apple.com/documentation/foundation/nswhosespecifier
func NSWhoseSpecifierFromID ¶
func NSWhoseSpecifierFromID(id objc.ID) *NSWhoseSpecifier
func (*NSWhoseSpecifier) EndSubelementIdentifier ¶
func (o *NSWhoseSpecifier) EndSubelementIdentifier() NSWhoseSubelementIdentifier
func (*NSWhoseSpecifier) EndSubelementIndex ¶
func (o *NSWhoseSpecifier) EndSubelementIndex() int
func (*NSWhoseSpecifier) InitWithCoder ¶
func (o *NSWhoseSpecifier) InitWithCoder(inCoder *NSCoder) *NSWhoseSpecifier
func (*NSWhoseSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyTest ¶
func (o *NSWhoseSpecifier) InitWithContainerClassDescriptionContainerSpecifierKeyTest(classDesc *NSScriptClassDescription, container *NSScriptObjectSpecifier, property *NSString, test *NSScriptWhoseTest) *NSWhoseSpecifier
func (*NSWhoseSpecifier) SetEndSubelementIdentifier ¶
func (o *NSWhoseSpecifier) SetEndSubelementIdentifier(endSubelementIdentifier NSWhoseSubelementIdentifier)
func (*NSWhoseSpecifier) SetEndSubelementIndex ¶
func (o *NSWhoseSpecifier) SetEndSubelementIndex(endSubelementIndex int)
func (*NSWhoseSpecifier) SetStartSubelementIdentifier ¶
func (o *NSWhoseSpecifier) SetStartSubelementIdentifier(startSubelementIdentifier NSWhoseSubelementIdentifier)
func (*NSWhoseSpecifier) SetStartSubelementIndex ¶
func (o *NSWhoseSpecifier) SetStartSubelementIndex(startSubelementIndex int)
func (*NSWhoseSpecifier) SetTest ¶
func (o *NSWhoseSpecifier) SetTest(test *NSScriptWhoseTest)
func (*NSWhoseSpecifier) StartSubelementIdentifier ¶
func (o *NSWhoseSpecifier) StartSubelementIdentifier() NSWhoseSubelementIdentifier
func (*NSWhoseSpecifier) StartSubelementIndex ¶
func (o *NSWhoseSpecifier) StartSubelementIndex() int
func (*NSWhoseSpecifier) Test ¶
func (o *NSWhoseSpecifier) Test() *NSScriptWhoseTest
type NSWhoseSubelementIdentifier ¶
type NSWhoseSubelementIdentifier uint64
const ( NSIndexSubelement NSWhoseSubelementIdentifier = 0 NSEverySubelement NSWhoseSubelementIdentifier = 1 NSMiddleSubelement NSWhoseSubelementIdentifier = 2 NSRandomSubelement NSWhoseSubelementIdentifier = 3 NSNoSubelement NSWhoseSubelementIdentifier = 4 )
func (NSWhoseSubelementIdentifier) String ¶
func (e NSWhoseSubelementIdentifier) String() string
type NSXMLDTD ¶
type NSXMLDTD struct {
NSXMLNode
}
@class NSXMLDTD @abstract Defines the order, repetition, and allowable values for a document
Apple documentation: https://developer.apple.com/documentation/foundation/nsxmldtd
func NSXMLDTDFromID ¶
func (*NSXMLDTD) AddChild ¶
@method addChild: @abstract Adds a child to the end of the existing children.
func (*NSXMLDTD) AttributeDeclarationForNameElementName ¶
func (o *NSXMLDTD) AttributeDeclarationForNameElementName(name *NSString, elementName *NSString) *NSXMLDTDNode
@method attributeDeclarationForName: @abstract Returns the attribute declaration matching this name.
func (*NSXMLDTD) ElementDeclarationForName ¶
func (o *NSXMLDTD) ElementDeclarationForName(name *NSString) *NSXMLDTDNode
@method elementDeclarationForName: @abstract Returns the element declaration matching this name.
func (*NSXMLDTD) EntityDeclarationForName ¶
func (o *NSXMLDTD) EntityDeclarationForName(name *NSString) *NSXMLDTDNode
@method entityDeclarationForName: @abstract Returns the entity declaration matching this name.
func (*NSXMLDTD) InsertChildAtIndex ¶
@method insertChild:atIndex: @abstract Inserts a child at a particular index.
func (*NSXMLDTD) InsertChildrenAtIndex ¶
@method insertChildren:atIndex: @abstract Insert several children at a particular index.
func (*NSXMLDTD) NotationDeclarationForName ¶
func (o *NSXMLDTD) NotationDeclarationForName(name *NSString) *NSXMLDTDNode
@method notationDeclarationForName: @abstract Returns the notation declaration matching this name.
func (*NSXMLDTD) PublicID ¶
@abstract Sets the public id. This identifier should be in the default catalog in /etc/xml/catalog or in a path specified by the environment variable XML_CATALOG_FILES. When the public id is set the system id must also be set.
func (*NSXMLDTD) RemoveChildAtIndex ¶
@method removeChildAtIndex: @abstract Removes a child at a particular index.
func (*NSXMLDTD) ReplaceChildAtIndexWithNode ¶
@method replaceChildAtIndex:withNode: @abstract Replaces a child at a particular index with another child.
func (*NSXMLDTD) SetChildren ¶
@method setChildren: @abstract Removes all existing children and replaces them with the new children. Set children to nil to simply remove all children.
func (*NSXMLDTD) SetPublicID ¶
func (*NSXMLDTD) SetSystemID ¶
type NSXMLDTDNode ¶
type NSXMLDTDNode struct {
NSXMLNode
}
@class NSXMLDTDNode @abstract The nodes that are exclusive to a DTD @discussion Every DTD node has a name. Object value is defined as follows:<ul> <li><b>Entity declaration</b> - the string that that entity resolves to eg "<"</li> <li><b>Attribute declaration</b> - the default value, if any</li> <li><b>Element declaration</b> - the validation string</li> <li><b>Notation declaration</b> - no objectValue</li></ul>
Apple documentation: https://developer.apple.com/documentation/foundation/nsxmldtdnode
func NSXMLDTDNodeFromID ¶
func NSXMLDTDNodeFromID(id objc.ID) *NSXMLDTDNode
func NSXMLDTDPredefinedEntityDeclarationForName ¶
func NSXMLDTDPredefinedEntityDeclarationForName(name *NSString) *NSXMLDTDNode
@method predefinedEntityDeclarationForName: @abstract Returns the predefined entity declaration matching this name. @discussion The five predefined entities are <ul><li>&lt; - <</li><li>&gt; - ></li><li>&amp; - &</li><li>&quot; - "</li><li>&apos; - &</li></ul>
func (*NSXMLDTDNode) DTDKind ¶
func (o *NSXMLDTDNode) DTDKind() NSXMLDTDNodeKind
@abstract Sets the DTD sub kind.
func (*NSXMLDTDNode) Init ¶
func (o *NSXMLDTDNode) Init() *NSXMLDTDNode
func (*NSXMLDTDNode) InitWithKindOptions ¶
func (o *NSXMLDTDNode) InitWithKindOptions(kind NSXMLNodeKind, options NSXMLNodeOptions) *NSXMLDTDNode
func (*NSXMLDTDNode) InitWithXMLString ¶
func (o *NSXMLDTDNode) InitWithXMLString(string_ *NSString) *NSXMLDTDNode
@method initWithXMLString: @abstract Returns an element, attribute, entity, or notation DTD node based on the full XML string.
func (*NSXMLDTDNode) IsExternal ¶
func (o *NSXMLDTDNode) IsExternal() bool
@abstract True if the system id is set. Valid for entities and notations.
func (*NSXMLDTDNode) NotationName ¶
func (o *NSXMLDTDNode) NotationName() *NSString
@abstract Set the notation name. Valid for entities only.
func (*NSXMLDTDNode) PublicID ¶
func (o *NSXMLDTDNode) PublicID() *NSString
@abstract Sets the public id. This identifier should be in the default catalog in /etc/xml/catalog or in a path specified by the environment variable XML_CATALOG_FILES. When the public id is set the system id must also be set. Valid for entities and notations.
func (*NSXMLDTDNode) SetDTDKind ¶
func (o *NSXMLDTDNode) SetDTDKind(dTDKind NSXMLDTDNodeKind)
func (*NSXMLDTDNode) SetNotationName ¶
func (o *NSXMLDTDNode) SetNotationName(notationName *NSString)
func (*NSXMLDTDNode) SetPublicID ¶
func (o *NSXMLDTDNode) SetPublicID(publicID *NSString)
func (*NSXMLDTDNode) SetSystemID ¶
func (o *NSXMLDTDNode) SetSystemID(systemID *NSString)
func (*NSXMLDTDNode) SystemID ¶
func (o *NSXMLDTDNode) SystemID() *NSString
@abstract Sets the system id. This should be a URL that points to a valid DTD. Valid for entities and notations.
type NSXMLDTDNodeKind ¶
type NSXMLDTDNodeKind uint64
const ( NSXMLEntityGeneralKind NSXMLDTDNodeKind = 1 NSXMLEntityParsedKind NSXMLDTDNodeKind = 2 NSXMLEntityUnparsedKind NSXMLDTDNodeKind = 3 NSXMLEntityParameterKind NSXMLDTDNodeKind = 4 NSXMLEntityPredefined NSXMLDTDNodeKind = 5 NSXMLAttributeCDATAKind NSXMLDTDNodeKind = 6 NSXMLAttributeIDKind NSXMLDTDNodeKind = 7 NSXMLAttributeIDRefKind NSXMLDTDNodeKind = 8 NSXMLAttributeIDRefsKind NSXMLDTDNodeKind = 9 NSXMLAttributeEntityKind NSXMLDTDNodeKind = 10 NSXMLAttributeEntitiesKind NSXMLDTDNodeKind = 11 NSXMLAttributeNMTokenKind NSXMLDTDNodeKind = 12 NSXMLAttributeNMTokensKind NSXMLDTDNodeKind = 13 NSXMLAttributeEnumerationKind NSXMLDTDNodeKind = 14 NSXMLAttributeNotationKind NSXMLDTDNodeKind = 15 NSXMLElementDeclarationUndefinedKind NSXMLDTDNodeKind = 16 NSXMLElementDeclarationEmptyKind NSXMLDTDNodeKind = 17 NSXMLElementDeclarationAnyKind NSXMLDTDNodeKind = 18 NSXMLElementDeclarationMixedKind NSXMLDTDNodeKind = 19 NSXMLElementDeclarationElementKind NSXMLDTDNodeKind = 20 )
func (NSXMLDTDNodeKind) String ¶
func (e NSXMLDTDNodeKind) String() string
type NSXMLDocument ¶
type NSXMLDocument struct {
NSXMLNode
}
@class NSXMLDocument @abstract An XML Document @discussion Note: if the application of a method would result in more than one element in the children array, an exception is thrown. Trying to add a document, namespace, attribute, or node with a parent also throws an exception. To add a node with a parent first detach or create a copy of it.
Apple documentation: https://developer.apple.com/documentation/foundation/nsxmldocument
func NSXMLDocumentFromID ¶
func NSXMLDocumentFromID(id objc.ID) *NSXMLDocument
func (*NSXMLDocument) AddChild ¶
func (o *NSXMLDocument) AddChild(child *NSXMLNode)
@method addChild: @abstract Adds a child to the end of the existing children.
func (*NSXMLDocument) CharacterEncoding ¶
func (o *NSXMLDocument) CharacterEncoding() *NSString
@abstract Sets the character encoding to an IANA type.
func (*NSXMLDocument) DTD ¶
func (o *NSXMLDocument) DTD() *NSXMLDTD
@abstract Set the associated DTD. This DTD will be output with the document.
func (*NSXMLDocument) DocumentContentKind ¶
func (o *NSXMLDocument) DocumentContentKind() NSXMLDocumentContentKind
@abstract The kind of document.
func (*NSXMLDocument) Init ¶
func (o *NSXMLDocument) Init() *NSXMLDocument
func (*NSXMLDocument) InitWithContentsOfURLOptionsError ¶
func (o *NSXMLDocument) InitWithContentsOfURLOptionsError(url *NSURL, mask NSXMLNodeOptions) (*NSXMLDocument, error)
@method initWithContentsOfURL:options:error: @abstract Returns a document created from the contents of an XML or HTML URL. Connection problems such as 404, parse errors are returned in <tt>error</tt>.
func (*NSXMLDocument) InitWithDataOptionsError ¶
func (o *NSXMLDocument) InitWithDataOptionsError(data *NSData, mask NSXMLNodeOptions) (*NSXMLDocument, error)
@method initWithData:options:error: @abstract Returns a document created from data. Parse errors are returned in <tt>error</tt>.
func (*NSXMLDocument) InitWithRootElement ¶
func (o *NSXMLDocument) InitWithRootElement(element *NSXMLElement) *NSXMLDocument
@method initWithRootElement: @abstract Returns a document with a single child, the root element.
func (*NSXMLDocument) InitWithXMLStringOptionsError ¶
func (o *NSXMLDocument) InitWithXMLStringOptionsError(string_ *NSString, mask NSXMLNodeOptions) (*NSXMLDocument, error)
@method initWithXMLString:options:error: @abstract Returns a document created from either XML or HTML, if the HTMLTidy option is set. Parse errors are returned in <tt>error</tt>.
func (*NSXMLDocument) InsertChildAtIndex ¶
func (o *NSXMLDocument) InsertChildAtIndex(child *NSXMLNode, index uint)
@method insertChild:atIndex: @abstract Inserts a child at a particular index.
func (*NSXMLDocument) InsertChildrenAtIndex ¶
func (o *NSXMLDocument) InsertChildrenAtIndex(children *NSArray[*NSXMLNode], index uint)
@method insertChildren:atIndex: @abstract Insert several children at a particular index.
func (*NSXMLDocument) IsStandalone ¶
func (o *NSXMLDocument) IsStandalone() bool
@abstract Set whether this document depends on an external DTD. If this option is set the standalone declaration will appear on output.
func (*NSXMLDocument) MIMEType ¶
func (o *NSXMLDocument) MIMEType() *NSString
@abstract Set the MIME type, eg text/xml.
func (*NSXMLDocument) ObjectByApplyingXSLTArgumentsError ¶
func (o *NSXMLDocument) ObjectByApplyingXSLTArgumentsError(xslt *NSData, arguments *NSDictionary[*NSString, *NSString]) (objc.ID, error)
@method objectByApplyingXSLT:arguments:error: @abstract Applies XSLT with arguments (NSString key/value pairs) to this document, returning a new document.
func (*NSXMLDocument) ObjectByApplyingXSLTAtURLArgumentsError ¶
func (o *NSXMLDocument) ObjectByApplyingXSLTAtURLArgumentsError(xsltURL *NSURL, argument *NSDictionary[*NSString, *NSString]) (objc.ID, error)
@method objectByApplyingXSLTAtURL:arguments:error: @abstract Applies the XSLT at a URL with arguments (NSString key/value pairs) to this document, returning a new document. Error may contain a connection error from the URL.
func (*NSXMLDocument) ObjectByApplyingXSLTStringArgumentsError ¶
func (o *NSXMLDocument) ObjectByApplyingXSLTStringArgumentsError(xslt *NSString, arguments *NSDictionary[*NSString, *NSString]) (objc.ID, error)
@method objectByApplyingXSLTString:arguments:error: @abstract Applies XSLT as expressed by a string with arguments (NSString key/value pairs) to this document, returning a new document.
func (*NSXMLDocument) RemoveChildAtIndex ¶
func (o *NSXMLDocument) RemoveChildAtIndex(index uint)
@method removeChildAtIndex:atIndex: @abstract Removes a child at a particular index.
func (*NSXMLDocument) ReplaceChildAtIndexWithNode ¶
func (o *NSXMLDocument) ReplaceChildAtIndexWithNode(index uint, node *NSXMLNode)
@method replaceChildAtIndex:withNode: @abstract Replaces a child at a particular index with another child.
func (*NSXMLDocument) RootElement ¶
func (o *NSXMLDocument) RootElement() *NSXMLElement
@method rootElement @abstract The root element.
func (*NSXMLDocument) SetCharacterEncoding ¶
func (o *NSXMLDocument) SetCharacterEncoding(characterEncoding *NSString)
func (*NSXMLDocument) SetChildren ¶
func (o *NSXMLDocument) SetChildren(children *NSArray[*NSXMLNode])
@method setChildren: @abstract Removes all existing children and replaces them with the new children. Set children to nil to simply remove all children.
func (*NSXMLDocument) SetDTD ¶
func (o *NSXMLDocument) SetDTD(dTD *NSXMLDTD)
func (*NSXMLDocument) SetDocumentContentKind ¶
func (o *NSXMLDocument) SetDocumentContentKind(documentContentKind NSXMLDocumentContentKind)
func (*NSXMLDocument) SetMIMEType ¶
func (o *NSXMLDocument) SetMIMEType(mIMEType *NSString)
func (*NSXMLDocument) SetRootElement ¶
func (o *NSXMLDocument) SetRootElement(root *NSXMLElement)
@method setRootElement: @abstract Set the root element. Removes all other children including comments and processing-instructions.
func (*NSXMLDocument) SetStandalone ¶
func (o *NSXMLDocument) SetStandalone(standalone bool)
func (*NSXMLDocument) ValidateAndReturnError ¶
func (o *NSXMLDocument) ValidateAndReturnError() (bool, error)
func (*NSXMLDocument) XMLData ¶
func (o *NSXMLDocument) XMLData() *NSData
@abstract Invokes XMLDataWithOptions with NSXMLNodeOptionsNone.
func (*NSXMLDocument) XMLDataWithOptions ¶
func (o *NSXMLDocument) XMLDataWithOptions(options NSXMLNodeOptions) *NSData
@method XMLDataWithOptions: @abstract The representation of this node as it would appear in an XML document, encoded based on characterEncoding.
type NSXMLDocumentContentKind ¶
type NSXMLDocumentContentKind uint64
const ( NSXMLDocumentXMLKind NSXMLDocumentContentKind = 0 NSXMLDocumentXHTMLKind NSXMLDocumentContentKind = 1 NSXMLDocumentHTMLKind NSXMLDocumentContentKind = 2 NSXMLDocumentTextKind NSXMLDocumentContentKind = 3 )
func (NSXMLDocumentContentKind) String ¶
func (e NSXMLDocumentContentKind) String() string
type NSXMLElement ¶
type NSXMLElement struct {
NSXMLNode
}
@class NSXMLElement @abstract An XML element @discussion Note: Trying to add a document, namespace, attribute, or node with a parent throws an exception. To add a node with a parent first detach or create a copy of it.
Apple documentation: https://developer.apple.com/documentation/foundation/nsxmlelement
func NSXMLElementFromID ¶
func NSXMLElementFromID(id objc.ID) *NSXMLElement
func (*NSXMLElement) AddAttribute ¶
func (o *NSXMLElement) AddAttribute(attribute *NSXMLNode)
@method addAttribute: @abstract Adds an attribute. Attributes with duplicate names are not added.
func (*NSXMLElement) AddChild ¶
func (o *NSXMLElement) AddChild(child *NSXMLNode)
@method addChild: @abstract Adds a child to the end of the existing children.
func (*NSXMLElement) AddNamespace ¶
func (o *NSXMLElement) AddNamespace(aNamespace *NSXMLNode)
@method addNamespace:URI: @abstract Adds a namespace. Namespaces with duplicate names are not added.
func (*NSXMLElement) AttributeForLocalNameURI ¶
func (o *NSXMLElement) AttributeForLocalNameURI(localName *NSString, uRI *NSString) *NSXMLNode
@method attributeForLocalName:URI: @abstract Returns an attribute matching this localname URI pair.
func (*NSXMLElement) AttributeForName ¶
func (o *NSXMLElement) AttributeForName(name *NSString) *NSXMLNode
@method attributeForName: @abstract Returns an attribute matching this name.
func (*NSXMLElement) Attributes ¶
func (o *NSXMLElement) Attributes() *NSArray[*NSXMLNode]
@abstract Set the attributes. In the case of duplicate names, the first attribute with the name is used.
func (*NSXMLElement) ElementsForLocalNameURI ¶
func (o *NSXMLElement) ElementsForLocalNameURI(localName *NSString, uRI *NSString) *NSArray[*NSXMLElement]
@method elementsForLocalName:URI @abstract Returns all of the child elements that match this localname URI pair.
func (*NSXMLElement) ElementsForName ¶
func (o *NSXMLElement) ElementsForName(name *NSString) *NSArray[*NSXMLElement]
@method elementsForName: @abstract Returns all of the child elements that match this name.
func (*NSXMLElement) InitWithKindOptions ¶
func (o *NSXMLElement) InitWithKindOptions(kind NSXMLNodeKind, options NSXMLNodeOptions) *NSXMLElement
func (*NSXMLElement) InitWithName ¶
func (o *NSXMLElement) InitWithName(name *NSString) *NSXMLElement
@method initWithName: @abstract Returns an element <tt><name></name></tt>.
func (*NSXMLElement) InitWithNameStringValue ¶
func (o *NSXMLElement) InitWithNameStringValue(name *NSString, string_ *NSString) *NSXMLElement
@method initWithName:stringValue: @abstract Returns an element with a single text node child <tt><name>string</name></tt>.
func (*NSXMLElement) InitWithNameURI ¶
func (o *NSXMLElement) InitWithNameURI(name *NSString, uRI *NSString) *NSXMLElement
@method initWithName:URI: @abstract Returns an element whose full QName is specified.
func (*NSXMLElement) InitWithXMLStringError ¶
func (o *NSXMLElement) InitWithXMLStringError(string_ *NSString) (*NSXMLElement, error)
@method initWithXMLString:error: @abstract Returns an element created from a string. Parse errors are collected in <tt>error</tt>.
func (*NSXMLElement) InsertChildAtIndex ¶
func (o *NSXMLElement) InsertChildAtIndex(child *NSXMLNode, index uint)
@method insertChild:atIndex: @abstract Inserts a child at a particular index.
func (*NSXMLElement) InsertChildrenAtIndex ¶
func (o *NSXMLElement) InsertChildrenAtIndex(children *NSArray[*NSXMLNode], index uint)
@method insertChildren:atIndex: @abstract Insert several children at a particular index.
func (*NSXMLElement) NamespaceForPrefix ¶
func (o *NSXMLElement) NamespaceForPrefix(name *NSString) *NSXMLNode
@method namespaceForPrefix: @abstract Returns the namespace matching this prefix.
func (*NSXMLElement) Namespaces ¶
func (o *NSXMLElement) Namespaces() *NSArray[*NSXMLNode]
@abstract Set the namespaces. In the case of duplicate names, the first namespace with the name is used.
func (*NSXMLElement) NormalizeAdjacentTextNodesPreservingCDATA ¶
func (o *NSXMLElement) NormalizeAdjacentTextNodesPreservingCDATA(preserve bool)
@method normalizeAdjacentTextNodesPreservingCDATA: @abstract Adjacent text nodes are coalesced. If the node's value is the empty string, it is removed. This should be called with a value of NO before using XQuery or XPath.
func (*NSXMLElement) RemoveAttributeForName ¶
func (o *NSXMLElement) RemoveAttributeForName(name *NSString)
@method removeAttributeForName: @abstract Removes an attribute based on its name.
func (*NSXMLElement) RemoveChildAtIndex ¶
func (o *NSXMLElement) RemoveChildAtIndex(index uint)
@method removeChildAtIndex:atIndex: @abstract Removes a child at a particular index.
func (*NSXMLElement) RemoveNamespaceForPrefix ¶
func (o *NSXMLElement) RemoveNamespaceForPrefix(name *NSString)
@method addNamespace:URI: @abstract Removes a namespace with a particular name.
func (*NSXMLElement) ReplaceChildAtIndexWithNode ¶
func (o *NSXMLElement) ReplaceChildAtIndexWithNode(index uint, node *NSXMLNode)
@method replaceChildAtIndex:withNode: @abstract Replaces a child at a particular index with another child.
func (*NSXMLElement) ResolveNamespaceForName ¶
func (o *NSXMLElement) ResolveNamespaceForName(name *NSString) *NSXMLNode
@method resolveNamespaceForName: @abstract Returns the namespace who matches the prefix of the name given. Looks in the entire namespace chain.
func (*NSXMLElement) ResolvePrefixForNamespaceURI ¶
func (o *NSXMLElement) ResolvePrefixForNamespaceURI(namespaceURI *NSString) *NSString
@method resolvePrefixForNamespaceURI: @abstract Returns the URI of this prefix. Looks in the entire namespace chain.
func (*NSXMLElement) SetAttributes ¶
func (o *NSXMLElement) SetAttributes(attributes *NSArray[*NSXMLNode])
func (*NSXMLElement) SetAttributesAsDictionary ¶
func (o *NSXMLElement) SetAttributesAsDictionary(attributes *NSDictionary[objc.ID, objc.ID])
@method setAttributesAsDictionary: @abstract Set the attributes base on a name-value dictionary. @discussion This method is deprecated and does not function correctly. Use -setAttributesWithDictionary: instead. Deprecated: since macOS API_TO_BE_DEPRECATED.
func (*NSXMLElement) SetAttributesWithDictionary ¶
func (o *NSXMLElement) SetAttributesWithDictionary(attributes *NSDictionary[*NSString, *NSString])
@method setAttributesWithDictionary: @abstract Set the attributes based on a name-value dictionary.
func (*NSXMLElement) SetChildren ¶
func (o *NSXMLElement) SetChildren(children *NSArray[*NSXMLNode])
@method setChildren: @abstract Removes all existing children and replaces them with the new children. Set children to nil to simply remove all children.
func (*NSXMLElement) SetNamespaces ¶
func (o *NSXMLElement) SetNamespaces(namespaces *NSArray[*NSXMLNode])
type NSXMLNode ¶
type NSXMLNode struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsxmlnode
func NSXMLNodeFromID ¶
func NSXMLNodePredefinedNamespaceForPrefix ¶
@method predefinedNamespaceForPrefix: @abstract Returns the namespace belonging to one of the predefined namespaces xml, xs, or xsi
func (*NSXMLNode) CanonicalXMLStringPreservingComments ¶
@method canonicalXMLStringPreservingComments: @abstract W3 canonical form (http://www.w3.org/TR/xml-c14n). The input option NSXMLNodePreserveWhitespace should be set for true canonical form.
func (*NSXMLNode) ChildAtIndex ¶
@method childAtIndex: @abstract Returns the child node at a particular index.
func (*NSXMLNode) ChildCount ¶
@abstract The amount of children, relevant for documents, elements, and document type declarations. Use this instead of [[self children] count].
func (*NSXMLNode) Children ¶
@abstract An immutable array of child nodes. Relevant for documents, elements, and document type declarations.
func (*NSXMLNode) Detach ¶
func (o *NSXMLNode) Detach()
@method detach: @abstract Detaches this node from its parent.
func (*NSXMLNode) InitWithKind ¶
func (o *NSXMLNode) InitWithKind(kind NSXMLNodeKind) *NSXMLNode
@method initWithKind: @abstract Invokes @link initWithKind:options: @/link with options set to NSXMLNodeOptionsNone
func (*NSXMLNode) InitWithKindOptions ¶
func (o *NSXMLNode) InitWithKindOptions(kind NSXMLNodeKind, options NSXMLNodeOptions) *NSXMLNode
@method initWithKind:options: @abstract Inits a node with fidelity options as description NSXMLNodeOptions.h
func (*NSXMLNode) Kind ¶
func (o *NSXMLNode) Kind() NSXMLNodeKind
@abstract Returns an element, attribute, entity, or notation DTD node based on the full XML string.
func (*NSXMLNode) Level ¶
@abstract The depth of the node within the tree. Documents and standalone nodes are level 0.
func (*NSXMLNode) LocalName ¶
@abstract Returns the local name bar if this attribute or element's name is foo:bar
func (*NSXMLNode) Name ¶
@abstract Sets the nodes name. Applicable for element, attribute, namespace, processing-instruction, document type declaration, element declaration, attribute declaration, entity declaration, and notation declaration.
func (*NSXMLNode) NextNode ¶
@abstract Returns the next node in document order. This can be used to walk the tree forwards.
func (*NSXMLNode) NextSibling ¶
@abstract Returns the next sibling, or nil if there isn't one.
func (*NSXMLNode) NodesForXPathError ¶
@method nodesForXPath:error: @abstract Returns the nodes resulting from applying an XPath to this node using the node as the context item ("."). normalizeAdjacentTextNodesPreservingCDATA:NO should be called if there are adjacent text nodes since they are not allowed under the XPath/XQuery Data Model. @returns An array whose elements are a kind of NSXMLNode.
func (*NSXMLNode) ObjectValue ¶
@abstract Sets the content of the node. Setting the objectValue removes all existing children including processing instructions and comments. Setting the object value on an element creates a single text node child.
func (*NSXMLNode) ObjectsForXQueryConstantsError ¶
func (o *NSXMLNode) ObjectsForXQueryConstantsError(xquery *NSString, constants *NSDictionary[*NSString, objc.ID]) (*NSArray[objc.ID], error)
@method objectsForXQuery:constants:error: @abstract Returns the objects resulting from applying an XQuery to this node using the node as the context item ("."). Constants are a name-value dictionary for constants declared "external" in the query. normalizeAdjacentTextNodesPreservingCDATA:NO should be called if there are adjacent text nodes since they are not allowed under the XPath/XQuery Data Model. @returns An array whose elements are kinds of NSArray, NSData, NSDate, NSNumber, NSString, NSURL, or NSXMLNode.
func (*NSXMLNode) ObjectsForXQueryError ¶
func (*NSXMLNode) Parent ¶
@abstract The parent of this node. Documents and standalone Nodes have a nil parent; there is not a 1-to-1 relationship between parent and children, eg a namespace cannot be a child but has a parent element.
func (*NSXMLNode) Prefix ¶
@abstract Returns the prefix foo if this attribute or element's name if foo:bar
func (*NSXMLNode) PreviousNode ¶
@abstract Returns the previous node in document order. This can be used to walk the tree backwards.
func (*NSXMLNode) PreviousSibling ¶
@abstract Returns the previous sibling, or nil if there isn't one.
func (*NSXMLNode) RootDocument ¶
func (o *NSXMLNode) RootDocument() *NSXMLDocument
@abstract The encompassing document or nil.
func (*NSXMLNode) SetObjectValue ¶
func (*NSXMLNode) SetStringValue ¶
func (*NSXMLNode) SetStringValueResolvingEntities ¶
@method setStringValue:resolvingEntities: @abstract Sets the content as with @link setStringValue: @/link, but when "resolve" is true, character references, predefined entities and user entities available in the document's dtd are resolved. Entities not available in the dtd remain in their entity form.
func (*NSXMLNode) StringValue ¶
@abstract Sets the content of the node. Setting the stringValue removes all existing children including processing instructions and comments. Setting the string value on an element creates a single text node child. The getter returns the string value of the node, which may be either its content or child text nodes, depending on the type of node. Elements are recursed and text nodes concatenated in document order with no intervening spaces.
func (*NSXMLNode) URI ¶
@abstract Set the URI of this element, attribute, or document. For documents it is the URI of document origin. Getter returns the URI of this element, attribute, or document. For documents it is the URI of document origin and is automatically set when using initWithContentsOfURL.
func (*NSXMLNode) XMLString ¶
@abstract The representation of this node as it would appear in an XML document.
func (*NSXMLNode) XMLStringWithOptions ¶
func (o *NSXMLNode) XMLStringWithOptions(options NSXMLNodeOptions) *NSString
@method XMLStringWithOptions: @abstract The representation of this node as it would appear in an XML document, with various output options available.
type NSXMLNodeKind ¶
type NSXMLNodeKind uint64
const ( NSXMLInvalidKind NSXMLNodeKind = 0 NSXMLDocumentKind NSXMLNodeKind = 1 NSXMLElementKind NSXMLNodeKind = 2 NSXMLAttributeKind NSXMLNodeKind = 3 NSXMLNamespaceKind NSXMLNodeKind = 4 NSXMLProcessingInstructionKind NSXMLNodeKind = 5 NSXMLCommentKind NSXMLNodeKind = 6 NSXMLTextKind NSXMLNodeKind = 7 NSXMLDTDKind NSXMLNodeKind = 8 NSXMLEntityDeclarationKind NSXMLNodeKind = 9 NSXMLAttributeDeclarationKind NSXMLNodeKind = 10 NSXMLElementDeclarationKind NSXMLNodeKind = 11 NSXMLNotationDeclarationKind NSXMLNodeKind = 12 )
func (NSXMLNodeKind) String ¶
func (e NSXMLNodeKind) String() string
type NSXMLNodeOptions ¶
type NSXMLNodeOptions uint64
const ( NSXMLNodeOptionsNone NSXMLNodeOptions = 0 NSXMLNodeIsCDATA NSXMLNodeOptions = 1 NSXMLNodeExpandEmptyElement NSXMLNodeOptions = 2 NSXMLNodeCompactEmptyElement NSXMLNodeOptions = 4 NSXMLNodeUseSingleQuotes NSXMLNodeOptions = 8 NSXMLNodeUseDoubleQuotes NSXMLNodeOptions = 16 NSXMLNodeNeverEscapeContents NSXMLNodeOptions = 32 NSXMLDocumentTidyHTML NSXMLNodeOptions = 512 NSXMLDocumentTidyXML NSXMLNodeOptions = 1024 NSXMLDocumentValidate NSXMLNodeOptions = 8192 NSXMLNodeLoadExternalEntitiesAlways NSXMLNodeOptions = 16384 NSXMLNodeLoadExternalEntitiesSameOriginOnly NSXMLNodeOptions = 32768 NSXMLNodeLoadExternalEntitiesNever NSXMLNodeOptions = 524288 NSXMLDocumentXInclude NSXMLNodeOptions = 65536 NSXMLNodePrettyPrint NSXMLNodeOptions = 131072 NSXMLDocumentIncludeContentTypeDeclaration NSXMLNodeOptions = 262144 NSXMLNodePreserveNamespaceOrder NSXMLNodeOptions = 1048576 NSXMLNodePreserveAttributeOrder NSXMLNodeOptions = 2097152 NSXMLNodePreserveEntities NSXMLNodeOptions = 4194304 NSXMLNodePreservePrefixes NSXMLNodeOptions = 8388608 NSXMLNodePreserveCDATA NSXMLNodeOptions = 16777216 NSXMLNodePreserveWhitespace NSXMLNodeOptions = 33554432 NSXMLNodePreserveDTD NSXMLNodeOptions = 67108864 NSXMLNodePreserveCharacterReferences NSXMLNodeOptions = 134217728 NSXMLNodePromoteSignificantWhitespace NSXMLNodeOptions = 268435456 NSXMLNodePreserveEmptyElements NSXMLNodeOptions = 6 NSXMLNodePreserveQuotes NSXMLNodeOptions = 24 NSXMLNodePreserveAll NSXMLNodeOptions = 4293918750 )
func (NSXMLNodeOptions) String ¶
func (e NSXMLNodeOptions) String() string
type NSXMLParser ¶
type NSXMLParser struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsxmlparser
func NSXMLParserFromID ¶
func NSXMLParserFromID(id objc.ID) *NSXMLParser
func (*NSXMLParser) AbortParsing ¶
func (o *NSXMLParser) AbortParsing()
func (*NSXMLParser) AllowedExternalEntityURLs ¶
func (o *NSXMLParser) AllowedExternalEntityURLs() *NSSet[*NSURL]
func (*NSXMLParser) ColumnNumber ¶
func (o *NSXMLParser) ColumnNumber() int
func (*NSXMLParser) Delegate ¶
func (o *NSXMLParser) Delegate() NSXMLParserDelegate
func (*NSXMLParser) ExternalEntityResolvingPolicy ¶
func (o *NSXMLParser) ExternalEntityResolvingPolicy() NSXMLParserExternalEntityResolvingPolicy
func (*NSXMLParser) InitWithContentsOfURL ¶
func (o *NSXMLParser) InitWithContentsOfURL(url *NSURL) *NSXMLParser
func (*NSXMLParser) InitWithData ¶
func (o *NSXMLParser) InitWithData(data *NSData) *NSXMLParser
func (*NSXMLParser) InitWithStream ¶
func (o *NSXMLParser) InitWithStream(stream *NSInputStream) *NSXMLParser
func (*NSXMLParser) LineNumber ¶
func (o *NSXMLParser) LineNumber() int
func (*NSXMLParser) Parse ¶
func (o *NSXMLParser) Parse() bool
func (*NSXMLParser) ParserError ¶
func (o *NSXMLParser) ParserError() unsafe.Pointer
func (*NSXMLParser) PublicID ¶
func (o *NSXMLParser) PublicID() *NSString
func (*NSXMLParser) SetAllowedExternalEntityURLs ¶
func (o *NSXMLParser) SetAllowedExternalEntityURLs(allowedExternalEntityURLs *NSSet[*NSURL])
func (*NSXMLParser) SetDelegate ¶
func (o *NSXMLParser) SetDelegate(delegate NSXMLParserDelegate)
func (*NSXMLParser) SetExternalEntityResolvingPolicy ¶
func (o *NSXMLParser) SetExternalEntityResolvingPolicy(externalEntityResolvingPolicy NSXMLParserExternalEntityResolvingPolicy)
func (*NSXMLParser) SetShouldProcessNamespaces ¶
func (o *NSXMLParser) SetShouldProcessNamespaces(shouldProcessNamespaces bool)
func (*NSXMLParser) SetShouldReportNamespacePrefixes ¶
func (o *NSXMLParser) SetShouldReportNamespacePrefixes(shouldReportNamespacePrefixes bool)
func (*NSXMLParser) SetShouldResolveExternalEntities ¶
func (o *NSXMLParser) SetShouldResolveExternalEntities(shouldResolveExternalEntities bool)
func (*NSXMLParser) ShouldProcessNamespaces ¶
func (o *NSXMLParser) ShouldProcessNamespaces() bool
func (*NSXMLParser) ShouldReportNamespacePrefixes ¶
func (o *NSXMLParser) ShouldReportNamespacePrefixes() bool
func (*NSXMLParser) ShouldResolveExternalEntities ¶
func (o *NSXMLParser) ShouldResolveExternalEntities() bool
func (*NSXMLParser) SystemID ¶
func (o *NSXMLParser) SystemID() *NSString
type NSXMLParserDelegate ¶
type NSXMLParserDelegate interface {
}
NSXMLParserDelegate wraps the ObjC protocol NSXMLParserDelegate.
type NSXMLParserError ¶
type NSXMLParserError int64
const ( NSXMLParserInternalError NSXMLParserError = 1 NSXMLParserOutOfMemoryError NSXMLParserError = 2 NSXMLParserDocumentStartError NSXMLParserError = 3 NSXMLParserEmptyDocumentError NSXMLParserError = 4 NSXMLParserPrematureDocumentEndError NSXMLParserError = 5 NSXMLParserInvalidHexCharacterRefError NSXMLParserError = 6 NSXMLParserInvalidDecimalCharacterRefError NSXMLParserError = 7 NSXMLParserInvalidCharacterRefError NSXMLParserError = 8 NSXMLParserInvalidCharacterError NSXMLParserError = 9 NSXMLParserCharacterRefAtEOFError NSXMLParserError = 10 NSXMLParserCharacterRefInPrologError NSXMLParserError = 11 NSXMLParserCharacterRefInEpilogError NSXMLParserError = 12 NSXMLParserCharacterRefInDTDError NSXMLParserError = 13 NSXMLParserEntityRefAtEOFError NSXMLParserError = 14 NSXMLParserEntityRefInPrologError NSXMLParserError = 15 NSXMLParserEntityRefInEpilogError NSXMLParserError = 16 NSXMLParserEntityRefInDTDError NSXMLParserError = 17 NSXMLParserParsedEntityRefAtEOFError NSXMLParserError = 18 NSXMLParserParsedEntityRefInPrologError NSXMLParserError = 19 NSXMLParserParsedEntityRefInEpilogError NSXMLParserError = 20 NSXMLParserParsedEntityRefInInternalSubsetError NSXMLParserError = 21 NSXMLParserEntityReferenceWithoutNameError NSXMLParserError = 22 NSXMLParserEntityReferenceMissingSemiError NSXMLParserError = 23 NSXMLParserParsedEntityRefNoNameError NSXMLParserError = 24 NSXMLParserParsedEntityRefMissingSemiError NSXMLParserError = 25 NSXMLParserUndeclaredEntityError NSXMLParserError = 26 NSXMLParserUnparsedEntityError NSXMLParserError = 28 NSXMLParserEntityIsExternalError NSXMLParserError = 29 NSXMLParserEntityIsParameterError NSXMLParserError = 30 NSXMLParserUnknownEncodingError NSXMLParserError = 31 NSXMLParserEncodingNotSupportedError NSXMLParserError = 32 NSXMLParserStringNotStartedError NSXMLParserError = 33 NSXMLParserStringNotClosedError NSXMLParserError = 34 NSXMLParserNamespaceDeclarationError NSXMLParserError = 35 NSXMLParserEntityNotStartedError NSXMLParserError = 36 NSXMLParserEntityNotFinishedError NSXMLParserError = 37 NSXMLParserLessThanSymbolInAttributeError NSXMLParserError = 38 NSXMLParserAttributeNotStartedError NSXMLParserError = 39 NSXMLParserAttributeNotFinishedError NSXMLParserError = 40 NSXMLParserAttributeHasNoValueError NSXMLParserError = 41 NSXMLParserAttributeRedefinedError NSXMLParserError = 42 NSXMLParserLiteralNotStartedError NSXMLParserError = 43 NSXMLParserLiteralNotFinishedError NSXMLParserError = 44 NSXMLParserCommentNotFinishedError NSXMLParserError = 45 NSXMLParserProcessingInstructionNotStartedError NSXMLParserError = 46 NSXMLParserProcessingInstructionNotFinishedError NSXMLParserError = 47 NSXMLParserNotationNotStartedError NSXMLParserError = 48 NSXMLParserNotationNotFinishedError NSXMLParserError = 49 NSXMLParserAttributeListNotStartedError NSXMLParserError = 50 NSXMLParserAttributeListNotFinishedError NSXMLParserError = 51 NSXMLParserMixedContentDeclNotStartedError NSXMLParserError = 52 NSXMLParserMixedContentDeclNotFinishedError NSXMLParserError = 53 NSXMLParserElementContentDeclNotStartedError NSXMLParserError = 54 NSXMLParserElementContentDeclNotFinishedError NSXMLParserError = 55 NSXMLParserXMLDeclNotStartedError NSXMLParserError = 56 NSXMLParserXMLDeclNotFinishedError NSXMLParserError = 57 NSXMLParserConditionalSectionNotStartedError NSXMLParserError = 58 NSXMLParserConditionalSectionNotFinishedError NSXMLParserError = 59 NSXMLParserExternalSubsetNotFinishedError NSXMLParserError = 60 NSXMLParserDOCTYPEDeclNotFinishedError NSXMLParserError = 61 NSXMLParserMisplacedCDATAEndStringError NSXMLParserError = 62 NSXMLParserCDATANotFinishedError NSXMLParserError = 63 NSXMLParserMisplacedXMLDeclarationError NSXMLParserError = 64 NSXMLParserSpaceRequiredError NSXMLParserError = 65 NSXMLParserSeparatorRequiredError NSXMLParserError = 66 NSXMLParserNMTOKENRequiredError NSXMLParserError = 67 NSXMLParserNAMERequiredError NSXMLParserError = 68 NSXMLParserPCDATARequiredError NSXMLParserError = 69 NSXMLParserURIRequiredError NSXMLParserError = 70 NSXMLParserPublicIdentifierRequiredError NSXMLParserError = 71 NSXMLParserLTRequiredError NSXMLParserError = 72 NSXMLParserGTRequiredError NSXMLParserError = 73 NSXMLParserLTSlashRequiredError NSXMLParserError = 74 NSXMLParserEqualExpectedError NSXMLParserError = 75 NSXMLParserTagNameMismatchError NSXMLParserError = 76 NSXMLParserUnfinishedTagError NSXMLParserError = 77 NSXMLParserStandaloneValueError NSXMLParserError = 78 NSXMLParserInvalidEncodingNameError NSXMLParserError = 79 NSXMLParserCommentContainsDoubleHyphenError NSXMLParserError = 80 NSXMLParserInvalidEncodingError NSXMLParserError = 81 NSXMLParserExternalStandaloneEntityError NSXMLParserError = 82 NSXMLParserInvalidConditionalSectionError NSXMLParserError = 83 NSXMLParserEntityValueRequiredError NSXMLParserError = 84 NSXMLParserNotWellBalancedError NSXMLParserError = 85 NSXMLParserExtraContentError NSXMLParserError = 86 NSXMLParserInvalidCharacterInEntityError NSXMLParserError = 87 NSXMLParserParsedEntityRefInInternalError NSXMLParserError = 88 NSXMLParserEntityRefLoopError NSXMLParserError = 89 NSXMLParserEntityBoundaryError NSXMLParserError = 90 NSXMLParserInvalidURIError NSXMLParserError = 91 NSXMLParserURIFragmentError NSXMLParserError = 92 NSXMLParserNoDTDError NSXMLParserError = 94 NSXMLParserDelegateAbortedParseError NSXMLParserError = 512 )
func (NSXMLParserError) String ¶
func (e NSXMLParserError) String() string
type NSXMLParserExternalEntityResolvingPolicy ¶
type NSXMLParserExternalEntityResolvingPolicy uint64
const ( NSXMLParserResolveExternalEntitiesNever NSXMLParserExternalEntityResolvingPolicy = 0 NSXMLParserResolveExternalEntitiesNoNetwork NSXMLParserExternalEntityResolvingPolicy = 1 NSXMLParserResolveExternalEntitiesSameOriginOnly NSXMLParserExternalEntityResolvingPolicy = 2 NSXMLParserResolveExternalEntitiesAlways NSXMLParserExternalEntityResolvingPolicy = 3 )
func (NSXMLParserExternalEntityResolvingPolicy) String ¶
func (e NSXMLParserExternalEntityResolvingPolicy) String() string
type NSXPCCoder ¶
type NSXPCCoder struct {
NSCoder
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsxpccoder
func NSXPCCoderFromID ¶
func NSXPCCoderFromID(id objc.ID) *NSXPCCoder
func (*NSXPCCoder) Connection ¶
func (o *NSXPCCoder) Connection() *NSXPCConnection
func (*NSXPCCoder) DecodeXPCObjectOfTypeForKey ¶
func (o *NSXPCCoder) DecodeXPCObjectOfTypeForKey(type_ unsafe.Pointer, key *NSString) *NSObject
func (*NSXPCCoder) EncodeXPCObjectForKey ¶
func (o *NSXPCCoder) EncodeXPCObjectForKey(xpcObject *NSObject, key *NSString)
func (*NSXPCCoder) SetUserInfo ¶
func (o *NSXPCCoder) SetUserInfo(userInfo NSObjectProtocol)
func (*NSXPCCoder) UserInfo ¶
func (o *NSXPCCoder) UserInfo() NSObjectProtocol
type NSXPCConnection ¶
type NSXPCConnection struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsxpcconnection
func NSXPCConnectionCurrentConnection ¶
func NSXPCConnectionCurrentConnection() *NSXPCConnection
func NSXPCConnectionFromID ¶
func NSXPCConnectionFromID(id objc.ID) *NSXPCConnection
func (*NSXPCConnection) Activate ¶
func (o *NSXPCConnection) Activate()
func (*NSXPCConnection) AuditSessionIdentifier ¶
func (o *NSXPCConnection) AuditSessionIdentifier() int
func (*NSXPCConnection) EffectiveGroupIdentifier ¶
func (o *NSXPCConnection) EffectiveGroupIdentifier() uint
func (*NSXPCConnection) EffectiveUserIdentifier ¶
func (o *NSXPCConnection) EffectiveUserIdentifier() uint
func (*NSXPCConnection) Endpoint ¶
func (o *NSXPCConnection) Endpoint() *NSXPCListenerEndpoint
func (*NSXPCConnection) ExportedInterface ¶
func (o *NSXPCConnection) ExportedInterface() *NSXPCInterface
func (*NSXPCConnection) ExportedObject ¶
func (o *NSXPCConnection) ExportedObject() objc.ID
func (*NSXPCConnection) InitWithListenerEndpoint ¶
func (o *NSXPCConnection) InitWithListenerEndpoint(endpoint *NSXPCListenerEndpoint) *NSXPCConnection
func (*NSXPCConnection) InitWithMachServiceNameOptions ¶
func (o *NSXPCConnection) InitWithMachServiceNameOptions(name *NSString, options NSXPCConnectionOptions) *NSXPCConnection
func (*NSXPCConnection) InitWithServiceName ¶
func (o *NSXPCConnection) InitWithServiceName(serviceName *NSString) *NSXPCConnection
func (*NSXPCConnection) InterruptionHandler ¶
func (o *NSXPCConnection) InterruptionHandler() objc.Block
func (*NSXPCConnection) Invalidate ¶
func (o *NSXPCConnection) Invalidate()
func (*NSXPCConnection) InvalidationHandler ¶
func (o *NSXPCConnection) InvalidationHandler() objc.Block
func (*NSXPCConnection) ProcessIdentifier ¶
func (o *NSXPCConnection) ProcessIdentifier() int
func (*NSXPCConnection) RemoteObjectInterface ¶
func (o *NSXPCConnection) RemoteObjectInterface() *NSXPCInterface
func (*NSXPCConnection) RemoteObjectProxy ¶
func (o *NSXPCConnection) RemoteObjectProxy() objc.ID
func (*NSXPCConnection) RemoteObjectProxyWithErrorHandler ¶
func (o *NSXPCConnection) RemoteObjectProxyWithErrorHandler(handler func(unsafe.Pointer)) objc.ID
func (*NSXPCConnection) Resume ¶
func (o *NSXPCConnection) Resume()
func (*NSXPCConnection) ScheduleSendBarrierBlock ¶
func (o *NSXPCConnection) ScheduleSendBarrierBlock(block func())
func (*NSXPCConnection) ServiceName ¶
func (o *NSXPCConnection) ServiceName() *NSString
func (*NSXPCConnection) SetCodeSigningRequirement ¶
func (o *NSXPCConnection) SetCodeSigningRequirement(requirement *NSString)
Sets the code signing requirement for this connection. If the requirement is malformed, an exception is thrown. If new messages do not match the requirement, the connection is invalidated. It is recommended to set this before calling `resume`, as it is an XPC error to call it more than once. See https://developer.apple.com/library/archive/documentation/Security/Conceptual/CodeSigningGuide/RequirementLang/RequirementLang.html for more information on the format.
func (*NSXPCConnection) SetExportedInterface ¶
func (o *NSXPCConnection) SetExportedInterface(exportedInterface *NSXPCInterface)
func (*NSXPCConnection) SetExportedObject ¶
func (o *NSXPCConnection) SetExportedObject(exportedObject objc.ID)
func (*NSXPCConnection) SetInterruptionHandler ¶
func (o *NSXPCConnection) SetInterruptionHandler(interruptionHandler func())
func (*NSXPCConnection) SetInvalidationHandler ¶
func (o *NSXPCConnection) SetInvalidationHandler(invalidationHandler func())
func (*NSXPCConnection) SetRemoteObjectInterface ¶
func (o *NSXPCConnection) SetRemoteObjectInterface(remoteObjectInterface *NSXPCInterface)
func (*NSXPCConnection) Suspend ¶
func (o *NSXPCConnection) Suspend()
func (*NSXPCConnection) SynchronousRemoteObjectProxyWithErrorHandler ¶
func (o *NSXPCConnection) SynchronousRemoteObjectProxyWithErrorHandler(handler func(unsafe.Pointer)) objc.ID
type NSXPCConnectionOptions ¶
type NSXPCConnectionOptions uint64
const (
NSXPCConnectionPrivileged NSXPCConnectionOptions = 4096
)
func (NSXPCConnectionOptions) String ¶
func (e NSXPCConnectionOptions) String() string
type NSXPCInterface ¶
type NSXPCInterface struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsxpcinterface
func NSXPCInterfaceFromID ¶
func NSXPCInterfaceFromID(id objc.ID) *NSXPCInterface
func NSXPCInterfaceInterfaceWithProtocol ¶
func NSXPCInterfaceInterfaceWithProtocol(protocol unsafe.Pointer) *NSXPCInterface
func (*NSXPCInterface) ClassesForSelectorArgumentIndexOfReply ¶
func (*NSXPCInterface) InterfaceForSelectorArgumentIndexOfReply ¶
func (o *NSXPCInterface) InterfaceForSelectorArgumentIndexOfReply(sel objc.SEL, arg uint, ofReply bool) *NSXPCInterface
func (*NSXPCInterface) Protocol ¶
func (o *NSXPCInterface) Protocol() unsafe.Pointer
func (*NSXPCInterface) SetClassesForSelectorArgumentIndexOfReply ¶
func (*NSXPCInterface) SetInterfaceForSelectorArgumentIndexOfReply ¶
func (o *NSXPCInterface) SetInterfaceForSelectorArgumentIndexOfReply(ifc *NSXPCInterface, sel objc.SEL, arg uint, ofReply bool)
func (*NSXPCInterface) SetProtocol ¶
func (o *NSXPCInterface) SetProtocol(protocol unsafe.Pointer)
func (*NSXPCInterface) SetXPCTypeForSelectorArgumentIndexOfReply ¶
func (*NSXPCInterface) XPCTypeForSelectorArgumentIndexOfReply ¶
type NSXPCListener ¶
type NSXPCListener struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsxpclistener
func NSXPCListenerAnonymousListener ¶
func NSXPCListenerAnonymousListener() *NSXPCListener
func NSXPCListenerFromID ¶
func NSXPCListenerFromID(id objc.ID) *NSXPCListener
func NSXPCListenerServiceListener ¶
func NSXPCListenerServiceListener() *NSXPCListener
func (*NSXPCListener) Activate ¶
func (o *NSXPCListener) Activate()
func (*NSXPCListener) Delegate ¶
func (o *NSXPCListener) Delegate() NSXPCListenerDelegate
func (*NSXPCListener) Endpoint ¶
func (o *NSXPCListener) Endpoint() *NSXPCListenerEndpoint
func (*NSXPCListener) InitWithMachServiceName ¶
func (o *NSXPCListener) InitWithMachServiceName(name *NSString) *NSXPCListener
func (*NSXPCListener) Invalidate ¶
func (o *NSXPCListener) Invalidate()
func (*NSXPCListener) Resume ¶
func (o *NSXPCListener) Resume()
func (*NSXPCListener) SetConnectionCodeSigningRequirement ¶
func (o *NSXPCListener) SetConnectionCodeSigningRequirement(requirement *NSString)
Sets the code signing requirement for new connections. If the requirement is malformed, an exception is thrown. If new peer connections do not match the requirement, the incoming connection is automatically rejected before consulting the delegate. This method will only work on `anonymousListener` or `initWithMachServiceName` listener instances. Use on other types of listeners will result in an assertion failure. See https://developer.apple.com/library/archive/documentation/Security/Conceptual/CodeSigningGuide/RequirementLang/RequirementLang.html for more information on the format.
func (*NSXPCListener) SetDelegate ¶
func (o *NSXPCListener) SetDelegate(delegate NSXPCListenerDelegate)
func (*NSXPCListener) Suspend ¶
func (o *NSXPCListener) Suspend()
type NSXPCListenerDelegate ¶
type NSXPCListenerDelegate interface {
}
NSXPCListenerDelegate wraps the ObjC protocol NSXPCListenerDelegate.
type NSXPCListenerEndpoint ¶
type NSXPCListenerEndpoint struct {
NSObject
}
Apple documentation: https://developer.apple.com/documentation/foundation/nsxpclistenerendpoint
func NSXPCListenerEndpointFromID ¶
func NSXPCListenerEndpointFromID(id objc.ID) *NSXPCListenerEndpoint
type NSXPCProxyCreating ¶
type NSXPCProxyCreating interface {
RemoteObjectProxy() objc.ID
RemoteObjectProxyWithErrorHandler(handler func(unsafe.Pointer)) objc.ID
}
NSXPCProxyCreating wraps the ObjC protocol NSXPCProxyCreating.
type ObjcClass ¶
type ObjcClass struct{}
An opaque type that represents an Objective-C class. C struct: objc_class ObjcClass is an opaque type.
type ObjcObject ¶
Represents an instance of a class. C struct: objc_object
type ObjcSelector ¶
type ObjcSelector struct{}
An opaque type that represents a method selector. C struct: objc_selector ObjcSelector is an opaque type.
type Os_clockid_t ¶
type Os_clockid_t int64
const (
OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)
func (Os_clockid_t) String ¶
func (e Os_clockid_t) String() string
type Ptrauth_key ¶
type Ptrauth_key int64
const ( Ptrauth_key_none Ptrauth_key = -1 Ptrauth_key_asia Ptrauth_key = 0 Ptrauth_key_asib Ptrauth_key = 1 Ptrauth_key_asda Ptrauth_key = 2 Ptrauth_key_asdb Ptrauth_key = 3 Ptrauth_key_process_independent_code Ptrauth_key = 0 Ptrauth_key_process_dependent_code Ptrauth_key = 1 Ptrauth_key_process_independent_data Ptrauth_key = 2 Ptrauth_key_process_dependent_data Ptrauth_key = 3 Ptrauth_key_return_address Ptrauth_key = 1 Ptrauth_key_frame_pointer Ptrauth_key = 3 Ptrauth_key_function_pointer Ptrauth_key = 0 Ptrauth_key_block_function Ptrauth_key = 0 Ptrauth_key_cxx_vtable_pointer Ptrauth_key = 2 Ptrauth_key_method_list_pointer Ptrauth_key = 2 Ptrauth_key_objc_isa_pointer Ptrauth_key = 2 Ptrauth_key_objc_super_pointer Ptrauth_key = 2 Ptrauth_key_objc_sel_pointer Ptrauth_key = 3 Ptrauth_key_objc_class_ro_pointer Ptrauth_key = 2 Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2 Ptrauth_key_init_fini_pointer Ptrauth_key = 0 )
func (Ptrauth_key) String ¶
func (e Ptrauth_key) String() string
type Qos_class_t ¶
type Qos_class_t uint32
const ( QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33 QOS_CLASS_USER_INITIATED Qos_class_t = 25 QOS_CLASS_DEFAULT Qos_class_t = 21 QOS_CLASS_UTILITY Qos_class_t = 17 QOS_CLASS_BACKGROUND Qos_class_t = 9 QOS_CLASS_UNSPECIFIED Qos_class_t = 0 )
func (Qos_class_t) String ¶
func (e Qos_class_t) String() string
type Virtual_memory_guard_exception_code_t ¶
type Virtual_memory_guard_exception_code_t int64
const ( KGUARD_EXC_DEALLOC_GAP Virtual_memory_guard_exception_code_t = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE Virtual_memory_guard_exception_code_t = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE Virtual_memory_guard_exception_code_t = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE Virtual_memory_guard_exception_code_t = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE Virtual_memory_guard_exception_code_t = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE Virtual_memory_guard_exception_code_t = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE Virtual_memory_guard_exception_code_t = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION Virtual_memory_guard_exception_code_t = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY Virtual_memory_guard_exception_code_t = 13 KGUARD_EXC_SEC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 99 KGUARD_EXC_SEC_COPY_DENIED Virtual_memory_guard_exception_code_t = 100 KGUARD_EXC_SEC_SHARING_DENIED Virtual_memory_guard_exception_code_t = 101 KGUARD_EXC_MTE_SYNC_FAULT Virtual_memory_guard_exception_code_t = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204 )
func (Virtual_memory_guard_exception_code_t) String ¶
func (e Virtual_memory_guard_exception_code_t) String() string
type Xpc_listener_create_flags_t ¶
type Xpc_listener_create_flags_t int64
const ( XPC_LISTENER_CREATE_NONE Xpc_listener_create_flags_t = 0 XPC_LISTENER_CREATE_INACTIVE Xpc_listener_create_flags_t = 1 XPC_LISTENER_CREATE_FORCE_MACH Xpc_listener_create_flags_t = 2 XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4 )
func (Xpc_listener_create_flags_t) String ¶
func (e Xpc_listener_create_flags_t) String() string
type Xpc_session_create_flags_t ¶
type Xpc_session_create_flags_t int64
const ( XPC_SESSION_CREATE_NONE Xpc_session_create_flags_t = 0 XPC_SESSION_CREATE_INACTIVE Xpc_session_create_flags_t = 1 XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2 )
func (Xpc_session_create_flags_t) String ¶
func (e Xpc_session_create_flags_t) String() string
Source Files
¶
- NSAffineTransform.go
- NSAppleEventDescriptor.go
- NSAppleEventManager.go
- NSAppleScript.go
- NSArchiver.go
- NSArray.go
- NSAssertionHandler.go
- NSAttributedString.go
- NSAttributedStringMarkdownParsingOptions.go
- NSAttributedStringMarkdownSourcePosition.go
- NSAutoreleasePool.go
- NSBackgroundActivityScheduler.go
- NSBlockOperation.go
- NSBundle.go
- NSByteCountFormatter.go
- NSCache.go
- NSCachedURLResponse.go
- NSCalendar.go
- NSCalendarDate.go
- NSCharacterSet.go
- NSClassDescription.go
- NSCloneCommand.go
- NSCloseCommand.go
- NSCoder.go
- NSComparisonPredicate.go
- NSCompoundPredicate.go
- NSCondition.go
- NSConditionLock.go
- NSConnection.go
- NSConstantString.go
- NSCountedSet.go
- NSCreateCommand.go
- NSData.go
- NSDataDetector.go
- NSDate.go
- NSDateComponents.go
- NSDateComponentsFormatter.go
- NSDateFormatter.go
- NSDateInterval.go
- NSDateIntervalFormatter.go
- NSDecimalNumber.go
- NSDecimalNumberHandler.go
- NSDeleteCommand.go
- NSDictionary.go
- NSDimension.go
- NSDirectoryEnumerator.go
- NSDistantObject.go
- NSDistantObjectRequest.go
- NSDistributedLock.go
- NSDistributedNotificationCenter.go
- NSEnergyFormatter.go
- NSEnumerator.go
- NSError.go
- NSException.go
- NSExpression.go
- NSExtensionContext.go
- NSExtensionItem.go
- NSFileAccessIntent.go
- NSFileCoordinator.go
- NSFileHandle.go
- NSFileManager.go
- NSFileProviderService.go
- NSFileSecurity.go
- NSFileVersion.go
- NSFileWrapper.go
- NSFormatter.go
- NSGarbageCollector.go
- NSHTTPCookie.go
- NSHTTPCookieStorage.go
- NSHTTPURLResponse.go
- NSHashTable.go
- NSHost.go
- NSISO8601DateFormatter.go
- NSIndexPath.go
- NSIndexSet.go
- NSIndexSpecifier.go
- NSInflectionRule.go
- NSInflectionRuleExplicit.go
- NSInputStream.go
- NSInvocation.go
- NSInvocationOperation.go
- NSItemProvider.go
- NSJSONSerialization.go
- NSKeyValueSharedObservers.go
- NSKeyValueSharedObserversSnapshot.go
- NSKeyedArchiver.go
- NSKeyedUnarchiver.go
- NSLengthFormatter.go
- NSLinguisticTagger.go
- NSListFormatter.go
- NSLocale.go
- NSLocalizedNumberFormatRule.go
- NSLock.go
- NSLogicalTest.go
- NSMachBootstrapServer.go
- NSMachPort.go
- NSMapTable.go
- NSMassFormatter.go
- NSMeasurement.go
- NSMeasurementFormatter.go
- NSMessagePort.go
- NSMessagePortNameServer.go
- NSMetadataItem.go
- NSMetadataQuery.go
- NSMetadataQueryAttributeValueTuple.go
- NSMetadataQueryResultGroup.go
- NSMethodSignature.go
- NSMorphology.go
- NSMorphologyCustomPronoun.go
- NSMorphologyPronoun.go
- NSMoveCommand.go
- NSMutableArray.go
- NSMutableAttributedString.go
- NSMutableCharacterSet.go
- NSMutableData.go
- NSMutableDictionary.go
- NSMutableIndexSet.go
- NSMutableOrderedSet.go
- NSMutableSet.go
- NSMutableString.go
- NSMutableURLRequest.go
- NSNameSpecifier.go
- NSNetService.go
- NSNetServiceBrowser.go
- NSNotification.go
- NSNotificationCenter.go
- NSNotificationQueue.go
- NSNull.go
- NSNumber.go
- NSNumberFormatter.go
- NSObject.go
- NSOperation.go
- NSOperationQueue.go
- NSOrderedCollectionChange.go
- NSOrderedCollectionDifference.go
- NSOrderedSet.go
- NSOrthography.go
- NSOutputStream.go
- NSPersonNameComponents.go
- NSPersonNameComponentsFormatter.go
- NSPipe.go
- NSPointerArray.go
- NSPointerFunctions.go
- NSPort.go
- NSPortCoder.go
- NSPortMessage.go
- NSPortNameServer.go
- NSPositionalSpecifier.go
- NSPredicate.go
- NSPresentationIntent.go
- NSProcessInfo.go
- NSProgress.go
- NSPropertyListSerialization.go
- NSProtocolChecker.go
- NSProxy.go
- NSPurgeableData.go
- NSQuitCommand.go
- NSRangeSpecifier.go
- NSRecursiveLock.go
- NSRegularExpression.go
- NSRelativeDateTimeFormatter.go
- NSRelativeSpecifier.go
- NSRunLoop.go
- NSScanner.go
- NSScriptClassDescription.go
- NSScriptCoercionHandler.go
- NSScriptCommand.go
- NSScriptCommandDescription.go
- NSScriptExecutionContext.go
- NSScriptObjectSpecifier.go
- NSScriptSuiteRegistry.go
- NSScriptWhoseTest.go
- NSSecureUnarchiveFromDataTransformer.go
- NSSet.go
- NSSetCommand.go
- NSSimpleCString.go
- NSSocketPort.go
- NSSocketPortNameServer.go
- NSSortDescriptor.go
- NSSpecifierTest.go
- NSSpellServer.go
- NSStream.go
- NSString.go
- NSTask.go
- NSTermOfAddress.go
- NSTextCheckingResult.go
- NSThread.go
- NSTimeZone.go
- NSTimer.go
- NSURL.go
- NSURLAuthenticationChallenge.go
- NSURLCache.go
- NSURLComponents.go
- NSURLConnection.go
- NSURLCredential.go
- NSURLCredentialStorage.go
- NSURLDownload.go
- NSURLHandle.go
- NSURLProtectionSpace.go
- NSURLProtocol.go
- NSURLQueryItem.go
- NSURLRequest.go
- NSURLResponse.go
- NSURLSession.go
- NSURLSessionConfiguration.go
- NSURLSessionDataTask.go
- NSURLSessionDownloadTask.go
- NSURLSessionStreamTask.go
- NSURLSessionTask.go
- NSURLSessionTaskMetrics.go
- NSURLSessionTaskTransactionMetrics.go
- NSURLSessionUploadTask.go
- NSURLSessionWebSocketMessage.go
- NSURLSessionWebSocketTask.go
- NSUUID.go
- NSUbiquitousKeyValueStore.go
- NSUnarchiver.go
- NSUndoManager.go
- NSUniqueIDSpecifier.go
- NSUnit.go
- NSUnitAcceleration.go
- NSUnitAngle.go
- NSUnitArea.go
- NSUnitConcentrationMass.go
- NSUnitConverter.go
- NSUnitConverterLinear.go
- NSUnitDispersion.go
- NSUnitDuration.go
- NSUnitElectricCharge.go
- NSUnitElectricCurrent.go
- NSUnitElectricPotentialDifference.go
- NSUnitElectricResistance.go
- NSUnitEnergy.go
- NSUnitFrequency.go
- NSUnitFuelEfficiency.go
- NSUnitIlluminance.go
- NSUnitInformationStorage.go
- NSUnitLength.go
- NSUnitMass.go
- NSUnitPower.go
- NSUnitPressure.go
- NSUnitSpeed.go
- NSUnitTemperature.go
- NSUnitVolume.go
- NSUserActivity.go
- NSUserAppleScriptTask.go
- NSUserAutomatorTask.go
- NSUserDefaults.go
- NSUserNotification.go
- NSUserNotificationAction.go
- NSUserNotificationCenter.go
- NSUserScriptTask.go
- NSUserUnixTask.go
- NSValue.go
- NSValueTransformer.go
- NSWhoseSpecifier.go
- NSXMLDTD.go
- NSXMLDTDNode.go
- NSXMLDocument.go
- NSXMLElement.go
- NSXMLNode.go
- NSXMLParser.go
- NSXPCCoder.go
- NSXPCConnection.go
- NSXPCInterface.go
- NSXPCListener.go
- NSXPCListenerEndpoint.go
- doc.go
- foundation_enums.go
- foundation_externs.go
- foundation_functions.go
- foundation_protocols.go
- foundation_runtime.go
- foundation_structs.go