foundation

package
v0.19.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2023 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Overview

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

Necessary go binding for Foundation framework.

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

Index

Constants

This section is empty.

Variables

View Source
var AffineTransformClass = _AffineTransformClass{objc.GetClass("NSAffineTransform")}
View Source
var AppleEventDescriptorClass = _AppleEventDescriptorClass{objc.GetClass("NSAppleEventDescriptor")}
View Source
var AttributedStringClass = _AttributedStringClass{objc.GetClass("NSAttributedString")}
View Source
var BundleClass = _BundleClass{objc.GetClass("NSBundle")}
View Source
var ByteCountFormatterClass = _ByteCountFormatterClass{objc.GetClass("NSByteCountFormatter")}
View Source
var CalendarClass = _CalendarClass{objc.GetClass("NSCalendar")}
View Source
var CharacterSetClass = _CharacterSetClass{objc.GetClass("NSCharacterSet")}
View Source
var ClassDescriptionClass = _ClassDescriptionClass{objc.GetClass("NSClassDescription")}
View Source
var CloseCommandClass = _CloseCommandClass{objc.GetClass("NSCloseCommand")}
View Source
var CoderClass = _CoderClass{objc.GetClass("NSCoder")}
View Source
var DateClass = _DateClass{objc.GetClass("NSDate")}
View Source
var DateComponentsClass = _DateComponentsClass{objc.GetClass("NSDateComponents")}
View Source
var DateComponentsFormatterClass = _DateComponentsFormatterClass{objc.GetClass("NSDateComponentsFormatter")}
View Source
var DateFormatterClass = _DateFormatterClass{objc.GetClass("NSDateFormatter")}
View Source
var DateIntervalClass = _DateIntervalClass{objc.GetClass("NSDateInterval")}
View Source
var DateIntervalFormatterClass = _DateIntervalFormatterClass{objc.GetClass("NSDateIntervalFormatter")}
View Source
var DecimalNumberClass = _DecimalNumberClass{objc.GetClass("NSDecimalNumber")}
View Source
var DecimalNumberHandlerClass = _DecimalNumberHandlerClass{objc.GetClass("NSDecimalNumberHandler")}
View Source
var EnumeratorClass = _EnumeratorClass{objc.GetClass("NSEnumerator")}
View Source
var ErrorClass = _ErrorClass{objc.GetClass("NSError")}
View Source
var ExceptionClass = _ExceptionClass{objc.GetClass("NSException")}
View Source
var ExpressionClass = _ExpressionClass{objc.GetClass("NSExpression")}
View Source
var ExtensionContextClass = _ExtensionContextClass{objc.GetClass("NSExtensionContext")}
View Source
var FileWrapperClass = _FileWrapperClass{objc.GetClass("NSFileWrapper")}
View Source
var FormatterClass = _FormatterClass{objc.GetClass("NSFormatter")}
View Source
var HTTPCookieClass = _HTTPCookieClass{objc.GetClass("NSHTTPCookie")}
View Source
var HTTPURLResponseClass = _HTTPURLResponseClass{objc.GetClass("NSHTTPURLResponse")}
View Source
var IndexPathClass = _IndexPathClass{objc.GetClass("NSIndexPath")}
View Source
var IndexSetClass = _IndexSetClass{objc.GetClass("NSIndexSet")}
View Source
var InputStreamClass = _InputStreamClass{objc.GetClass("NSInputStream")}
View Source
var LocaleClass = _LocaleClass{objc.GetClass("NSLocale")}
View Source
var MeasurementClass = _MeasurementClass{objc.GetClass("NSMeasurement")}
View Source
var MeasurementFormatterClass = _MeasurementFormatterClass{objc.GetClass("NSMeasurementFormatter")}
View Source
var MutableAttributedStringClass = _MutableAttributedStringClass{objc.GetClass("NSMutableAttributedString")}
View Source
var MutableURLRequestClass = _MutableURLRequestClass{objc.GetClass("NSMutableURLRequest")}
View Source
var NotificationCenterClass = _NotificationCenterClass{objc.GetClass("NSNotificationCenter")}
View Source
var NotificationClass = _NotificationClass{objc.GetClass("NSNotification")}
View Source
var NullClass = _NullClass{objc.GetClass("NSNull")}
View Source
var NumberClass = _NumberClass{objc.GetClass("NSNumber")}
View Source
var NumberFormatterClass = _NumberFormatterClass{objc.GetClass("NSNumberFormatter")}
View Source
var OperationClass = _OperationClass{objc.GetClass("NSOperation")}
View Source
var OperationQueueClass = _OperationQueueClass{objc.GetClass("NSOperationQueue")}
View Source
var OrthographyClass = _OrthographyClass{objc.GetClass("NSOrthography")}
View Source
var OutputStreamClass = _OutputStreamClass{objc.GetClass("NSOutputStream")}
View Source
var PersonNameComponentsClass = _PersonNameComponentsClass{objc.GetClass("NSPersonNameComponents")}
View Source
var PersonNameComponentsFormatterClass = _PersonNameComponentsFormatterClass{objc.GetClass("NSPersonNameComponentsFormatter")}
View Source
var PortClass = _PortClass{objc.GetClass("NSPort")}
View Source
var PredicateClass = _PredicateClass{objc.GetClass("NSPredicate")}
View Source
var ProgressClass = _ProgressClass{objc.GetClass("NSProgress")}
View Source
var RegularExpressionClass = _RegularExpressionClass{objc.GetClass("NSRegularExpression")}
View Source
var RunLoopClass = _RunLoopClass{objc.GetClass("NSRunLoop")}
View Source
var ScriptClassDescriptionClass = _ScriptClassDescriptionClass{objc.GetClass("NSScriptClassDescription")}
View Source
var ScriptCommandClass = _ScriptCommandClass{objc.GetClass("NSScriptCommand")}
View Source
var ScriptCommandDescriptionClass = _ScriptCommandDescriptionClass{objc.GetClass("NSScriptCommandDescription")}
View Source
var ScriptObjectSpecifierClass = _ScriptObjectSpecifierClass{objc.GetClass("NSScriptObjectSpecifier")}
View Source
var SortDescriptorClass = _SortDescriptorClass{objc.GetClass("NSSortDescriptor")}
View Source
var StreamClass = _StreamClass{objc.GetClass("NSStream")}
View Source
var TextCheckingResultClass = _TextCheckingResultClass{objc.GetClass("NSTextCheckingResult")}
View Source
var TimeZoneClass = _TimeZoneClass{objc.GetClass("NSTimeZone")}
View Source
var TimerClass = _TimerClass{objc.GetClass("NSTimer")}
View Source
var URLClass = _URLClass{objc.GetClass("NSURL")}
View Source
var URLRequestClass = _URLRequestClass{objc.GetClass("NSURLRequest")}
View Source
var URLResponseClass = _URLResponseClass{objc.GetClass("NSURLResponse")}
View Source
var UndoManagerClass = _UndoManagerClass{objc.GetClass("NSUndoManager")}
View Source
var UnitClass = _UnitClass{objc.GetClass("NSUnit")}
View Source
var UserActivityClass = _UserActivityClass{objc.GetClass("NSUserActivity")}
View Source
var UserDefaultsClass = _UserDefaultsClass{objc.GetClass("NSUserDefaults")}
View Source
var ValueClass = _ValueClass{objc.GetClass("NSValue")}

Functions

func ArrayToSlice added in v0.9.0

func ArrayToSlice[T any](a Array) []T

func DataWithJSONObject added in v0.15.1

func DataWithJSONObject(o objc.IObject, options JSONWritingOptions) ([]byte, error)

func DateToGoTime

func DateToGoTime(date Date) time.Time

func DictToMap added in v0.9.0

func DictToMap[K comparable, V any](d Dictionary) map[K]V

func IsValidJSONObject added in v0.15.1

func IsValidJSONObject(o objc.IObject) bool

func JSONObjectWithData added in v0.15.1

func JSONObjectWithData(data []byte, options JSONReadingOptions) (objc.Object, error)

func ToGoError added in v0.14.5

func ToGoError(err Error) error

func WrapPortDelegate added in v0.18.0

func WrapPortDelegate(v PortDelegate) objc.Object

func WrapStreamDelegate added in v0.18.0

func WrapStreamDelegate(v StreamDelegate) objc.Object

func WrapUserActivityDelegate added in v0.18.0

func WrapUserActivityDelegate(v UserActivityDelegate) objc.Object

Types

type AffineTransform

type AffineTransform struct {
	objc.Object
}

func MakeAffineTransform

func MakeAffineTransform(ptr unsafe.Pointer) AffineTransform

func NewAffineTransform added in v0.13.0

func NewAffineTransform() AffineTransform

func (AffineTransform) AppendTransform

func (a_ AffineTransform) AppendTransform(transform IAffineTransform)

func (AffineTransform) Init added in v0.13.0

func (a_ AffineTransform) Init() AffineTransform

func (AffineTransform) InitWithTransform added in v0.11.0

func (a_ AffineTransform) InitWithTransform(transform IAffineTransform) AffineTransform

func (AffineTransform) Invert

func (a_ AffineTransform) Invert()

func (AffineTransform) PrependTransform

func (a_ AffineTransform) PrependTransform(transform IAffineTransform)

func (AffineTransform) RotateByDegrees

func (a_ AffineTransform) RotateByDegrees(angle float64)

func (AffineTransform) RotateByRadians

func (a_ AffineTransform) RotateByRadians(angle float64)

func (AffineTransform) ScaleBy

func (a_ AffineTransform) ScaleBy(scale float64)

func (AffineTransform) ScaleXBy_YBy

func (a_ AffineTransform) ScaleXBy_YBy(scaleX float64, scaleY float64)

func (AffineTransform) SetTransformStruct

func (a_ AffineTransform) SetTransformStruct(value AffineTransformStruct)

func (AffineTransform) TransformPoint

func (a_ AffineTransform) TransformPoint(aPoint Point) Point

func (AffineTransform) TransformSize

func (a_ AffineTransform) TransformSize(aSize Size) Size

func (AffineTransform) TransformStruct

func (a_ AffineTransform) TransformStruct() AffineTransformStruct

func (AffineTransform) TranslateXBy_YBy

func (a_ AffineTransform) TranslateXBy_YBy(deltaX float64, deltaY float64)

type AlignmentOptions added in v0.13.6

type AlignmentOptions uint64
const AlignAllEdgesInward AlignmentOptions = 15
const AlignAllEdgesNearest AlignmentOptions = 983040
const AlignAllEdgesOutward AlignmentOptions = 3840
const AlignHeightInward AlignmentOptions = 32
const AlignHeightNearest AlignmentOptions = 2097152
const AlignHeightOutward AlignmentOptions = 8192
const AlignMaxXInward AlignmentOptions = 4
const AlignMaxXNearest AlignmentOptions = 262144
const AlignMaxXOutward AlignmentOptions = 1024
const AlignMaxYInward AlignmentOptions = 8
const AlignMaxYNearest AlignmentOptions = 524288
const AlignMaxYOutward AlignmentOptions = 2048
const AlignMinXInward AlignmentOptions = 1
const AlignMinXNearest AlignmentOptions = 65536
const AlignMinXOutward AlignmentOptions = 256
const AlignMinYInward AlignmentOptions = 2
const AlignMinYNearest AlignmentOptions = 131072
const AlignMinYOutward AlignmentOptions = 512
const AlignRectFlipped AlignmentOptions = 9223372036854775808
const AlignWidthInward AlignmentOptions = 16
const AlignWidthNearest AlignmentOptions = 1048576
const AlignWidthOutward AlignmentOptions = 4096

type AppleEventDescriptor

type AppleEventDescriptor struct {
	objc.Object
}

func MakeAppleEventDescriptor

func MakeAppleEventDescriptor(ptr unsafe.Pointer) AppleEventDescriptor

func NewAppleEventDescriptor

func NewAppleEventDescriptor() AppleEventDescriptor

func (AppleEventDescriptor) BooleanValue added in v0.13.6

func (a_ AppleEventDescriptor) BooleanValue() bool

func (AppleEventDescriptor) Data

func (a_ AppleEventDescriptor) Data() []byte

func (AppleEventDescriptor) DateValue

func (a_ AppleEventDescriptor) DateValue() Date

func (AppleEventDescriptor) DescriptorAtIndex

func (a_ AppleEventDescriptor) DescriptorAtIndex(index int) AppleEventDescriptor

func (AppleEventDescriptor) DoubleValue

func (a_ AppleEventDescriptor) DoubleValue() float64

func (AppleEventDescriptor) FileURLValue

func (a_ AppleEventDescriptor) FileURLValue() URL

func (AppleEventDescriptor) Init added in v0.11.0

func (AppleEventDescriptor) InitListDescriptor added in v0.11.0

func (a_ AppleEventDescriptor) InitListDescriptor() AppleEventDescriptor

func (AppleEventDescriptor) InitRecordDescriptor added in v0.11.0

func (a_ AppleEventDescriptor) InitRecordDescriptor() AppleEventDescriptor

func (AppleEventDescriptor) InsertDescriptor_AtIndex

func (a_ AppleEventDescriptor) InsertDescriptor_AtIndex(descriptor IAppleEventDescriptor, index int)

func (AppleEventDescriptor) Int32Value added in v0.13.3

func (a_ AppleEventDescriptor) Int32Value() int32

func (AppleEventDescriptor) IsRecordDescriptor

func (a_ AppleEventDescriptor) IsRecordDescriptor() bool

func (AppleEventDescriptor) NumberOfItems

func (a_ AppleEventDescriptor) NumberOfItems() int

func (AppleEventDescriptor) RemoveDescriptorAtIndex

func (a_ AppleEventDescriptor) RemoveDescriptorAtIndex(index int)

func (AppleEventDescriptor) SendEventWithOptions_Timeout_Error added in v0.13.3

func (a_ AppleEventDescriptor) SendEventWithOptions_Timeout_Error(sendOptions AppleEventSendOptions, timeoutInSeconds TimeInterval, error *Error) AppleEventDescriptor

func (AppleEventDescriptor) StringValue

func (a_ AppleEventDescriptor) StringValue() string

type AppleEventSendOptions added in v0.12.5

type AppleEventSendOptions uint
const AppleEventSendAlwaysInteract AppleEventSendOptions = 48
const AppleEventSendCanInteract AppleEventSendOptions = 32
const AppleEventSendCanSwitchLayer AppleEventSendOptions = 64
const AppleEventSendDefaultOptions AppleEventSendOptions = 35
const AppleEventSendDontAnnotate AppleEventSendOptions = 65536
const AppleEventSendDontExecute AppleEventSendOptions = 8192
const AppleEventSendDontRecord AppleEventSendOptions = 4096
const AppleEventSendNeverInteract AppleEventSendOptions = 16
const AppleEventSendNoReply AppleEventSendOptions = 1
const AppleEventSendQueueReply AppleEventSendOptions = 2
const AppleEventSendWaitForReply AppleEventSendOptions = 3

type Array added in v0.9.0

type Array struct {
	objc.Object
}

func ArrayOf added in v0.9.0

func ArrayOf[T any](slice []T) Array

func MakeArray added in v0.9.0

func MakeArray(ptr unsafe.Pointer) Array

func (Array) Count added in v0.9.0

func (a Array) Count() uint

func (Array) ObjectAtIndex added in v0.15.3

func (a Array) ObjectAtIndex(index uint) objc.Object

type AttributedString

type AttributedString struct {
	objc.Object
}

func MakeAttributedString

func MakeAttributedString(ptr unsafe.Pointer) AttributedString

func NewAttributedString

func NewAttributedString() AttributedString

func (AttributedString) Attribute_AtIndex_EffectiveRange added in v0.13.4

func (a_ AttributedString) Attribute_AtIndex_EffectiveRange(attrName AttributedStringKey, location uint, range_ *Range) objc.Object

func (AttributedString) Attribute_AtIndex_LongestEffectiveRange_InRange added in v0.13.4

func (a_ AttributedString) Attribute_AtIndex_LongestEffectiveRange_InRange(attrName AttributedStringKey, location uint, range_ *Range, rangeLimit Range) objc.Object

func (AttributedString) AttributedStringByInflectingString added in v0.13.0

func (a_ AttributedString) AttributedStringByInflectingString() AttributedString

func (AttributedString) AttributedSubstringFromRange added in v0.13.0

func (a_ AttributedString) AttributedSubstringFromRange(range_ Range) AttributedString

func (AttributedString) AttributesAtIndex_EffectiveRange added in v0.13.4

func (a_ AttributedString) AttributesAtIndex_EffectiveRange(location uint, range_ *Range) map[AttributedStringKey]objc.Object

func (AttributedString) AttributesAtIndex_LongestEffectiveRange_InRange added in v0.13.4

func (a_ AttributedString) AttributesAtIndex_LongestEffectiveRange_InRange(location uint, range_ *Range, rangeLimit Range) map[AttributedStringKey]objc.Object

func (AttributedString) EnumerateAttribute_InRange_Options_UsingBlock added in v0.13.4

func (a_ AttributedString) EnumerateAttribute_InRange_Options_UsingBlock(attrName AttributedStringKey, enumerationRange Range, opts AttributedStringEnumerationOptions, block func(value objc.Object, range_ Range, stop *bool))

func (AttributedString) Init added in v0.11.0

func (AttributedString) InitWithAttributedString added in v0.13.0

func (a_ AttributedString) InitWithAttributedString(attrStr IAttributedString) AttributedString

func (AttributedString) InitWithString added in v0.13.0

func (a_ AttributedString) InitWithString(str string) AttributedString

func (AttributedString) InitWithString_Attributes added in v0.13.0

func (a_ AttributedString) InitWithString_Attributes(str string, attrs map[AttributedStringKey]objc.IObject) AttributedString

func (AttributedString) IsEqualToAttributedString added in v0.13.0

func (a_ AttributedString) IsEqualToAttributedString(other IAttributedString) bool

func (AttributedString) Length

func (a_ AttributedString) Length() uint

func (AttributedString) String

func (a_ AttributedString) String() string

type AttributedStringEnumerationOptions added in v0.12.5

type AttributedStringEnumerationOptions uint
const AttributedStringEnumerationLongestEffectiveRangeNotRequired AttributedStringEnumerationOptions = 1048576
const AttributedStringEnumerationReverse AttributedStringEnumerationOptions = 2

type AttributedStringFormattingOptions added in v0.12.5

type AttributedStringFormattingOptions uint
const AttributedStringFormattingApplyReplacementIndexAttribute AttributedStringFormattingOptions = 2
const AttributedStringFormattingInsertArgumentAttributesWithoutMerging AttributedStringFormattingOptions = 1

type AttributedStringKey

type AttributedStringKey string
const AlternateDescriptionAttributeName AttributedStringKey = "NSAlternateDescription"
const ImageURLAttributeName AttributedStringKey = "NSImageURL"
const InflectionAlternativeAttributeName AttributedStringKey = "NSInflectionAlternative"
const InflectionRuleAttributeName AttributedStringKey = "NSInflect"
const InlinePresentationIntentAttributeName AttributedStringKey = "NSInlinePresentationIntent"
const LanguageIdentifierAttributeName AttributedStringKey = "NSLanguage"
const MarkdownSourcePositionAttributeName AttributedStringKey = "NSMarkdownSourcePosition"
const MorphologyAttributeName AttributedStringKey = "NSMorphology"
const PresentationIntentAttributeName AttributedStringKey = "NSPresentationIntent"
const ReplacementIndexAttributeName AttributedStringKey = "NSReplacementIndex"

type Bundle

type Bundle struct {
	objc.Object
}

func MakeBundle

func MakeBundle(ptr unsafe.Pointer) Bundle

func NewBundle

func NewBundle() Bundle

func (Bundle) AppStoreReceiptURL

func (b_ Bundle) AppStoreReceiptURL() URL

func (Bundle) BuiltInPlugInsPath

func (b_ Bundle) BuiltInPlugInsPath() string

func (Bundle) BuiltInPlugInsURL

func (b_ Bundle) BuiltInPlugInsURL() URL

func (Bundle) BundleIdentifier

func (b_ Bundle) BundleIdentifier() string

func (Bundle) BundlePath

func (b_ Bundle) BundlePath() string

func (Bundle) BundleURL

func (b_ Bundle) BundleURL() URL

func (Bundle) ClassNamed added in v0.16.0

func (b_ Bundle) ClassNamed(className string) objc.Class

func (Bundle) DevelopmentLocalization

func (b_ Bundle) DevelopmentLocalization() string

func (Bundle) ExecutableArchitectures

func (b_ Bundle) ExecutableArchitectures() []Number

func (Bundle) ExecutablePath

func (b_ Bundle) ExecutablePath() string

func (Bundle) ExecutableURL

func (b_ Bundle) ExecutableURL() URL

func (Bundle) InfoDictionary

func (b_ Bundle) InfoDictionary() map[string]objc.Object

func (Bundle) Init added in v0.11.0

func (b_ Bundle) Init() Bundle

func (Bundle) InitWithPath added in v0.11.0

func (b_ Bundle) InitWithPath(path string) Bundle

func (Bundle) InitWithURL added in v0.11.0

func (b_ Bundle) InitWithURL(url IURL) Bundle

func (Bundle) IsLoaded

func (b_ Bundle) IsLoaded() bool

func (Bundle) Load

func (b_ Bundle) Load() bool

func (Bundle) LoadAndReturnError added in v0.13.3

func (b_ Bundle) LoadAndReturnError(error *Error) bool

func (Bundle) Localizations

func (b_ Bundle) Localizations() []string

func (Bundle) LocalizedAttributedStringForKey_Value_Table added in v0.12.0

func (b_ Bundle) LocalizedAttributedStringForKey_Value_Table(key string, value string, tableName string) AttributedString

func (Bundle) LocalizedInfoDictionary

func (b_ Bundle) LocalizedInfoDictionary() map[string]objc.Object

func (Bundle) LocalizedStringForKey_Value_Table

func (b_ Bundle) LocalizedStringForKey_Value_Table(key string, value string, tableName string) string

func (Bundle) ObjectForInfoDictionaryKey

func (b_ Bundle) ObjectForInfoDictionaryKey(key string) objc.Object

func (Bundle) PathForAuxiliaryExecutable

func (b_ Bundle) PathForAuxiliaryExecutable(executableName string) string

func (Bundle) PathForResource_OfType

func (b_ Bundle) PathForResource_OfType(name string, ext string) string

func (Bundle) PathForResource_OfType_InDirectory

func (b_ Bundle) PathForResource_OfType_InDirectory(name string, ext string, subpath string) string

func (Bundle) PathForResource_OfType_InDirectory_ForLocalization

func (b_ Bundle) PathForResource_OfType_InDirectory_ForLocalization(name string, ext string, subpath string, localizationName string) string

func (Bundle) PathsForResourcesOfType_InDirectory

func (b_ Bundle) PathsForResourcesOfType_InDirectory(ext string, subpath string) []string

func (Bundle) PathsForResourcesOfType_InDirectory_ForLocalization

func (b_ Bundle) PathsForResourcesOfType_InDirectory_ForLocalization(ext string, subpath string, localizationName string) []string

func (Bundle) PreferredLocalizations

func (b_ Bundle) PreferredLocalizations() []string

func (Bundle) PreflightAndReturnError added in v0.13.3

func (b_ Bundle) PreflightAndReturnError(error *Error) bool

func (Bundle) PrincipalClass added in v0.16.0

func (b_ Bundle) PrincipalClass() objc.Class

func (Bundle) PrivateFrameworksPath

func (b_ Bundle) PrivateFrameworksPath() string

func (Bundle) PrivateFrameworksURL

func (b_ Bundle) PrivateFrameworksURL() URL

func (Bundle) ResourcePath

func (b_ Bundle) ResourcePath() string

func (Bundle) ResourceURL

func (b_ Bundle) ResourceURL() URL

func (Bundle) SharedFrameworksPath

func (b_ Bundle) SharedFrameworksPath() string

func (Bundle) SharedFrameworksURL

func (b_ Bundle) SharedFrameworksURL() URL

func (Bundle) SharedSupportPath

func (b_ Bundle) SharedSupportPath() string

func (Bundle) SharedSupportURL

func (b_ Bundle) SharedSupportURL() URL

func (Bundle) URLForAuxiliaryExecutable

func (b_ Bundle) URLForAuxiliaryExecutable(executableName string) URL

func (Bundle) URLForResource_WithExtension

func (b_ Bundle) URLForResource_WithExtension(name string, ext string) URL

func (Bundle) URLForResource_WithExtension_Subdirectory

func (b_ Bundle) URLForResource_WithExtension_Subdirectory(name string, ext string, subpath string) URL

func (Bundle) URLForResource_WithExtension_Subdirectory_Localization

func (b_ Bundle) URLForResource_WithExtension_Subdirectory_Localization(name string, ext string, subpath string, localizationName string) URL

func (Bundle) URLsForResourcesWithExtension_Subdirectory

func (b_ Bundle) URLsForResourcesWithExtension_Subdirectory(ext string, subpath string) []URL

func (Bundle) URLsForResourcesWithExtension_Subdirectory_Localization

func (b_ Bundle) URLsForResourcesWithExtension_Subdirectory_Localization(ext string, subpath string, localizationName string) []URL

func (Bundle) Unload

func (b_ Bundle) Unload() bool

type ByteCountFormatter

type ByteCountFormatter struct {
	Formatter
}

func MakeByteCountFormatter

func MakeByteCountFormatter(ptr unsafe.Pointer) ByteCountFormatter

func NewByteCountFormatter

func NewByteCountFormatter() ByteCountFormatter

func (ByteCountFormatter) AllowedUnits

func (b_ ByteCountFormatter) AllowedUnits() ByteCountFormatterUnits

func (ByteCountFormatter) AllowsNonnumericFormatting

func (b_ ByteCountFormatter) AllowsNonnumericFormatting() bool

func (ByteCountFormatter) CountStyle

func (ByteCountFormatter) FormattingContext

func (b_ ByteCountFormatter) FormattingContext() FormattingContext

func (ByteCountFormatter) IncludesActualByteCount

func (b_ ByteCountFormatter) IncludesActualByteCount() bool

func (ByteCountFormatter) IncludesCount

func (b_ ByteCountFormatter) IncludesCount() bool

func (ByteCountFormatter) IncludesUnit

func (b_ ByteCountFormatter) IncludesUnit() bool

func (ByteCountFormatter) Init added in v0.11.0

func (ByteCountFormatter) IsAdaptive

func (b_ ByteCountFormatter) IsAdaptive() bool

func (ByteCountFormatter) SetAdaptive

func (b_ ByteCountFormatter) SetAdaptive(value bool)

func (ByteCountFormatter) SetAllowedUnits

func (b_ ByteCountFormatter) SetAllowedUnits(value ByteCountFormatterUnits)

func (ByteCountFormatter) SetAllowsNonnumericFormatting

func (b_ ByteCountFormatter) SetAllowsNonnumericFormatting(value bool)

func (ByteCountFormatter) SetCountStyle

func (b_ ByteCountFormatter) SetCountStyle(value ByteCountFormatterCountStyle)

func (ByteCountFormatter) SetFormattingContext

func (b_ ByteCountFormatter) SetFormattingContext(value FormattingContext)

func (ByteCountFormatter) SetIncludesActualByteCount

func (b_ ByteCountFormatter) SetIncludesActualByteCount(value bool)

func (ByteCountFormatter) SetIncludesCount

func (b_ ByteCountFormatter) SetIncludesCount(value bool)

func (ByteCountFormatter) SetIncludesUnit

func (b_ ByteCountFormatter) SetIncludesUnit(value bool)

func (ByteCountFormatter) SetZeroPadsFractionDigits

func (b_ ByteCountFormatter) SetZeroPadsFractionDigits(value bool)

func (ByteCountFormatter) StringFromByteCount added in v0.13.6

func (b_ ByteCountFormatter) StringFromByteCount(byteCount int64) string

func (ByteCountFormatter) StringFromMeasurement

func (b_ ByteCountFormatter) StringFromMeasurement(measurement IMeasurement) string

func (ByteCountFormatter) ZeroPadsFractionDigits

func (b_ ByteCountFormatter) ZeroPadsFractionDigits() bool

type ByteCountFormatterCountStyle

type ByteCountFormatterCountStyle int
const ByteCountFormatterCountStyleBinary ByteCountFormatterCountStyle = 3
const ByteCountFormatterCountStyleDecimal ByteCountFormatterCountStyle = 2
const ByteCountFormatterCountStyleFile ByteCountFormatterCountStyle = 0
const ByteCountFormatterCountStyleMemory ByteCountFormatterCountStyle = 1

type ByteCountFormatterUnits

type ByteCountFormatterUnits uint
const ByteCountFormatterUseAll ByteCountFormatterUnits = 65535
const ByteCountFormatterUseBytes ByteCountFormatterUnits = 1
const ByteCountFormatterUseDefault ByteCountFormatterUnits = 0
const ByteCountFormatterUseEB ByteCountFormatterUnits = 64
const ByteCountFormatterUseGB ByteCountFormatterUnits = 8
const ByteCountFormatterUseKB ByteCountFormatterUnits = 2
const ByteCountFormatterUseMB ByteCountFormatterUnits = 4
const ByteCountFormatterUsePB ByteCountFormatterUnits = 32
const ByteCountFormatterUseTB ByteCountFormatterUnits = 16
const ByteCountFormatterUseYBOrHigher ByteCountFormatterUnits = 65280
const ByteCountFormatterUseZB ByteCountFormatterUnits = 128

type Calendar

type Calendar struct {
	objc.Object
}

func MakeCalendar

func MakeCalendar(ptr unsafe.Pointer) Calendar

func NewCalendar added in v0.13.0

func NewCalendar() Calendar

func (Calendar) AMSymbol

func (c_ Calendar) AMSymbol() string

func (Calendar) CalendarIdentifier

func (c_ Calendar) CalendarIdentifier() CalendarIdentifier

func (Calendar) CompareDate_ToDate_ToUnitGranularity

func (c_ Calendar) CompareDate_ToDate_ToUnitGranularity(date1 IDate, date2 IDate, unit CalendarUnit) ComparisonResult

func (Calendar) Component_FromDate

func (c_ Calendar) Component_FromDate(unit CalendarUnit, date IDate) int

func (Calendar) ComponentsInTimeZone_FromDate

func (c_ Calendar) ComponentsInTimeZone_FromDate(timezone ITimeZone, date IDate) DateComponents

func (Calendar) Components_FromDate

func (c_ Calendar) Components_FromDate(unitFlags CalendarUnit, date IDate) DateComponents

func (Calendar) Components_FromDateComponents_ToDateComponents_Options

func (c_ Calendar) Components_FromDateComponents_ToDateComponents_Options(unitFlags CalendarUnit, startingDateComp IDateComponents, resultDateComp IDateComponents, options CalendarOptions) DateComponents

func (Calendar) Components_FromDate_ToDate_Options

func (c_ Calendar) Components_FromDate_ToDate_Options(unitFlags CalendarUnit, startingDate IDate, resultDate IDate, opts CalendarOptions) DateComponents

func (Calendar) DateByAddingComponents_ToDate_Options

func (c_ Calendar) DateByAddingComponents_ToDate_Options(comps IDateComponents, date IDate, opts CalendarOptions) Date

func (Calendar) DateByAddingUnit_Value_ToDate_Options

func (c_ Calendar) DateByAddingUnit_Value_ToDate_Options(unit CalendarUnit, value int, date IDate, options CalendarOptions) Date

func (Calendar) DateBySettingHour_Minute_Second_OfDate_Options

func (c_ Calendar) DateBySettingHour_Minute_Second_OfDate_Options(h int, m int, s int, date IDate, opts CalendarOptions) Date

func (Calendar) DateBySettingUnit_Value_OfDate_Options

func (c_ Calendar) DateBySettingUnit_Value_OfDate_Options(unit CalendarUnit, v int, date IDate, opts CalendarOptions) Date

func (Calendar) DateFromComponents

func (c_ Calendar) DateFromComponents(comps IDateComponents) Date

func (Calendar) DateWithEra_YearForWeekOfYear_WeekOfYear_Weekday_Hour_Minute_Second_Nanosecond

func (c_ Calendar) DateWithEra_YearForWeekOfYear_WeekOfYear_Weekday_Hour_Minute_Second_Nanosecond(eraValue int, yearValue int, weekValue int, weekdayValue int, hourValue int, minuteValue int, secondValue int, nanosecondValue int) Date

func (Calendar) DateWithEra_Year_Month_Day_Hour_Minute_Second_Nanosecond

func (c_ Calendar) DateWithEra_Year_Month_Day_Hour_Minute_Second_Nanosecond(eraValue int, yearValue int, monthValue int, dayValue int, hourValue int, minuteValue int, secondValue int, nanosecondValue int) Date

func (Calendar) Date_MatchesComponents

func (c_ Calendar) Date_MatchesComponents(date IDate, components IDateComponents) bool

func (Calendar) EnumerateDatesStartingAfterDate_MatchingComponents_Options_UsingBlock added in v0.13.4

func (c_ Calendar) EnumerateDatesStartingAfterDate_MatchingComponents_Options_UsingBlock(start IDate, comps IDateComponents, opts CalendarOptions, block func(date Date, exactMatch bool, stop *bool))

func (Calendar) EraSymbols

func (c_ Calendar) EraSymbols() []string

func (Calendar) FirstWeekday

func (c_ Calendar) FirstWeekday() uint

func (Calendar) Init added in v0.13.0

func (c_ Calendar) Init() Calendar

func (Calendar) InitWithCalendarIdentifier

func (c_ Calendar) InitWithCalendarIdentifier(ident CalendarIdentifier) objc.Object

func (Calendar) IsDateInToday

func (c_ Calendar) IsDateInToday(date IDate) bool

func (Calendar) IsDateInTomorrow

func (c_ Calendar) IsDateInTomorrow(date IDate) bool

func (Calendar) IsDateInWeekend

func (c_ Calendar) IsDateInWeekend(date IDate) bool

func (Calendar) IsDateInYesterday

func (c_ Calendar) IsDateInYesterday(date IDate) bool

func (Calendar) IsDate_EqualToDate_ToUnitGranularity

func (c_ Calendar) IsDate_EqualToDate_ToUnitGranularity(date1 IDate, date2 IDate, unit CalendarUnit) bool

func (Calendar) IsDate_InSameDayAsDate

func (c_ Calendar) IsDate_InSameDayAsDate(date1 IDate, date2 IDate) bool

func (Calendar) Locale

func (c_ Calendar) Locale() Locale

func (Calendar) LongEraSymbols

func (c_ Calendar) LongEraSymbols() []string

func (Calendar) MaximumRangeOfUnit

func (c_ Calendar) MaximumRangeOfUnit(unit CalendarUnit) Range

func (Calendar) MinimumDaysInFirstWeek

func (c_ Calendar) MinimumDaysInFirstWeek() uint

func (Calendar) MinimumRangeOfUnit

func (c_ Calendar) MinimumRangeOfUnit(unit CalendarUnit) Range

func (Calendar) MonthSymbols

func (c_ Calendar) MonthSymbols() []string

func (Calendar) NextDateAfterDate_MatchingComponents_Options

func (c_ Calendar) NextDateAfterDate_MatchingComponents_Options(date IDate, comps IDateComponents, options CalendarOptions) Date

func (Calendar) NextDateAfterDate_MatchingHour_Minute_Second_Options

func (c_ Calendar) NextDateAfterDate_MatchingHour_Minute_Second_Options(date IDate, hourValue int, minuteValue int, secondValue int, options CalendarOptions) Date

func (Calendar) NextDateAfterDate_MatchingUnit_Value_Options

func (c_ Calendar) NextDateAfterDate_MatchingUnit_Value_Options(date IDate, unit CalendarUnit, value int, options CalendarOptions) Date

func (Calendar) OrdinalityOfUnit_InUnit_ForDate

func (c_ Calendar) OrdinalityOfUnit_InUnit_ForDate(smaller CalendarUnit, larger CalendarUnit, date IDate) uint

func (Calendar) PMSymbol

func (c_ Calendar) PMSymbol() string

func (Calendar) QuarterSymbols

func (c_ Calendar) QuarterSymbols() []string

func (Calendar) RangeOfUnit_InUnit_ForDate

func (c_ Calendar) RangeOfUnit_InUnit_ForDate(smaller CalendarUnit, larger CalendarUnit, date IDate) Range

func (Calendar) RangeOfUnit_StartDate_Interval_ForDate added in v0.13.3

func (c_ Calendar) RangeOfUnit_StartDate_Interval_ForDate(unit CalendarUnit, datep *Date, tip *TimeInterval, date IDate) bool

func (Calendar) SetFirstWeekday

func (c_ Calendar) SetFirstWeekday(value uint)

func (Calendar) SetLocale

func (c_ Calendar) SetLocale(value ILocale)

func (Calendar) SetMinimumDaysInFirstWeek

func (c_ Calendar) SetMinimumDaysInFirstWeek(value uint)

func (Calendar) SetTimeZone

func (c_ Calendar) SetTimeZone(value ITimeZone)

func (Calendar) ShortMonthSymbols

func (c_ Calendar) ShortMonthSymbols() []string

func (Calendar) ShortQuarterSymbols

func (c_ Calendar) ShortQuarterSymbols() []string

func (Calendar) ShortStandaloneMonthSymbols

func (c_ Calendar) ShortStandaloneMonthSymbols() []string

func (Calendar) ShortStandaloneQuarterSymbols

func (c_ Calendar) ShortStandaloneQuarterSymbols() []string

func (Calendar) ShortStandaloneWeekdaySymbols

func (c_ Calendar) ShortStandaloneWeekdaySymbols() []string

func (Calendar) ShortWeekdaySymbols

func (c_ Calendar) ShortWeekdaySymbols() []string

func (Calendar) StandaloneMonthSymbols

func (c_ Calendar) StandaloneMonthSymbols() []string

func (Calendar) StandaloneQuarterSymbols

func (c_ Calendar) StandaloneQuarterSymbols() []string

func (Calendar) StandaloneWeekdaySymbols

func (c_ Calendar) StandaloneWeekdaySymbols() []string

func (Calendar) StartOfDayForDate

func (c_ Calendar) StartOfDayForDate(date IDate) Date

func (Calendar) TimeZone

func (c_ Calendar) TimeZone() TimeZone

func (Calendar) VeryShortMonthSymbols

func (c_ Calendar) VeryShortMonthSymbols() []string

func (Calendar) VeryShortStandaloneMonthSymbols

func (c_ Calendar) VeryShortStandaloneMonthSymbols() []string

func (Calendar) VeryShortStandaloneWeekdaySymbols

func (c_ Calendar) VeryShortStandaloneWeekdaySymbols() []string

func (Calendar) VeryShortWeekdaySymbols

func (c_ Calendar) VeryShortWeekdaySymbols() []string

func (Calendar) WeekdaySymbols

func (c_ Calendar) WeekdaySymbols() []string

type CalendarIdentifier

type CalendarIdentifier string
const CalendarIdentifierBuddhist CalendarIdentifier = "buddhist"
const CalendarIdentifierChinese CalendarIdentifier = "chinese"
const CalendarIdentifierCoptic CalendarIdentifier = "coptic"
const CalendarIdentifierEthiopicAmeteAlem CalendarIdentifier = "ethiopic-amete-alem"
const CalendarIdentifierEthiopicAmeteMihret CalendarIdentifier = "ethiopic"
const CalendarIdentifierGregorian CalendarIdentifier = "gregorian"
const CalendarIdentifierHebrew CalendarIdentifier = "hebrew"
const CalendarIdentifierISO8601 CalendarIdentifier = "iso8601"
const CalendarIdentifierIndian CalendarIdentifier = "indian"
const CalendarIdentifierIslamic CalendarIdentifier = "islamic"
const CalendarIdentifierIslamicCivil CalendarIdentifier = "islamic-civil"
const CalendarIdentifierIslamicTabular CalendarIdentifier = "islamic-tbla"
const CalendarIdentifierIslamicUmmAlQura CalendarIdentifier = "islamic-umalqura"
const CalendarIdentifierJapanese CalendarIdentifier = "japanese"
const CalendarIdentifierPersian CalendarIdentifier = "persian"
const CalendarIdentifierRepublicOfChina CalendarIdentifier = "roc"

type CalendarOptions

type CalendarOptions uint
const CalendarMatchFirst CalendarOptions = 4096
const CalendarMatchLast CalendarOptions = 8192
const CalendarMatchNextTime CalendarOptions = 1024
const CalendarMatchNextTimePreservingSmallerUnits CalendarOptions = 512
const CalendarMatchPreviousTimePreservingSmallerUnits CalendarOptions = 256
const CalendarMatchStrictly CalendarOptions = 2
const CalendarSearchBackwards CalendarOptions = 4
const CalendarWrapComponents CalendarOptions = 1

type CalendarUnit

type CalendarUnit uint
const CalendarUnitCalendar CalendarUnit = 1048576
const CalendarUnitDay CalendarUnit = 16
const CalendarUnitEra CalendarUnit = 2
const CalendarUnitHour CalendarUnit = 32
const CalendarUnitMinute CalendarUnit = 64
const CalendarUnitMonth CalendarUnit = 8
const CalendarUnitNanosecond CalendarUnit = 32768
const CalendarUnitQuarter CalendarUnit = 2048
const CalendarUnitSecond CalendarUnit = 128
const CalendarUnitTimeZone CalendarUnit = 2097152
const CalendarUnitWeekOfMonth CalendarUnit = 4096
const CalendarUnitWeekOfYear CalendarUnit = 8192
const CalendarUnitWeekday CalendarUnit = 512
const CalendarUnitWeekdayOrdinal CalendarUnit = 1024
const CalendarUnitYear CalendarUnit = 4
const CalendarUnitYearForWeekOfYear CalendarUnit = 16384

type CharacterSet

type CharacterSet struct {
	objc.Object
}

func MakeCharacterSet

func MakeCharacterSet(ptr unsafe.Pointer) CharacterSet

func NewCharacterSet added in v0.13.0

func NewCharacterSet() CharacterSet

func (CharacterSet) BitmapRepresentation

func (c_ CharacterSet) BitmapRepresentation() []byte

func (CharacterSet) CharacterIsMember added in v0.13.6

func (c_ CharacterSet) CharacterIsMember(aCharacter unichar) bool

func (CharacterSet) Init added in v0.13.0

func (c_ CharacterSet) Init() CharacterSet

func (CharacterSet) InvertedSet

func (c_ CharacterSet) InvertedSet() CharacterSet

func (CharacterSet) IsSupersetOfSet

func (c_ CharacterSet) IsSupersetOfSet(theOtherSet ICharacterSet) bool

func (CharacterSet) LongCharacterIsMember added in v0.14.1

func (c_ CharacterSet) LongCharacterIsMember(theLongChar uint32) bool

type ClassDescription

type ClassDescription struct {
	objc.Object
}

func MakeClassDescription

func MakeClassDescription(ptr unsafe.Pointer) ClassDescription

func NewClassDescription

func NewClassDescription() ClassDescription

func (ClassDescription) AttributeKeys

func (c_ ClassDescription) AttributeKeys() []string

func (ClassDescription) Init added in v0.11.0

func (ClassDescription) InverseForRelationshipKey

func (c_ ClassDescription) InverseForRelationshipKey(relationshipKey string) string

func (ClassDescription) ToManyRelationshipKeys

func (c_ ClassDescription) ToManyRelationshipKeys() []string

func (ClassDescription) ToOneRelationshipKeys

func (c_ ClassDescription) ToOneRelationshipKeys() []string

type CloseCommand

type CloseCommand struct {
	ScriptCommand
}

func MakeCloseCommand

func MakeCloseCommand(ptr unsafe.Pointer) CloseCommand

func NewCloseCommand added in v0.13.0

func NewCloseCommand() CloseCommand

func (CloseCommand) Init added in v0.13.0

func (c_ CloseCommand) Init() CloseCommand

func (CloseCommand) InitWithCommandDescription added in v0.11.0

func (c_ CloseCommand) InitWithCommandDescription(commandDef IScriptCommandDescription) CloseCommand

func (CloseCommand) SaveOptions

func (c_ CloseCommand) SaveOptions() SaveOptions

type Coder

type Coder struct {
	objc.Object
}

func MakeCoder

func MakeCoder(ptr unsafe.Pointer) Coder

func NewCoder

func NewCoder() Coder

func (Coder) Init added in v0.11.0

func (c_ Coder) Init() Coder

type ComparisonPredicateModifier added in v0.13.6

type ComparisonPredicateModifier uint
const AllPredicateModifier ComparisonPredicateModifier = 1
const AnyPredicateModifier ComparisonPredicateModifier = 2
const DirectPredicateModifier ComparisonPredicateModifier = 0

type ComparisonResult

type ComparisonResult int
const OrderedAscending ComparisonResult = -1
const OrderedDescending ComparisonResult = 1
const OrderedSame ComparisonResult = 0

type Data

type Data struct {
	objc.Object
}

func MakeData

func MakeData(ptr unsafe.Pointer) Data

func NewData

func NewData(bytes []byte) Data

func (Data) ToBytes

func (d Data) ToBytes() []byte

type Date

type Date struct {
	objc.Object
}

func GoTimeToDate

func GoTimeToDate(time time.Time) Date

func MakeDate

func MakeDate(ptr unsafe.Pointer) Date

func NewDate

func NewDate() Date

func (Date) AddTimeInterval added in v0.14.5

func (d_ Date) AddTimeInterval(seconds TimeInterval) objc.Object

deprecated

func (Date) Compare

func (d_ Date) Compare(other IDate) ComparisonResult

func (Date) DateByAddingTimeInterval added in v0.11.0

func (d_ Date) DateByAddingTimeInterval(ti TimeInterval) Date

func (Date) Description

func (d_ Date) Description() string

func (Date) DescriptionWithCalendarFormat_TimeZone_Locale added in v0.14.5

func (d_ Date) DescriptionWithCalendarFormat_TimeZone_Locale(format string, aTimeZone ITimeZone, locale objc.IObject) string

deprecated

func (Date) DescriptionWithLocale

func (d_ Date) DescriptionWithLocale(locale objc.IObject) string

func (Date) EarlierDate

func (d_ Date) EarlierDate(anotherDate IDate) Date

func (Date) Init added in v0.11.0

func (d_ Date) Init() Date

func (Date) InitWithString added in v0.14.5

func (d_ Date) InitWithString(description string) objc.Object

deprecated

func (Date) InitWithTimeIntervalSince1970 added in v0.11.0

func (d_ Date) InitWithTimeIntervalSince1970(secs TimeInterval) Date

func (Date) InitWithTimeIntervalSinceNow added in v0.11.0

func (d_ Date) InitWithTimeIntervalSinceNow(secs TimeInterval) Date

func (Date) InitWithTimeIntervalSinceReferenceDate added in v0.11.0

func (d_ Date) InitWithTimeIntervalSinceReferenceDate(ti TimeInterval) Date

func (Date) InitWithTimeInterval_SinceDate added in v0.11.0

func (d_ Date) InitWithTimeInterval_SinceDate(secsToBeAdded TimeInterval, date IDate) Date

func (Date) IsEqualToDate

func (d_ Date) IsEqualToDate(otherDate IDate) bool

func (Date) LaterDate

func (d_ Date) LaterDate(anotherDate IDate) Date

func (Date) TimeIntervalSince1970

func (d_ Date) TimeIntervalSince1970() TimeInterval

func (Date) TimeIntervalSinceDate

func (d_ Date) TimeIntervalSinceDate(anotherDate IDate) TimeInterval

func (Date) TimeIntervalSinceNow

func (d_ Date) TimeIntervalSinceNow() TimeInterval

func (Date) TimeIntervalSinceReferenceDate

func (d_ Date) TimeIntervalSinceReferenceDate() TimeInterval

type DateComponents

type DateComponents struct {
	objc.Object
}

func MakeDateComponents

func MakeDateComponents(ptr unsafe.Pointer) DateComponents

func NewDateComponents

func NewDateComponents() DateComponents

func (DateComponents) Calendar

func (d_ DateComponents) Calendar() Calendar

func (DateComponents) Date

func (d_ DateComponents) Date() Date

func (DateComponents) Day

func (d_ DateComponents) Day() int

func (DateComponents) Era

func (d_ DateComponents) Era() int

func (DateComponents) Hour

func (d_ DateComponents) Hour() int

func (DateComponents) Init added in v0.11.0

func (d_ DateComponents) Init() DateComponents

func (DateComponents) IsLeapMonth

func (d_ DateComponents) IsLeapMonth() bool

func (DateComponents) IsValidDate

func (d_ DateComponents) IsValidDate() bool

func (DateComponents) IsValidDateInCalendar

func (d_ DateComponents) IsValidDateInCalendar(calendar ICalendar) bool

func (DateComponents) Minute

func (d_ DateComponents) Minute() int

func (DateComponents) Month

func (d_ DateComponents) Month() int

func (DateComponents) Nanosecond

func (d_ DateComponents) Nanosecond() int

func (DateComponents) Quarter

func (d_ DateComponents) Quarter() int

func (DateComponents) Second

func (d_ DateComponents) Second() int

func (DateComponents) SetCalendar

func (d_ DateComponents) SetCalendar(value ICalendar)

func (DateComponents) SetDay

func (d_ DateComponents) SetDay(value int)

func (DateComponents) SetEra

func (d_ DateComponents) SetEra(value int)

func (DateComponents) SetHour

func (d_ DateComponents) SetHour(value int)

func (DateComponents) SetLeapMonth

func (d_ DateComponents) SetLeapMonth(value bool)

func (DateComponents) SetMinute

func (d_ DateComponents) SetMinute(value int)

func (DateComponents) SetMonth

func (d_ DateComponents) SetMonth(value int)

func (DateComponents) SetNanosecond

func (d_ DateComponents) SetNanosecond(value int)

func (DateComponents) SetQuarter

func (d_ DateComponents) SetQuarter(value int)

func (DateComponents) SetSecond

func (d_ DateComponents) SetSecond(value int)

func (DateComponents) SetTimeZone

func (d_ DateComponents) SetTimeZone(value ITimeZone)

func (DateComponents) SetValue_ForComponent

func (d_ DateComponents) SetValue_ForComponent(value int, unit CalendarUnit)

func (DateComponents) SetWeek added in v0.14.5

func (d_ DateComponents) SetWeek(v int)

deprecated

func (DateComponents) SetWeekOfMonth

func (d_ DateComponents) SetWeekOfMonth(value int)

func (DateComponents) SetWeekOfYear

func (d_ DateComponents) SetWeekOfYear(value int)

func (DateComponents) SetWeekday

func (d_ DateComponents) SetWeekday(value int)

func (DateComponents) SetWeekdayOrdinal

func (d_ DateComponents) SetWeekdayOrdinal(value int)

func (DateComponents) SetYear

func (d_ DateComponents) SetYear(value int)

func (DateComponents) SetYearForWeekOfYear

func (d_ DateComponents) SetYearForWeekOfYear(value int)

func (DateComponents) TimeZone

func (d_ DateComponents) TimeZone() TimeZone

func (DateComponents) ValueForComponent

func (d_ DateComponents) ValueForComponent(unit CalendarUnit) int

func (DateComponents) Week added in v0.14.5

func (d_ DateComponents) Week() int

deprecated

func (DateComponents) WeekOfMonth

func (d_ DateComponents) WeekOfMonth() int

func (DateComponents) WeekOfYear

func (d_ DateComponents) WeekOfYear() int

func (DateComponents) Weekday

func (d_ DateComponents) Weekday() int

func (DateComponents) WeekdayOrdinal

func (d_ DateComponents) WeekdayOrdinal() int

func (DateComponents) Year

func (d_ DateComponents) Year() int

func (DateComponents) YearForWeekOfYear

func (d_ DateComponents) YearForWeekOfYear() int

type DateComponentsFormatter

type DateComponentsFormatter struct {
	Formatter
}

func MakeDateComponentsFormatter

func MakeDateComponentsFormatter(ptr unsafe.Pointer) DateComponentsFormatter

func NewDateComponentsFormatter

func NewDateComponentsFormatter() DateComponentsFormatter

func (DateComponentsFormatter) AllowedUnits

func (d_ DateComponentsFormatter) AllowedUnits() CalendarUnit

func (DateComponentsFormatter) AllowsFractionalUnits

func (d_ DateComponentsFormatter) AllowsFractionalUnits() bool

func (DateComponentsFormatter) Calendar

func (d_ DateComponentsFormatter) Calendar() Calendar

func (DateComponentsFormatter) CollapsesLargestUnit

func (d_ DateComponentsFormatter) CollapsesLargestUnit() bool

func (DateComponentsFormatter) FormattingContext

func (d_ DateComponentsFormatter) FormattingContext() FormattingContext

func (DateComponentsFormatter) IncludesApproximationPhrase

func (d_ DateComponentsFormatter) IncludesApproximationPhrase() bool

func (DateComponentsFormatter) IncludesTimeRemainingPhrase

func (d_ DateComponentsFormatter) IncludesTimeRemainingPhrase() bool

func (DateComponentsFormatter) Init added in v0.11.0

func (DateComponentsFormatter) MaximumUnitCount

func (d_ DateComponentsFormatter) MaximumUnitCount() int

func (DateComponentsFormatter) ReferenceDate

func (d_ DateComponentsFormatter) ReferenceDate() Date

func (DateComponentsFormatter) SetAllowedUnits

func (d_ DateComponentsFormatter) SetAllowedUnits(value CalendarUnit)

func (DateComponentsFormatter) SetAllowsFractionalUnits

func (d_ DateComponentsFormatter) SetAllowsFractionalUnits(value bool)

func (DateComponentsFormatter) SetCalendar

func (d_ DateComponentsFormatter) SetCalendar(value ICalendar)

func (DateComponentsFormatter) SetCollapsesLargestUnit

func (d_ DateComponentsFormatter) SetCollapsesLargestUnit(value bool)

func (DateComponentsFormatter) SetFormattingContext

func (d_ DateComponentsFormatter) SetFormattingContext(value FormattingContext)

func (DateComponentsFormatter) SetIncludesApproximationPhrase

func (d_ DateComponentsFormatter) SetIncludesApproximationPhrase(value bool)

func (DateComponentsFormatter) SetIncludesTimeRemainingPhrase

func (d_ DateComponentsFormatter) SetIncludesTimeRemainingPhrase(value bool)

func (DateComponentsFormatter) SetMaximumUnitCount

func (d_ DateComponentsFormatter) SetMaximumUnitCount(value int)

func (DateComponentsFormatter) SetReferenceDate

func (d_ DateComponentsFormatter) SetReferenceDate(value IDate)

func (DateComponentsFormatter) SetUnitsStyle

func (DateComponentsFormatter) SetZeroFormattingBehavior

func (d_ DateComponentsFormatter) SetZeroFormattingBehavior(value DateComponentsFormatterZeroFormattingBehavior)

func (DateComponentsFormatter) StringFromDateComponents

func (d_ DateComponentsFormatter) StringFromDateComponents(components IDateComponents) string

func (DateComponentsFormatter) StringFromDate_ToDate

func (d_ DateComponentsFormatter) StringFromDate_ToDate(startDate IDate, endDate IDate) string

func (DateComponentsFormatter) StringFromTimeInterval

func (d_ DateComponentsFormatter) StringFromTimeInterval(ti TimeInterval) string

func (DateComponentsFormatter) UnitsStyle

func (DateComponentsFormatter) ZeroFormattingBehavior

type DateComponentsFormatterUnitsStyle

type DateComponentsFormatterUnitsStyle int
const DateComponentsFormatterUnitsStyleAbbreviated DateComponentsFormatterUnitsStyle = 1
const DateComponentsFormatterUnitsStyleBrief DateComponentsFormatterUnitsStyle = 5
const DateComponentsFormatterUnitsStyleFull DateComponentsFormatterUnitsStyle = 3
const DateComponentsFormatterUnitsStylePositional DateComponentsFormatterUnitsStyle = 0
const DateComponentsFormatterUnitsStyleShort DateComponentsFormatterUnitsStyle = 2
const DateComponentsFormatterUnitsStyleSpellOut DateComponentsFormatterUnitsStyle = 4

type DateComponentsFormatterZeroFormattingBehavior

type DateComponentsFormatterZeroFormattingBehavior uint
const DateComponentsFormatterZeroFormattingBehaviorDefault DateComponentsFormatterZeroFormattingBehavior = 1
const DateComponentsFormatterZeroFormattingBehaviorDropAll DateComponentsFormatterZeroFormattingBehavior = 14
const DateComponentsFormatterZeroFormattingBehaviorDropLeading DateComponentsFormatterZeroFormattingBehavior = 2
const DateComponentsFormatterZeroFormattingBehaviorDropMiddle DateComponentsFormatterZeroFormattingBehavior = 4
const DateComponentsFormatterZeroFormattingBehaviorDropTrailing DateComponentsFormatterZeroFormattingBehavior = 8
const DateComponentsFormatterZeroFormattingBehaviorNone DateComponentsFormatterZeroFormattingBehavior = 0
const DateComponentsFormatterZeroFormattingBehaviorPad DateComponentsFormatterZeroFormattingBehavior = 65536

type DateFormatter

type DateFormatter struct {
	Formatter
}

func MakeDateFormatter

func MakeDateFormatter(ptr unsafe.Pointer) DateFormatter

func NewDateFormatter

func NewDateFormatter() DateFormatter

func (DateFormatter) AMSymbol

func (d_ DateFormatter) AMSymbol() string

func (DateFormatter) AllowsNaturalLanguage added in v0.14.5

func (d_ DateFormatter) AllowsNaturalLanguage() bool

deprecated

func (DateFormatter) Calendar

func (d_ DateFormatter) Calendar() Calendar

func (DateFormatter) DateFormat

func (d_ DateFormatter) DateFormat() string

func (DateFormatter) DateFromString

func (d_ DateFormatter) DateFromString(string_ string) Date

func (DateFormatter) DateStyle

func (d_ DateFormatter) DateStyle() DateFormatterStyle

func (DateFormatter) DefaultDate

func (d_ DateFormatter) DefaultDate() Date

func (DateFormatter) DoesRelativeDateFormatting

func (d_ DateFormatter) DoesRelativeDateFormatting() bool

func (DateFormatter) EraSymbols

func (d_ DateFormatter) EraSymbols() []string

func (DateFormatter) FormatterBehavior

func (d_ DateFormatter) FormatterBehavior() DateFormatterBehavior

func (DateFormatter) FormattingContext

func (d_ DateFormatter) FormattingContext() FormattingContext

func (DateFormatter) GeneratesCalendarDates

func (d_ DateFormatter) GeneratesCalendarDates() bool

func (DateFormatter) GregorianStartDate

func (d_ DateFormatter) GregorianStartDate() Date

func (DateFormatter) Init added in v0.11.0

func (d_ DateFormatter) Init() DateFormatter

func (DateFormatter) InitWithDateFormat_AllowNaturalLanguage added in v0.14.5

func (d_ DateFormatter) InitWithDateFormat_AllowNaturalLanguage(format string, flag bool) objc.Object

deprecated

func (DateFormatter) IsLenient

func (d_ DateFormatter) IsLenient() bool

func (DateFormatter) Locale

func (d_ DateFormatter) Locale() Locale

func (DateFormatter) LongEraSymbols

func (d_ DateFormatter) LongEraSymbols() []string

func (DateFormatter) MonthSymbols

func (d_ DateFormatter) MonthSymbols() []string

func (DateFormatter) PMSymbol

func (d_ DateFormatter) PMSymbol() string

func (DateFormatter) QuarterSymbols

func (d_ DateFormatter) QuarterSymbols() []string

func (DateFormatter) SetAMSymbol

func (d_ DateFormatter) SetAMSymbol(value string)

func (DateFormatter) SetCalendar

func (d_ DateFormatter) SetCalendar(value ICalendar)

func (DateFormatter) SetDateFormat

func (d_ DateFormatter) SetDateFormat(value string)

func (DateFormatter) SetDateStyle

func (d_ DateFormatter) SetDateStyle(value DateFormatterStyle)

func (DateFormatter) SetDefaultDate

func (d_ DateFormatter) SetDefaultDate(value IDate)

func (DateFormatter) SetDoesRelativeDateFormatting

func (d_ DateFormatter) SetDoesRelativeDateFormatting(value bool)

func (DateFormatter) SetEraSymbols

func (d_ DateFormatter) SetEraSymbols(value []string)

func (DateFormatter) SetFormatterBehavior

func (d_ DateFormatter) SetFormatterBehavior(value DateFormatterBehavior)

func (DateFormatter) SetFormattingContext

func (d_ DateFormatter) SetFormattingContext(value FormattingContext)

func (DateFormatter) SetGeneratesCalendarDates

func (d_ DateFormatter) SetGeneratesCalendarDates(value bool)

func (DateFormatter) SetGregorianStartDate

func (d_ DateFormatter) SetGregorianStartDate(value IDate)

func (DateFormatter) SetLenient

func (d_ DateFormatter) SetLenient(value bool)

func (DateFormatter) SetLocale

func (d_ DateFormatter) SetLocale(value ILocale)

func (DateFormatter) SetLocalizedDateFormatFromTemplate

func (d_ DateFormatter) SetLocalizedDateFormatFromTemplate(dateFormatTemplate string)

func (DateFormatter) SetLongEraSymbols

func (d_ DateFormatter) SetLongEraSymbols(value []string)

func (DateFormatter) SetMonthSymbols

func (d_ DateFormatter) SetMonthSymbols(value []string)

func (DateFormatter) SetPMSymbol

func (d_ DateFormatter) SetPMSymbol(value string)

func (DateFormatter) SetQuarterSymbols

func (d_ DateFormatter) SetQuarterSymbols(value []string)

func (DateFormatter) SetShortMonthSymbols

func (d_ DateFormatter) SetShortMonthSymbols(value []string)

func (DateFormatter) SetShortQuarterSymbols

func (d_ DateFormatter) SetShortQuarterSymbols(value []string)

func (DateFormatter) SetShortStandaloneMonthSymbols

func (d_ DateFormatter) SetShortStandaloneMonthSymbols(value []string)

func (DateFormatter) SetShortStandaloneQuarterSymbols

func (d_ DateFormatter) SetShortStandaloneQuarterSymbols(value []string)

func (DateFormatter) SetShortStandaloneWeekdaySymbols

func (d_ DateFormatter) SetShortStandaloneWeekdaySymbols(value []string)

func (DateFormatter) SetShortWeekdaySymbols

func (d_ DateFormatter) SetShortWeekdaySymbols(value []string)

func (DateFormatter) SetStandaloneMonthSymbols

func (d_ DateFormatter) SetStandaloneMonthSymbols(value []string)

func (DateFormatter) SetStandaloneQuarterSymbols

func (d_ DateFormatter) SetStandaloneQuarterSymbols(value []string)

func (DateFormatter) SetStandaloneWeekdaySymbols

func (d_ DateFormatter) SetStandaloneWeekdaySymbols(value []string)

func (DateFormatter) SetTimeStyle

func (d_ DateFormatter) SetTimeStyle(value DateFormatterStyle)

func (DateFormatter) SetTimeZone

func (d_ DateFormatter) SetTimeZone(value ITimeZone)

func (DateFormatter) SetTwoDigitStartDate

func (d_ DateFormatter) SetTwoDigitStartDate(value IDate)

func (DateFormatter) SetVeryShortMonthSymbols

func (d_ DateFormatter) SetVeryShortMonthSymbols(value []string)

func (DateFormatter) SetVeryShortStandaloneMonthSymbols

func (d_ DateFormatter) SetVeryShortStandaloneMonthSymbols(value []string)

func (DateFormatter) SetVeryShortStandaloneWeekdaySymbols

func (d_ DateFormatter) SetVeryShortStandaloneWeekdaySymbols(value []string)

func (DateFormatter) SetVeryShortWeekdaySymbols

func (d_ DateFormatter) SetVeryShortWeekdaySymbols(value []string)

func (DateFormatter) SetWeekdaySymbols

func (d_ DateFormatter) SetWeekdaySymbols(value []string)

func (DateFormatter) ShortMonthSymbols

func (d_ DateFormatter) ShortMonthSymbols() []string

func (DateFormatter) ShortQuarterSymbols

func (d_ DateFormatter) ShortQuarterSymbols() []string

func (DateFormatter) ShortStandaloneMonthSymbols

func (d_ DateFormatter) ShortStandaloneMonthSymbols() []string

func (DateFormatter) ShortStandaloneQuarterSymbols

func (d_ DateFormatter) ShortStandaloneQuarterSymbols() []string

func (DateFormatter) ShortStandaloneWeekdaySymbols

func (d_ DateFormatter) ShortStandaloneWeekdaySymbols() []string

func (DateFormatter) ShortWeekdaySymbols

func (d_ DateFormatter) ShortWeekdaySymbols() []string

func (DateFormatter) StandaloneMonthSymbols

func (d_ DateFormatter) StandaloneMonthSymbols() []string

func (DateFormatter) StandaloneQuarterSymbols

func (d_ DateFormatter) StandaloneQuarterSymbols() []string

func (DateFormatter) StandaloneWeekdaySymbols

func (d_ DateFormatter) StandaloneWeekdaySymbols() []string

func (DateFormatter) StringFromDate

func (d_ DateFormatter) StringFromDate(date IDate) string

func (DateFormatter) TimeStyle

func (d_ DateFormatter) TimeStyle() DateFormatterStyle

func (DateFormatter) TimeZone

func (d_ DateFormatter) TimeZone() TimeZone

func (DateFormatter) TwoDigitStartDate

func (d_ DateFormatter) TwoDigitStartDate() Date

func (DateFormatter) VeryShortMonthSymbols

func (d_ DateFormatter) VeryShortMonthSymbols() []string

func (DateFormatter) VeryShortStandaloneMonthSymbols

func (d_ DateFormatter) VeryShortStandaloneMonthSymbols() []string

func (DateFormatter) VeryShortStandaloneWeekdaySymbols

func (d_ DateFormatter) VeryShortStandaloneWeekdaySymbols() []string

func (DateFormatter) VeryShortWeekdaySymbols

func (d_ DateFormatter) VeryShortWeekdaySymbols() []string

func (DateFormatter) WeekdaySymbols

func (d_ DateFormatter) WeekdaySymbols() []string

type DateFormatterBehavior

type DateFormatterBehavior uint
const DateFormatterBehavior10_0 DateFormatterBehavior = 1000
const DateFormatterBehavior10_4 DateFormatterBehavior = 1040
const DateFormatterBehaviorDefault DateFormatterBehavior = 0

type DateFormatterStyle

type DateFormatterStyle uint
const DateFormatterFullStyle DateFormatterStyle = 4
const DateFormatterLongStyle DateFormatterStyle = 3
const DateFormatterMediumStyle DateFormatterStyle = 2
const DateFormatterNoStyle DateFormatterStyle = 0
const DateFormatterShortStyle DateFormatterStyle = 1

type DateInterval

type DateInterval struct {
	objc.Object
}

func MakeDateInterval

func MakeDateInterval(ptr unsafe.Pointer) DateInterval

func NewDateInterval

func NewDateInterval() DateInterval

func (DateInterval) Compare

func (d_ DateInterval) Compare(dateInterval IDateInterval) ComparisonResult

func (DateInterval) ContainsDate

func (d_ DateInterval) ContainsDate(date IDate) bool

func (DateInterval) Duration

func (d_ DateInterval) Duration() TimeInterval

func (DateInterval) EndDate

func (d_ DateInterval) EndDate() Date

func (DateInterval) Init added in v0.11.0

func (d_ DateInterval) Init() DateInterval

func (DateInterval) InitWithStartDate_Duration added in v0.11.0

func (d_ DateInterval) InitWithStartDate_Duration(startDate IDate, duration TimeInterval) DateInterval

func (DateInterval) InitWithStartDate_EndDate added in v0.11.0

func (d_ DateInterval) InitWithStartDate_EndDate(startDate IDate, endDate IDate) DateInterval

func (DateInterval) IntersectionWithDateInterval

func (d_ DateInterval) IntersectionWithDateInterval(dateInterval IDateInterval) DateInterval

func (DateInterval) IntersectsDateInterval

func (d_ DateInterval) IntersectsDateInterval(dateInterval IDateInterval) bool

func (DateInterval) IsEqualToDateInterval

func (d_ DateInterval) IsEqualToDateInterval(dateInterval IDateInterval) bool

func (DateInterval) StartDate

func (d_ DateInterval) StartDate() Date

type DateIntervalFormatter

type DateIntervalFormatter struct {
	Formatter
}

func MakeDateIntervalFormatter

func MakeDateIntervalFormatter(ptr unsafe.Pointer) DateIntervalFormatter

func NewDateIntervalFormatter

func NewDateIntervalFormatter() DateIntervalFormatter

func (DateIntervalFormatter) Calendar

func (d_ DateIntervalFormatter) Calendar() Calendar

func (DateIntervalFormatter) DateStyle

func (DateIntervalFormatter) DateTemplate

func (d_ DateIntervalFormatter) DateTemplate() string

func (DateIntervalFormatter) Init added in v0.11.0

func (DateIntervalFormatter) Locale

func (d_ DateIntervalFormatter) Locale() Locale

func (DateIntervalFormatter) SetCalendar

func (d_ DateIntervalFormatter) SetCalendar(value ICalendar)

func (DateIntervalFormatter) SetDateStyle

func (d_ DateIntervalFormatter) SetDateStyle(value DateIntervalFormatterStyle)

func (DateIntervalFormatter) SetDateTemplate

func (d_ DateIntervalFormatter) SetDateTemplate(value string)

func (DateIntervalFormatter) SetLocale

func (d_ DateIntervalFormatter) SetLocale(value ILocale)

func (DateIntervalFormatter) SetTimeStyle

func (d_ DateIntervalFormatter) SetTimeStyle(value DateIntervalFormatterStyle)

func (DateIntervalFormatter) SetTimeZone

func (d_ DateIntervalFormatter) SetTimeZone(value ITimeZone)

func (DateIntervalFormatter) StringFromDateInterval

func (d_ DateIntervalFormatter) StringFromDateInterval(dateInterval IDateInterval) string

func (DateIntervalFormatter) StringFromDate_ToDate

func (d_ DateIntervalFormatter) StringFromDate_ToDate(fromDate IDate, toDate IDate) string

func (DateIntervalFormatter) TimeStyle

func (DateIntervalFormatter) TimeZone

func (d_ DateIntervalFormatter) TimeZone() TimeZone

type DateIntervalFormatterStyle

type DateIntervalFormatterStyle uint
const DateIntervalFormatterFullStyle DateIntervalFormatterStyle = 4
const DateIntervalFormatterLongStyle DateIntervalFormatterStyle = 3
const DateIntervalFormatterMediumStyle DateIntervalFormatterStyle = 2
const DateIntervalFormatterNoStyle DateIntervalFormatterStyle = 0
const DateIntervalFormatterShortStyle DateIntervalFormatterStyle = 1

type Decimal added in v0.13.0

type Decimal struct {
	// contains filtered or unexported fields
}

type DecimalNumber added in v0.13.0

type DecimalNumber struct {
	Number
}

func MakeDecimalNumber added in v0.13.0

func MakeDecimalNumber(ptr unsafe.Pointer) DecimalNumber

func NewDecimalNumber added in v0.13.0

func NewDecimalNumber() DecimalNumber

func (DecimalNumber) DecimalNumberByAdding added in v0.13.0

func (d_ DecimalNumber) DecimalNumberByAdding(decimalNumber IDecimalNumber) DecimalNumber

func (DecimalNumber) DecimalNumberByDividingBy added in v0.13.0

func (d_ DecimalNumber) DecimalNumberByDividingBy(decimalNumber IDecimalNumber) DecimalNumber

func (DecimalNumber) DecimalNumberByMultiplyingBy added in v0.13.0

func (d_ DecimalNumber) DecimalNumberByMultiplyingBy(decimalNumber IDecimalNumber) DecimalNumber

func (DecimalNumber) DecimalNumberByMultiplyingByPowerOf10 added in v0.13.6

func (d_ DecimalNumber) DecimalNumberByMultiplyingByPowerOf10(power int16) DecimalNumber

func (DecimalNumber) DecimalNumberByRaisingToPower added in v0.13.0

func (d_ DecimalNumber) DecimalNumberByRaisingToPower(power uint) DecimalNumber

func (DecimalNumber) DecimalNumberBySubtracting added in v0.13.0

func (d_ DecimalNumber) DecimalNumberBySubtracting(decimalNumber IDecimalNumber) DecimalNumber

func (DecimalNumber) Init added in v0.13.0

func (d_ DecimalNumber) Init() DecimalNumber

func (DecimalNumber) InitWithBytes_ObjCType added in v0.13.6

func (d_ DecimalNumber) InitWithBytes_ObjCType(value unsafe.Pointer, type_ *byte) DecimalNumber

func (DecimalNumber) InitWithDecimal added in v0.13.0

func (d_ DecimalNumber) InitWithDecimal(dcm Decimal) DecimalNumber

func (DecimalNumber) InitWithMantissa_Exponent_IsNegative added in v0.13.6

func (d_ DecimalNumber) InitWithMantissa_Exponent_IsNegative(mantissa uint64, exponent int16, flag bool) DecimalNumber

func (DecimalNumber) InitWithString added in v0.13.0

func (d_ DecimalNumber) InitWithString(numberValue string) DecimalNumber

func (DecimalNumber) InitWithString_Locale added in v0.13.0

func (d_ DecimalNumber) InitWithString_Locale(numberValue string, locale objc.IObject) DecimalNumber

type DecimalNumberHandler

type DecimalNumberHandler struct {
	objc.Object
}

func MakeDecimalNumberHandler

func MakeDecimalNumberHandler(ptr unsafe.Pointer) DecimalNumberHandler

func NewDecimalNumberHandler

func NewDecimalNumberHandler() DecimalNumberHandler

func (DecimalNumberHandler) Init added in v0.11.0

func (DecimalNumberHandler) InitWithRoundingMode_Scale_RaiseOnExactness_RaiseOnOverflow_RaiseOnUnderflow_RaiseOnDivideByZero added in v0.13.6

func (d_ DecimalNumberHandler) InitWithRoundingMode_Scale_RaiseOnExactness_RaiseOnOverflow_RaiseOnUnderflow_RaiseOnDivideByZero(roundingMode RoundingMode, scale int16, exact bool, overflow bool, underflow bool, divideByZero bool) DecimalNumberHandler

type Dictionary added in v0.9.0

type Dictionary struct {
	objc.Object
}

func DictOf added in v0.9.0

func DictOf[K comparable, V any](m map[K]V) Dictionary

func MakeDictionary added in v0.9.0

func MakeDictionary(ptr unsafe.Pointer) Dictionary

func (Dictionary) AllKeys added in v0.15.3

func (d Dictionary) AllKeys() Array

func (Dictionary) AllValues added in v0.15.3

func (d Dictionary) AllValues() Array

func (Dictionary) Count added in v0.9.0

func (d Dictionary) Count() uint

func (Dictionary) ObjectForKey added in v0.15.3

func (d Dictionary) ObjectForKey(key objc.IObject) objc.Object

type EdgeInsets

type EdgeInsets struct {
	Top    coregraphics.Float
	Left   coregraphics.Float
	Bottom coregraphics.Float
	Right  coregraphics.Float
}

type EnumerationOptions added in v0.12.5

type EnumerationOptions uint
const EnumerationConcurrent EnumerationOptions = 1
const EnumerationReverse EnumerationOptions = 2

type Enumerator added in v0.9.0

type Enumerator struct {
	objc.Object
}

func MakeEnumerator added in v0.9.0

func MakeEnumerator(ptr unsafe.Pointer) Enumerator

func NewEnumerator added in v0.9.0

func NewEnumerator() Enumerator

func (Enumerator) AllObjects added in v0.13.3

func (e_ Enumerator) AllObjects() []objc.Object

func (Enumerator) Init added in v0.11.0

func (e_ Enumerator) Init() Enumerator

func (Enumerator) NextObject added in v0.13.3

func (e_ Enumerator) NextObject() objc.Object

type Error

type Error struct {
	objc.Object
}

func MakeError

func MakeError(ptr unsafe.Pointer) Error

func NewError

func NewError() Error

func ToNSError added in v0.14.5

func ToNSError(code int, err error) Error

func (Error) AttemptRecoveryFromError_OptionIndex

func (e_ Error) AttemptRecoveryFromError_OptionIndex(error IError, recoveryOptionIndex uint) bool

func (Error) AttemptRecoveryFromError_OptionIndex_Delegate_DidRecoverSelector_ContextInfo added in v0.8.1

func (e_ Error) AttemptRecoveryFromError_OptionIndex_Delegate_DidRecoverSelector_ContextInfo(error IError, recoveryOptionIndex uint, delegate objc.IObject, didRecoverSelector objc.Selector, contextInfo unsafe.Pointer)

func (Error) Code

func (e_ Error) Code() int

func (Error) Domain

func (e_ Error) Domain() ErrorDomain

func (Error) HelpAnchor

func (e_ Error) HelpAnchor() string

func (Error) Init added in v0.11.0

func (e_ Error) Init() Error

func (Error) InitWithDomain_Code_UserInfo added in v0.11.0

func (e_ Error) InitWithDomain_Code_UserInfo(domain ErrorDomain, code int, dict map[ErrorUserInfoKey]objc.IObject) Error

func (Error) LocalizedDescription

func (e_ Error) LocalizedDescription() string

func (Error) LocalizedFailureReason

func (e_ Error) LocalizedFailureReason() string

func (Error) LocalizedRecoveryOptions

func (e_ Error) LocalizedRecoveryOptions() []string

func (Error) LocalizedRecoverySuggestion

func (e_ Error) LocalizedRecoverySuggestion() string

func (Error) RecoveryAttempter

func (e_ Error) RecoveryAttempter() objc.Object

func (Error) UnderlyingErrors

func (e_ Error) UnderlyingErrors() []Error

func (Error) UserInfo

func (e_ Error) UserInfo() map[ErrorUserInfoKey]objc.Object

type ErrorDomain

type ErrorDomain string

type ErrorUserInfoKey

type ErrorUserInfoKey string
const DebugDescriptionErrorKey ErrorUserInfoKey = "NSDebugDescription"
const FilePathErrorKey ErrorUserInfoKey = "NSFilePath"
const HelpAnchorErrorKey ErrorUserInfoKey = "NSHelpAnchor"
const LocalizedDescriptionKey ErrorUserInfoKey = "NSLocalizedDescription"
const LocalizedFailureErrorKey ErrorUserInfoKey = "NSLocalizedFailure"
const LocalizedFailureReasonErrorKey ErrorUserInfoKey = "NSLocalizedFailureReason"
const LocalizedRecoveryOptionsErrorKey ErrorUserInfoKey = "NSLocalizedRecoveryOptions"
const LocalizedRecoverySuggestionErrorKey ErrorUserInfoKey = "NSLocalizedRecoverySuggestion"
const MultipleUnderlyingErrorsKey ErrorUserInfoKey = "NSMultipleUnderlyingErrorsKey"
const RecoveryAttempterErrorKey ErrorUserInfoKey = "NSRecoveryAttempter"
const StringEncodingErrorKey ErrorUserInfoKey = "NSStringEncoding"
const URLErrorKey ErrorUserInfoKey = "NSURL"
const UnderlyingErrorKey ErrorUserInfoKey = "NSUnderlyingError"

type Exception

type Exception struct {
	objc.Object
}

func MakeException

func MakeException(ptr unsafe.Pointer) Exception

func NewException

func NewException() Exception

func (Exception) CallStackReturnAddresses

func (e_ Exception) CallStackReturnAddresses() []Number

func (Exception) CallStackSymbols

func (e_ Exception) CallStackSymbols() []string

func (Exception) Init added in v0.11.0

func (e_ Exception) Init() Exception

func (Exception) Name

func (e_ Exception) Name() ExceptionName

func (Exception) Raise

func (e_ Exception) Raise()

func (Exception) Reason

func (e_ Exception) Reason() string

type ExceptionName

type ExceptionName string
const CharacterConversionException ExceptionName = "NSCharacterConversionException"
const DecimalNumberDivideByZeroException ExceptionName = "NSDecimalNumberDivideByZeroException"
const DecimalNumberExactnessException ExceptionName = "NSDecimalNumberExactnessException"
const DecimalNumberOverflowException ExceptionName = "NSDecimalNumberOverflowException"
const DecimalNumberUnderflowException ExceptionName = "NSDecimalNumberUnderflowException"
const DestinationInvalidException ExceptionName = "NSDestinationInvalidException"
const FileHandleOperationException ExceptionName = "NSFileHandleOperationException"
const GenericException ExceptionName = "NSGenericException"
const InconsistentArchiveException ExceptionName = "NSArchiverArchiveInconsistency"
const InternalInconsistencyException ExceptionName = "NSInternalInconsistencyException"
const InvalidArchiveOperationException ExceptionName = "NSInvalidArchiveOperationException"
const InvalidArgumentException ExceptionName = "NSInvalidArgumentException"
const InvalidReceivePortException ExceptionName = "NSInvalidReceivePortException"
const InvalidSendPortException ExceptionName = "NSInvalidSendPortException"
const InvalidUnarchiveOperationException ExceptionName = "NSInvalidUnarchiveOperationException"
const InvocationOperationCancelledException ExceptionName = "NSInvocationOperationCancelledException"
const InvocationOperationVoidResultException ExceptionName = "NSInvocationOperationVoidResultException"
const MallocException ExceptionName = "NSMallocException"
const ObjectInaccessibleException ExceptionName = "NSObjectInaccessibleException"
const ObjectNotAvailableException ExceptionName = "NSObjectNotAvailableException"
const OldStyleException ExceptionName = "NSOldStyleException"
const ParseErrorException ExceptionName = "NSParseErrorException"
const PortReceiveException ExceptionName = "NSPortReceiveException"
const PortSendException ExceptionName = "NSPortSendException"
const PortTimeoutException ExceptionName = "NSPortTimeoutException"
const RangeException ExceptionName = "NSRangeException"
const UndefinedKeyException ExceptionName = "NSUnknownKeyException"

type Expression added in v0.13.6

type Expression struct {
	objc.Object
}

func MakeExpression added in v0.13.6

func MakeExpression(ptr unsafe.Pointer) Expression

func NewExpression added in v0.13.6

func NewExpression() Expression

func (Expression) AllowEvaluation added in v0.13.6

func (e_ Expression) AllowEvaluation()

func (Expression) Arguments added in v0.13.6

func (e_ Expression) Arguments() []Expression

func (Expression) Collection added in v0.13.6

func (e_ Expression) Collection() objc.Object

func (Expression) ConstantValue added in v0.13.6

func (e_ Expression) ConstantValue() objc.Object

func (Expression) ExpressionBlock added in v0.14.6

func (e_ Expression) ExpressionBlock() func(param1 objc.IObject, param2 []IExpression, param3 IMutableDictionary) objc.Object

func (Expression) ExpressionType added in v0.13.6

func (e_ Expression) ExpressionType() ExpressionType

func (Expression) ExpressionValueWithObject_Context added in v0.14.3

func (e_ Expression) ExpressionValueWithObject_Context(object objc.IObject, context IMutableDictionary) objc.Object

func (Expression) FalseExpression added in v0.13.6

func (e_ Expression) FalseExpression() Expression

func (Expression) Function added in v0.13.6

func (e_ Expression) Function() string

func (Expression) Init added in v0.13.6

func (e_ Expression) Init() Expression

func (Expression) InitWithExpressionType added in v0.13.6

func (e_ Expression) InitWithExpressionType(type_ ExpressionType) Expression

func (Expression) KeyPath added in v0.13.6

func (e_ Expression) KeyPath() string

func (Expression) LeftExpression added in v0.13.6

func (e_ Expression) LeftExpression() Expression

func (Expression) Operand added in v0.13.6

func (e_ Expression) Operand() Expression

func (Expression) Predicate added in v0.13.6

func (e_ Expression) Predicate() Predicate

func (Expression) RightExpression added in v0.13.6

func (e_ Expression) RightExpression() Expression

func (Expression) TrueExpression added in v0.13.6

func (e_ Expression) TrueExpression() Expression

func (Expression) Variable added in v0.13.6

func (e_ Expression) Variable() string

type ExpressionType added in v0.13.6

type ExpressionType uint
const AggregateExpressionType ExpressionType = 14
const AnyKeyExpressionType ExpressionType = 15
const BlockExpressionType ExpressionType = 19
const ConditionalExpressionType ExpressionType = 20
const ConstantValueExpressionType ExpressionType = 0
const EvaluatedObjectExpressionType ExpressionType = 1
const FunctionExpressionType ExpressionType = 4
const IntersectSetExpressionType ExpressionType = 6
const KeyPathExpressionType ExpressionType = 3
const MinusSetExpressionType ExpressionType = 7
const SubqueryExpressionType ExpressionType = 13
const UnionSetExpressionType ExpressionType = 5
const VariableExpressionType ExpressionType = 2

type ExtensionContext

type ExtensionContext struct {
	objc.Object
}

func MakeExtensionContext

func MakeExtensionContext(ptr unsafe.Pointer) ExtensionContext

func NewExtensionContext

func NewExtensionContext() ExtensionContext

func (ExtensionContext) CancelRequestWithError

func (e_ ExtensionContext) CancelRequestWithError(error IError)

func (ExtensionContext) CompleteRequestReturningItems_CompletionHandler added in v0.13.3

func (e_ ExtensionContext) CompleteRequestReturningItems_CompletionHandler(items []objc.IObject, completionHandler func(expired bool))

func (ExtensionContext) Init added in v0.11.0

func (ExtensionContext) InputItems

func (e_ ExtensionContext) InputItems() []objc.Object

func (ExtensionContext) OpenURL_CompletionHandler added in v0.13.3

func (e_ ExtensionContext) OpenURL_CompletionHandler(URL IURL, completionHandler func(success bool))

type FileWrapper

type FileWrapper struct {
	objc.Object
}

func MakeFileWrapper

func MakeFileWrapper(ptr unsafe.Pointer) FileWrapper

func NewFileWrapper

func NewFileWrapper() FileWrapper

func (FileWrapper) AddFileWithPath added in v0.14.5

func (f_ FileWrapper) AddFileWithPath(path string) string

deprecated

func (FileWrapper) AddFileWrapper

func (f_ FileWrapper) AddFileWrapper(child IFileWrapper) string

func (FileWrapper) AddRegularFileWithContents_PreferredFilename

func (f_ FileWrapper) AddRegularFileWithContents_PreferredFilename(data []byte, fileName string) string

func (FileWrapper) AddSymbolicLinkWithDestination_PreferredFilename added in v0.14.5

func (f_ FileWrapper) AddSymbolicLinkWithDestination_PreferredFilename(path string, filename string) string

deprecated

func (FileWrapper) FileAttributes

func (f_ FileWrapper) FileAttributes() map[string]objc.Object

func (FileWrapper) FileWrappers

func (f_ FileWrapper) FileWrappers() map[string]FileWrapper

func (FileWrapper) Filename

func (f_ FileWrapper) Filename() string

func (FileWrapper) Init added in v0.11.0

func (f_ FileWrapper) Init() FileWrapper

func (FileWrapper) InitDirectoryWithFileWrappers added in v0.11.0

func (f_ FileWrapper) InitDirectoryWithFileWrappers(childrenByPreferredName map[string]IFileWrapper) FileWrapper

func (FileWrapper) InitRegularFileWithContents added in v0.11.0

func (f_ FileWrapper) InitRegularFileWithContents(contents []byte) FileWrapper

func (FileWrapper) InitSymbolicLinkWithDestination added in v0.14.5

func (f_ FileWrapper) InitSymbolicLinkWithDestination(path string) objc.Object

deprecated

func (FileWrapper) InitSymbolicLinkWithDestinationURL added in v0.11.0

func (f_ FileWrapper) InitSymbolicLinkWithDestinationURL(url IURL) FileWrapper

func (FileWrapper) InitWithPath added in v0.14.5

func (f_ FileWrapper) InitWithPath(path string) objc.Object

deprecated

func (FileWrapper) InitWithSerializedRepresentation added in v0.11.0

func (f_ FileWrapper) InitWithSerializedRepresentation(serializeRepresentation []byte) FileWrapper

func (FileWrapper) InitWithURL_Options_Error added in v0.13.3

func (f_ FileWrapper) InitWithURL_Options_Error(url IURL, options FileWrapperReadingOptions, outError *Error) FileWrapper

func (FileWrapper) IsDirectory

func (f_ FileWrapper) IsDirectory() bool

func (FileWrapper) IsRegularFile

func (f_ FileWrapper) IsRegularFile() bool
func (f_ FileWrapper) IsSymbolicLink() bool

func (FileWrapper) KeyForFileWrapper

func (f_ FileWrapper) KeyForFileWrapper(child IFileWrapper) string

func (FileWrapper) MatchesContentsOfURL

func (f_ FileWrapper) MatchesContentsOfURL(url IURL) bool

func (FileWrapper) NeedsToBeUpdatedFromPath added in v0.14.5

func (f_ FileWrapper) NeedsToBeUpdatedFromPath(path string) bool

deprecated

func (FileWrapper) PreferredFilename

func (f_ FileWrapper) PreferredFilename() string

func (FileWrapper) ReadFromURL_Options_Error added in v0.13.3

func (f_ FileWrapper) ReadFromURL_Options_Error(url IURL, options FileWrapperReadingOptions, outError *Error) bool

func (FileWrapper) RegularFileContents

func (f_ FileWrapper) RegularFileContents() []byte

func (FileWrapper) RemoveFileWrapper

func (f_ FileWrapper) RemoveFileWrapper(child IFileWrapper)

func (FileWrapper) SerializedRepresentation

func (f_ FileWrapper) SerializedRepresentation() []byte

func (FileWrapper) SetFileAttributes

func (f_ FileWrapper) SetFileAttributes(value map[string]objc.IObject)

func (FileWrapper) SetFilename

func (f_ FileWrapper) SetFilename(value string)

func (FileWrapper) SetPreferredFilename

func (f_ FileWrapper) SetPreferredFilename(value string)

func (FileWrapper) SymbolicLinkDestination added in v0.14.5

func (f_ FileWrapper) SymbolicLinkDestination() string

deprecated

func (FileWrapper) SymbolicLinkDestinationURL

func (f_ FileWrapper) SymbolicLinkDestinationURL() URL

func (FileWrapper) UpdateFromPath added in v0.14.5

func (f_ FileWrapper) UpdateFromPath(path string) bool

deprecated

func (FileWrapper) WriteToFile_Atomically_UpdateFilenames added in v0.14.5

func (f_ FileWrapper) WriteToFile_Atomically_UpdateFilenames(path string, atomicFlag bool, updateFilenamesFlag bool) bool

deprecated

func (FileWrapper) WriteToURL_Options_OriginalContentsURL_Error added in v0.13.3

func (f_ FileWrapper) WriteToURL_Options_OriginalContentsURL_Error(url IURL, options FileWrapperWritingOptions, originalContentsURL IURL, outError *Error) bool

type FileWrapperReadingOptions added in v0.12.5

type FileWrapperReadingOptions uint
const FileWrapperReadingImmediate FileWrapperReadingOptions = 1
const FileWrapperReadingWithoutMapping FileWrapperReadingOptions = 2

type FileWrapperWritingOptions added in v0.12.5

type FileWrapperWritingOptions uint
const FileWrapperWritingAtomic FileWrapperWritingOptions = 1
const FileWrapperWritingWithNameUpdating FileWrapperWritingOptions = 2

type Formatter

type Formatter struct {
	objc.Object
}

func MakeFormatter

func MakeFormatter(ptr unsafe.Pointer) Formatter

func NewFormatter

func NewFormatter() Formatter

func (Formatter) AttributedStringForObjectValue_WithDefaultAttributes

func (f_ Formatter) AttributedStringForObjectValue_WithDefaultAttributes(obj objc.IObject, attrs map[AttributedStringKey]objc.IObject) AttributedString

func (Formatter) EditingStringForObjectValue

func (f_ Formatter) EditingStringForObjectValue(obj objc.IObject) string

func (Formatter) Init added in v0.11.0

func (f_ Formatter) Init() Formatter

func (Formatter) IsPartialStringValid_NewEditingString_ErrorDescription added in v0.13.3

func (f_ Formatter) IsPartialStringValid_NewEditingString_ErrorDescription(partialString string, newString *String, error *String) bool

func (Formatter) IsPartialStringValid_ProposedSelectedRange_OriginalString_OriginalSelectedRange_ErrorDescription added in v0.13.6

func (f_ Formatter) IsPartialStringValid_ProposedSelectedRange_OriginalString_OriginalSelectedRange_ErrorDescription(partialStringPtr *String, proposedSelRangePtr *Range, origString string, origSelRange Range, error *String) bool

func (Formatter) StringForObjectValue

func (f_ Formatter) StringForObjectValue(obj objc.IObject) string

type FormattingContext

type FormattingContext int
const FormattingContextBeginningOfSentence FormattingContext = 4
const FormattingContextDynamic FormattingContext = 1
const FormattingContextListItem FormattingContext = 3
const FormattingContextMiddleOfSentence FormattingContext = 5
const FormattingContextStandalone FormattingContext = 2
const FormattingContextUnknown FormattingContext = 0

type FormattingUnitStyle

type FormattingUnitStyle int
const FormattingUnitStyleLong FormattingUnitStyle = 3
const FormattingUnitStyleMedium FormattingUnitStyle = 2
const FormattingUnitStyleShort FormattingUnitStyle = 1

type HTTPCookie added in v0.13.3

type HTTPCookie struct {
	objc.Object
}

func MakeHTTPCookie added in v0.13.3

func MakeHTTPCookie(ptr unsafe.Pointer) HTTPCookie

func NewHTTPCookie added in v0.13.3

func NewHTTPCookie() HTTPCookie

func (HTTPCookie) Comment added in v0.13.3

func (h_ HTTPCookie) Comment() string

func (HTTPCookie) CommentURL added in v0.13.3

func (h_ HTTPCookie) CommentURL() URL

func (HTTPCookie) Domain added in v0.13.3

func (h_ HTTPCookie) Domain() string

func (HTTPCookie) ExpiresDate added in v0.13.3

func (h_ HTTPCookie) ExpiresDate() Date

func (HTTPCookie) Init added in v0.13.3

func (h_ HTTPCookie) Init() HTTPCookie

func (HTTPCookie) InitWithProperties added in v0.13.3

func (h_ HTTPCookie) InitWithProperties(properties map[HTTPCookiePropertyKey]objc.IObject) HTTPCookie

func (HTTPCookie) IsHTTPOnly added in v0.13.3

func (h_ HTTPCookie) IsHTTPOnly() bool

func (HTTPCookie) IsSecure added in v0.13.3

func (h_ HTTPCookie) IsSecure() bool

func (HTTPCookie) IsSessionOnly added in v0.13.3

func (h_ HTTPCookie) IsSessionOnly() bool

func (HTTPCookie) Name added in v0.13.3

func (h_ HTTPCookie) Name() string

func (HTTPCookie) Path added in v0.13.3

func (h_ HTTPCookie) Path() string

func (HTTPCookie) PortList added in v0.13.3

func (h_ HTTPCookie) PortList() []Number

func (HTTPCookie) Properties added in v0.13.3

func (h_ HTTPCookie) Properties() map[HTTPCookiePropertyKey]objc.Object

func (HTTPCookie) SameSitePolicy added in v0.13.3

func (h_ HTTPCookie) SameSitePolicy() HTTPCookieStringPolicy

func (HTTPCookie) Value added in v0.13.3

func (h_ HTTPCookie) Value() string

func (HTTPCookie) Version added in v0.13.3

func (h_ HTTPCookie) Version() uint

type HTTPCookiePropertyKey added in v0.13.3

type HTTPCookiePropertyKey string
const HTTPCookieComment HTTPCookiePropertyKey = "Comment"
const HTTPCookieCommentURL HTTPCookiePropertyKey = "CommentURL"
const HTTPCookieDiscard HTTPCookiePropertyKey = "Discard"
const HTTPCookieDomain HTTPCookiePropertyKey = "Domain"
const HTTPCookieExpires HTTPCookiePropertyKey = "Expires"
const HTTPCookieMaximumAge HTTPCookiePropertyKey = "Max-Age"
const HTTPCookieName HTTPCookiePropertyKey = "Name"
const HTTPCookieOriginURL HTTPCookiePropertyKey = "OriginURL"
const HTTPCookiePath HTTPCookiePropertyKey = "Path"
const HTTPCookiePort HTTPCookiePropertyKey = "Port"
const HTTPCookieSameSitePolicy HTTPCookiePropertyKey = "SameSite"
const HTTPCookieSecure HTTPCookiePropertyKey = "Secure"
const HTTPCookieValue HTTPCookiePropertyKey = "Value"
const HTTPCookieVersion HTTPCookiePropertyKey = "Version"

type HTTPCookieStringPolicy added in v0.13.3

type HTTPCookieStringPolicy string
const HTTPCookieSameSiteLax HTTPCookieStringPolicy = "lax"
const HTTPCookieSameSiteStrict HTTPCookieStringPolicy = "strict"

type HTTPURLResponse added in v0.13.6

type HTTPURLResponse struct {
	URLResponse
}

func MakeHTTPURLResponse added in v0.13.6

func MakeHTTPURLResponse(ptr unsafe.Pointer) HTTPURLResponse

func NewHTTPURLResponse added in v0.13.6

func NewHTTPURLResponse() HTTPURLResponse

func (HTTPURLResponse) Init added in v0.13.6

func (h_ HTTPURLResponse) Init() HTTPURLResponse

func (HTTPURLResponse) InitWithURL_MIMEType_ExpectedContentLength_TextEncodingName added in v0.13.6

func (h_ HTTPURLResponse) InitWithURL_MIMEType_ExpectedContentLength_TextEncodingName(URL IURL, MIMEType string, length int, name string) HTTPURLResponse

func (HTTPURLResponse) InitWithURL_StatusCode_HTTPVersion_HeaderFields added in v0.13.6

func (h_ HTTPURLResponse) InitWithURL_StatusCode_HTTPVersion_HeaderFields(url IURL, statusCode int, HTTPVersion string, headerFields map[string]string) HTTPURLResponse

func (HTTPURLResponse) StatusCode added in v0.13.6

func (h_ HTTPURLResponse) StatusCode() int

func (HTTPURLResponse) ValueForHTTPHeaderField added in v0.13.6

func (h_ HTTPURLResponse) ValueForHTTPHeaderField(field string) string

type IAffineTransform added in v0.11.0

type IAffineTransform interface {
	objc.IObject
	RotateByDegrees(angle float64)
	RotateByRadians(angle float64)
	ScaleBy(scale float64)
	ScaleXBy_YBy(scaleX float64, scaleY float64)
	TranslateXBy_YBy(deltaX float64, deltaY float64)
	AppendTransform(transform IAffineTransform)
	PrependTransform(transform IAffineTransform)
	Invert()
	TransformPoint(aPoint Point) Point
	TransformSize(aSize Size) Size
	TransformStruct() AffineTransformStruct
	SetTransformStruct(value AffineTransformStruct)
}

type IAppleEventDescriptor added in v0.11.0

type IAppleEventDescriptor interface {
	objc.IObject
	DescriptorAtIndex(index int) AppleEventDescriptor
	InsertDescriptor_AtIndex(descriptor IAppleEventDescriptor, index int)
	RemoveDescriptorAtIndex(index int)
	SendEventWithOptions_Timeout_Error(sendOptions AppleEventSendOptions, timeoutInSeconds TimeInterval, error *Error) AppleEventDescriptor
	BooleanValue() bool
	Data() []byte
	Int32Value() int32
	NumberOfItems() int
	StringValue() string
	DateValue() Date
	DoubleValue() float64
	FileURLValue() URL
	IsRecordDescriptor() bool
}

type IArray added in v0.11.0

type IArray interface {
	objc.IObject
	ObjectAtIndex(index uint) objc.Object
	Count() uint
}

type IAttributedString added in v0.11.0

type IAttributedString interface {
	objc.IObject
	AttributesAtIndex_EffectiveRange(location uint, range_ *Range) map[AttributedStringKey]objc.Object
	AttributesAtIndex_LongestEffectiveRange_InRange(location uint, range_ *Range, rangeLimit Range) map[AttributedStringKey]objc.Object
	Attribute_AtIndex_EffectiveRange(attrName AttributedStringKey, location uint, range_ *Range) objc.Object
	Attribute_AtIndex_LongestEffectiveRange_InRange(attrName AttributedStringKey, location uint, range_ *Range, rangeLimit Range) objc.Object
	IsEqualToAttributedString(other IAttributedString) bool
	AttributedSubstringFromRange(range_ Range) AttributedString
	EnumerateAttribute_InRange_Options_UsingBlock(attrName AttributedStringKey, enumerationRange Range, opts AttributedStringEnumerationOptions, block func(value objc.Object, range_ Range, stop *bool))
	AttributedStringByInflectingString() AttributedString
	String() string
	Length() uint
}

type IBundle added in v0.11.0

type IBundle interface {
	objc.IObject
	URLForResource_WithExtension_Subdirectory(name string, ext string, subpath string) URL
	URLForResource_WithExtension(name string, ext string) URL
	URLsForResourcesWithExtension_Subdirectory(ext string, subpath string) []URL
	URLForResource_WithExtension_Subdirectory_Localization(name string, ext string, subpath string, localizationName string) URL
	URLsForResourcesWithExtension_Subdirectory_Localization(ext string, subpath string, localizationName string) []URL
	PathForResource_OfType(name string, ext string) string
	PathForResource_OfType_InDirectory(name string, ext string, subpath string) string
	PathForResource_OfType_InDirectory_ForLocalization(name string, ext string, subpath string, localizationName string) string
	PathsForResourcesOfType_InDirectory(ext string, subpath string) []string
	PathsForResourcesOfType_InDirectory_ForLocalization(ext string, subpath string, localizationName string) []string
	LocalizedStringForKey_Value_Table(key string, value string, tableName string) string
	URLForAuxiliaryExecutable(executableName string) URL
	PathForAuxiliaryExecutable(executableName string) string
	ObjectForInfoDictionaryKey(key string) objc.Object
	ClassNamed(className string) objc.Class
	PreflightAndReturnError(error *Error) bool
	Load() bool
	LoadAndReturnError(error *Error) bool
	Unload() bool
	LocalizedAttributedStringForKey_Value_Table(key string, value string, tableName string) AttributedString
	ResourceURL() URL
	ExecutableURL() URL
	PrivateFrameworksURL() URL
	SharedFrameworksURL() URL
	BuiltInPlugInsURL() URL
	SharedSupportURL() URL
	AppStoreReceiptURL() URL
	ResourcePath() string
	ExecutablePath() string
	PrivateFrameworksPath() string
	SharedFrameworksPath() string
	BuiltInPlugInsPath() string
	SharedSupportPath() string
	BundleURL() URL
	BundlePath() string
	BundleIdentifier() string
	InfoDictionary() map[string]objc.Object
	Localizations() []string
	PreferredLocalizations() []string
	DevelopmentLocalization() string
	LocalizedInfoDictionary() map[string]objc.Object
	PrincipalClass() objc.Class
	ExecutableArchitectures() []Number
	IsLoaded() bool
}

type IByteCountFormatter added in v0.11.0

type IByteCountFormatter interface {
	IFormatter
	StringFromByteCount(byteCount int64) string
	StringFromMeasurement(measurement IMeasurement) string
	FormattingContext() FormattingContext
	SetFormattingContext(value FormattingContext)
	CountStyle() ByteCountFormatterCountStyle
	SetCountStyle(value ByteCountFormatterCountStyle)
	AllowsNonnumericFormatting() bool
	SetAllowsNonnumericFormatting(value bool)
	IncludesActualByteCount() bool
	SetIncludesActualByteCount(value bool)
	IsAdaptive() bool
	SetAdaptive(value bool)
	AllowedUnits() ByteCountFormatterUnits
	SetAllowedUnits(value ByteCountFormatterUnits)
	IncludesCount() bool
	SetIncludesCount(value bool)
	IncludesUnit() bool
	SetIncludesUnit(value bool)
	ZeroPadsFractionDigits() bool
	SetZeroPadsFractionDigits(value bool)
}

type ICalendar added in v0.11.0

type ICalendar interface {
	objc.IObject
	InitWithCalendarIdentifier(ident CalendarIdentifier) objc.Object
	Date_MatchesComponents(date IDate, components IDateComponents) bool
	Component_FromDate(unit CalendarUnit, date IDate) int
	Components_FromDate(unitFlags CalendarUnit, date IDate) DateComponents
	Components_FromDate_ToDate_Options(unitFlags CalendarUnit, startingDate IDate, resultDate IDate, opts CalendarOptions) DateComponents
	Components_FromDateComponents_ToDateComponents_Options(unitFlags CalendarUnit, startingDateComp IDateComponents, resultDateComp IDateComponents, options CalendarOptions) DateComponents
	ComponentsInTimeZone_FromDate(timezone ITimeZone, date IDate) DateComponents
	MaximumRangeOfUnit(unit CalendarUnit) Range
	MinimumRangeOfUnit(unit CalendarUnit) Range
	OrdinalityOfUnit_InUnit_ForDate(smaller CalendarUnit, larger CalendarUnit, date IDate) uint
	RangeOfUnit_InUnit_ForDate(smaller CalendarUnit, larger CalendarUnit, date IDate) Range
	RangeOfUnit_StartDate_Interval_ForDate(unit CalendarUnit, datep *Date, tip *TimeInterval, date IDate) bool
	StartOfDayForDate(date IDate) Date
	EnumerateDatesStartingAfterDate_MatchingComponents_Options_UsingBlock(start IDate, comps IDateComponents, opts CalendarOptions, block func(date Date, exactMatch bool, stop *bool))
	NextDateAfterDate_MatchingComponents_Options(date IDate, comps IDateComponents, options CalendarOptions) Date
	NextDateAfterDate_MatchingHour_Minute_Second_Options(date IDate, hourValue int, minuteValue int, secondValue int, options CalendarOptions) Date
	NextDateAfterDate_MatchingUnit_Value_Options(date IDate, unit CalendarUnit, value int, options CalendarOptions) Date
	DateFromComponents(comps IDateComponents) Date
	DateByAddingComponents_ToDate_Options(comps IDateComponents, date IDate, opts CalendarOptions) Date
	DateByAddingUnit_Value_ToDate_Options(unit CalendarUnit, value int, date IDate, options CalendarOptions) Date
	DateBySettingHour_Minute_Second_OfDate_Options(h int, m int, s int, date IDate, opts CalendarOptions) Date
	DateBySettingUnit_Value_OfDate_Options(unit CalendarUnit, v int, date IDate, opts CalendarOptions) Date
	DateWithEra_Year_Month_Day_Hour_Minute_Second_Nanosecond(eraValue int, yearValue int, monthValue int, dayValue int, hourValue int, minuteValue int, secondValue int, nanosecondValue int) Date
	DateWithEra_YearForWeekOfYear_WeekOfYear_Weekday_Hour_Minute_Second_Nanosecond(eraValue int, yearValue int, weekValue int, weekdayValue int, hourValue int, minuteValue int, secondValue int, nanosecondValue int) Date
	CompareDate_ToDate_ToUnitGranularity(date1 IDate, date2 IDate, unit CalendarUnit) ComparisonResult
	IsDate_EqualToDate_ToUnitGranularity(date1 IDate, date2 IDate, unit CalendarUnit) bool
	IsDate_InSameDayAsDate(date1 IDate, date2 IDate) bool
	IsDateInToday(date IDate) bool
	IsDateInTomorrow(date IDate) bool
	IsDateInWeekend(date IDate) bool
	IsDateInYesterday(date IDate) bool
	CalendarIdentifier() CalendarIdentifier
	FirstWeekday() uint
	SetFirstWeekday(value uint)
	Locale() Locale
	SetLocale(value ILocale)
	TimeZone() TimeZone
	SetTimeZone(value ITimeZone)
	MinimumDaysInFirstWeek() uint
	SetMinimumDaysInFirstWeek(value uint)
	AMSymbol() string
	PMSymbol() string
	WeekdaySymbols() []string
	ShortWeekdaySymbols() []string
	VeryShortWeekdaySymbols() []string
	StandaloneWeekdaySymbols() []string
	ShortStandaloneWeekdaySymbols() []string
	VeryShortStandaloneWeekdaySymbols() []string
	MonthSymbols() []string
	ShortMonthSymbols() []string
	VeryShortMonthSymbols() []string
	StandaloneMonthSymbols() []string
	ShortStandaloneMonthSymbols() []string
	VeryShortStandaloneMonthSymbols() []string
	QuarterSymbols() []string
	ShortQuarterSymbols() []string
	StandaloneQuarterSymbols() []string
	ShortStandaloneQuarterSymbols() []string
	EraSymbols() []string
	LongEraSymbols() []string
}

type ICharacterSet added in v0.11.0

type ICharacterSet interface {
	objc.IObject
	CharacterIsMember(aCharacter unichar) bool
	IsSupersetOfSet(theOtherSet ICharacterSet) bool
	LongCharacterIsMember(theLongChar uint32) bool
	BitmapRepresentation() []byte
	InvertedSet() CharacterSet
}

type IClassDescription added in v0.11.0

type IClassDescription interface {
	objc.IObject
	InverseForRelationshipKey(relationshipKey string) string
	AttributeKeys() []string
	ToManyRelationshipKeys() []string
	ToOneRelationshipKeys() []string
}

type ICloseCommand added in v0.11.0

type ICloseCommand interface {
	IScriptCommand
	SaveOptions() SaveOptions
}

type ICoder added in v0.11.0

type ICoder interface {
	objc.IObject
}

type IData added in v0.11.0

type IData interface {
	objc.IObject
	ToBytes() []byte
}

type IDate added in v0.11.0

type IDate interface {
	objc.IObject
	IsEqualToDate(otherDate IDate) bool
	EarlierDate(anotherDate IDate) Date
	LaterDate(anotherDate IDate) Date
	Compare(other IDate) ComparisonResult
	TimeIntervalSinceDate(anotherDate IDate) TimeInterval
	DescriptionWithLocale(locale objc.IObject) string
	// deprecated
	InitWithString(description string) objc.Object
	// deprecated
	AddTimeInterval(seconds TimeInterval) objc.Object
	// deprecated
	DescriptionWithCalendarFormat_TimeZone_Locale(format string, aTimeZone ITimeZone, locale objc.IObject) string
	TimeIntervalSinceNow() TimeInterval
	TimeIntervalSinceReferenceDate() TimeInterval
	TimeIntervalSince1970() TimeInterval
	Description() string
}

type IDateComponents added in v0.11.0

type IDateComponents interface {
	objc.IObject
	IsValidDateInCalendar(calendar ICalendar) bool
	// deprecated
	Week() int
	// deprecated
	SetWeek(v int)
	ValueForComponent(unit CalendarUnit) int
	SetValue_ForComponent(value int, unit CalendarUnit)
	Calendar() Calendar
	SetCalendar(value ICalendar)
	TimeZone() TimeZone
	SetTimeZone(value ITimeZone)
	IsValidDate() bool
	Date() Date
	Era() int
	SetEra(value int)
	Year() int
	SetYear(value int)
	YearForWeekOfYear() int
	SetYearForWeekOfYear(value int)
	Quarter() int
	SetQuarter(value int)
	Month() int
	SetMonth(value int)
	IsLeapMonth() bool
	SetLeapMonth(value bool)
	Weekday() int
	SetWeekday(value int)
	WeekdayOrdinal() int
	SetWeekdayOrdinal(value int)
	WeekOfMonth() int
	SetWeekOfMonth(value int)
	WeekOfYear() int
	SetWeekOfYear(value int)
	Day() int
	SetDay(value int)
	Hour() int
	SetHour(value int)
	Minute() int
	SetMinute(value int)
	Second() int
	SetSecond(value int)
	Nanosecond() int
	SetNanosecond(value int)
}

type IDateComponentsFormatter added in v0.11.0

type IDateComponentsFormatter interface {
	IFormatter
	StringFromDateComponents(components IDateComponents) string
	StringFromDate_ToDate(startDate IDate, endDate IDate) string
	StringFromTimeInterval(ti TimeInterval) string
	AllowedUnits() CalendarUnit
	SetAllowedUnits(value CalendarUnit)
	AllowsFractionalUnits() bool
	SetAllowsFractionalUnits(value bool)
	Calendar() Calendar
	SetCalendar(value ICalendar)
	CollapsesLargestUnit() bool
	SetCollapsesLargestUnit(value bool)
	IncludesApproximationPhrase() bool
	SetIncludesApproximationPhrase(value bool)
	IncludesTimeRemainingPhrase() bool
	SetIncludesTimeRemainingPhrase(value bool)
	MaximumUnitCount() int
	SetMaximumUnitCount(value int)
	UnitsStyle() DateComponentsFormatterUnitsStyle
	SetUnitsStyle(value DateComponentsFormatterUnitsStyle)
	ZeroFormattingBehavior() DateComponentsFormatterZeroFormattingBehavior
	SetZeroFormattingBehavior(value DateComponentsFormatterZeroFormattingBehavior)
	FormattingContext() FormattingContext
	SetFormattingContext(value FormattingContext)
	ReferenceDate() Date
	SetReferenceDate(value IDate)
}

type IDateFormatter added in v0.11.0

type IDateFormatter interface {
	IFormatter
	DateFromString(string_ string) Date
	StringFromDate(date IDate) string
	SetLocalizedDateFormatFromTemplate(dateFormatTemplate string)
	// deprecated
	AllowsNaturalLanguage() bool
	// deprecated
	InitWithDateFormat_AllowNaturalLanguage(format string, flag bool) objc.Object
	DateStyle() DateFormatterStyle
	SetDateStyle(value DateFormatterStyle)
	TimeStyle() DateFormatterStyle
	SetTimeStyle(value DateFormatterStyle)
	DateFormat() string
	SetDateFormat(value string)
	FormattingContext() FormattingContext
	SetFormattingContext(value FormattingContext)
	Calendar() Calendar
	SetCalendar(value ICalendar)
	DefaultDate() Date
	SetDefaultDate(value IDate)
	Locale() Locale
	SetLocale(value ILocale)
	TimeZone() TimeZone
	SetTimeZone(value ITimeZone)
	TwoDigitStartDate() Date
	SetTwoDigitStartDate(value IDate)
	GregorianStartDate() Date
	SetGregorianStartDate(value IDate)
	FormatterBehavior() DateFormatterBehavior
	SetFormatterBehavior(value DateFormatterBehavior)
	IsLenient() bool
	SetLenient(value bool)
	DoesRelativeDateFormatting() bool
	SetDoesRelativeDateFormatting(value bool)
	AMSymbol() string
	SetAMSymbol(value string)
	PMSymbol() string
	SetPMSymbol(value string)
	WeekdaySymbols() []string
	SetWeekdaySymbols(value []string)
	ShortWeekdaySymbols() []string
	SetShortWeekdaySymbols(value []string)
	VeryShortWeekdaySymbols() []string
	SetVeryShortWeekdaySymbols(value []string)
	StandaloneWeekdaySymbols() []string
	SetStandaloneWeekdaySymbols(value []string)
	ShortStandaloneWeekdaySymbols() []string
	SetShortStandaloneWeekdaySymbols(value []string)
	VeryShortStandaloneWeekdaySymbols() []string
	SetVeryShortStandaloneWeekdaySymbols(value []string)
	MonthSymbols() []string
	SetMonthSymbols(value []string)
	ShortMonthSymbols() []string
	SetShortMonthSymbols(value []string)
	VeryShortMonthSymbols() []string
	SetVeryShortMonthSymbols(value []string)
	StandaloneMonthSymbols() []string
	SetStandaloneMonthSymbols(value []string)
	ShortStandaloneMonthSymbols() []string
	SetShortStandaloneMonthSymbols(value []string)
	VeryShortStandaloneMonthSymbols() []string
	SetVeryShortStandaloneMonthSymbols(value []string)
	QuarterSymbols() []string
	SetQuarterSymbols(value []string)
	ShortQuarterSymbols() []string
	SetShortQuarterSymbols(value []string)
	StandaloneQuarterSymbols() []string
	SetStandaloneQuarterSymbols(value []string)
	ShortStandaloneQuarterSymbols() []string
	SetShortStandaloneQuarterSymbols(value []string)
	EraSymbols() []string
	SetEraSymbols(value []string)
	LongEraSymbols() []string
	SetLongEraSymbols(value []string)
	GeneratesCalendarDates() bool
	SetGeneratesCalendarDates(value bool)
}

type IDateInterval added in v0.11.0

type IDateInterval interface {
	objc.IObject
	Compare(dateInterval IDateInterval) ComparisonResult
	IsEqualToDateInterval(dateInterval IDateInterval) bool
	IntersectsDateInterval(dateInterval IDateInterval) bool
	IntersectionWithDateInterval(dateInterval IDateInterval) DateInterval
	ContainsDate(date IDate) bool
	StartDate() Date
	EndDate() Date
	Duration() TimeInterval
}

type IDateIntervalFormatter added in v0.11.0

type IDateIntervalFormatter interface {
	IFormatter
	StringFromDate_ToDate(fromDate IDate, toDate IDate) string
	StringFromDateInterval(dateInterval IDateInterval) string
	DateStyle() DateIntervalFormatterStyle
	SetDateStyle(value DateIntervalFormatterStyle)
	TimeStyle() DateIntervalFormatterStyle
	SetTimeStyle(value DateIntervalFormatterStyle)
	DateTemplate() string
	SetDateTemplate(value string)
	Calendar() Calendar
	SetCalendar(value ICalendar)
	Locale() Locale
	SetLocale(value ILocale)
	TimeZone() TimeZone
	SetTimeZone(value ITimeZone)
}

type IDecimalNumber added in v0.13.0

type IDecimalNumber interface {
	INumber
	DecimalNumberByAdding(decimalNumber IDecimalNumber) DecimalNumber
	DecimalNumberBySubtracting(decimalNumber IDecimalNumber) DecimalNumber
	DecimalNumberByMultiplyingBy(decimalNumber IDecimalNumber) DecimalNumber
	DecimalNumberByDividingBy(decimalNumber IDecimalNumber) DecimalNumber
	DecimalNumberByRaisingToPower(power uint) DecimalNumber
	DecimalNumberByMultiplyingByPowerOf10(power int16) DecimalNumber
}

type IDecimalNumberHandler added in v0.11.0

type IDecimalNumberHandler interface {
	objc.IObject
}

type IDictionary added in v0.11.0

type IDictionary interface {
	objc.IObject
	ObjectForKey(key objc.IObject) objc.Object
	AllKeys() Array
	AllValues() Array
	Count() uint
}

type IEnumerator added in v0.11.0

type IEnumerator interface {
	objc.IObject
	NextObject() objc.Object
	AllObjects() []objc.Object
}

type IError added in v0.11.0

type IError interface {
	objc.IObject
	AttemptRecoveryFromError_OptionIndex_Delegate_DidRecoverSelector_ContextInfo(error IError, recoveryOptionIndex uint, delegate objc.IObject, didRecoverSelector objc.Selector, contextInfo unsafe.Pointer)
	AttemptRecoveryFromError_OptionIndex(error IError, recoveryOptionIndex uint) bool
	Code() int
	Domain() ErrorDomain
	UserInfo() map[ErrorUserInfoKey]objc.Object
	LocalizedDescription() string
	LocalizedRecoveryOptions() []string
	LocalizedRecoverySuggestion() string
	LocalizedFailureReason() string
	RecoveryAttempter() objc.Object
	HelpAnchor() string
	UnderlyingErrors() []Error
}

type IException added in v0.11.0

type IException interface {
	objc.IObject
	Raise()
	Name() ExceptionName
	Reason() string
	CallStackReturnAddresses() []Number
	CallStackSymbols() []string
}

type IExpression added in v0.13.6

type IExpression interface {
	objc.IObject
	ExpressionValueWithObject_Context(object objc.IObject, context IMutableDictionary) objc.Object
	AllowEvaluation()
	Arguments() []Expression
	Collection() objc.Object
	ConstantValue() objc.Object
	ExpressionType() ExpressionType
	Function() string
	KeyPath() string
	Operand() Expression
	Predicate() Predicate
	LeftExpression() Expression
	RightExpression() Expression
	Variable() string
	FalseExpression() Expression
	TrueExpression() Expression
	ExpressionBlock() func(param1 objc.IObject, param2 []IExpression, param3 IMutableDictionary) objc.Object
}

type IExtensionContext added in v0.11.0

type IExtensionContext interface {
	objc.IObject
	CancelRequestWithError(error IError)
	CompleteRequestReturningItems_CompletionHandler(items []objc.IObject, completionHandler func(expired bool))
	OpenURL_CompletionHandler(URL IURL, completionHandler func(success bool))
	InputItems() []objc.Object
}

type IFileWrapper added in v0.11.0

type IFileWrapper interface {
	objc.IObject
	// deprecated
	InitWithPath(path string) objc.Object
	// deprecated
	InitSymbolicLinkWithDestination(path string) objc.Object
	AddFileWrapper(child IFileWrapper) string
	RemoveFileWrapper(child IFileWrapper)
	// deprecated
	AddFileWithPath(path string) string
	AddRegularFileWithContents_PreferredFilename(data []byte, fileName string) string
	// deprecated
	AddSymbolicLinkWithDestination_PreferredFilename(path string, filename string) string
	KeyForFileWrapper(child IFileWrapper) string
	// deprecated
	SymbolicLinkDestination() string
	// deprecated
	NeedsToBeUpdatedFromPath(path string) bool
	MatchesContentsOfURL(url IURL) bool
	// deprecated
	UpdateFromPath(path string) bool
	ReadFromURL_Options_Error(url IURL, options FileWrapperReadingOptions, outError *Error) bool
	// deprecated
	WriteToFile_Atomically_UpdateFilenames(path string, atomicFlag bool, updateFilenamesFlag bool) bool
	WriteToURL_Options_OriginalContentsURL_Error(url IURL, options FileWrapperWritingOptions, originalContentsURL IURL, outError *Error) bool
	IsRegularFile() bool
	IsDirectory() bool
	IsSymbolicLink() bool
	FileWrappers() map[string]FileWrapper
	SymbolicLinkDestinationURL() URL
	SerializedRepresentation() []byte
	Filename() string
	SetFilename(value string)
	PreferredFilename() string
	SetPreferredFilename(value string)
	FileAttributes() map[string]objc.Object
	SetFileAttributes(value map[string]objc.IObject)
	RegularFileContents() []byte
}

type IFormatter added in v0.11.0

type IFormatter interface {
	objc.IObject
	StringForObjectValue(obj objc.IObject) string
	AttributedStringForObjectValue_WithDefaultAttributes(obj objc.IObject, attrs map[AttributedStringKey]objc.IObject) AttributedString
	EditingStringForObjectValue(obj objc.IObject) string
	IsPartialStringValid_NewEditingString_ErrorDescription(partialString string, newString *String, error *String) bool
	IsPartialStringValid_ProposedSelectedRange_OriginalString_OriginalSelectedRange_ErrorDescription(partialStringPtr *String, proposedSelRangePtr *Range, origString string, origSelRange Range, error *String) bool
}

type IHTTPCookie added in v0.13.3

type IHTTPCookie interface {
	objc.IObject
	Domain() string
	Path() string
	PortList() []Number
	Name() string
	Value() string
	Version() uint
	ExpiresDate() Date
	IsSessionOnly() bool
	IsHTTPOnly() bool
	IsSecure() bool
	SameSitePolicy() HTTPCookieStringPolicy
	Properties() map[HTTPCookiePropertyKey]objc.Object
	Comment() string
	CommentURL() URL
}

type IHTTPURLResponse added in v0.13.6

type IHTTPURLResponse interface {
	IURLResponse
	ValueForHTTPHeaderField(field string) string
	StatusCode() int
}

type IIndexPath added in v0.11.0

type IIndexPath interface {
	objc.IObject
	IndexPathByAddingIndex(index uint) IndexPath
	IndexPathByRemovingLastIndex() IndexPath
	Compare(otherObject IIndexPath) ComparisonResult
	IndexAtPosition(position uint) uint
	GetIndexes_Range(indexes *uint, positionRange Range)
	// deprecated
	GetIndexes(indexes *uint)
	Length() uint
}

type IIndexSet added in v0.11.0

type IIndexSet interface {
	objc.IObject
	ContainsIndex(value uint) bool
	ContainsIndexes(indexSet IIndexSet) bool
	ContainsIndexesInRange(range_ Range) bool
	IntersectsIndexesInRange(range_ Range) bool
	CountOfIndexesInRange(range_ Range) uint
	IndexPassingTest(predicate func(idx uint, stop *bool) bool) uint
	IndexesPassingTest(predicate func(idx uint, stop *bool) bool) IndexSet
	IndexWithOptions_PassingTest(opts EnumerationOptions, predicate func(idx uint, stop *bool) bool) uint
	IndexesWithOptions_PassingTest(opts EnumerationOptions, predicate func(idx uint, stop *bool) bool) IndexSet
	IndexInRange_Options_PassingTest(range_ Range, opts EnumerationOptions, predicate func(idx uint, stop *bool) bool) uint
	IndexesInRange_Options_PassingTest(range_ Range, opts EnumerationOptions, predicate func(idx uint, stop *bool) bool) IndexSet
	EnumerateRangesInRange_Options_UsingBlock(range_ Range, opts EnumerationOptions, block func(range_ Range, stop *bool))
	EnumerateRangesUsingBlock(block func(range_ Range, stop *bool))
	EnumerateRangesWithOptions_UsingBlock(opts EnumerationOptions, block func(range_ Range, stop *bool))
	IsEqualToIndexSet(indexSet IIndexSet) bool
	IndexLessThanIndex(value uint) uint
	IndexLessThanOrEqualToIndex(value uint) uint
	IndexGreaterThanOrEqualToIndex(value uint) uint
	IndexGreaterThanIndex(value uint) uint
	GetIndexes_MaxCount_InIndexRange(indexBuffer *uint, bufferSize uint, range_ *Range) uint
	EnumerateIndexesUsingBlock(block func(idx uint, stop *bool))
	EnumerateIndexesWithOptions_UsingBlock(opts EnumerationOptions, block func(idx uint, stop *bool))
	EnumerateIndexesInRange_Options_UsingBlock(range_ Range, opts EnumerationOptions, block func(idx uint, stop *bool))
	Count() uint
	FirstIndex() uint
	LastIndex() uint
}

type IInputStream added in v0.13.0

type IInputStream interface {
	IStream
	HasBytesAvailable() bool
}

type ILocale added in v0.11.0

type ILocale interface {
	objc.IObject
	LocalizedStringForLocaleIdentifier(localeIdentifier string) string
	LocalizedStringForCountryCode(countryCode string) string
	LocalizedStringForLanguageCode(languageCode string) string
	LocalizedStringForScriptCode(scriptCode string) string
	LocalizedStringForVariantCode(variantCode string) string
	LocalizedStringForCollationIdentifier(collationIdentifier string) string
	LocalizedStringForCollatorIdentifier(collatorIdentifier string) string
	LocalizedStringForCurrencyCode(currencyCode string) string
	LocalizedStringForCalendarIdentifier(calendarIdentifier string) string
	ObjectForKey(key LocaleKey) objc.Object
	DisplayNameForKey_Value(key LocaleKey, value objc.IObject) string
	LocaleIdentifier() string
	CountryCode() string
	LanguageCode() string
	ScriptCode() string
	VariantCode() string
	ExemplarCharacterSet() CharacterSet
	CollationIdentifier() string
	CollatorIdentifier() string
	UsesMetricSystem() bool
	DecimalSeparator() string
	GroupingSeparator() string
	CurrencyCode() string
	CurrencySymbol() string
	CalendarIdentifier() string
	QuotationBeginDelimiter() string
	QuotationEndDelimiter() string
	AlternateQuotationBeginDelimiter() string
	AlternateQuotationEndDelimiter() string
}

type IMeasurement added in v0.11.0

type IMeasurement interface {
	objc.IObject
	CanBeConvertedToUnit(unit IUnit) bool
	MeasurementByConvertingToUnit(unit IUnit) Measurement
	MeasurementByAddingMeasurement(measurement IMeasurement) Measurement
	MeasurementBySubtractingMeasurement(measurement IMeasurement) Measurement
	DoubleValue() float64
}

type IMeasurementFormatter added in v0.11.0

type IMeasurementFormatter interface {
	IFormatter
	StringFromMeasurement(measurement IMeasurement) string
	StringFromUnit(unit IUnit) string
	UnitOptions() MeasurementFormatterUnitOptions
	SetUnitOptions(value MeasurementFormatterUnitOptions)
	UnitStyle() FormattingUnitStyle
	SetUnitStyle(value FormattingUnitStyle)
	Locale() Locale
	SetLocale(value ILocale)
	NumberFormatter() NumberFormatter
	SetNumberFormatter(value INumberFormatter)
}

type IMutableArray added in v0.14.3

type IMutableArray interface {
	IArray
	AddObject(o objc.IObject)
	InsertObject_AtIndex(o objc.IObject, index uint)
	RemoveObjectAtIndex(index uint)
	ReplaceObjectAtIndex_WithObject(index uint, o objc.IObject)
}

type IMutableAttributedString added in v0.11.0

type IMutableAttributedString interface {
	IAttributedString
	ReplaceCharactersInRange_WithString(range_ Range, str string)
	DeleteCharactersInRange(range_ Range)
	SetAttributes_Range(attrs map[AttributedStringKey]objc.IObject, range_ Range)
	AddAttribute_Value_Range(name AttributedStringKey, value objc.IObject, range_ Range)
	AddAttributes_Range(attrs map[AttributedStringKey]objc.IObject, range_ Range)
	RemoveAttribute_Range(name AttributedStringKey, range_ Range)
	AppendAttributedString(attrString IAttributedString)
	InsertAttributedString_AtIndex(attrString IAttributedString, loc uint)
	ReplaceCharactersInRange_WithAttributedString(range_ Range, attrString IAttributedString)
	SetAttributedString(attrString IAttributedString)
	BeginEditing()
	EndEditing()
}

type IMutableData added in v0.14.3

type IMutableData interface {
	IData
	AppendData(data []byte)
}

type IMutableDictionary added in v0.14.3

type IMutableDictionary interface {
	IDictionary
	SetObject_ForKey(value objc.IObject, key objc.IObject)
	RemoveObjectForKey(key objc.IObject)
}

type IMutableSet added in v0.14.3

type IMutableSet interface {
	ISet
	AddObject(o objc.IObject)
}

type IMutableString added in v0.11.0

type IMutableString interface {
	IString
	AppendString(str string)
}

type IMutableURLRequest added in v0.13.6

type IMutableURLRequest interface {
	IURLRequest
	AddValue_ForHTTPHeaderField(value string, field string)
	SetValue_ForHTTPHeaderField(value string, field string)
	SetCachePolicy(value URLRequestCachePolicy)
	SetHTTPMethod(value string)
	SetURL(value IURL)
	SetHTTPBody(value []byte)
	SetHTTPBodyStream(value IInputStream)
	SetMainDocumentURL(value IURL)
	SetAllHTTPHeaderFields(value map[string]string)
	SetTimeoutInterval(value TimeInterval)
	SetHTTPShouldHandleCookies(value bool)
	SetHTTPShouldUsePipelining(value bool)
	SetAllowsCellularAccess(value bool)
	SetAllowsConstrainedNetworkAccess(value bool)
	SetAllowsExpensiveNetworkAccess(value bool)
	SetNetworkServiceType(value URLRequestNetworkServiceType)
	SetAttribution(value URLRequestAttribution)
	SetAssumesHTTP3Capable(value bool)
	RequiresDNSSECValidation() bool
	SetRequiresDNSSECValidation(value bool)
}

type INotification added in v0.11.0

type INotification interface {
	objc.IObject
	Name() NotificationName
	Object_() objc.Object
}

type INotificationCenter added in v0.11.0

type INotificationCenter interface {
	objc.IObject
	AddObserver_Selector_Name_Object(observer objc.IObject, aSelector objc.Selector, aName NotificationName, anObject objc.IObject)
	RemoveObserver_Name_Object(observer objc.IObject, aName NotificationName, anObject objc.IObject)
	RemoveObserver(observer objc.IObject)
	PostNotification(notification INotification)
	PostNotificationName_Object(aName NotificationName, anObject objc.IObject)
}

type INull added in v0.11.0

type INull interface {
	objc.IObject
}

type INumber added in v0.11.0

type INumber interface {
	IValue
	InitWithBool(value bool) Number
	InitWithChar(value byte) Number
	InitWithDouble(value float64) Number
	InitWithFloat(value float32) Number
	InitWithInt(value int32) Number
	InitWithInteger(value int) Number
	InitWithLong(value int64) Number
	InitWithLongLong(value int64) Number
	InitWithShort(value int16) Number
	InitWithUnsignedChar(value byte) Number
	InitWithUnsignedInt(value uint32) Number
	InitWithUnsignedInteger(value uint) Number
	InitWithUnsignedLong(value uint64) Number
	InitWithUnsignedLongLong(value uint64) Number
	InitWithUnsignedShort(value uint16) Number
	DescriptionWithLocale(locale objc.IObject) string
	Compare(otherNumber INumber) ComparisonResult
	IsEqualToNumber(number INumber) bool
	BoolValue() bool
	CharValue() byte
	DecimalValue() Decimal
	DoubleValue() float64
	FloatValue() float32
	IntValue() int32
	IntegerValue() int
	LongLongValue() int64
	LongValue() int64
	ShortValue() int16
	UnsignedCharValue() byte
	UnsignedIntegerValue() uint
	UnsignedIntValue() uint32
	UnsignedLongLongValue() uint64
	UnsignedLongValue() uint64
	UnsignedShortValue() uint16
	StringValue() string
}

type INumberFormatter added in v0.11.0

type INumberFormatter interface {
	IFormatter
	NumberFromString(string_ string) Number
	StringFromNumber(number INumber) string
	FormatterBehavior() NumberFormatterBehavior
	SetFormatterBehavior(value NumberFormatterBehavior)
	NumberStyle() NumberFormatterStyle
	SetNumberStyle(value NumberFormatterStyle)
	GeneratesDecimalNumbers() bool
	SetGeneratesDecimalNumbers(value bool)
	LocalizesFormat() bool
	SetLocalizesFormat(value bool)
	Locale() Locale
	SetLocale(value ILocale)
	RoundingBehavior() DecimalNumberHandler
	SetRoundingBehavior(value IDecimalNumberHandler)
	RoundingIncrement() Number
	SetRoundingIncrement(value INumber)
	RoundingMode() NumberFormatterRoundingMode
	SetRoundingMode(value NumberFormatterRoundingMode)
	MinimumIntegerDigits() uint
	SetMinimumIntegerDigits(value uint)
	MaximumIntegerDigits() uint
	SetMaximumIntegerDigits(value uint)
	MinimumFractionDigits() uint
	SetMinimumFractionDigits(value uint)
	MaximumFractionDigits() uint
	SetMaximumFractionDigits(value uint)
	UsesSignificantDigits() bool
	SetUsesSignificantDigits(value bool)
	MinimumSignificantDigits() uint
	SetMinimumSignificantDigits(value uint)
	MaximumSignificantDigits() uint
	SetMaximumSignificantDigits(value uint)
	Format() string
	SetFormat(value string)
	FormattingContext() FormattingContext
	SetFormattingContext(value FormattingContext)
	FormatWidth() uint
	SetFormatWidth(value uint)
	NegativeFormat() string
	SetNegativeFormat(value string)
	PositiveFormat() string
	SetPositiveFormat(value string)
	Multiplier() Number
	SetMultiplier(value INumber)
	PercentSymbol() string
	SetPercentSymbol(value string)
	PerMillSymbol() string
	SetPerMillSymbol(value string)
	MinusSign() string
	SetMinusSign(value string)
	PlusSign() string
	SetPlusSign(value string)
	ExponentSymbol() string
	SetExponentSymbol(value string)
	ZeroSymbol() string
	SetZeroSymbol(value string)
	NilSymbol() string
	SetNilSymbol(value string)
	NotANumberSymbol() string
	SetNotANumberSymbol(value string)
	NegativeInfinitySymbol() string
	SetNegativeInfinitySymbol(value string)
	PositiveInfinitySymbol() string
	SetPositiveInfinitySymbol(value string)
	CurrencySymbol() string
	SetCurrencySymbol(value string)
	CurrencyCode() string
	SetCurrencyCode(value string)
	InternationalCurrencySymbol() string
	SetInternationalCurrencySymbol(value string)
	CurrencyGroupingSeparator() string
	SetCurrencyGroupingSeparator(value string)
	PositivePrefix() string
	SetPositivePrefix(value string)
	PositiveSuffix() string
	SetPositiveSuffix(value string)
	NegativePrefix() string
	SetNegativePrefix(value string)
	NegativeSuffix() string
	SetNegativeSuffix(value string)
	TextAttributesForNegativeValues() map[string]objc.Object
	SetTextAttributesForNegativeValues(value map[string]objc.IObject)
	TextAttributesForPositiveValues() map[string]objc.Object
	SetTextAttributesForPositiveValues(value map[string]objc.IObject)
	AttributedStringForZero() AttributedString
	SetAttributedStringForZero(value IAttributedString)
	TextAttributesForZero() map[string]objc.Object
	SetTextAttributesForZero(value map[string]objc.IObject)
	AttributedStringForNil() AttributedString
	SetAttributedStringForNil(value IAttributedString)
	TextAttributesForNil() map[string]objc.Object
	SetTextAttributesForNil(value map[string]objc.IObject)
	AttributedStringForNotANumber() AttributedString
	SetAttributedStringForNotANumber(value IAttributedString)
	TextAttributesForNotANumber() map[string]objc.Object
	SetTextAttributesForNotANumber(value map[string]objc.IObject)
	TextAttributesForPositiveInfinity() map[string]objc.Object
	SetTextAttributesForPositiveInfinity(value map[string]objc.IObject)
	TextAttributesForNegativeInfinity() map[string]objc.Object
	SetTextAttributesForNegativeInfinity(value map[string]objc.IObject)
	GroupingSeparator() string
	SetGroupingSeparator(value string)
	UsesGroupingSeparator() bool
	SetUsesGroupingSeparator(value bool)
	ThousandSeparator() string
	SetThousandSeparator(value string)
	HasThousandSeparators() bool
	SetHasThousandSeparators(value bool)
	DecimalSeparator() string
	SetDecimalSeparator(value string)
	AlwaysShowsDecimalSeparator() bool
	SetAlwaysShowsDecimalSeparator(value bool)
	CurrencyDecimalSeparator() string
	SetCurrencyDecimalSeparator(value string)
	GroupingSize() uint
	SetGroupingSize(value uint)
	SecondaryGroupingSize() uint
	SetSecondaryGroupingSize(value uint)
	PaddingCharacter() string
	SetPaddingCharacter(value string)
	PaddingPosition() NumberFormatterPadPosition
	SetPaddingPosition(value NumberFormatterPadPosition)
	AllowsFloats() bool
	SetAllowsFloats(value bool)
	Minimum() Number
	SetMinimum(value INumber)
	Maximum() Number
	SetMaximum(value INumber)
	IsLenient() bool
	SetLenient(value bool)
	IsPartialStringValidationEnabled() bool
	SetPartialStringValidationEnabled(value bool)
}

type IOperation added in v0.11.0

type IOperation interface {
	objc.IObject
	Start()
	Main()
	Cancel()
	AddDependency(op IOperation)
	RemoveDependency(op IOperation)
	WaitUntilFinished()
	CompletionBlock() func()
	SetCompletionBlock(value func())
	IsCancelled() bool
	IsExecuting() bool
	IsFinished() bool
	IsConcurrent() bool
	IsAsynchronous() bool
	IsReady() bool
	Name() string
	SetName(value string)
	Dependencies() []Operation
	QualityOfService() QualityOfService
	SetQualityOfService(value QualityOfService)
	// deprecated
	ThreadPriority() float64
	// deprecated
	SetThreadPriority(value float64)
	QueuePriority() OperationQueuePriority
	SetQueuePriority(value OperationQueuePriority)
}

type IOperationQueue added in v0.11.0

type IOperationQueue interface {
	objc.IObject
	AddOperation(op IOperation)
	AddOperations_WaitUntilFinished(ops []IOperation, wait bool)
	AddOperationWithBlock(block func())
	AddBarrierBlock(barrier func())
	CancelAllOperations()
	WaitUntilAllOperationsAreFinished()
	// deprecated
	Operations() []Operation
	// deprecated
	OperationCount() uint
	QualityOfService() QualityOfService
	SetQualityOfService(value QualityOfService)
	MaxConcurrentOperationCount() int
	SetMaxConcurrentOperationCount(value int)
	Progress() Progress
	IsSuspended() bool
	SetSuspended(value bool)
	Name() string
	SetName(value string)
}

type IOrthography added in v0.11.0

type IOrthography interface {
	objc.IObject
	DominantLanguageForScript(script string) string
	LanguagesForScript(script string) []string
	LanguageMap() map[string][]string
	DominantLanguage() string
	DominantScript() string
	AllScripts() []string
	AllLanguages() []string
}

type IOutputStream added in v0.13.0

type IOutputStream interface {
	IStream
	HasSpaceAvailable() bool
}

type IPersonNameComponents added in v0.11.0

type IPersonNameComponents interface {
	objc.IObject
	NamePrefix() string
	SetNamePrefix(value string)
	GivenName() string
	SetGivenName(value string)
	MiddleName() string
	SetMiddleName(value string)
	FamilyName() string
	SetFamilyName(value string)
	NameSuffix() string
	SetNameSuffix(value string)
	Nickname() string
	SetNickname(value string)
	PhoneticRepresentation() PersonNameComponents
	SetPhoneticRepresentation(value IPersonNameComponents)
}

type IPersonNameComponentsFormatter added in v0.11.0

type IPersonNameComponentsFormatter interface {
	IFormatter
	StringFromPersonNameComponents(components IPersonNameComponents) string
	AnnotatedStringFromPersonNameComponents(components IPersonNameComponents) AttributedString
	PersonNameComponentsFromString(string_ string) PersonNameComponents
	Style() PersonNameComponentsFormatterStyle
	SetStyle(value PersonNameComponentsFormatterStyle)
	IsPhonetic() bool
	SetPhonetic(value bool)
	Locale() Locale
	SetLocale(value ILocale)
}

type IPort added in v0.13.0

type IPort interface {
	objc.IObject
	Invalidate()
	SetDelegate(anObject objc.IObject)
	Delegate() objc.Object
	RemoveFromRunLoop_ForMode(runLoop IRunLoop, mode RunLoopMode)
	ScheduleInRunLoop_ForMode(runLoop IRunLoop, mode RunLoopMode)
	IsValid() bool
	ReservedSpaceLength() uint
}

type IPredicate added in v0.11.0

type IPredicate interface {
	objc.IObject
	EvaluateWithObject(object objc.IObject) bool
	EvaluateWithObject_SubstitutionVariables(object objc.IObject, bindings map[string]objc.IObject) bool
	AllowEvaluation()
	PredicateFormat() string
}

type IProgress added in v0.11.0

type IProgress interface {
	objc.IObject
	BecomeCurrentWithPendingUnitCount(unitCount int64)
	AddChild_WithPendingUnitCount(child IProgress, inUnitCount int64)
	PerformAsCurrentWithPendingUnitCount_UsingBlock(unitCount int64, work func())
	ResignCurrent()
	Cancel()
	Pause()
	Resume()
	SetUserInfoObject_ForKey(objectOrNil objc.IObject, key ProgressUserInfoKey)
	Publish()
	Unpublish()
	TotalUnitCount() int64
	SetTotalUnitCount(value int64)
	CompletedUnitCount() int64
	SetCompletedUnitCount(value int64)
	LocalizedDescription() string
	SetLocalizedDescription(value string)
	LocalizedAdditionalDescription() string
	SetLocalizedAdditionalDescription(value string)
	IsCancellable() bool
	SetCancellable(value bool)
	IsCancelled() bool
	CancellationHandler() func()
	SetCancellationHandler(value func())
	IsPausable() bool
	SetPausable(value bool)
	IsPaused() bool
	PausingHandler() func()
	SetPausingHandler(value func())
	IsIndeterminate() bool
	FractionCompleted() float64
	IsFinished() bool
	ResumingHandler() func()
	SetResumingHandler(value func())
	Kind() ProgressKind
	SetKind(value ProgressKind)
	EstimatedTimeRemaining() Number
	SetEstimatedTimeRemaining(value INumber)
	Throughput() Number
	SetThroughput(value INumber)
	UserInfo() map[ProgressUserInfoKey]objc.Object
	FileOperationKind() ProgressFileOperationKind
	SetFileOperationKind(value ProgressFileOperationKind)
	FileURL() URL
	SetFileURL(value IURL)
	FileTotalCount() Number
	SetFileTotalCount(value INumber)
	FileCompletedCount() Number
	SetFileCompletedCount(value INumber)
	IsOld() bool
}

type IRegularExpression added in v0.11.0

type IRegularExpression interface {
	objc.IObject
	NumberOfMatchesInString_Options_Range(string_ string, options MatchingOptions, range_ Range) uint
	EnumerateMatchesInString_Options_Range_UsingBlock(string_ string, options MatchingOptions, range_ Range, block func(result TextCheckingResult, flags MatchingFlags, stop *bool))
	MatchesInString_Options_Range(string_ string, options MatchingOptions, range_ Range) []TextCheckingResult
	FirstMatchInString_Options_Range(string_ string, options MatchingOptions, range_ Range) TextCheckingResult
	RangeOfFirstMatchInString_Options_Range(string_ string, options MatchingOptions, range_ Range) Range
	StringByReplacingMatchesInString_Options_Range_WithTemplate(string_ string, options MatchingOptions, range_ Range, templ string) string
	ReplacementStringForResult_InString_Offset_Template(result ITextCheckingResult, string_ string, offset int, templ string) string
	Pattern() string
	Options() RegularExpressionOptions
	NumberOfCaptureGroups() uint
}

type IRunLoop added in v0.13.0

type IRunLoop interface {
	objc.IObject
	LimitDateForMode(mode RunLoopMode) Date
	AddTimer_ForMode(timer ITimer, mode RunLoopMode)
	AddPort_ForMode(aPort IPort, mode RunLoopMode)
	RemovePort_ForMode(aPort IPort, mode RunLoopMode)
	// deprecated
	ConfigureAsServer()
	Run()
	RunMode_BeforeDate(mode RunLoopMode, limitDate IDate) bool
	RunUntilDate(limitDate IDate)
	AcceptInputForMode_BeforeDate(mode RunLoopMode, limitDate IDate)
	PerformBlock(block func())
	PerformInModes_Block(modes []RunLoopMode, block func())
	PerformSelector_Target_Argument_Order_Modes(aSelector objc.Selector, target objc.IObject, arg objc.IObject, order uint, modes []RunLoopMode)
	CancelPerformSelector_Target_Argument(aSelector objc.Selector, target objc.IObject, arg objc.IObject)
	CancelPerformSelectorsWithTarget(target objc.IObject)
	CurrentMode() RunLoopMode
}

type IScriptClassDescription added in v0.11.0

type IScriptClassDescription interface {
	IClassDescription
	ClassDescriptionForKey(key string) ScriptClassDescription
	IsLocationRequiredToCreateForKey(toManyRelationshipKey string) bool
	HasOrderedToManyRelationshipForKey(key string) bool
	HasPropertyForKey(key string) bool
	HasReadablePropertyForKey(key string) bool
	HasWritablePropertyForKey(key string) bool
	// deprecated
	IsReadOnlyKey(key string) bool
	TypeForKey(key string) string
	SelectorForCommand(commandDescription IScriptCommandDescription) objc.Selector
	SupportsCommand(commandDescription IScriptCommandDescription) bool
	SuperclassDescription() ScriptClassDescription
	ClassName() string
	DefaultSubcontainerAttributeKey() string
	ImplementationClassName() string
	SuiteName() string
}

type IScriptCommand added in v0.11.0

type IScriptCommand interface {
	objc.IObject
	ExecuteCommand() objc.Object
	PerformDefaultImplementation() objc.Object
	SuspendExecution()
	ResumeExecutionWithResult(result objc.IObject)
	AppleEvent() AppleEventDescriptor
	EvaluatedReceivers() objc.Object
	ReceiversSpecifier() ScriptObjectSpecifier
	SetReceiversSpecifier(value IScriptObjectSpecifier)
	Arguments() map[string]objc.Object
	SetArguments(value map[string]objc.IObject)
	EvaluatedArguments() map[string]objc.Object
	DirectParameter() objc.Object
	SetDirectParameter(value objc.IObject)
	CommandDescription() ScriptCommandDescription
	ScriptErrorExpectedTypeDescriptor() AppleEventDescriptor
	SetScriptErrorExpectedTypeDescriptor(value IAppleEventDescriptor)
	ScriptErrorNumber() int
	SetScriptErrorNumber(value int)
	ScriptErrorOffendingObjectDescriptor() AppleEventDescriptor
	SetScriptErrorOffendingObjectDescriptor(value IAppleEventDescriptor)
	ScriptErrorString() string
	SetScriptErrorString(value string)
	IsWellFormed() bool
}

type IScriptCommandDescription added in v0.11.0

type IScriptCommandDescription interface {
	objc.IObject
	IsOptionalArgumentWithName(argumentName string) bool
	TypeForArgumentWithName(argumentName string) string
	CreateCommandInstance() ScriptCommand
	CommandClassName() string
	CommandName() string
	SuiteName() string
	ArgumentNames() []string
	ReturnType() string
}

type IScriptObjectSpecifier added in v0.11.0

type IScriptObjectSpecifier interface {
	objc.IObject
	IndicesOfObjectsByEvaluatingWithContainer_Count(container objc.IObject, count *int) *int
	ObjectsByEvaluatingWithContainers(containers objc.IObject) objc.Object
	ObjectsByEvaluatingSpecifier() objc.Object
	ContainerClassDescription() ScriptClassDescription
	SetContainerClassDescription(value IScriptClassDescription)
	ContainerIsObjectBeingTested() bool
	SetContainerIsObjectBeingTested(value bool)
	ContainerIsRangeContainerObject() bool
	SetContainerIsRangeContainerObject(value bool)
	ContainerSpecifier() ScriptObjectSpecifier
	SetContainerSpecifier(value IScriptObjectSpecifier)
	ChildSpecifier() ScriptObjectSpecifier
	SetChildSpecifier(value IScriptObjectSpecifier)
	Key() string
	SetKey(value string)
	KeyClassDescription() ScriptClassDescription
	EvaluationErrorSpecifier() ScriptObjectSpecifier
	EvaluationErrorNumber() int
	SetEvaluationErrorNumber(value int)
	Descriptor() AppleEventDescriptor
}

type ISet added in v0.11.0

type ISet interface {
	objc.IObject
	Count() uint
	AllObjects() Array
}

type ISortDescriptor added in v0.11.0

type ISortDescriptor interface {
	objc.IObject
	CompareObject_ToObject(object1 objc.IObject, object2 objc.IObject) ComparisonResult
	AllowEvaluation()
	Ascending() bool
	Key() string
	Selector() objc.Selector
	Comparator() func(obj1 objc.IObject, obj2 objc.IObject) ComparisonResult
	ReversedSortDescriptor() objc.Object
}

type IStream added in v0.13.0

type IStream interface {
	objc.IObject
	PropertyForKey(key StreamPropertyKey) objc.Object
	SetProperty_ForKey(property objc.IObject, key StreamPropertyKey) bool
	Open()
	Close()
	ScheduleInRunLoop_ForMode(aRunLoop IRunLoop, mode RunLoopMode)
	RemoveFromRunLoop_ForMode(aRunLoop IRunLoop, mode RunLoopMode)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	StreamStatus() StreamStatus
	StreamError() Error
}

type IString added in v0.11.0

type IString interface {
	objc.IObject
	String() string
}

type ITextCheckingResult added in v0.11.0

type ITextCheckingResult interface {
	objc.IObject
	RangeAtIndex(idx uint) Range
	ResultByAdjustingRangesWithOffset(offset int) TextCheckingResult
	RangeWithName(name string) Range
	Range() Range
	ResultType() TextCheckingType
	NumberOfRanges() uint
	ReplacementString() string
	RegularExpression() RegularExpression
	Components() map[TextCheckingKey]string
	URL() URL
	AddressComponents() map[TextCheckingKey]string
	PhoneNumber() string
	Date() Date
	Duration() TimeInterval
	TimeZone() TimeZone
	Orthography() Orthography
	GrammarDetails() []map[string]objc.Object
	AlternativeStrings() []string
}

type ITimeZone added in v0.11.0

type ITimeZone interface {
	objc.IObject
	AbbreviationForDate(aDate IDate) string
	SecondsFromGMTForDate(aDate IDate) int
	IsDaylightSavingTimeForDate(aDate IDate) bool
	DaylightSavingTimeOffsetForDate(aDate IDate) TimeInterval
	NextDaylightSavingTimeTransitionAfterDate(aDate IDate) Date
	IsEqualToTimeZone(aTimeZone ITimeZone) bool
	LocalizedName_Locale(style TimeZoneNameStyle, locale ILocale) string
	Name() string
	Abbreviation() string
	SecondsFromGMT() int
	Data() []byte
	IsDaylightSavingTime() bool
	DaylightSavingTimeOffset() TimeInterval
	NextDaylightSavingTimeTransition() Date
	Description() string
}

type ITimer added in v0.13.0

type ITimer interface {
	objc.IObject
	Fire()
	Invalidate()
	IsValid() bool
	FireDate() Date
	SetFireDate(value IDate)
	TimeInterval() TimeInterval
	UserInfo() objc.Object
	Tolerance() TimeInterval
	SetTolerance(value TimeInterval)
}

type IURL added in v0.11.0

type IURL interface {
	objc.IObject
	GetFileSystemRepresentation_MaxLength(buffer *byte, maxBufferLength uint) bool
	CheckResourceIsReachableAndReturnError(error *Error) bool
	IsFileReferenceURL() bool
	ResourceValuesForKeys_Error(keys []URLResourceKey, error *Error) map[URLResourceKey]objc.Object
	SetResourceValue_ForKey_Error(value objc.IObject, key URLResourceKey, error *Error) bool
	SetResourceValues_Error(keyedValues map[URLResourceKey]objc.IObject, error *Error) bool
	RemoveAllCachedResourceValues()
	RemoveCachedResourceValueForKey(key URLResourceKey)
	SetTemporaryResourceValue_ForKey(value objc.IObject, key URLResourceKey)
	FileReferenceURL() URL
	URLByAppendingPathComponent(pathComponent string) URL
	URLByAppendingPathComponent_IsDirectory(pathComponent string, isDirectory bool) URL
	URLByAppendingPathExtension(pathExtension string) URL
	BookmarkDataWithOptions_IncludingResourceValuesForKeys_RelativeToURL_Error(options URLBookmarkCreationOptions, keys []URLResourceKey, relativeURL IURL, error *Error) []byte
	StartAccessingSecurityScopedResource() bool
	StopAccessingSecurityScopedResource()
	CheckPromisedItemIsReachableAndReturnError(error *Error) bool
	GetPromisedItemResourceValue_ForKey_Error(value *objc.Object, key URLResourceKey, error *Error) bool
	PromisedItemResourceValuesForKeys_Error(keys []URLResourceKey, error *Error) map[URLResourceKey]objc.Object
	// deprecated
	LoadResourceDataNotifyingClient_UsingCache(client objc.IObject, shouldUseCache bool)
	// deprecated
	ResourceDataUsingCache(shouldUseCache bool) []byte
	// deprecated
	SetResourceData(data []byte) bool
	// deprecated
	PropertyForKey(propertyKey string) objc.Object
	// deprecated
	SetProperty_ForKey(property objc.IObject, propertyKey string) bool
	DataRepresentation() []byte
	IsFileURL() bool
	AbsoluteString() string
	AbsoluteURL() URL
	BaseURL() URL
	FileSystemRepresentation() *byte
	Fragment() string
	Host() string
	LastPathComponent() string
	// deprecated
	ParameterString() string
	Password() string
	Path() string
	PathComponents() []string
	PathExtension() string
	Port() Number
	Query() string
	RelativePath() string
	RelativeString() string
	ResourceSpecifier() string
	Scheme() string
	StandardizedURL() URL
	User() string
	FilePathURL() URL
	URLByDeletingLastPathComponent() URL
	URLByDeletingPathExtension() URL
	URLByResolvingSymlinksInPath() URL
	URLByStandardizingPath() URL
	HasDirectoryPath() bool
}

type IURLRequest added in v0.11.0

type IURLRequest interface {
	objc.IObject
	ValueForHTTPHeaderField(field string) string
	CachePolicy() URLRequestCachePolicy
	HTTPMethod() string
	URL() URL
	HTTPBody() []byte
	HTTPBodyStream() InputStream
	MainDocumentURL() URL
	AllHTTPHeaderFields() map[string]string
	TimeoutInterval() TimeInterval
	HTTPShouldHandleCookies() bool
	HTTPShouldUsePipelining() bool
	AllowsCellularAccess() bool
	AllowsConstrainedNetworkAccess() bool
	AllowsExpensiveNetworkAccess() bool
	NetworkServiceType() URLRequestNetworkServiceType
	Attribution() URLRequestAttribution
	AssumesHTTP3Capable() bool
}

type IURLResponse added in v0.11.0

type IURLResponse interface {
	objc.IObject
	ExpectedContentLength() int64
	SuggestedFilename() string
	MIMEType() string
	TextEncodingName() string
	URL() URL
}

type IUndoManager added in v0.11.0

type IUndoManager interface {
	objc.IObject
	RegisterUndoWithTarget_Handler(target objc.IObject, undoHandler func(target objc.Object))
	RegisterUndoWithTarget_Selector_Object(target objc.IObject, selector objc.Selector, anObject objc.IObject)
	PrepareWithInvocationTarget(target objc.IObject) objc.Object
	Undo()
	UndoNestedGroup()
	Redo()
	BeginUndoGrouping()
	EndUndoGrouping()
	DisableUndoRegistration()
	EnableUndoRegistration()
	RemoveAllActions()
	RemoveAllActionsWithTarget(target objc.IObject)
	SetActionName(actionName string)
	UndoMenuTitleForUndoActionName(actionName string) string
	RedoMenuTitleForUndoActionName(actionName string) string
	SetActionIsDiscardable(discardable bool)
	CanUndo() bool
	CanRedo() bool
	LevelsOfUndo() uint
	SetLevelsOfUndo(value uint)
	GroupsByEvent() bool
	SetGroupsByEvent(value bool)
	GroupingLevel() int
	IsUndoRegistrationEnabled() bool
	IsUndoing() bool
	IsRedoing() bool
	UndoActionName() string
	RedoActionName() string
	UndoMenuItemTitle() string
	RedoMenuItemTitle() string
	RunLoopModes() []RunLoopMode
	SetRunLoopModes(value []RunLoopMode)
	UndoActionIsDiscardable() bool
	RedoActionIsDiscardable() bool
}

type IUnit added in v0.11.0

type IUnit interface {
	objc.IObject
	Symbol() string
}

type IUserActivity added in v0.11.0

type IUserActivity interface {
	objc.IObject
	BecomeCurrent()
	ResignCurrent()
	Invalidate()
	GetContinuationStreamsWithCompletionHandler(completionHandler func(inputStream InputStream, outputStream OutputStream, error Error))
	ActivityType() string
	Title() string
	SetTitle(value string)
	RequiredUserInfoKeys() Set
	SetRequiredUserInfoKeys(value ISet)
	TargetContentIdentifier() string
	SetTargetContentIdentifier(value string)
	NeedsSave() bool
	SetNeedsSave(value bool)
	Keywords() Set
	SetKeywords(value ISet)
	PersistentIdentifier() UserActivityPersistentIdentifier
	SetPersistentIdentifier(value UserActivityPersistentIdentifier)
	IsEligibleForHandoff() bool
	SetEligibleForHandoff(value bool)
	IsEligibleForSearch() bool
	SetEligibleForSearch(value bool)
	IsEligibleForPublicIndexing() bool
	SetEligibleForPublicIndexing(value bool)
	ExpirationDate() Date
	SetExpirationDate(value IDate)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	SupportsContinuationStreams() bool
	SetSupportsContinuationStreams(value bool)
	WebpageURL() URL
	SetWebpageURL(value IURL)
	ReferrerURL() URL
	SetReferrerURL(value IURL)
}

type IUserDefaults added in v0.11.0

type IUserDefaults interface {
	objc.IObject
	ObjectForKey(defaultName string) objc.Object
	URLForKey(defaultName string) URL
	ArrayForKey(defaultName string) []objc.Object
	DictionaryForKey(defaultName string) map[string]objc.Object
	StringForKey(defaultName string) string
	StringArrayForKey(defaultName string) []string
	DataForKey(defaultName string) []byte
	BoolForKey(defaultName string) bool
	IntegerForKey(defaultName string) int
	FloatForKey(defaultName string) float32
	DoubleForKey(defaultName string) float64
	DictionaryRepresentation() map[string]objc.Object
	SetObject_ForKey(value objc.IObject, defaultName string)
	SetFloat_ForKey(value float32, defaultName string)
	SetDouble_ForKey(value float64, defaultName string)
	SetInteger_ForKey(value int, defaultName string)
	SetBool_ForKey(value bool, defaultName string)
	SetURL_ForKey(url IURL, defaultName string)
	RemoveObjectForKey(defaultName string)
	AddSuiteNamed(suiteName string)
	RemoveSuiteNamed(suiteName string)
	RegisterDefaults(registrationDictionary map[string]objc.IObject)
	PersistentDomainForName(domainName string) map[string]objc.Object
	SetPersistentDomain_ForName(domain map[string]objc.IObject, domainName string)
	RemovePersistentDomainForName(domainName string)
	// deprecated
	PersistentDomainNames() []objc.Object
	VolatileDomainForName(domainName string) map[string]objc.Object
	SetVolatileDomain_ForName(domain map[string]objc.IObject, domainName string)
	RemoveVolatileDomainForName(domainName string)
	ObjectIsForcedForKey(key string) bool
	ObjectIsForcedForKey_InDomain(key string, domain string) bool
	// deprecated
	InitWithUser(username string) objc.Object
	Synchronize() bool
	VolatileDomainNames() []string
}

type IValue added in v0.11.0

type IValue interface {
	objc.IObject
	// deprecated
	GetValue(value unsafe.Pointer)
	IsEqualToValue(value IValue) bool
	GetValue_Size(value unsafe.Pointer, size uint)
	ObjCType() *byte
	PointerValue() unsafe.Pointer
	NonretainedObjectValue() objc.Object
	RangeValue() Range
	PointValue() Point
	SizeValue() Size
	RectValue() Rect
	EdgeInsetsValue() EdgeInsets
}

type IndexPath

type IndexPath struct {
	objc.Object
}

func MakeIndexPath

func MakeIndexPath(ptr unsafe.Pointer) IndexPath

func NewIndexPath

func NewIndexPath() IndexPath

func (IndexPath) Compare

func (i_ IndexPath) Compare(otherObject IIndexPath) ComparisonResult

func (IndexPath) GetIndexes added in v0.14.5

func (i_ IndexPath) GetIndexes(indexes *uint)

deprecated

func (IndexPath) GetIndexes_Range added in v0.13.4

func (i_ IndexPath) GetIndexes_Range(indexes *uint, positionRange Range)

func (IndexPath) IndexAtPosition

func (i_ IndexPath) IndexAtPosition(position uint) uint

func (IndexPath) IndexPathByAddingIndex

func (i_ IndexPath) IndexPathByAddingIndex(index uint) IndexPath

func (IndexPath) IndexPathByRemovingLastIndex

func (i_ IndexPath) IndexPathByRemovingLastIndex() IndexPath

func (IndexPath) Init added in v0.11.0

func (i_ IndexPath) Init() IndexPath

func (IndexPath) InitWithIndex added in v0.11.0

func (i_ IndexPath) InitWithIndex(index uint) IndexPath

func (IndexPath) InitWithIndexes_Length added in v0.13.4

func (i_ IndexPath) InitWithIndexes_Length(indexes *uint, length uint) IndexPath

func (IndexPath) Length

func (i_ IndexPath) Length() uint

type IndexSet

type IndexSet struct {
	objc.Object
}

func MakeIndexSet

func MakeIndexSet(ptr unsafe.Pointer) IndexSet

func NewIndexSet

func NewIndexSet() IndexSet

func (IndexSet) ContainsIndex

func (i_ IndexSet) ContainsIndex(value uint) bool

func (IndexSet) ContainsIndexes

func (i_ IndexSet) ContainsIndexes(indexSet IIndexSet) bool

func (IndexSet) ContainsIndexesInRange

func (i_ IndexSet) ContainsIndexesInRange(range_ Range) bool

func (IndexSet) Count

func (i_ IndexSet) Count() uint

func (IndexSet) CountOfIndexesInRange

func (i_ IndexSet) CountOfIndexesInRange(range_ Range) uint

func (IndexSet) EnumerateIndexesInRange_Options_UsingBlock added in v0.13.4

func (i_ IndexSet) EnumerateIndexesInRange_Options_UsingBlock(range_ Range, opts EnumerationOptions, block func(idx uint, stop *bool))

func (IndexSet) EnumerateIndexesUsingBlock added in v0.13.4

func (i_ IndexSet) EnumerateIndexesUsingBlock(block func(idx uint, stop *bool))

func (IndexSet) EnumerateIndexesWithOptions_UsingBlock added in v0.13.4

func (i_ IndexSet) EnumerateIndexesWithOptions_UsingBlock(opts EnumerationOptions, block func(idx uint, stop *bool))

func (IndexSet) EnumerateRangesInRange_Options_UsingBlock added in v0.13.4

func (i_ IndexSet) EnumerateRangesInRange_Options_UsingBlock(range_ Range, opts EnumerationOptions, block func(range_ Range, stop *bool))

func (IndexSet) EnumerateRangesUsingBlock added in v0.13.4

func (i_ IndexSet) EnumerateRangesUsingBlock(block func(range_ Range, stop *bool))

func (IndexSet) EnumerateRangesWithOptions_UsingBlock added in v0.13.4

func (i_ IndexSet) EnumerateRangesWithOptions_UsingBlock(opts EnumerationOptions, block func(range_ Range, stop *bool))

func (IndexSet) FirstIndex

func (i_ IndexSet) FirstIndex() uint

func (IndexSet) GetIndexes_MaxCount_InIndexRange added in v0.13.4

func (i_ IndexSet) GetIndexes_MaxCount_InIndexRange(indexBuffer *uint, bufferSize uint, range_ *Range) uint

func (IndexSet) IndexGreaterThanIndex

func (i_ IndexSet) IndexGreaterThanIndex(value uint) uint

func (IndexSet) IndexGreaterThanOrEqualToIndex

func (i_ IndexSet) IndexGreaterThanOrEqualToIndex(value uint) uint

func (IndexSet) IndexInRange_Options_PassingTest added in v0.13.4

func (i_ IndexSet) IndexInRange_Options_PassingTest(range_ Range, opts EnumerationOptions, predicate func(idx uint, stop *bool) bool) uint

func (IndexSet) IndexLessThanIndex

func (i_ IndexSet) IndexLessThanIndex(value uint) uint

func (IndexSet) IndexLessThanOrEqualToIndex

func (i_ IndexSet) IndexLessThanOrEqualToIndex(value uint) uint

func (IndexSet) IndexPassingTest added in v0.13.4

func (i_ IndexSet) IndexPassingTest(predicate func(idx uint, stop *bool) bool) uint

func (IndexSet) IndexWithOptions_PassingTest added in v0.13.4

func (i_ IndexSet) IndexWithOptions_PassingTest(opts EnumerationOptions, predicate func(idx uint, stop *bool) bool) uint

func (IndexSet) IndexesInRange_Options_PassingTest added in v0.13.4

func (i_ IndexSet) IndexesInRange_Options_PassingTest(range_ Range, opts EnumerationOptions, predicate func(idx uint, stop *bool) bool) IndexSet

func (IndexSet) IndexesPassingTest added in v0.13.4

func (i_ IndexSet) IndexesPassingTest(predicate func(idx uint, stop *bool) bool) IndexSet

func (IndexSet) IndexesWithOptions_PassingTest added in v0.13.4

func (i_ IndexSet) IndexesWithOptions_PassingTest(opts EnumerationOptions, predicate func(idx uint, stop *bool) bool) IndexSet

func (IndexSet) Init added in v0.11.0

func (i_ IndexSet) Init() IndexSet

func (IndexSet) InitWithIndex added in v0.11.0

func (i_ IndexSet) InitWithIndex(value uint) IndexSet

func (IndexSet) InitWithIndexSet added in v0.11.0

func (i_ IndexSet) InitWithIndexSet(indexSet IIndexSet) IndexSet

func (IndexSet) InitWithIndexesInRange added in v0.11.0

func (i_ IndexSet) InitWithIndexesInRange(range_ Range) IndexSet

func (IndexSet) IntersectsIndexesInRange

func (i_ IndexSet) IntersectsIndexesInRange(range_ Range) bool

func (IndexSet) IsEqualToIndexSet

func (i_ IndexSet) IsEqualToIndexSet(indexSet IIndexSet) bool

func (IndexSet) LastIndex

func (i_ IndexSet) LastIndex() uint

type InputStream added in v0.13.0

type InputStream struct {
	Stream
}

func MakeInputStream added in v0.13.0

func MakeInputStream(ptr unsafe.Pointer) InputStream

func NewInputStream added in v0.13.0

func NewInputStream() InputStream

func (InputStream) HasBytesAvailable added in v0.13.0

func (i_ InputStream) HasBytesAvailable() bool

func (InputStream) Init added in v0.13.0

func (i_ InputStream) Init() InputStream

func (InputStream) InitWithData added in v0.13.0

func (i_ InputStream) InitWithData(data []byte) InputStream

func (InputStream) InitWithFileAtPath added in v0.13.0

func (i_ InputStream) InitWithFileAtPath(path string) InputStream

func (InputStream) InitWithURL added in v0.13.0

func (i_ InputStream) InitWithURL(url IURL) InputStream

type JSONReadingOptions added in v0.15.1

type JSONReadingOptions uint

JSONSerialization begin

const (
	JSONReadingMutableContainers         JSONReadingOptions = 1 << 0
	JSONReadingMutableLeaves             JSONReadingOptions = 1 << 1
	JSONReadingFragmentsAllowed          JSONReadingOptions = 1 << 2
	JSONReadingJSON5Allowed              JSONReadingOptions = 1 << 3
	JSONReadingTopLevelDictionaryAssumed JSONReadingOptions = 1 << 4
)

type JSONWritingOptions added in v0.15.1

type JSONWritingOptions uint
const (
	JSONWritingPrettyPrinted          JSONWritingOptions = 1 << 0
	JSONWritingSortedKeys             JSONWritingOptions = 1 << 1
	JSONWritingFragmentsAllowed       JSONWritingOptions = 1 << 2
	JSONWritingWithoutEscapingSlashes JSONWritingOptions = 1 << 3
)

type Locale

type Locale struct {
	objc.Object
}

func MakeLocale

func MakeLocale(ptr unsafe.Pointer) Locale

func NewLocale added in v0.13.0

func NewLocale() Locale

func (Locale) AlternateQuotationBeginDelimiter

func (l_ Locale) AlternateQuotationBeginDelimiter() string

func (Locale) AlternateQuotationEndDelimiter

func (l_ Locale) AlternateQuotationEndDelimiter() string

func (Locale) CalendarIdentifier

func (l_ Locale) CalendarIdentifier() string

func (Locale) CollationIdentifier

func (l_ Locale) CollationIdentifier() string

func (Locale) CollatorIdentifier

func (l_ Locale) CollatorIdentifier() string

func (Locale) CountryCode

func (l_ Locale) CountryCode() string

func (Locale) CurrencyCode

func (l_ Locale) CurrencyCode() string

func (Locale) CurrencySymbol

func (l_ Locale) CurrencySymbol() string

func (Locale) DecimalSeparator

func (l_ Locale) DecimalSeparator() string

func (Locale) DisplayNameForKey_Value

func (l_ Locale) DisplayNameForKey_Value(key LocaleKey, value objc.IObject) string

func (Locale) ExemplarCharacterSet

func (l_ Locale) ExemplarCharacterSet() CharacterSet

func (Locale) GroupingSeparator

func (l_ Locale) GroupingSeparator() string

func (Locale) Init added in v0.13.0

func (l_ Locale) Init() Locale

func (Locale) InitWithLocaleIdentifier added in v0.11.0

func (l_ Locale) InitWithLocaleIdentifier(string_ string) Locale

func (Locale) LanguageCode

func (l_ Locale) LanguageCode() string

func (Locale) LocaleIdentifier

func (l_ Locale) LocaleIdentifier() string

func (Locale) LocalizedStringForCalendarIdentifier

func (l_ Locale) LocalizedStringForCalendarIdentifier(calendarIdentifier string) string

func (Locale) LocalizedStringForCollationIdentifier

func (l_ Locale) LocalizedStringForCollationIdentifier(collationIdentifier string) string

func (Locale) LocalizedStringForCollatorIdentifier

func (l_ Locale) LocalizedStringForCollatorIdentifier(collatorIdentifier string) string

func (Locale) LocalizedStringForCountryCode

func (l_ Locale) LocalizedStringForCountryCode(countryCode string) string

func (Locale) LocalizedStringForCurrencyCode

func (l_ Locale) LocalizedStringForCurrencyCode(currencyCode string) string

func (Locale) LocalizedStringForLanguageCode

func (l_ Locale) LocalizedStringForLanguageCode(languageCode string) string

func (Locale) LocalizedStringForLocaleIdentifier

func (l_ Locale) LocalizedStringForLocaleIdentifier(localeIdentifier string) string

func (Locale) LocalizedStringForScriptCode

func (l_ Locale) LocalizedStringForScriptCode(scriptCode string) string

func (Locale) LocalizedStringForVariantCode

func (l_ Locale) LocalizedStringForVariantCode(variantCode string) string

func (Locale) ObjectForKey

func (l_ Locale) ObjectForKey(key LocaleKey) objc.Object

func (Locale) QuotationBeginDelimiter

func (l_ Locale) QuotationBeginDelimiter() string

func (Locale) QuotationEndDelimiter

func (l_ Locale) QuotationEndDelimiter() string

func (Locale) ScriptCode

func (l_ Locale) ScriptCode() string

func (Locale) UsesMetricSystem

func (l_ Locale) UsesMetricSystem() bool

func (Locale) VariantCode

func (l_ Locale) VariantCode() string

type LocaleKey

type LocaleKey string
const LocaleAlternateQuotationBeginDelimiterKey LocaleKey = "kCFLocaleAlternateQuotationBeginDelimiterKey"
const LocaleAlternateQuotationEndDelimiterKey LocaleKey = "kCFLocaleAlternateQuotationEndDelimiterKey"
const LocaleCalendar LocaleKey = "kCFLocaleCalendarKey"
const LocaleCollationIdentifier LocaleKey = "collation"
const LocaleCollatorIdentifier LocaleKey = "kCFLocaleCollatorIdentifierKey"
const LocaleCountryCode LocaleKey = "kCFLocaleCountryCodeKey"
const LocaleCurrencyCode LocaleKey = "currency"
const LocaleCurrencySymbol LocaleKey = "kCFLocaleCurrencySymbolKey"
const LocaleDecimalSeparator LocaleKey = "kCFLocaleDecimalSeparatorKey"
const LocaleExemplarCharacterSet LocaleKey = "kCFLocaleExemplarCharacterSetKey"
const LocaleGroupingSeparator LocaleKey = "kCFLocaleGroupingSeparatorKey"
const LocaleIdentifier LocaleKey = "kCFLocaleIdentifierKey"
const LocaleLanguageCode LocaleKey = "kCFLocaleLanguageCodeKey"
const LocaleMeasurementSystem LocaleKey = "kCFLocaleMeasurementSystemKey"
const LocaleQuotationBeginDelimiterKey LocaleKey = "kCFLocaleQuotationBeginDelimiterKey"
const LocaleQuotationEndDelimiterKey LocaleKey = "kCFLocaleQuotationEndDelimiterKey"
const LocaleScriptCode LocaleKey = "kCFLocaleScriptCodeKey"
const LocaleUsesMetricSystem LocaleKey = "kCFLocaleUsesMetricSystemKey"
const LocaleVariantCode LocaleKey = "kCFLocaleVariantCodeKey"

type LocaleLanguageDirection

type LocaleLanguageDirection uint
const LocaleLanguageDirectionBottomToTop LocaleLanguageDirection = 4
const LocaleLanguageDirectionLeftToRight LocaleLanguageDirection = 1
const LocaleLanguageDirectionRightToLeft LocaleLanguageDirection = 2
const LocaleLanguageDirectionTopToBottom LocaleLanguageDirection = 3
const LocaleLanguageDirectionUnknown LocaleLanguageDirection = 0

type MatchingFlags

type MatchingFlags uint
const MatchingCompleted MatchingFlags = 2
const MatchingHitEnd MatchingFlags = 4
const MatchingInternalError MatchingFlags = 16
const MatchingProgress MatchingFlags = 1
const MatchingRequiredEnd MatchingFlags = 8

type MatchingOptions

type MatchingOptions uint
const MatchingAnchored MatchingOptions = 4
const MatchingReportCompletion MatchingOptions = 2
const MatchingReportProgress MatchingOptions = 1
const MatchingWithTransparentBounds MatchingOptions = 8
const MatchingWithoutAnchoringBounds MatchingOptions = 16

type Measurement

type Measurement struct {
	objc.Object
}

func MakeMeasurement

func MakeMeasurement(ptr unsafe.Pointer) Measurement

func NewMeasurement added in v0.13.0

func NewMeasurement() Measurement

func (Measurement) CanBeConvertedToUnit

func (m_ Measurement) CanBeConvertedToUnit(unit IUnit) bool

func (Measurement) DoubleValue

func (m_ Measurement) DoubleValue() float64

func (Measurement) Init added in v0.13.0

func (m_ Measurement) Init() Measurement

func (Measurement) MeasurementByAddingMeasurement

func (m_ Measurement) MeasurementByAddingMeasurement(measurement IMeasurement) Measurement

func (Measurement) MeasurementByConvertingToUnit

func (m_ Measurement) MeasurementByConvertingToUnit(unit IUnit) Measurement

func (Measurement) MeasurementBySubtractingMeasurement

func (m_ Measurement) MeasurementBySubtractingMeasurement(measurement IMeasurement) Measurement

type MeasurementFormatter

type MeasurementFormatter struct {
	Formatter
}

func MakeMeasurementFormatter

func MakeMeasurementFormatter(ptr unsafe.Pointer) MeasurementFormatter

func NewMeasurementFormatter

func NewMeasurementFormatter() MeasurementFormatter

func (MeasurementFormatter) Init added in v0.11.0

func (MeasurementFormatter) Locale

func (m_ MeasurementFormatter) Locale() Locale

func (MeasurementFormatter) NumberFormatter

func (m_ MeasurementFormatter) NumberFormatter() NumberFormatter

func (MeasurementFormatter) SetLocale

func (m_ MeasurementFormatter) SetLocale(value ILocale)

func (MeasurementFormatter) SetNumberFormatter

func (m_ MeasurementFormatter) SetNumberFormatter(value INumberFormatter)

func (MeasurementFormatter) SetUnitOptions

func (m_ MeasurementFormatter) SetUnitOptions(value MeasurementFormatterUnitOptions)

func (MeasurementFormatter) SetUnitStyle

func (m_ MeasurementFormatter) SetUnitStyle(value FormattingUnitStyle)

func (MeasurementFormatter) StringFromMeasurement

func (m_ MeasurementFormatter) StringFromMeasurement(measurement IMeasurement) string

func (MeasurementFormatter) StringFromUnit

func (m_ MeasurementFormatter) StringFromUnit(unit IUnit) string

func (MeasurementFormatter) UnitOptions

func (MeasurementFormatter) UnitStyle

type MeasurementFormatterUnitOptions

type MeasurementFormatterUnitOptions uint
const MeasurementFormatterUnitOptionsNaturalScale MeasurementFormatterUnitOptions = 2
const MeasurementFormatterUnitOptionsProvidedUnit MeasurementFormatterUnitOptions = 1
const MeasurementFormatterUnitOptionsTemperatureWithoutUnit MeasurementFormatterUnitOptions = 4

type MutableArray added in v0.14.3

type MutableArray struct {
	Array
}

func MakeMutableArray added in v0.14.3

func MakeMutableArray(ptr unsafe.Pointer) MutableArray

func NewMutableArray added in v0.14.3

func NewMutableArray() MutableArray

func NewMutableArrayWithCapacity added in v0.14.3

func NewMutableArrayWithCapacity(size uint) MutableArray

func (MutableArray) AddObject added in v0.14.3

func (a MutableArray) AddObject(o objc.IObject)

func (MutableArray) InsertObject_AtIndex added in v0.15.3

func (a MutableArray) InsertObject_AtIndex(o objc.IObject, index uint)

func (MutableArray) RemoveObjectAtIndex added in v0.15.3

func (a MutableArray) RemoveObjectAtIndex(index uint)

func (MutableArray) ReplaceObjectAtIndex_WithObject added in v0.15.3

func (a MutableArray) ReplaceObjectAtIndex_WithObject(index uint, o objc.IObject)

type MutableAttributedString

type MutableAttributedString struct {
	AttributedString
}

func MakeMutableAttributedString

func MakeMutableAttributedString(ptr unsafe.Pointer) MutableAttributedString

func NewMutableAttributedString

func NewMutableAttributedString() MutableAttributedString

func (MutableAttributedString) AddAttribute_Value_Range added in v0.13.0

func (m_ MutableAttributedString) AddAttribute_Value_Range(name AttributedStringKey, value objc.IObject, range_ Range)

func (MutableAttributedString) AddAttributes_Range added in v0.13.0

func (m_ MutableAttributedString) AddAttributes_Range(attrs map[AttributedStringKey]objc.IObject, range_ Range)

func (MutableAttributedString) AppendAttributedString added in v0.13.0

func (m_ MutableAttributedString) AppendAttributedString(attrString IAttributedString)

func (MutableAttributedString) BeginEditing added in v0.13.0

func (m_ MutableAttributedString) BeginEditing()

func (MutableAttributedString) DeleteCharactersInRange added in v0.13.0

func (m_ MutableAttributedString) DeleteCharactersInRange(range_ Range)

func (MutableAttributedString) EndEditing added in v0.13.0

func (m_ MutableAttributedString) EndEditing()

func (MutableAttributedString) Init added in v0.11.0

func (MutableAttributedString) InitWithAttributedString added in v0.13.0

func (m_ MutableAttributedString) InitWithAttributedString(attrStr IAttributedString) MutableAttributedString

func (MutableAttributedString) InitWithString added in v0.13.0

func (MutableAttributedString) InitWithString_Attributes added in v0.13.0

func (m_ MutableAttributedString) InitWithString_Attributes(str string, attrs map[AttributedStringKey]objc.IObject) MutableAttributedString

func (MutableAttributedString) InsertAttributedString_AtIndex added in v0.13.0

func (m_ MutableAttributedString) InsertAttributedString_AtIndex(attrString IAttributedString, loc uint)

func (MutableAttributedString) RemoveAttribute_Range added in v0.13.0

func (m_ MutableAttributedString) RemoveAttribute_Range(name AttributedStringKey, range_ Range)

func (MutableAttributedString) ReplaceCharactersInRange_WithAttributedString added in v0.13.0

func (m_ MutableAttributedString) ReplaceCharactersInRange_WithAttributedString(range_ Range, attrString IAttributedString)

func (MutableAttributedString) ReplaceCharactersInRange_WithString added in v0.13.0

func (m_ MutableAttributedString) ReplaceCharactersInRange_WithString(range_ Range, str string)

func (MutableAttributedString) SetAttributedString added in v0.13.0

func (m_ MutableAttributedString) SetAttributedString(attrString IAttributedString)

func (MutableAttributedString) SetAttributes_Range added in v0.13.0

func (m_ MutableAttributedString) SetAttributes_Range(attrs map[AttributedStringKey]objc.IObject, range_ Range)

type MutableData added in v0.14.3

type MutableData struct {
	Data
}

func MakeMutableData added in v0.14.3

func MakeMutableData(ptr unsafe.Pointer) MutableData

func NewMutableData added in v0.14.3

func NewMutableData() MutableData

func NewMutableDataWithCapacity added in v0.14.3

func NewMutableDataWithCapacity(capacity uint) MutableData

func NewMutableDataWithData added in v0.14.3

func NewMutableDataWithData(data []byte) MutableData

func NewMutableDataWithLength added in v0.14.3

func NewMutableDataWithLength(length uint) MutableData

func (MutableData) AppendData added in v0.14.3

func (d MutableData) AppendData(data []byte)

type MutableDictionary added in v0.14.3

type MutableDictionary struct {
	Dictionary
}

func MakeMutableDictionary added in v0.14.3

func MakeMutableDictionary(ptr unsafe.Pointer) MutableDictionary

func NewMutableDictionary added in v0.14.3

func NewMutableDictionary() MutableDictionary

func NewMutableDictionaryWithDictionary added in v0.14.3

func NewMutableDictionaryWithDictionary(dict IDictionary) MutableDictionary

func (MutableDictionary) RemoveObjectForKey added in v0.15.3

func (d MutableDictionary) RemoveObjectForKey(key objc.IObject)

func (MutableDictionary) SetObject_ForKey added in v0.15.3

func (d MutableDictionary) SetObject_ForKey(value objc.IObject, key objc.IObject)

type MutableSet added in v0.14.3

type MutableSet struct {
	Set
}

func MakeMutableSet added in v0.14.3

func MakeMutableSet(ptr unsafe.Pointer) MutableSet

func NewMutableSet added in v0.14.3

func NewMutableSet() MutableSet

func NewMutableSetWithCapacity added in v0.14.3

func NewMutableSetWithCapacity(size uint) MutableSet

func NewMutableSetWithSet added in v0.14.3

func NewMutableSetWithSet(set ISet) MutableSet

func (MutableSet) AddObject added in v0.14.3

func (s MutableSet) AddObject(o objc.IObject)

type MutableString

type MutableString struct {
	String
}

func MakeMutableString

func MakeMutableString(ptr unsafe.Pointer) MutableString

func NewMutableString added in v0.14.3

func NewMutableString() MutableString

func NewMutableStringWithCapacity added in v0.14.3

func NewMutableStringWithCapacity(capacity uint) MutableString

func NewMutableStringWithString added in v0.14.3

func NewMutableStringWithString(str string) MutableString

func (MutableString) AppendString added in v0.14.3

func (s MutableString) AppendString(str string)

type MutableURLRequest added in v0.13.6

type MutableURLRequest struct {
	URLRequest
}

func MakeMutableURLRequest added in v0.13.6

func MakeMutableURLRequest(ptr unsafe.Pointer) MutableURLRequest

func NewMutableURLRequest added in v0.13.6

func NewMutableURLRequest() MutableURLRequest

func (MutableURLRequest) AddValue_ForHTTPHeaderField added in v0.13.6

func (m_ MutableURLRequest) AddValue_ForHTTPHeaderField(value string, field string)

func (MutableURLRequest) Init added in v0.13.6

func (MutableURLRequest) InitWithURL added in v0.13.6

func (m_ MutableURLRequest) InitWithURL(URL IURL) MutableURLRequest

func (MutableURLRequest) InitWithURL_CachePolicy_TimeoutInterval added in v0.13.6

func (m_ MutableURLRequest) InitWithURL_CachePolicy_TimeoutInterval(URL IURL, cachePolicy URLRequestCachePolicy, timeoutInterval TimeInterval) MutableURLRequest

func (MutableURLRequest) RequiresDNSSECValidation added in v0.13.6

func (m_ MutableURLRequest) RequiresDNSSECValidation() bool

func (MutableURLRequest) SetAllHTTPHeaderFields added in v0.13.6

func (m_ MutableURLRequest) SetAllHTTPHeaderFields(value map[string]string)

func (MutableURLRequest) SetAllowsCellularAccess added in v0.13.6

func (m_ MutableURLRequest) SetAllowsCellularAccess(value bool)

func (MutableURLRequest) SetAllowsConstrainedNetworkAccess added in v0.13.6

func (m_ MutableURLRequest) SetAllowsConstrainedNetworkAccess(value bool)

func (MutableURLRequest) SetAllowsExpensiveNetworkAccess added in v0.13.6

func (m_ MutableURLRequest) SetAllowsExpensiveNetworkAccess(value bool)

func (MutableURLRequest) SetAssumesHTTP3Capable added in v0.13.6

func (m_ MutableURLRequest) SetAssumesHTTP3Capable(value bool)

func (MutableURLRequest) SetAttribution added in v0.13.6

func (m_ MutableURLRequest) SetAttribution(value URLRequestAttribution)

func (MutableURLRequest) SetCachePolicy added in v0.13.6

func (m_ MutableURLRequest) SetCachePolicy(value URLRequestCachePolicy)

func (MutableURLRequest) SetHTTPBody added in v0.13.6

func (m_ MutableURLRequest) SetHTTPBody(value []byte)

func (MutableURLRequest) SetHTTPBodyStream added in v0.13.6

func (m_ MutableURLRequest) SetHTTPBodyStream(value IInputStream)

func (MutableURLRequest) SetHTTPMethod added in v0.13.6

func (m_ MutableURLRequest) SetHTTPMethod(value string)

func (MutableURLRequest) SetHTTPShouldHandleCookies added in v0.13.6

func (m_ MutableURLRequest) SetHTTPShouldHandleCookies(value bool)

func (MutableURLRequest) SetHTTPShouldUsePipelining added in v0.13.6

func (m_ MutableURLRequest) SetHTTPShouldUsePipelining(value bool)

func (MutableURLRequest) SetMainDocumentURL added in v0.13.6

func (m_ MutableURLRequest) SetMainDocumentURL(value IURL)

func (MutableURLRequest) SetNetworkServiceType added in v0.13.6

func (m_ MutableURLRequest) SetNetworkServiceType(value URLRequestNetworkServiceType)

func (MutableURLRequest) SetRequiresDNSSECValidation added in v0.13.6

func (m_ MutableURLRequest) SetRequiresDNSSECValidation(value bool)

func (MutableURLRequest) SetTimeoutInterval added in v0.13.6

func (m_ MutableURLRequest) SetTimeoutInterval(value TimeInterval)

func (MutableURLRequest) SetURL added in v0.13.6

func (m_ MutableURLRequest) SetURL(value IURL)

func (MutableURLRequest) SetValue_ForHTTPHeaderField added in v0.13.6

func (m_ MutableURLRequest) SetValue_ForHTTPHeaderField(value string, field string)

type Notification

type Notification struct {
	objc.Object
}

func MakeNotification

func MakeNotification(ptr unsafe.Pointer) Notification

func NewNotification

func NewNotification() Notification

func (Notification) Init added in v0.11.0

func (n_ Notification) Init() Notification

func (Notification) Name

func (n_ Notification) Name() NotificationName

func (Notification) Object_ added in v0.16.0

func (n_ Notification) Object_() objc.Object

type NotificationCenter added in v0.9.0

type NotificationCenter struct {
	objc.Object
}

func MakeNotificationCenter added in v0.9.0

func MakeNotificationCenter(ptr unsafe.Pointer) NotificationCenter

func NewNotificationCenter added in v0.9.0

func NewNotificationCenter() NotificationCenter

func (NotificationCenter) AddObserver_Selector_Name_Object added in v0.9.0

func (n_ NotificationCenter) AddObserver_Selector_Name_Object(observer objc.IObject, aSelector objc.Selector, aName NotificationName, anObject objc.IObject)

func (NotificationCenter) Init added in v0.11.0

func (NotificationCenter) PostNotification added in v0.9.0

func (n_ NotificationCenter) PostNotification(notification INotification)

func (NotificationCenter) PostNotificationName_Object added in v0.9.0

func (n_ NotificationCenter) PostNotificationName_Object(aName NotificationName, anObject objc.IObject)

func (NotificationCenter) RemoveObserver added in v0.9.0

func (n_ NotificationCenter) RemoveObserver(observer objc.IObject)

func (NotificationCenter) RemoveObserver_Name_Object added in v0.9.0

func (n_ NotificationCenter) RemoveObserver_Name_Object(observer objc.IObject, aName NotificationName, anObject objc.IObject)

type NotificationName

type NotificationName string
const AppleEventManagerWillProcessFirstEventNotification NotificationName = "NSAppleEventManagerWillProcessFirstEvent"
const BundleResourceRequestLowDiskSpaceNotification NotificationName = "NSBundleResourceRequestLowDiskSpaceNotification"
const CalendarDayChangedNotification NotificationName = "NSCalendarDayChangedNotification"
const ClassDescriptionNeededForClassNotification NotificationName = "NSClassDescriptionNeededForClassNotification"
const DidBecomeSingleThreadedNotification NotificationName = "NSDidBecomeSingleThreadedNotification"
const ExtensionHostDidBecomeActiveNotification NotificationName = "NSExtensionHostDidBecomeActiveNotification"
const ExtensionHostDidEnterBackgroundNotification NotificationName = "NSExtensionHostDidEnterBackgroundNotification"
const ExtensionHostWillEnterForegroundNotification NotificationName = "NSExtensionHostWillEnterForegroundNotification"
const ExtensionHostWillResignActiveNotification NotificationName = "NSExtensionHostWillResignActiveNotification"
const FileHandleConnectionAcceptedNotification NotificationName = "NSFileHandleConnectionAcceptedNotification"
const FileHandleDataAvailableNotification NotificationName = "NSFileHandleDataAvailableNotification"
const FileHandleReadToEndOfFileCompletionNotification NotificationName = "NSFileHandleReadToEndOfFileCompletionNotification"
const HTTPCookieManagerAcceptPolicyChangedNotification NotificationName = "com.apple.Foundation.NSHTTPCookieManagerAcceptPolicyChanged"
const HTTPCookieManagerCookiesChangedNotification NotificationName = "NSHTTPCookieManagerCookiesChangedNotification"
const MetadataQueryDidFinishGatheringNotification NotificationName = "NSMetadataQueryDidFinishGatheringNotification"
const MetadataQueryDidStartGatheringNotification NotificationName = "NSMetadataQueryDidStartGatheringNotification"
const MetadataQueryDidUpdateNotification NotificationName = "NSMetadataQueryDidUpdateNotification"
const MetadataQueryGatheringProgressNotification NotificationName = "NSMetadataQueryGatheringProgressNotification"
const ProcessInfoPowerStateDidChangeNotification NotificationName = "NSProcessInfoPowerStateDidChangeNotification"
const SystemClockDidChangeNotification NotificationName = "NSSystemClockDidChangeNotification"
const SystemTimeZoneDidChangeNotification NotificationName = "kCFTimeZoneSystemTimeZoneDidChangeNotification"
const ThreadWillExitNotification NotificationName = "NSThreadWillExitNotification"
const URLCredentialStorageChangedNotification NotificationName = "NSURLCredentialStorageChangedNotification"
const UbiquityIdentityDidChangeNotification NotificationName = "NSUbiquityIdentityDidChangeNotification"
const UndoManagerCheckpointNotification NotificationName = "NSUndoManagerCheckpointNotification"
const UndoManagerDidCloseUndoGroupNotification NotificationName = "NSUndoManagerDidCloseUndoGroupNotification"
const UndoManagerDidOpenUndoGroupNotification NotificationName = "NSUndoManagerDidOpenUndoGroupNotification"
const UndoManagerDidRedoChangeNotification NotificationName = "NSUndoManagerDidRedoChangeNotification"
const UndoManagerDidUndoChangeNotification NotificationName = "NSUndoManagerDidUndoChangeNotification"
const UndoManagerWillCloseUndoGroupNotification NotificationName = "NSUndoManagerWillCloseUndoGroupNotification"
const UndoManagerWillRedoChangeNotification NotificationName = "NSUndoManagerWillRedoChangeNotification"
const UndoManagerWillUndoChangeNotification NotificationName = "NSUndoManagerWillUndoChangeNotification"
const WillBecomeMultiThreadedNotification NotificationName = "NSWillBecomeMultiThreadedNotification"

type Null

type Null struct {
	objc.Object
}

func MakeNull

func MakeNull(ptr unsafe.Pointer) Null

func NewNull

func NewNull() Null

func (Null) Init added in v0.11.0

func (n_ Null) Init() Null

type Number

type Number struct {
	Value
}

func MakeNumber

func MakeNumber(ptr unsafe.Pointer) Number

func NewNumber

func NewNumber() Number

func (Number) BoolValue

func (n_ Number) BoolValue() bool

func (Number) CharValue added in v0.13.6

func (n_ Number) CharValue() byte

func (Number) Compare

func (n_ Number) Compare(otherNumber INumber) ComparisonResult

func (Number) DecimalValue added in v0.13.0

func (n_ Number) DecimalValue() Decimal

func (Number) DescriptionWithLocale

func (n_ Number) DescriptionWithLocale(locale objc.IObject) string

func (Number) DoubleValue

func (n_ Number) DoubleValue() float64

func (Number) FloatValue

func (n_ Number) FloatValue() float32

func (Number) Init added in v0.11.0

func (n_ Number) Init() Number

func (Number) InitWithBool

func (n_ Number) InitWithBool(value bool) Number

func (Number) InitWithBytes_ObjCType added in v0.13.6

func (n_ Number) InitWithBytes_ObjCType(value unsafe.Pointer, type_ *byte) Number

func (Number) InitWithChar added in v0.13.6

func (n_ Number) InitWithChar(value byte) Number

func (Number) InitWithDouble

func (n_ Number) InitWithDouble(value float64) Number

func (Number) InitWithFloat

func (n_ Number) InitWithFloat(value float32) Number

func (Number) InitWithInt added in v0.10.1

func (n_ Number) InitWithInt(value int32) Number

func (Number) InitWithInteger

func (n_ Number) InitWithInteger(value int) Number

func (Number) InitWithLong added in v0.13.6

func (n_ Number) InitWithLong(value int64) Number

func (Number) InitWithLongLong added in v0.13.6

func (n_ Number) InitWithLongLong(value int64) Number

func (Number) InitWithShort added in v0.13.6

func (n_ Number) InitWithShort(value int16) Number

func (Number) InitWithUnsignedChar added in v0.13.6

func (n_ Number) InitWithUnsignedChar(value byte) Number

func (Number) InitWithUnsignedInt added in v0.13.6

func (n_ Number) InitWithUnsignedInt(value uint32) Number

func (Number) InitWithUnsignedInteger

func (n_ Number) InitWithUnsignedInteger(value uint) Number

func (Number) InitWithUnsignedLong added in v0.13.6

func (n_ Number) InitWithUnsignedLong(value uint64) Number

func (Number) InitWithUnsignedLongLong added in v0.13.6

func (n_ Number) InitWithUnsignedLongLong(value uint64) Number

func (Number) InitWithUnsignedShort added in v0.13.6

func (n_ Number) InitWithUnsignedShort(value uint16) Number

func (Number) IntValue added in v0.10.1

func (n_ Number) IntValue() int32

func (Number) IntegerValue

func (n_ Number) IntegerValue() int

func (Number) IsEqualToNumber

func (n_ Number) IsEqualToNumber(number INumber) bool

func (Number) LongLongValue added in v0.13.6

func (n_ Number) LongLongValue() int64

func (Number) LongValue added in v0.13.6

func (n_ Number) LongValue() int64

func (Number) ShortValue added in v0.13.6

func (n_ Number) ShortValue() int16

func (Number) StringValue

func (n_ Number) StringValue() string

func (Number) UnsignedCharValue added in v0.13.6

func (n_ Number) UnsignedCharValue() byte

func (Number) UnsignedIntValue added in v0.13.6

func (n_ Number) UnsignedIntValue() uint32

func (Number) UnsignedIntegerValue

func (n_ Number) UnsignedIntegerValue() uint

func (Number) UnsignedLongLongValue added in v0.13.6

func (n_ Number) UnsignedLongLongValue() uint64

func (Number) UnsignedLongValue added in v0.13.6

func (n_ Number) UnsignedLongValue() uint64

func (Number) UnsignedShortValue added in v0.13.6

func (n_ Number) UnsignedShortValue() uint16

type NumberFormatter

type NumberFormatter struct {
	Formatter
}

func MakeNumberFormatter

func MakeNumberFormatter(ptr unsafe.Pointer) NumberFormatter

func NewNumberFormatter

func NewNumberFormatter() NumberFormatter

func (NumberFormatter) AllowsFloats

func (n_ NumberFormatter) AllowsFloats() bool

func (NumberFormatter) AlwaysShowsDecimalSeparator

func (n_ NumberFormatter) AlwaysShowsDecimalSeparator() bool

func (NumberFormatter) AttributedStringForNil

func (n_ NumberFormatter) AttributedStringForNil() AttributedString

func (NumberFormatter) AttributedStringForNotANumber

func (n_ NumberFormatter) AttributedStringForNotANumber() AttributedString

func (NumberFormatter) AttributedStringForZero

func (n_ NumberFormatter) AttributedStringForZero() AttributedString

func (NumberFormatter) CurrencyCode

func (n_ NumberFormatter) CurrencyCode() string

func (NumberFormatter) CurrencyDecimalSeparator

func (n_ NumberFormatter) CurrencyDecimalSeparator() string

func (NumberFormatter) CurrencyGroupingSeparator

func (n_ NumberFormatter) CurrencyGroupingSeparator() string

func (NumberFormatter) CurrencySymbol

func (n_ NumberFormatter) CurrencySymbol() string

func (NumberFormatter) DecimalSeparator

func (n_ NumberFormatter) DecimalSeparator() string

func (NumberFormatter) ExponentSymbol

func (n_ NumberFormatter) ExponentSymbol() string

func (NumberFormatter) Format

func (n_ NumberFormatter) Format() string

func (NumberFormatter) FormatWidth

func (n_ NumberFormatter) FormatWidth() uint

func (NumberFormatter) FormatterBehavior

func (n_ NumberFormatter) FormatterBehavior() NumberFormatterBehavior

func (NumberFormatter) FormattingContext

func (n_ NumberFormatter) FormattingContext() FormattingContext

func (NumberFormatter) GeneratesDecimalNumbers

func (n_ NumberFormatter) GeneratesDecimalNumbers() bool

func (NumberFormatter) GroupingSeparator

func (n_ NumberFormatter) GroupingSeparator() string

func (NumberFormatter) GroupingSize

func (n_ NumberFormatter) GroupingSize() uint

func (NumberFormatter) HasThousandSeparators

func (n_ NumberFormatter) HasThousandSeparators() bool

func (NumberFormatter) Init added in v0.11.0

func (n_ NumberFormatter) Init() NumberFormatter

func (NumberFormatter) InternationalCurrencySymbol

func (n_ NumberFormatter) InternationalCurrencySymbol() string

func (NumberFormatter) IsLenient

func (n_ NumberFormatter) IsLenient() bool

func (NumberFormatter) IsPartialStringValidationEnabled

func (n_ NumberFormatter) IsPartialStringValidationEnabled() bool

func (NumberFormatter) Locale

func (n_ NumberFormatter) Locale() Locale

func (NumberFormatter) LocalizesFormat

func (n_ NumberFormatter) LocalizesFormat() bool

func (NumberFormatter) Maximum

func (n_ NumberFormatter) Maximum() Number

func (NumberFormatter) MaximumFractionDigits

func (n_ NumberFormatter) MaximumFractionDigits() uint

func (NumberFormatter) MaximumIntegerDigits

func (n_ NumberFormatter) MaximumIntegerDigits() uint

func (NumberFormatter) MaximumSignificantDigits

func (n_ NumberFormatter) MaximumSignificantDigits() uint

func (NumberFormatter) Minimum

func (n_ NumberFormatter) Minimum() Number

func (NumberFormatter) MinimumFractionDigits

func (n_ NumberFormatter) MinimumFractionDigits() uint

func (NumberFormatter) MinimumIntegerDigits

func (n_ NumberFormatter) MinimumIntegerDigits() uint

func (NumberFormatter) MinimumSignificantDigits

func (n_ NumberFormatter) MinimumSignificantDigits() uint

func (NumberFormatter) MinusSign

func (n_ NumberFormatter) MinusSign() string

func (NumberFormatter) Multiplier

func (n_ NumberFormatter) Multiplier() Number

func (NumberFormatter) NegativeFormat

func (n_ NumberFormatter) NegativeFormat() string

func (NumberFormatter) NegativeInfinitySymbol

func (n_ NumberFormatter) NegativeInfinitySymbol() string

func (NumberFormatter) NegativePrefix

func (n_ NumberFormatter) NegativePrefix() string

func (NumberFormatter) NegativeSuffix

func (n_ NumberFormatter) NegativeSuffix() string

func (NumberFormatter) NilSymbol

func (n_ NumberFormatter) NilSymbol() string

func (NumberFormatter) NotANumberSymbol

func (n_ NumberFormatter) NotANumberSymbol() string

func (NumberFormatter) NumberFromString

func (n_ NumberFormatter) NumberFromString(string_ string) Number

func (NumberFormatter) NumberStyle

func (n_ NumberFormatter) NumberStyle() NumberFormatterStyle

func (NumberFormatter) PaddingCharacter

func (n_ NumberFormatter) PaddingCharacter() string

func (NumberFormatter) PaddingPosition

func (n_ NumberFormatter) PaddingPosition() NumberFormatterPadPosition

func (NumberFormatter) PerMillSymbol

func (n_ NumberFormatter) PerMillSymbol() string

func (NumberFormatter) PercentSymbol

func (n_ NumberFormatter) PercentSymbol() string

func (NumberFormatter) PlusSign

func (n_ NumberFormatter) PlusSign() string

func (NumberFormatter) PositiveFormat

func (n_ NumberFormatter) PositiveFormat() string

func (NumberFormatter) PositiveInfinitySymbol

func (n_ NumberFormatter) PositiveInfinitySymbol() string

func (NumberFormatter) PositivePrefix

func (n_ NumberFormatter) PositivePrefix() string

func (NumberFormatter) PositiveSuffix

func (n_ NumberFormatter) PositiveSuffix() string

func (NumberFormatter) RoundingBehavior

func (n_ NumberFormatter) RoundingBehavior() DecimalNumberHandler

func (NumberFormatter) RoundingIncrement

func (n_ NumberFormatter) RoundingIncrement() Number

func (NumberFormatter) RoundingMode

func (n_ NumberFormatter) RoundingMode() NumberFormatterRoundingMode

func (NumberFormatter) SecondaryGroupingSize

func (n_ NumberFormatter) SecondaryGroupingSize() uint

func (NumberFormatter) SetAllowsFloats

func (n_ NumberFormatter) SetAllowsFloats(value bool)

func (NumberFormatter) SetAlwaysShowsDecimalSeparator

func (n_ NumberFormatter) SetAlwaysShowsDecimalSeparator(value bool)

func (NumberFormatter) SetAttributedStringForNil

func (n_ NumberFormatter) SetAttributedStringForNil(value IAttributedString)

func (NumberFormatter) SetAttributedStringForNotANumber

func (n_ NumberFormatter) SetAttributedStringForNotANumber(value IAttributedString)

func (NumberFormatter) SetAttributedStringForZero

func (n_ NumberFormatter) SetAttributedStringForZero(value IAttributedString)

func (NumberFormatter) SetCurrencyCode

func (n_ NumberFormatter) SetCurrencyCode(value string)

func (NumberFormatter) SetCurrencyDecimalSeparator

func (n_ NumberFormatter) SetCurrencyDecimalSeparator(value string)

func (NumberFormatter) SetCurrencyGroupingSeparator

func (n_ NumberFormatter) SetCurrencyGroupingSeparator(value string)

func (NumberFormatter) SetCurrencySymbol

func (n_ NumberFormatter) SetCurrencySymbol(value string)

func (NumberFormatter) SetDecimalSeparator

func (n_ NumberFormatter) SetDecimalSeparator(value string)

func (NumberFormatter) SetExponentSymbol

func (n_ NumberFormatter) SetExponentSymbol(value string)

func (NumberFormatter) SetFormat

func (n_ NumberFormatter) SetFormat(value string)

func (NumberFormatter) SetFormatWidth

func (n_ NumberFormatter) SetFormatWidth(value uint)

func (NumberFormatter) SetFormatterBehavior

func (n_ NumberFormatter) SetFormatterBehavior(value NumberFormatterBehavior)

func (NumberFormatter) SetFormattingContext

func (n_ NumberFormatter) SetFormattingContext(value FormattingContext)

func (NumberFormatter) SetGeneratesDecimalNumbers

func (n_ NumberFormatter) SetGeneratesDecimalNumbers(value bool)

func (NumberFormatter) SetGroupingSeparator

func (n_ NumberFormatter) SetGroupingSeparator(value string)

func (NumberFormatter) SetGroupingSize

func (n_ NumberFormatter) SetGroupingSize(value uint)

func (NumberFormatter) SetHasThousandSeparators

func (n_ NumberFormatter) SetHasThousandSeparators(value bool)

func (NumberFormatter) SetInternationalCurrencySymbol

func (n_ NumberFormatter) SetInternationalCurrencySymbol(value string)

func (NumberFormatter) SetLenient

func (n_ NumberFormatter) SetLenient(value bool)

func (NumberFormatter) SetLocale

func (n_ NumberFormatter) SetLocale(value ILocale)

func (NumberFormatter) SetLocalizesFormat

func (n_ NumberFormatter) SetLocalizesFormat(value bool)

func (NumberFormatter) SetMaximum

func (n_ NumberFormatter) SetMaximum(value INumber)

func (NumberFormatter) SetMaximumFractionDigits

func (n_ NumberFormatter) SetMaximumFractionDigits(value uint)

func (NumberFormatter) SetMaximumIntegerDigits

func (n_ NumberFormatter) SetMaximumIntegerDigits(value uint)

func (NumberFormatter) SetMaximumSignificantDigits

func (n_ NumberFormatter) SetMaximumSignificantDigits(value uint)

func (NumberFormatter) SetMinimum

func (n_ NumberFormatter) SetMinimum(value INumber)

func (NumberFormatter) SetMinimumFractionDigits

func (n_ NumberFormatter) SetMinimumFractionDigits(value uint)

func (NumberFormatter) SetMinimumIntegerDigits

func (n_ NumberFormatter) SetMinimumIntegerDigits(value uint)

func (NumberFormatter) SetMinimumSignificantDigits

func (n_ NumberFormatter) SetMinimumSignificantDigits(value uint)

func (NumberFormatter) SetMinusSign

func (n_ NumberFormatter) SetMinusSign(value string)

func (NumberFormatter) SetMultiplier

func (n_ NumberFormatter) SetMultiplier(value INumber)

func (NumberFormatter) SetNegativeFormat

func (n_ NumberFormatter) SetNegativeFormat(value string)

func (NumberFormatter) SetNegativeInfinitySymbol

func (n_ NumberFormatter) SetNegativeInfinitySymbol(value string)

func (NumberFormatter) SetNegativePrefix

func (n_ NumberFormatter) SetNegativePrefix(value string)

func (NumberFormatter) SetNegativeSuffix

func (n_ NumberFormatter) SetNegativeSuffix(value string)

func (NumberFormatter) SetNilSymbol

func (n_ NumberFormatter) SetNilSymbol(value string)

func (NumberFormatter) SetNotANumberSymbol

func (n_ NumberFormatter) SetNotANumberSymbol(value string)

func (NumberFormatter) SetNumberStyle

func (n_ NumberFormatter) SetNumberStyle(value NumberFormatterStyle)

func (NumberFormatter) SetPaddingCharacter

func (n_ NumberFormatter) SetPaddingCharacter(value string)

func (NumberFormatter) SetPaddingPosition

func (n_ NumberFormatter) SetPaddingPosition(value NumberFormatterPadPosition)

func (NumberFormatter) SetPartialStringValidationEnabled

func (n_ NumberFormatter) SetPartialStringValidationEnabled(value bool)

func (NumberFormatter) SetPerMillSymbol

func (n_ NumberFormatter) SetPerMillSymbol(value string)

func (NumberFormatter) SetPercentSymbol

func (n_ NumberFormatter) SetPercentSymbol(value string)

func (NumberFormatter) SetPlusSign

func (n_ NumberFormatter) SetPlusSign(value string)

func (NumberFormatter) SetPositiveFormat

func (n_ NumberFormatter) SetPositiveFormat(value string)

func (NumberFormatter) SetPositiveInfinitySymbol

func (n_ NumberFormatter) SetPositiveInfinitySymbol(value string)

func (NumberFormatter) SetPositivePrefix

func (n_ NumberFormatter) SetPositivePrefix(value string)

func (NumberFormatter) SetPositiveSuffix

func (n_ NumberFormatter) SetPositiveSuffix(value string)

func (NumberFormatter) SetRoundingBehavior

func (n_ NumberFormatter) SetRoundingBehavior(value IDecimalNumberHandler)

func (NumberFormatter) SetRoundingIncrement

func (n_ NumberFormatter) SetRoundingIncrement(value INumber)

func (NumberFormatter) SetRoundingMode

func (n_ NumberFormatter) SetRoundingMode(value NumberFormatterRoundingMode)

func (NumberFormatter) SetSecondaryGroupingSize

func (n_ NumberFormatter) SetSecondaryGroupingSize(value uint)

func (NumberFormatter) SetTextAttributesForNegativeInfinity

func (n_ NumberFormatter) SetTextAttributesForNegativeInfinity(value map[string]objc.IObject)

func (NumberFormatter) SetTextAttributesForNegativeValues

func (n_ NumberFormatter) SetTextAttributesForNegativeValues(value map[string]objc.IObject)

func (NumberFormatter) SetTextAttributesForNil

func (n_ NumberFormatter) SetTextAttributesForNil(value map[string]objc.IObject)

func (NumberFormatter) SetTextAttributesForNotANumber

func (n_ NumberFormatter) SetTextAttributesForNotANumber(value map[string]objc.IObject)

func (NumberFormatter) SetTextAttributesForPositiveInfinity

func (n_ NumberFormatter) SetTextAttributesForPositiveInfinity(value map[string]objc.IObject)

func (NumberFormatter) SetTextAttributesForPositiveValues

func (n_ NumberFormatter) SetTextAttributesForPositiveValues(value map[string]objc.IObject)

func (NumberFormatter) SetTextAttributesForZero

func (n_ NumberFormatter) SetTextAttributesForZero(value map[string]objc.IObject)

func (NumberFormatter) SetThousandSeparator

func (n_ NumberFormatter) SetThousandSeparator(value string)

func (NumberFormatter) SetUsesGroupingSeparator

func (n_ NumberFormatter) SetUsesGroupingSeparator(value bool)

func (NumberFormatter) SetUsesSignificantDigits

func (n_ NumberFormatter) SetUsesSignificantDigits(value bool)

func (NumberFormatter) SetZeroSymbol

func (n_ NumberFormatter) SetZeroSymbol(value string)

func (NumberFormatter) StringFromNumber

func (n_ NumberFormatter) StringFromNumber(number INumber) string

func (NumberFormatter) TextAttributesForNegativeInfinity

func (n_ NumberFormatter) TextAttributesForNegativeInfinity() map[string]objc.Object

func (NumberFormatter) TextAttributesForNegativeValues

func (n_ NumberFormatter) TextAttributesForNegativeValues() map[string]objc.Object

func (NumberFormatter) TextAttributesForNil

func (n_ NumberFormatter) TextAttributesForNil() map[string]objc.Object

func (NumberFormatter) TextAttributesForNotANumber

func (n_ NumberFormatter) TextAttributesForNotANumber() map[string]objc.Object

func (NumberFormatter) TextAttributesForPositiveInfinity

func (n_ NumberFormatter) TextAttributesForPositiveInfinity() map[string]objc.Object

func (NumberFormatter) TextAttributesForPositiveValues

func (n_ NumberFormatter) TextAttributesForPositiveValues() map[string]objc.Object

func (NumberFormatter) TextAttributesForZero

func (n_ NumberFormatter) TextAttributesForZero() map[string]objc.Object

func (NumberFormatter) ThousandSeparator

func (n_ NumberFormatter) ThousandSeparator() string

func (NumberFormatter) UsesGroupingSeparator

func (n_ NumberFormatter) UsesGroupingSeparator() bool

func (NumberFormatter) UsesSignificantDigits

func (n_ NumberFormatter) UsesSignificantDigits() bool

func (NumberFormatter) ZeroSymbol

func (n_ NumberFormatter) ZeroSymbol() string

type NumberFormatterBehavior

type NumberFormatterBehavior uint
const NumberFormatterBehavior10_0 NumberFormatterBehavior = 1000
const NumberFormatterBehavior10_4 NumberFormatterBehavior = 1040
const NumberFormatterBehaviorDefault NumberFormatterBehavior = 0

type NumberFormatterPadPosition

type NumberFormatterPadPosition uint
const NumberFormatterPadAfterPrefix NumberFormatterPadPosition = 1
const NumberFormatterPadAfterSuffix NumberFormatterPadPosition = 3
const NumberFormatterPadBeforePrefix NumberFormatterPadPosition = 0
const NumberFormatterPadBeforeSuffix NumberFormatterPadPosition = 2

type NumberFormatterRoundingMode

type NumberFormatterRoundingMode uint
const NumberFormatterRoundCeiling NumberFormatterRoundingMode = 0
const NumberFormatterRoundDown NumberFormatterRoundingMode = 2
const NumberFormatterRoundFloor NumberFormatterRoundingMode = 1
const NumberFormatterRoundHalfDown NumberFormatterRoundingMode = 5
const NumberFormatterRoundHalfEven NumberFormatterRoundingMode = 4
const NumberFormatterRoundHalfUp NumberFormatterRoundingMode = 6
const NumberFormatterRoundUp NumberFormatterRoundingMode = 3

type NumberFormatterStyle

type NumberFormatterStyle uint
const NumberFormatterCurrencyAccountingStyle NumberFormatterStyle = 10
const NumberFormatterCurrencyISOCodeStyle NumberFormatterStyle = 8
const NumberFormatterCurrencyPluralStyle NumberFormatterStyle = 9
const NumberFormatterCurrencyStyle NumberFormatterStyle = 2
const NumberFormatterDecimalStyle NumberFormatterStyle = 1
const NumberFormatterNoStyle NumberFormatterStyle = 0
const NumberFormatterOrdinalStyle NumberFormatterStyle = 6
const NumberFormatterPercentStyle NumberFormatterStyle = 3
const NumberFormatterScientificStyle NumberFormatterStyle = 4
const NumberFormatterSpellOutStyle NumberFormatterStyle = 5

type Operation

type Operation struct {
	objc.Object
}

func MakeOperation

func MakeOperation(ptr unsafe.Pointer) Operation

func NewOperation

func NewOperation() Operation

func (Operation) AddDependency

func (o_ Operation) AddDependency(op IOperation)

func (Operation) Cancel

func (o_ Operation) Cancel()

func (Operation) CompletionBlock added in v0.13.3

func (o_ Operation) CompletionBlock() func()

func (Operation) Dependencies

func (o_ Operation) Dependencies() []Operation

func (Operation) Init added in v0.11.0

func (o_ Operation) Init() Operation

func (Operation) IsAsynchronous

func (o_ Operation) IsAsynchronous() bool

func (Operation) IsCancelled

func (o_ Operation) IsCancelled() bool

func (Operation) IsConcurrent

func (o_ Operation) IsConcurrent() bool

func (Operation) IsExecuting

func (o_ Operation) IsExecuting() bool

func (Operation) IsFinished

func (o_ Operation) IsFinished() bool

func (Operation) IsReady

func (o_ Operation) IsReady() bool

func (Operation) Main

func (o_ Operation) Main()

func (Operation) Name

func (o_ Operation) Name() string

func (Operation) QualityOfService

func (o_ Operation) QualityOfService() QualityOfService

func (Operation) QueuePriority

func (o_ Operation) QueuePriority() OperationQueuePriority

func (Operation) RemoveDependency

func (o_ Operation) RemoveDependency(op IOperation)

func (Operation) SetCompletionBlock added in v0.13.3

func (o_ Operation) SetCompletionBlock(value func())

func (Operation) SetName

func (o_ Operation) SetName(value string)

func (Operation) SetQualityOfService

func (o_ Operation) SetQualityOfService(value QualityOfService)

func (Operation) SetQueuePriority

func (o_ Operation) SetQueuePriority(value OperationQueuePriority)

func (Operation) SetThreadPriority added in v0.14.5

func (o_ Operation) SetThreadPriority(value float64)

deprecated

func (Operation) Start

func (o_ Operation) Start()

func (Operation) ThreadPriority added in v0.14.5

func (o_ Operation) ThreadPriority() float64

deprecated

func (Operation) WaitUntilFinished

func (o_ Operation) WaitUntilFinished()

type OperationQueue

type OperationQueue struct {
	objc.Object
}

func MakeOperationQueue

func MakeOperationQueue(ptr unsafe.Pointer) OperationQueue

func NewOperationQueue

func NewOperationQueue() OperationQueue

func (OperationQueue) AddBarrierBlock added in v0.13.3

func (o_ OperationQueue) AddBarrierBlock(barrier func())

func (OperationQueue) AddOperation

func (o_ OperationQueue) AddOperation(op IOperation)

func (OperationQueue) AddOperationWithBlock added in v0.13.3

func (o_ OperationQueue) AddOperationWithBlock(block func())

func (OperationQueue) AddOperations_WaitUntilFinished

func (o_ OperationQueue) AddOperations_WaitUntilFinished(ops []IOperation, wait bool)

func (OperationQueue) CancelAllOperations

func (o_ OperationQueue) CancelAllOperations()

func (OperationQueue) Init added in v0.11.0

func (o_ OperationQueue) Init() OperationQueue

func (OperationQueue) IsSuspended

func (o_ OperationQueue) IsSuspended() bool

func (OperationQueue) MaxConcurrentOperationCount

func (o_ OperationQueue) MaxConcurrentOperationCount() int

func (OperationQueue) Name

func (o_ OperationQueue) Name() string

func (OperationQueue) OperationCount added in v0.14.5

func (o_ OperationQueue) OperationCount() uint

deprecated

func (OperationQueue) Operations added in v0.14.5

func (o_ OperationQueue) Operations() []Operation

deprecated

func (OperationQueue) Progress

func (o_ OperationQueue) Progress() Progress

func (OperationQueue) QualityOfService

func (o_ OperationQueue) QualityOfService() QualityOfService

func (OperationQueue) SetMaxConcurrentOperationCount

func (o_ OperationQueue) SetMaxConcurrentOperationCount(value int)

func (OperationQueue) SetName

func (o_ OperationQueue) SetName(value string)

func (OperationQueue) SetQualityOfService

func (o_ OperationQueue) SetQualityOfService(value QualityOfService)

func (OperationQueue) SetSuspended

func (o_ OperationQueue) SetSuspended(value bool)

func (OperationQueue) WaitUntilAllOperationsAreFinished

func (o_ OperationQueue) WaitUntilAllOperationsAreFinished()

type OperationQueuePriority

type OperationQueuePriority int
const OperationQueuePriorityHigh OperationQueuePriority = 4
const OperationQueuePriorityLow OperationQueuePriority = -4
const OperationQueuePriorityNormal OperationQueuePriority = 0
const OperationQueuePriorityVeryHigh OperationQueuePriority = 8
const OperationQueuePriorityVeryLow OperationQueuePriority = -8

type Orthography

type Orthography struct {
	objc.Object
}

func MakeOrthography

func MakeOrthography(ptr unsafe.Pointer) Orthography

func NewOrthography

func NewOrthography() Orthography

func (Orthography) AllLanguages

func (o_ Orthography) AllLanguages() []string

func (Orthography) AllScripts

func (o_ Orthography) AllScripts() []string

func (Orthography) DominantLanguage

func (o_ Orthography) DominantLanguage() string

func (Orthography) DominantLanguageForScript

func (o_ Orthography) DominantLanguageForScript(script string) string

func (Orthography) DominantScript

func (o_ Orthography) DominantScript() string

func (Orthography) Init added in v0.11.0

func (o_ Orthography) Init() Orthography

func (Orthography) InitWithDominantScript_LanguageMap added in v0.13.3

func (o_ Orthography) InitWithDominantScript_LanguageMap(script string, map_ map[string][]string) Orthography

func (Orthography) LanguageMap added in v0.13.3

func (o_ Orthography) LanguageMap() map[string][]string

func (Orthography) LanguagesForScript

func (o_ Orthography) LanguagesForScript(script string) []string

type OutputStream added in v0.13.0

type OutputStream struct {
	Stream
}

func MakeOutputStream added in v0.13.0

func MakeOutputStream(ptr unsafe.Pointer) OutputStream

func NewOutputStream added in v0.13.0

func NewOutputStream() OutputStream

func (OutputStream) HasSpaceAvailable added in v0.13.0

func (o_ OutputStream) HasSpaceAvailable() bool

func (OutputStream) Init added in v0.13.0

func (o_ OutputStream) Init() OutputStream

func (OutputStream) InitToFileAtPath_Append added in v0.13.0

func (o_ OutputStream) InitToFileAtPath_Append(path string, shouldAppend bool) OutputStream

func (OutputStream) InitToMemory added in v0.13.0

func (o_ OutputStream) InitToMemory() OutputStream

func (OutputStream) InitWithURL_Append added in v0.13.0

func (o_ OutputStream) InitWithURL_Append(url IURL, shouldAppend bool) OutputStream

type PersonNameComponents

type PersonNameComponents struct {
	objc.Object
}

func MakePersonNameComponents

func MakePersonNameComponents(ptr unsafe.Pointer) PersonNameComponents

func NewPersonNameComponents

func NewPersonNameComponents() PersonNameComponents

func (PersonNameComponents) FamilyName

func (p_ PersonNameComponents) FamilyName() string

func (PersonNameComponents) GivenName

func (p_ PersonNameComponents) GivenName() string

func (PersonNameComponents) Init added in v0.11.0

func (PersonNameComponents) MiddleName

func (p_ PersonNameComponents) MiddleName() string

func (PersonNameComponents) NamePrefix

func (p_ PersonNameComponents) NamePrefix() string

func (PersonNameComponents) NameSuffix

func (p_ PersonNameComponents) NameSuffix() string

func (PersonNameComponents) Nickname

func (p_ PersonNameComponents) Nickname() string

func (PersonNameComponents) PhoneticRepresentation

func (p_ PersonNameComponents) PhoneticRepresentation() PersonNameComponents

func (PersonNameComponents) SetFamilyName

func (p_ PersonNameComponents) SetFamilyName(value string)

func (PersonNameComponents) SetGivenName

func (p_ PersonNameComponents) SetGivenName(value string)

func (PersonNameComponents) SetMiddleName

func (p_ PersonNameComponents) SetMiddleName(value string)

func (PersonNameComponents) SetNamePrefix

func (p_ PersonNameComponents) SetNamePrefix(value string)

func (PersonNameComponents) SetNameSuffix

func (p_ PersonNameComponents) SetNameSuffix(value string)

func (PersonNameComponents) SetNickname

func (p_ PersonNameComponents) SetNickname(value string)

func (PersonNameComponents) SetPhoneticRepresentation

func (p_ PersonNameComponents) SetPhoneticRepresentation(value IPersonNameComponents)

type PersonNameComponentsFormatter

type PersonNameComponentsFormatter struct {
	Formatter
}

func MakePersonNameComponentsFormatter

func MakePersonNameComponentsFormatter(ptr unsafe.Pointer) PersonNameComponentsFormatter

func NewPersonNameComponentsFormatter

func NewPersonNameComponentsFormatter() PersonNameComponentsFormatter

func (PersonNameComponentsFormatter) AnnotatedStringFromPersonNameComponents

func (p_ PersonNameComponentsFormatter) AnnotatedStringFromPersonNameComponents(components IPersonNameComponents) AttributedString

func (PersonNameComponentsFormatter) Init added in v0.11.0

func (PersonNameComponentsFormatter) IsPhonetic

func (p_ PersonNameComponentsFormatter) IsPhonetic() bool

func (PersonNameComponentsFormatter) Locale added in v0.12.0

func (PersonNameComponentsFormatter) PersonNameComponentsFromString

func (p_ PersonNameComponentsFormatter) PersonNameComponentsFromString(string_ string) PersonNameComponents

func (PersonNameComponentsFormatter) SetLocale added in v0.12.0

func (p_ PersonNameComponentsFormatter) SetLocale(value ILocale)

func (PersonNameComponentsFormatter) SetPhonetic

func (p_ PersonNameComponentsFormatter) SetPhonetic(value bool)

func (PersonNameComponentsFormatter) SetStyle

func (PersonNameComponentsFormatter) StringFromPersonNameComponents

func (p_ PersonNameComponentsFormatter) StringFromPersonNameComponents(components IPersonNameComponents) string

func (PersonNameComponentsFormatter) Style

type PersonNameComponentsFormatterOptions

type PersonNameComponentsFormatterOptions uint
const PersonNameComponentsFormatterPhonetic PersonNameComponentsFormatterOptions = 2

type PersonNameComponentsFormatterStyle

type PersonNameComponentsFormatterStyle int
const PersonNameComponentsFormatterStyleAbbreviated PersonNameComponentsFormatterStyle = 4
const PersonNameComponentsFormatterStyleDefault PersonNameComponentsFormatterStyle = 0
const PersonNameComponentsFormatterStyleLong PersonNameComponentsFormatterStyle = 3
const PersonNameComponentsFormatterStyleMedium PersonNameComponentsFormatterStyle = 2
const PersonNameComponentsFormatterStyleShort PersonNameComponentsFormatterStyle = 1

type Point

type Point = coregraphics.Point

type Port added in v0.13.0

type Port struct {
	objc.Object
}

func MakePort added in v0.13.0

func MakePort(ptr unsafe.Pointer) Port

func NewPort added in v0.13.0

func NewPort() Port

func (Port) Delegate added in v0.13.0

func (p_ Port) Delegate() objc.Object

func (Port) Init added in v0.13.0

func (p_ Port) Init() Port

func (Port) Invalidate added in v0.13.0

func (p_ Port) Invalidate()

func (Port) IsValid added in v0.13.0

func (p_ Port) IsValid() bool

func (Port) RemoveFromRunLoop_ForMode added in v0.13.0

func (p_ Port) RemoveFromRunLoop_ForMode(runLoop IRunLoop, mode RunLoopMode)

func (Port) ReservedSpaceLength added in v0.13.0

func (p_ Port) ReservedSpaceLength() uint

func (Port) ScheduleInRunLoop_ForMode added in v0.13.0

func (p_ Port) ScheduleInRunLoop_ForMode(runLoop IRunLoop, mode RunLoopMode)

func (Port) SetDelegate added in v0.13.0

func (p_ Port) SetDelegate(anObject objc.IObject)

type PortDelegate added in v0.13.0

type PortDelegate interface {
}

type PortDelegateBase added in v0.18.0

type PortDelegateBase struct {
}

type PortDelegateCreator added in v0.19.0

type PortDelegateCreator struct {
	// contains filtered or unexported fields
}

func NewPortDelegateCreator added in v0.19.0

func NewPortDelegateCreator(name string) *PortDelegateCreator

func (*PortDelegateCreator) Create added in v0.19.0

type Predicate

type Predicate struct {
	objc.Object
}

func MakePredicate

func MakePredicate(ptr unsafe.Pointer) Predicate

func NewPredicate

func NewPredicate() Predicate

func (Predicate) AllowEvaluation

func (p_ Predicate) AllowEvaluation()

func (Predicate) EvaluateWithObject

func (p_ Predicate) EvaluateWithObject(object objc.IObject) bool

func (Predicate) EvaluateWithObject_SubstitutionVariables

func (p_ Predicate) EvaluateWithObject_SubstitutionVariables(object objc.IObject, bindings map[string]objc.IObject) bool

func (Predicate) Init added in v0.11.0

func (p_ Predicate) Init() Predicate

func (Predicate) PredicateFormat

func (p_ Predicate) PredicateFormat() string

func (Predicate) PredicateWithSubstitutionVariables added in v0.11.0

func (p_ Predicate) PredicateWithSubstitutionVariables(variables map[string]objc.IObject) Predicate

type Progress

type Progress struct {
	objc.Object
}

func MakeProgress

func MakeProgress(ptr unsafe.Pointer) Progress

func NewProgress

func NewProgress() Progress

func (Progress) AddChild_WithPendingUnitCount

func (p_ Progress) AddChild_WithPendingUnitCount(child IProgress, inUnitCount int64)

func (Progress) BecomeCurrentWithPendingUnitCount

func (p_ Progress) BecomeCurrentWithPendingUnitCount(unitCount int64)

func (Progress) Cancel

func (p_ Progress) Cancel()

func (Progress) CancellationHandler added in v0.13.3

func (p_ Progress) CancellationHandler() func()

func (Progress) CompletedUnitCount

func (p_ Progress) CompletedUnitCount() int64

func (Progress) EstimatedTimeRemaining

func (p_ Progress) EstimatedTimeRemaining() Number

func (Progress) FileCompletedCount

func (p_ Progress) FileCompletedCount() Number

func (Progress) FileOperationKind

func (p_ Progress) FileOperationKind() ProgressFileOperationKind

func (Progress) FileTotalCount

func (p_ Progress) FileTotalCount() Number

func (Progress) FileURL

func (p_ Progress) FileURL() URL

func (Progress) FractionCompleted

func (p_ Progress) FractionCompleted() float64

func (Progress) Init added in v0.11.0

func (p_ Progress) Init() Progress

func (Progress) InitWithParent_UserInfo added in v0.11.0

func (p_ Progress) InitWithParent_UserInfo(parentProgressOrNil IProgress, userInfoOrNil map[ProgressUserInfoKey]objc.IObject) Progress

func (Progress) IsCancellable

func (p_ Progress) IsCancellable() bool

func (Progress) IsCancelled

func (p_ Progress) IsCancelled() bool

func (Progress) IsFinished

func (p_ Progress) IsFinished() bool

func (Progress) IsIndeterminate

func (p_ Progress) IsIndeterminate() bool

func (Progress) IsOld

func (p_ Progress) IsOld() bool

func (Progress) IsPausable

func (p_ Progress) IsPausable() bool

func (Progress) IsPaused

func (p_ Progress) IsPaused() bool

func (Progress) Kind

func (p_ Progress) Kind() ProgressKind

func (Progress) LocalizedAdditionalDescription

func (p_ Progress) LocalizedAdditionalDescription() string

func (Progress) LocalizedDescription

func (p_ Progress) LocalizedDescription() string

func (Progress) Pause

func (p_ Progress) Pause()

func (Progress) PausingHandler added in v0.13.3

func (p_ Progress) PausingHandler() func()

func (Progress) PerformAsCurrentWithPendingUnitCount_UsingBlock added in v0.13.3

func (p_ Progress) PerformAsCurrentWithPendingUnitCount_UsingBlock(unitCount int64, work func())

func (Progress) Publish

func (p_ Progress) Publish()

func (Progress) ResignCurrent

func (p_ Progress) ResignCurrent()

func (Progress) Resume

func (p_ Progress) Resume()

func (Progress) ResumingHandler added in v0.13.3

func (p_ Progress) ResumingHandler() func()

func (Progress) SetCancellable

func (p_ Progress) SetCancellable(value bool)

func (Progress) SetCancellationHandler added in v0.13.3

func (p_ Progress) SetCancellationHandler(value func())

func (Progress) SetCompletedUnitCount

func (p_ Progress) SetCompletedUnitCount(value int64)

func (Progress) SetEstimatedTimeRemaining

func (p_ Progress) SetEstimatedTimeRemaining(value INumber)

func (Progress) SetFileCompletedCount

func (p_ Progress) SetFileCompletedCount(value INumber)

func (Progress) SetFileOperationKind

func (p_ Progress) SetFileOperationKind(value ProgressFileOperationKind)

func (Progress) SetFileTotalCount

func (p_ Progress) SetFileTotalCount(value INumber)

func (Progress) SetFileURL

func (p_ Progress) SetFileURL(value IURL)

func (Progress) SetKind

func (p_ Progress) SetKind(value ProgressKind)

func (Progress) SetLocalizedAdditionalDescription

func (p_ Progress) SetLocalizedAdditionalDescription(value string)

func (Progress) SetLocalizedDescription

func (p_ Progress) SetLocalizedDescription(value string)

func (Progress) SetPausable

func (p_ Progress) SetPausable(value bool)

func (Progress) SetPausingHandler added in v0.13.3

func (p_ Progress) SetPausingHandler(value func())

func (Progress) SetResumingHandler added in v0.13.3

func (p_ Progress) SetResumingHandler(value func())

func (Progress) SetThroughput

func (p_ Progress) SetThroughput(value INumber)

func (Progress) SetTotalUnitCount

func (p_ Progress) SetTotalUnitCount(value int64)

func (Progress) SetUserInfoObject_ForKey

func (p_ Progress) SetUserInfoObject_ForKey(objectOrNil objc.IObject, key ProgressUserInfoKey)

func (Progress) Throughput

func (p_ Progress) Throughput() Number

func (Progress) TotalUnitCount

func (p_ Progress) TotalUnitCount() int64

func (Progress) Unpublish

func (p_ Progress) Unpublish()

func (Progress) UserInfo

func (p_ Progress) UserInfo() map[ProgressUserInfoKey]objc.Object

type ProgressFileOperationKind

type ProgressFileOperationKind string
const ProgressFileOperationKindCopying ProgressFileOperationKind = "NSProgressFileOperationKindCopying"
const ProgressFileOperationKindDecompressingAfterDownloading ProgressFileOperationKind = "NSProgressFileOperationKindDecompressingAfterDownloading"
const ProgressFileOperationKindDownloading ProgressFileOperationKind = "NSProgressFileOperationKindDownloading"
const ProgressFileOperationKindDuplicating ProgressFileOperationKind = "NSProgressFileOperationKindDuplicating"
const ProgressFileOperationKindReceiving ProgressFileOperationKind = "NSProgressFileOperationKindReceiving"
const ProgressFileOperationKindUploading ProgressFileOperationKind = "NSProgressFileOperationKindUploading"

type ProgressKind

type ProgressKind string
const ProgressKindFile ProgressKind = "NSProgressKindFile"

type ProgressUserInfoKey

type ProgressUserInfoKey string
const ProgressEstimatedTimeRemainingKey ProgressUserInfoKey = "NSProgressEstimatedTimeRemainingKey"
const ProgressFileAnimationImageKey ProgressUserInfoKey = "NSProgressFlyToImageKey"
const ProgressFileAnimationImageOriginalRectKey ProgressUserInfoKey = "NSProgressFileAnimationImageOriginalRectKey"
const ProgressFileCompletedCountKey ProgressUserInfoKey = "NSProgressFileCompletedCountKey"
const ProgressFileIconKey ProgressUserInfoKey = "NSProgressFileIconKey"
const ProgressFileOperationKindKey ProgressUserInfoKey = "NSProgressFileOperationKindKey"
const ProgressFileTotalCountKey ProgressUserInfoKey = "NSProgressFileTotalCountKey"
const ProgressFileURLKey ProgressUserInfoKey = "NSProgressFileURLKey"
const ProgressThroughputKey ProgressUserInfoKey = "NSProgressThroughputKey"

type QualityOfService

type QualityOfService int
const QualityOfServiceBackground QualityOfService = 9
const QualityOfServiceDefault QualityOfService = -1
const QualityOfServiceUserInitiated QualityOfService = 25
const QualityOfServiceUserInteractive QualityOfService = 33
const QualityOfServiceUtility QualityOfService = 17

type Range

type Range struct {
	Location objc.UInteger
	Length   objc.UInteger
}

type Rect

type Rect = coregraphics.Rect

type RectEdge

type RectEdge uint
const MaxXEdge RectEdge = 2
const MaxYEdge RectEdge = 3
const MinXEdge RectEdge = 0
const MinYEdge RectEdge = 1
const RectEdgeMaxX RectEdge = 2
const RectEdgeMaxY RectEdge = 3
const RectEdgeMinX RectEdge = 0
const RectEdgeMinY RectEdge = 1

type RegularExpression

type RegularExpression struct {
	objc.Object
}

func MakeRegularExpression

func MakeRegularExpression(ptr unsafe.Pointer) RegularExpression

func NewRegularExpression

func NewRegularExpression() RegularExpression

func (RegularExpression) EnumerateMatchesInString_Options_Range_UsingBlock added in v0.13.4

func (r_ RegularExpression) EnumerateMatchesInString_Options_Range_UsingBlock(string_ string, options MatchingOptions, range_ Range, block func(result TextCheckingResult, flags MatchingFlags, stop *bool))

func (RegularExpression) FirstMatchInString_Options_Range

func (r_ RegularExpression) FirstMatchInString_Options_Range(string_ string, options MatchingOptions, range_ Range) TextCheckingResult

func (RegularExpression) Init added in v0.11.0

func (RegularExpression) InitWithPattern_Options_Error added in v0.13.3

func (r_ RegularExpression) InitWithPattern_Options_Error(pattern string, options RegularExpressionOptions, error *Error) RegularExpression

func (RegularExpression) MatchesInString_Options_Range

func (r_ RegularExpression) MatchesInString_Options_Range(string_ string, options MatchingOptions, range_ Range) []TextCheckingResult

func (RegularExpression) NumberOfCaptureGroups

func (r_ RegularExpression) NumberOfCaptureGroups() uint

func (RegularExpression) NumberOfMatchesInString_Options_Range

func (r_ RegularExpression) NumberOfMatchesInString_Options_Range(string_ string, options MatchingOptions, range_ Range) uint

func (RegularExpression) Options

func (RegularExpression) Pattern

func (r_ RegularExpression) Pattern() string

func (RegularExpression) RangeOfFirstMatchInString_Options_Range

func (r_ RegularExpression) RangeOfFirstMatchInString_Options_Range(string_ string, options MatchingOptions, range_ Range) Range

func (RegularExpression) ReplacementStringForResult_InString_Offset_Template

func (r_ RegularExpression) ReplacementStringForResult_InString_Offset_Template(result ITextCheckingResult, string_ string, offset int, templ string) string

func (RegularExpression) StringByReplacingMatchesInString_Options_Range_WithTemplate

func (r_ RegularExpression) StringByReplacingMatchesInString_Options_Range_WithTemplate(string_ string, options MatchingOptions, range_ Range, templ string) string

type RegularExpressionOptions

type RegularExpressionOptions uint
const RegularExpressionAllowCommentsAndWhitespace RegularExpressionOptions = 2
const RegularExpressionAnchorsMatchLines RegularExpressionOptions = 16
const RegularExpressionCaseInsensitive RegularExpressionOptions = 1
const RegularExpressionDotMatchesLineSeparators RegularExpressionOptions = 8
const RegularExpressionIgnoreMetacharacters RegularExpressionOptions = 4
const RegularExpressionUseUnicodeWordBoundaries RegularExpressionOptions = 64
const RegularExpressionUseUnixLineSeparators RegularExpressionOptions = 32

type RoundingMode added in v0.12.5

type RoundingMode uint
const RoundBankers RoundingMode = 3
const RoundDown RoundingMode = 1
const RoundPlain RoundingMode = 0
const RoundUp RoundingMode = 2

type RunLoop added in v0.13.0

type RunLoop struct {
	objc.Object
}

func MakeRunLoop added in v0.13.0

func MakeRunLoop(ptr unsafe.Pointer) RunLoop

func NewRunLoop added in v0.13.0

func NewRunLoop() RunLoop

func (RunLoop) AcceptInputForMode_BeforeDate added in v0.13.0

func (r_ RunLoop) AcceptInputForMode_BeforeDate(mode RunLoopMode, limitDate IDate)

func (RunLoop) AddPort_ForMode added in v0.13.0

func (r_ RunLoop) AddPort_ForMode(aPort IPort, mode RunLoopMode)

func (RunLoop) AddTimer_ForMode added in v0.13.0

func (r_ RunLoop) AddTimer_ForMode(timer ITimer, mode RunLoopMode)

func (RunLoop) CancelPerformSelector_Target_Argument added in v0.13.0

func (r_ RunLoop) CancelPerformSelector_Target_Argument(aSelector objc.Selector, target objc.IObject, arg objc.IObject)

func (RunLoop) CancelPerformSelectorsWithTarget added in v0.13.0

func (r_ RunLoop) CancelPerformSelectorsWithTarget(target objc.IObject)

func (RunLoop) ConfigureAsServer added in v0.14.5

func (r_ RunLoop) ConfigureAsServer()

deprecated

func (RunLoop) CurrentMode added in v0.13.0

func (r_ RunLoop) CurrentMode() RunLoopMode

func (RunLoop) Init added in v0.13.0

func (r_ RunLoop) Init() RunLoop

func (RunLoop) LimitDateForMode added in v0.13.0

func (r_ RunLoop) LimitDateForMode(mode RunLoopMode) Date

func (RunLoop) PerformBlock added in v0.13.3

func (r_ RunLoop) PerformBlock(block func())

func (RunLoop) PerformInModes_Block added in v0.13.3

func (r_ RunLoop) PerformInModes_Block(modes []RunLoopMode, block func())

func (RunLoop) PerformSelector_Target_Argument_Order_Modes added in v0.13.0

func (r_ RunLoop) PerformSelector_Target_Argument_Order_Modes(aSelector objc.Selector, target objc.IObject, arg objc.IObject, order uint, modes []RunLoopMode)

func (RunLoop) RemovePort_ForMode added in v0.13.0

func (r_ RunLoop) RemovePort_ForMode(aPort IPort, mode RunLoopMode)

func (RunLoop) Run added in v0.13.0

func (r_ RunLoop) Run()

func (RunLoop) RunMode_BeforeDate added in v0.13.0

func (r_ RunLoop) RunMode_BeforeDate(mode RunLoopMode, limitDate IDate) bool

func (RunLoop) RunUntilDate added in v0.13.0

func (r_ RunLoop) RunUntilDate(limitDate IDate)

type RunLoopMode

type RunLoopMode string
const DefaultRunLoopMode RunLoopMode = "kCFRunLoopDefaultMode"
const RunLoopCommonModes RunLoopMode = "kCFRunLoopCommonModes"

type SaveOptions

type SaveOptions uint
const SaveOptionsAsk SaveOptions = 2
const SaveOptionsNo SaveOptions = 1
const SaveOptionsYes SaveOptions = 0

type ScriptClassDescription

type ScriptClassDescription struct {
	ClassDescription
}

func MakeScriptClassDescription

func MakeScriptClassDescription(ptr unsafe.Pointer) ScriptClassDescription

func NewScriptClassDescription

func NewScriptClassDescription() ScriptClassDescription

func (ScriptClassDescription) ClassDescriptionForKey

func (s_ ScriptClassDescription) ClassDescriptionForKey(key string) ScriptClassDescription

func (ScriptClassDescription) ClassName

func (s_ ScriptClassDescription) ClassName() string

func (ScriptClassDescription) DefaultSubcontainerAttributeKey

func (s_ ScriptClassDescription) DefaultSubcontainerAttributeKey() string

func (ScriptClassDescription) HasOrderedToManyRelationshipForKey

func (s_ ScriptClassDescription) HasOrderedToManyRelationshipForKey(key string) bool

func (ScriptClassDescription) HasPropertyForKey

func (s_ ScriptClassDescription) HasPropertyForKey(key string) bool

func (ScriptClassDescription) HasReadablePropertyForKey

func (s_ ScriptClassDescription) HasReadablePropertyForKey(key string) bool

func (ScriptClassDescription) HasWritablePropertyForKey

func (s_ ScriptClassDescription) HasWritablePropertyForKey(key string) bool

func (ScriptClassDescription) ImplementationClassName

func (s_ ScriptClassDescription) ImplementationClassName() string

func (ScriptClassDescription) Init added in v0.11.0

func (ScriptClassDescription) IsLocationRequiredToCreateForKey

func (s_ ScriptClassDescription) IsLocationRequiredToCreateForKey(toManyRelationshipKey string) bool

func (ScriptClassDescription) IsReadOnlyKey added in v0.14.5

func (s_ ScriptClassDescription) IsReadOnlyKey(key string) bool

deprecated

func (ScriptClassDescription) SelectorForCommand

func (s_ ScriptClassDescription) SelectorForCommand(commandDescription IScriptCommandDescription) objc.Selector

func (ScriptClassDescription) SuiteName

func (s_ ScriptClassDescription) SuiteName() string

func (ScriptClassDescription) SuperclassDescription

func (s_ ScriptClassDescription) SuperclassDescription() ScriptClassDescription

func (ScriptClassDescription) SupportsCommand

func (s_ ScriptClassDescription) SupportsCommand(commandDescription IScriptCommandDescription) bool

func (ScriptClassDescription) TypeForKey

func (s_ ScriptClassDescription) TypeForKey(key string) string

type ScriptCommand

type ScriptCommand struct {
	objc.Object
}

func MakeScriptCommand

func MakeScriptCommand(ptr unsafe.Pointer) ScriptCommand

func NewScriptCommand added in v0.13.0

func NewScriptCommand() ScriptCommand

func (ScriptCommand) AppleEvent

func (s_ ScriptCommand) AppleEvent() AppleEventDescriptor

func (ScriptCommand) Arguments

func (s_ ScriptCommand) Arguments() map[string]objc.Object

func (ScriptCommand) CommandDescription

func (s_ ScriptCommand) CommandDescription() ScriptCommandDescription

func (ScriptCommand) DirectParameter

func (s_ ScriptCommand) DirectParameter() objc.Object

func (ScriptCommand) EvaluatedArguments

func (s_ ScriptCommand) EvaluatedArguments() map[string]objc.Object

func (ScriptCommand) EvaluatedReceivers

func (s_ ScriptCommand) EvaluatedReceivers() objc.Object

func (ScriptCommand) ExecuteCommand

func (s_ ScriptCommand) ExecuteCommand() objc.Object

func (ScriptCommand) Init added in v0.13.0

func (s_ ScriptCommand) Init() ScriptCommand

func (ScriptCommand) InitWithCommandDescription added in v0.11.0

func (s_ ScriptCommand) InitWithCommandDescription(commandDef IScriptCommandDescription) ScriptCommand

func (ScriptCommand) IsWellFormed

func (s_ ScriptCommand) IsWellFormed() bool

func (ScriptCommand) PerformDefaultImplementation

func (s_ ScriptCommand) PerformDefaultImplementation() objc.Object

func (ScriptCommand) ReceiversSpecifier

func (s_ ScriptCommand) ReceiversSpecifier() ScriptObjectSpecifier

func (ScriptCommand) ResumeExecutionWithResult

func (s_ ScriptCommand) ResumeExecutionWithResult(result objc.IObject)

func (ScriptCommand) ScriptErrorExpectedTypeDescriptor

func (s_ ScriptCommand) ScriptErrorExpectedTypeDescriptor() AppleEventDescriptor

func (ScriptCommand) ScriptErrorNumber

func (s_ ScriptCommand) ScriptErrorNumber() int

func (ScriptCommand) ScriptErrorOffendingObjectDescriptor

func (s_ ScriptCommand) ScriptErrorOffendingObjectDescriptor() AppleEventDescriptor

func (ScriptCommand) ScriptErrorString

func (s_ ScriptCommand) ScriptErrorString() string

func (ScriptCommand) SetArguments

func (s_ ScriptCommand) SetArguments(value map[string]objc.IObject)

func (ScriptCommand) SetDirectParameter

func (s_ ScriptCommand) SetDirectParameter(value objc.IObject)

func (ScriptCommand) SetReceiversSpecifier

func (s_ ScriptCommand) SetReceiversSpecifier(value IScriptObjectSpecifier)

func (ScriptCommand) SetScriptErrorExpectedTypeDescriptor

func (s_ ScriptCommand) SetScriptErrorExpectedTypeDescriptor(value IAppleEventDescriptor)

func (ScriptCommand) SetScriptErrorNumber

func (s_ ScriptCommand) SetScriptErrorNumber(value int)

func (ScriptCommand) SetScriptErrorOffendingObjectDescriptor

func (s_ ScriptCommand) SetScriptErrorOffendingObjectDescriptor(value IAppleEventDescriptor)

func (ScriptCommand) SetScriptErrorString

func (s_ ScriptCommand) SetScriptErrorString(value string)

func (ScriptCommand) SuspendExecution

func (s_ ScriptCommand) SuspendExecution()

type ScriptCommandDescription

type ScriptCommandDescription struct {
	objc.Object
}

func MakeScriptCommandDescription

func MakeScriptCommandDescription(ptr unsafe.Pointer) ScriptCommandDescription

func NewScriptCommandDescription added in v0.13.0

func NewScriptCommandDescription() ScriptCommandDescription

func (ScriptCommandDescription) ArgumentNames

func (s_ ScriptCommandDescription) ArgumentNames() []string

func (ScriptCommandDescription) CommandClassName

func (s_ ScriptCommandDescription) CommandClassName() string

func (ScriptCommandDescription) CommandName

func (s_ ScriptCommandDescription) CommandName() string

func (ScriptCommandDescription) CreateCommandInstance

func (s_ ScriptCommandDescription) CreateCommandInstance() ScriptCommand

func (ScriptCommandDescription) Init added in v0.13.0

func (ScriptCommandDescription) IsOptionalArgumentWithName

func (s_ ScriptCommandDescription) IsOptionalArgumentWithName(argumentName string) bool

func (ScriptCommandDescription) ReturnType

func (s_ ScriptCommandDescription) ReturnType() string

func (ScriptCommandDescription) SuiteName

func (s_ ScriptCommandDescription) SuiteName() string

func (ScriptCommandDescription) TypeForArgumentWithName

func (s_ ScriptCommandDescription) TypeForArgumentWithName(argumentName string) string

type ScriptObjectSpecifier

type ScriptObjectSpecifier struct {
	objc.Object
}

func MakeScriptObjectSpecifier

func MakeScriptObjectSpecifier(ptr unsafe.Pointer) ScriptObjectSpecifier

func NewScriptObjectSpecifier

func NewScriptObjectSpecifier() ScriptObjectSpecifier

func (ScriptObjectSpecifier) ChildSpecifier

func (s_ ScriptObjectSpecifier) ChildSpecifier() ScriptObjectSpecifier

weak property

func (ScriptObjectSpecifier) ContainerClassDescription

func (s_ ScriptObjectSpecifier) ContainerClassDescription() ScriptClassDescription

func (ScriptObjectSpecifier) ContainerIsObjectBeingTested

func (s_ ScriptObjectSpecifier) ContainerIsObjectBeingTested() bool

func (ScriptObjectSpecifier) ContainerIsRangeContainerObject

func (s_ ScriptObjectSpecifier) ContainerIsRangeContainerObject() bool

func (ScriptObjectSpecifier) ContainerSpecifier

func (s_ ScriptObjectSpecifier) ContainerSpecifier() ScriptObjectSpecifier

func (ScriptObjectSpecifier) Descriptor

func (ScriptObjectSpecifier) EvaluationErrorNumber

func (s_ ScriptObjectSpecifier) EvaluationErrorNumber() int

func (ScriptObjectSpecifier) EvaluationErrorSpecifier

func (s_ ScriptObjectSpecifier) EvaluationErrorSpecifier() ScriptObjectSpecifier

func (ScriptObjectSpecifier) IndicesOfObjectsByEvaluatingWithContainer_Count added in v0.13.4

func (s_ ScriptObjectSpecifier) IndicesOfObjectsByEvaluatingWithContainer_Count(container objc.IObject, count *int) *int

func (ScriptObjectSpecifier) Init added in v0.11.0

func (ScriptObjectSpecifier) InitWithContainerClassDescription_ContainerSpecifier_Key added in v0.11.0

func (s_ ScriptObjectSpecifier) InitWithContainerClassDescription_ContainerSpecifier_Key(classDesc IScriptClassDescription, container IScriptObjectSpecifier, property string) ScriptObjectSpecifier

func (ScriptObjectSpecifier) InitWithContainerSpecifier_Key added in v0.11.0

func (s_ ScriptObjectSpecifier) InitWithContainerSpecifier_Key(container IScriptObjectSpecifier, property string) ScriptObjectSpecifier

func (ScriptObjectSpecifier) Key

func (s_ ScriptObjectSpecifier) Key() string

func (ScriptObjectSpecifier) KeyClassDescription

func (s_ ScriptObjectSpecifier) KeyClassDescription() ScriptClassDescription

func (ScriptObjectSpecifier) ObjectsByEvaluatingSpecifier

func (s_ ScriptObjectSpecifier) ObjectsByEvaluatingSpecifier() objc.Object

func (ScriptObjectSpecifier) ObjectsByEvaluatingWithContainers

func (s_ ScriptObjectSpecifier) ObjectsByEvaluatingWithContainers(containers objc.IObject) objc.Object

func (ScriptObjectSpecifier) SetChildSpecifier

func (s_ ScriptObjectSpecifier) SetChildSpecifier(value IScriptObjectSpecifier)

weak property

func (ScriptObjectSpecifier) SetContainerClassDescription

func (s_ ScriptObjectSpecifier) SetContainerClassDescription(value IScriptClassDescription)

func (ScriptObjectSpecifier) SetContainerIsObjectBeingTested

func (s_ ScriptObjectSpecifier) SetContainerIsObjectBeingTested(value bool)

func (ScriptObjectSpecifier) SetContainerIsRangeContainerObject

func (s_ ScriptObjectSpecifier) SetContainerIsRangeContainerObject(value bool)

func (ScriptObjectSpecifier) SetContainerSpecifier

func (s_ ScriptObjectSpecifier) SetContainerSpecifier(value IScriptObjectSpecifier)

func (ScriptObjectSpecifier) SetEvaluationErrorNumber

func (s_ ScriptObjectSpecifier) SetEvaluationErrorNumber(value int)

func (ScriptObjectSpecifier) SetKey

func (s_ ScriptObjectSpecifier) SetKey(value string)

type Set

type Set struct {
	objc.Object
}

func MakeSet

func MakeSet(ptr unsafe.Pointer) Set

func NewMutableSetWithArray added in v0.14.3

func NewMutableSetWithArray(array IArray) Set

func NewSet added in v0.9.0

func NewSet() Set

func NewSetWithArray added in v0.14.3

func NewSetWithArray(array IArray) Set

func (Set) AllObjects added in v0.9.0

func (s Set) AllObjects() Array

func (Set) Count

func (s Set) Count() uint

type Size

type Size = coregraphics.Size

type SortDescriptor

type SortDescriptor struct {
	objc.Object
}

func MakeSortDescriptor

func MakeSortDescriptor(ptr unsafe.Pointer) SortDescriptor

func NewSortDescriptor

func NewSortDescriptor() SortDescriptor

func (SortDescriptor) AllowEvaluation

func (s_ SortDescriptor) AllowEvaluation()

func (SortDescriptor) Ascending

func (s_ SortDescriptor) Ascending() bool

func (SortDescriptor) Comparator added in v0.13.3

func (s_ SortDescriptor) Comparator() func(obj1 objc.IObject, obj2 objc.IObject) ComparisonResult

func (SortDescriptor) CompareObject_ToObject

func (s_ SortDescriptor) CompareObject_ToObject(object1 objc.IObject, object2 objc.IObject) ComparisonResult

func (SortDescriptor) Init added in v0.11.0

func (s_ SortDescriptor) Init() SortDescriptor

func (SortDescriptor) InitWithKey_Ascending added in v0.11.0

func (s_ SortDescriptor) InitWithKey_Ascending(key string, ascending bool) SortDescriptor

func (SortDescriptor) InitWithKey_Ascending_Comparator added in v0.13.3

func (s_ SortDescriptor) InitWithKey_Ascending_Comparator(key string, ascending bool, cmptr func(obj1 objc.Object, obj2 objc.Object) ComparisonResult) SortDescriptor

func (SortDescriptor) InitWithKey_Ascending_Selector added in v0.11.0

func (s_ SortDescriptor) InitWithKey_Ascending_Selector(key string, ascending bool, selector objc.Selector) SortDescriptor

func (SortDescriptor) Key

func (s_ SortDescriptor) Key() string

func (SortDescriptor) ReversedSortDescriptor

func (s_ SortDescriptor) ReversedSortDescriptor() objc.Object

func (SortDescriptor) Selector

func (s_ SortDescriptor) Selector() objc.Selector

type Stream added in v0.13.0

type Stream struct {
	objc.Object
}

func MakeStream added in v0.13.0

func MakeStream(ptr unsafe.Pointer) Stream

func NewStream added in v0.13.0

func NewStream() Stream

func (Stream) Close added in v0.13.0

func (s_ Stream) Close()

func (Stream) Delegate added in v0.13.0

func (s_ Stream) Delegate() objc.Object

weak property

func (Stream) Init added in v0.13.0

func (s_ Stream) Init() Stream

func (Stream) Open added in v0.13.0

func (s_ Stream) Open()

func (Stream) PropertyForKey added in v0.13.0

func (s_ Stream) PropertyForKey(key StreamPropertyKey) objc.Object

func (Stream) RemoveFromRunLoop_ForMode added in v0.13.0

func (s_ Stream) RemoveFromRunLoop_ForMode(aRunLoop IRunLoop, mode RunLoopMode)

func (Stream) ScheduleInRunLoop_ForMode added in v0.13.0

func (s_ Stream) ScheduleInRunLoop_ForMode(aRunLoop IRunLoop, mode RunLoopMode)

func (Stream) SetDelegate added in v0.13.0

func (s_ Stream) SetDelegate(value objc.IObject)

weak property

func (Stream) SetProperty_ForKey added in v0.13.0

func (s_ Stream) SetProperty_ForKey(property objc.IObject, key StreamPropertyKey) bool

func (Stream) StreamError added in v0.13.0

func (s_ Stream) StreamError() Error

func (Stream) StreamStatus added in v0.13.0

func (s_ Stream) StreamStatus() StreamStatus

type StreamDelegate added in v0.13.0

type StreamDelegate interface {
	ImplementsStream_HandleEvent() bool
	// optional
	Stream_HandleEvent(aStream Stream, eventCode StreamEvent)
}

type StreamDelegateBase added in v0.18.0

type StreamDelegateBase struct {
}

func (*StreamDelegateBase) ImplementsStream_HandleEvent added in v0.18.0

func (p *StreamDelegateBase) ImplementsStream_HandleEvent() bool

func (*StreamDelegateBase) Stream_HandleEvent added in v0.18.0

func (p *StreamDelegateBase) Stream_HandleEvent(aStream Stream, eventCode StreamEvent)

type StreamDelegateCreator added in v0.19.0

type StreamDelegateCreator struct {
	// contains filtered or unexported fields
}

func NewStreamDelegateCreator added in v0.19.0

func NewStreamDelegateCreator(name string) *StreamDelegateCreator

func (*StreamDelegateCreator) Create added in v0.19.0

func (*StreamDelegateCreator) SetStream_HandleEvent added in v0.19.0

func (c *StreamDelegateCreator) SetStream_HandleEvent(handle func(o objc.ProtocolBase, aStream Stream, eventCode StreamEvent))

type StreamEvent added in v0.13.0

type StreamEvent uint
const StreamEventEndEncountered StreamEvent = 16
const StreamEventErrorOccurred StreamEvent = 8
const StreamEventHasBytesAvailable StreamEvent = 2
const StreamEventHasSpaceAvailable StreamEvent = 4
const StreamEventNone StreamEvent = 0
const StreamEventOpenCompleted StreamEvent = 1

type StreamPropertyKey added in v0.13.0

type StreamPropertyKey string
const StreamDataWrittenToMemoryStreamKey StreamPropertyKey = "kCFStreamPropertyDataWritten"
const StreamFileCurrentOffsetKey StreamPropertyKey = "kCFStreamPropertyFileCurrentOffset"
const StreamNetworkServiceType StreamPropertyKey = "kCFStreamNetworkServiceType"
const StreamSOCKSProxyConfigurationKey StreamPropertyKey = "kCFStreamPropertySOCKSProxy"
const StreamSocketSecurityLevelKey StreamPropertyKey = "kCFStreamPropertySocketSecurityLevel"

type StreamStatus added in v0.13.0

type StreamStatus uint
const StreamStatusAtEnd StreamStatus = 5
const StreamStatusClosed StreamStatus = 6
const StreamStatusError StreamStatus = 7
const StreamStatusNotOpen StreamStatus = 0
const StreamStatusOpen StreamStatus = 2
const StreamStatusOpening StreamStatus = 1
const StreamStatusReading StreamStatus = 3
const StreamStatusWriting StreamStatus = 4

type String

type String struct {
	objc.Object
}

func MakeString

func MakeString(ptr unsafe.Pointer) String

func NewString

func NewString(str string) String

func (String) String

func (N String) String() string

func (String) ToString added in v0.14.3

func (N String) ToString() string

type StringEncoding

type StringEncoding uint
const ASCIIStringEncoding StringEncoding = 1
const ISO2022JPStringEncoding StringEncoding = 21
const ISOLatin1StringEncoding StringEncoding = 5
const ISOLatin2StringEncoding StringEncoding = 9
const JapaneseEUCStringEncoding StringEncoding = 3
const MacOSRomanStringEncoding StringEncoding = 30
const NEXTSTEPStringEncoding StringEncoding = 2
const NonLossyASCIIStringEncoding StringEncoding = 7
const ProprietaryStringEncoding StringEncoding = 65536
const ShiftJISStringEncoding StringEncoding = 8
const SymbolStringEncoding StringEncoding = 6
const UTF16BigEndianStringEncoding StringEncoding = 2415919360
const UTF16LittleEndianStringEncoding StringEncoding = 2483028224
const UTF16StringEncoding StringEncoding = 10
const UTF32BigEndianStringEncoding StringEncoding = 2550137088
const UTF32LittleEndianStringEncoding StringEncoding = 2617245952
const UTF32StringEncoding StringEncoding = 2348810496
const UTF8StringEncoding StringEncoding = 4
const UnicodeStringEncoding StringEncoding = 10
const WindowsCP1250StringEncoding StringEncoding = 15
const WindowsCP1251StringEncoding StringEncoding = 11
const WindowsCP1252StringEncoding StringEncoding = 12
const WindowsCP1253StringEncoding StringEncoding = 13
const WindowsCP1254StringEncoding StringEncoding = 14

type TextCheckingKey

type TextCheckingKey string
const TextCheckingAirlineKey TextCheckingKey = "Airline"
const TextCheckingCityKey TextCheckingKey = "City"
const TextCheckingCountryKey TextCheckingKey = "Country"
const TextCheckingFlightKey TextCheckingKey = "Flight"
const TextCheckingJobTitleKey TextCheckingKey = "JobTitle"
const TextCheckingNameKey TextCheckingKey = "Name"
const TextCheckingOrganizationKey TextCheckingKey = "Organization"
const TextCheckingPhoneKey TextCheckingKey = "Phone"
const TextCheckingStateKey TextCheckingKey = "State"
const TextCheckingStreetKey TextCheckingKey = "Street"
const TextCheckingZIPKey TextCheckingKey = "ZIP"

type TextCheckingResult

type TextCheckingResult struct {
	objc.Object
}

func MakeTextCheckingResult

func MakeTextCheckingResult(ptr unsafe.Pointer) TextCheckingResult

func NewTextCheckingResult

func NewTextCheckingResult() TextCheckingResult

func (TextCheckingResult) AddressComponents

func (t_ TextCheckingResult) AddressComponents() map[TextCheckingKey]string

func (TextCheckingResult) AlternativeStrings

func (t_ TextCheckingResult) AlternativeStrings() []string

func (TextCheckingResult) Components

func (t_ TextCheckingResult) Components() map[TextCheckingKey]string

func (TextCheckingResult) Date

func (t_ TextCheckingResult) Date() Date

func (TextCheckingResult) Duration

func (t_ TextCheckingResult) Duration() TimeInterval

func (TextCheckingResult) GrammarDetails added in v0.13.3

func (t_ TextCheckingResult) GrammarDetails() []map[string]objc.Object

func (TextCheckingResult) Init added in v0.11.0

func (TextCheckingResult) NumberOfRanges

func (t_ TextCheckingResult) NumberOfRanges() uint

func (TextCheckingResult) Orthography

func (t_ TextCheckingResult) Orthography() Orthography

func (TextCheckingResult) PhoneNumber

func (t_ TextCheckingResult) PhoneNumber() string

func (TextCheckingResult) Range

func (t_ TextCheckingResult) Range() Range

func (TextCheckingResult) RangeAtIndex

func (t_ TextCheckingResult) RangeAtIndex(idx uint) Range

func (TextCheckingResult) RangeWithName

func (t_ TextCheckingResult) RangeWithName(name string) Range

func (TextCheckingResult) RegularExpression

func (t_ TextCheckingResult) RegularExpression() RegularExpression

func (TextCheckingResult) ReplacementString

func (t_ TextCheckingResult) ReplacementString() string

func (TextCheckingResult) ResultByAdjustingRangesWithOffset

func (t_ TextCheckingResult) ResultByAdjustingRangesWithOffset(offset int) TextCheckingResult

func (TextCheckingResult) ResultType added in v0.13.6

func (t_ TextCheckingResult) ResultType() TextCheckingType

func (TextCheckingResult) TimeZone

func (t_ TextCheckingResult) TimeZone() TimeZone

func (TextCheckingResult) URL

func (t_ TextCheckingResult) URL() URL

type TextCheckingType added in v0.13.6

type TextCheckingType uint64
const TextCheckingTypeAddress TextCheckingType = 16
const TextCheckingTypeCorrection TextCheckingType = 512
const TextCheckingTypeDash TextCheckingType = 128
const TextCheckingTypeDate TextCheckingType = 8
const TextCheckingTypeGrammar TextCheckingType = 4
const TextCheckingTypeLink TextCheckingType = 32
const TextCheckingTypeOrthography TextCheckingType = 1
const TextCheckingTypePhoneNumber TextCheckingType = 2048
const TextCheckingTypeQuote TextCheckingType = 64
const TextCheckingTypeRegularExpression TextCheckingType = 1024
const TextCheckingTypeReplacement TextCheckingType = 256
const TextCheckingTypeSpelling TextCheckingType = 2
const TextCheckingTypeTransitInformation TextCheckingType = 4096

type TextCheckingTypes added in v0.13.6

type TextCheckingTypes uint64
const TextCheckingAllCustomTypes TextCheckingTypes = 18446744069414584320
const TextCheckingAllSystemTypes TextCheckingTypes = 4294967295
const TextCheckingAllTypes TextCheckingTypes = 18446744073709551615

type TimeInterval

type TimeInterval float64

type TimeZone

type TimeZone struct {
	objc.Object
}

func MakeTimeZone

func MakeTimeZone(ptr unsafe.Pointer) TimeZone

func NewTimeZone added in v0.13.0

func NewTimeZone() TimeZone

func (TimeZone) Abbreviation

func (t_ TimeZone) Abbreviation() string

func (TimeZone) AbbreviationForDate

func (t_ TimeZone) AbbreviationForDate(aDate IDate) string

func (TimeZone) Data

func (t_ TimeZone) Data() []byte

func (TimeZone) DaylightSavingTimeOffset

func (t_ TimeZone) DaylightSavingTimeOffset() TimeInterval

func (TimeZone) DaylightSavingTimeOffsetForDate

func (t_ TimeZone) DaylightSavingTimeOffsetForDate(aDate IDate) TimeInterval

func (TimeZone) Description

func (t_ TimeZone) Description() string

func (TimeZone) Init added in v0.13.0

func (t_ TimeZone) Init() TimeZone

func (TimeZone) InitWithName added in v0.11.0

func (t_ TimeZone) InitWithName(tzName string) TimeZone

func (TimeZone) InitWithName_Data added in v0.11.0

func (t_ TimeZone) InitWithName_Data(tzName string, aData []byte) TimeZone

func (TimeZone) IsDaylightSavingTime

func (t_ TimeZone) IsDaylightSavingTime() bool

func (TimeZone) IsDaylightSavingTimeForDate

func (t_ TimeZone) IsDaylightSavingTimeForDate(aDate IDate) bool

func (TimeZone) IsEqualToTimeZone

func (t_ TimeZone) IsEqualToTimeZone(aTimeZone ITimeZone) bool

func (TimeZone) LocalizedName_Locale

func (t_ TimeZone) LocalizedName_Locale(style TimeZoneNameStyle, locale ILocale) string

func (TimeZone) Name

func (t_ TimeZone) Name() string

func (TimeZone) NextDaylightSavingTimeTransition

func (t_ TimeZone) NextDaylightSavingTimeTransition() Date

func (TimeZone) NextDaylightSavingTimeTransitionAfterDate

func (t_ TimeZone) NextDaylightSavingTimeTransitionAfterDate(aDate IDate) Date

func (TimeZone) SecondsFromGMT

func (t_ TimeZone) SecondsFromGMT() int

func (TimeZone) SecondsFromGMTForDate

func (t_ TimeZone) SecondsFromGMTForDate(aDate IDate) int

type TimeZoneNameStyle

type TimeZoneNameStyle int
const TimeZoneNameStyleDaylightSaving TimeZoneNameStyle = 2
const TimeZoneNameStyleGeneric TimeZoneNameStyle = 4
const TimeZoneNameStyleShortDaylightSaving TimeZoneNameStyle = 3
const TimeZoneNameStyleShortGeneric TimeZoneNameStyle = 5
const TimeZoneNameStyleShortStandard TimeZoneNameStyle = 1
const TimeZoneNameStyleStandard TimeZoneNameStyle = 0

type Timer added in v0.13.0

type Timer struct {
	objc.Object
}

func MakeTimer added in v0.13.0

func MakeTimer(ptr unsafe.Pointer) Timer

func NewTimer added in v0.13.0

func NewTimer() Timer

func (Timer) Fire added in v0.13.0

func (t_ Timer) Fire()

func (Timer) FireDate added in v0.13.0

func (t_ Timer) FireDate() Date

func (Timer) Init added in v0.13.0

func (t_ Timer) Init() Timer

func (Timer) InitWithFireDate_Interval_Repeats_Block added in v0.13.3

func (t_ Timer) InitWithFireDate_Interval_Repeats_Block(date IDate, interval TimeInterval, repeats bool, block func(timer Timer)) Timer

func (Timer) InitWithFireDate_Interval_Target_Selector_UserInfo_Repeats added in v0.13.0

func (t_ Timer) InitWithFireDate_Interval_Target_Selector_UserInfo_Repeats(date IDate, ti TimeInterval, t objc.IObject, s objc.Selector, ui objc.IObject, rep bool) Timer

func (Timer) Invalidate added in v0.13.0

func (t_ Timer) Invalidate()

func (Timer) IsValid added in v0.13.0

func (t_ Timer) IsValid() bool

func (Timer) SetFireDate added in v0.13.0

func (t_ Timer) SetFireDate(value IDate)

func (Timer) SetTolerance added in v0.13.0

func (t_ Timer) SetTolerance(value TimeInterval)

func (Timer) TimeInterval added in v0.13.0

func (t_ Timer) TimeInterval() TimeInterval

func (Timer) Tolerance added in v0.13.0

func (t_ Timer) Tolerance() TimeInterval

func (Timer) UserInfo added in v0.13.0

func (t_ Timer) UserInfo() objc.Object

type URL

type URL struct {
	objc.Object
}

func MakeURL

func MakeURL(ptr unsafe.Pointer) URL

func NewURL

func NewURL() URL

func (URL) AbsoluteString

func (u_ URL) AbsoluteString() string

func (URL) AbsoluteURL

func (u_ URL) AbsoluteURL() URL

func (URL) BaseURL

func (u_ URL) BaseURL() URL

func (URL) BookmarkDataWithOptions_IncludingResourceValuesForKeys_RelativeToURL_Error added in v0.13.3

func (u_ URL) BookmarkDataWithOptions_IncludingResourceValuesForKeys_RelativeToURL_Error(options URLBookmarkCreationOptions, keys []URLResourceKey, relativeURL IURL, error *Error) []byte

func (URL) CheckPromisedItemIsReachableAndReturnError added in v0.13.3

func (u_ URL) CheckPromisedItemIsReachableAndReturnError(error *Error) bool

func (URL) CheckResourceIsReachableAndReturnError added in v0.13.3

func (u_ URL) CheckResourceIsReachableAndReturnError(error *Error) bool

func (URL) DataRepresentation

func (u_ URL) DataRepresentation() []byte

func (URL) FilePathURL

func (u_ URL) FilePathURL() URL

func (URL) FileReferenceURL

func (u_ URL) FileReferenceURL() URL

func (URL) FileSystemRepresentation added in v0.13.6

func (u_ URL) FileSystemRepresentation() *byte

func (URL) Fragment

func (u_ URL) Fragment() string

func (URL) GetFileSystemRepresentation_MaxLength added in v0.13.6

func (u_ URL) GetFileSystemRepresentation_MaxLength(buffer *byte, maxBufferLength uint) bool

func (URL) GetPromisedItemResourceValue_ForKey_Error added in v0.13.3

func (u_ URL) GetPromisedItemResourceValue_ForKey_Error(value *objc.Object, key URLResourceKey, error *Error) bool

func (URL) HasDirectoryPath

func (u_ URL) HasDirectoryPath() bool

func (URL) Host

func (u_ URL) Host() string

func (URL) Init added in v0.11.0

func (u_ URL) Init() URL

func (URL) InitAbsoluteURLWithDataRepresentation_RelativeToURL added in v0.11.0

func (u_ URL) InitAbsoluteURLWithDataRepresentation_RelativeToURL(data []byte, baseURL IURL) URL

func (URL) InitByResolvingBookmarkData_Options_RelativeToURL_BookmarkDataIsStale_Error added in v0.13.4

func (u_ URL) InitByResolvingBookmarkData_Options_RelativeToURL_BookmarkDataIsStale_Error(bookmarkData []byte, options URLBookmarkResolutionOptions, relativeURL IURL, isStale *bool, error *Error) URL

func (URL) InitFileURLWithFileSystemRepresentation_IsDirectory_RelativeToURL added in v0.13.6

func (u_ URL) InitFileURLWithFileSystemRepresentation_IsDirectory_RelativeToURL(path *byte, isDir bool, baseURL IURL) URL

func (URL) InitFileURLWithPath added in v0.11.0

func (u_ URL) InitFileURLWithPath(path string) URL

func (URL) InitFileURLWithPath_IsDirectory added in v0.11.0

func (u_ URL) InitFileURLWithPath_IsDirectory(path string, isDir bool) URL

func (URL) InitFileURLWithPath_IsDirectory_RelativeToURL added in v0.11.0

func (u_ URL) InitFileURLWithPath_IsDirectory_RelativeToURL(path string, isDir bool, baseURL IURL) URL

func (URL) InitFileURLWithPath_RelativeToURL added in v0.11.0

func (u_ URL) InitFileURLWithPath_RelativeToURL(path string, baseURL IURL) URL

func (URL) InitWithDataRepresentation_RelativeToURL added in v0.11.0

func (u_ URL) InitWithDataRepresentation_RelativeToURL(data []byte, baseURL IURL) URL

func (URL) InitWithScheme_Host_Path added in v0.13.0

func (u_ URL) InitWithScheme_Host_Path(scheme string, host string, path string) URL

func (URL) InitWithString added in v0.11.0

func (u_ URL) InitWithString(URLString string) URL

func (URL) InitWithString_RelativeToURL added in v0.11.0

func (u_ URL) InitWithString_RelativeToURL(URLString string, baseURL IURL) URL

func (URL) IsFileReferenceURL

func (u_ URL) IsFileReferenceURL() bool

func (URL) IsFileURL

func (u_ URL) IsFileURL() bool

func (URL) LastPathComponent

func (u_ URL) LastPathComponent() string

func (URL) LoadResourceDataNotifyingClient_UsingCache added in v0.14.5

func (u_ URL) LoadResourceDataNotifyingClient_UsingCache(client objc.IObject, shouldUseCache bool)

deprecated

func (URL) ParameterString added in v0.14.5

func (u_ URL) ParameterString() string

deprecated

func (URL) Password

func (u_ URL) Password() string

func (URL) Path

func (u_ URL) Path() string

func (URL) PathComponents

func (u_ URL) PathComponents() []string

func (URL) PathExtension

func (u_ URL) PathExtension() string

func (URL) Port

func (u_ URL) Port() Number

func (URL) PromisedItemResourceValuesForKeys_Error added in v0.13.3

func (u_ URL) PromisedItemResourceValuesForKeys_Error(keys []URLResourceKey, error *Error) map[URLResourceKey]objc.Object

func (URL) PropertyForKey added in v0.14.5

func (u_ URL) PropertyForKey(propertyKey string) objc.Object

deprecated

func (URL) Query

func (u_ URL) Query() string

func (URL) RelativePath

func (u_ URL) RelativePath() string

func (URL) RelativeString

func (u_ URL) RelativeString() string

func (URL) RemoveAllCachedResourceValues

func (u_ URL) RemoveAllCachedResourceValues()

func (URL) RemoveCachedResourceValueForKey

func (u_ URL) RemoveCachedResourceValueForKey(key URLResourceKey)

func (URL) ResourceDataUsingCache added in v0.14.5

func (u_ URL) ResourceDataUsingCache(shouldUseCache bool) []byte

deprecated

func (URL) ResourceSpecifier

func (u_ URL) ResourceSpecifier() string

func (URL) ResourceValuesForKeys_Error added in v0.13.3

func (u_ URL) ResourceValuesForKeys_Error(keys []URLResourceKey, error *Error) map[URLResourceKey]objc.Object

func (URL) Scheme

func (u_ URL) Scheme() string

func (URL) SetProperty_ForKey added in v0.14.5

func (u_ URL) SetProperty_ForKey(property objc.IObject, propertyKey string) bool

deprecated

func (URL) SetResourceData added in v0.14.5

func (u_ URL) SetResourceData(data []byte) bool

deprecated

func (URL) SetResourceValue_ForKey_Error added in v0.13.3

func (u_ URL) SetResourceValue_ForKey_Error(value objc.IObject, key URLResourceKey, error *Error) bool

func (URL) SetResourceValues_Error added in v0.13.3

func (u_ URL) SetResourceValues_Error(keyedValues map[URLResourceKey]objc.IObject, error *Error) bool

func (URL) SetTemporaryResourceValue_ForKey

func (u_ URL) SetTemporaryResourceValue_ForKey(value objc.IObject, key URLResourceKey)

func (URL) StandardizedURL

func (u_ URL) StandardizedURL() URL

func (URL) StartAccessingSecurityScopedResource

func (u_ URL) StartAccessingSecurityScopedResource() bool

func (URL) StopAccessingSecurityScopedResource

func (u_ URL) StopAccessingSecurityScopedResource()

func (URL) URLByAppendingPathComponent

func (u_ URL) URLByAppendingPathComponent(pathComponent string) URL

func (URL) URLByAppendingPathComponent_IsDirectory

func (u_ URL) URLByAppendingPathComponent_IsDirectory(pathComponent string, isDirectory bool) URL

func (URL) URLByAppendingPathExtension

func (u_ URL) URLByAppendingPathExtension(pathExtension string) URL

func (URL) URLByDeletingLastPathComponent

func (u_ URL) URLByDeletingLastPathComponent() URL

func (URL) URLByDeletingPathExtension

func (u_ URL) URLByDeletingPathExtension() URL

func (URL) URLByResolvingSymlinksInPath

func (u_ URL) URLByResolvingSymlinksInPath() URL

func (URL) URLByStandardizingPath

func (u_ URL) URLByStandardizingPath() URL

func (URL) User

func (u_ URL) User() string

type URLBookmarkCreationOptions added in v0.12.5

type URLBookmarkCreationOptions uint
const URLBookmarkCreationMinimalBookmark URLBookmarkCreationOptions = 512
const URLBookmarkCreationSecurityScopeAllowOnlyReadAccess URLBookmarkCreationOptions = 4096
const URLBookmarkCreationSuitableForBookmarkFile URLBookmarkCreationOptions = 1024
const URLBookmarkCreationWithSecurityScope URLBookmarkCreationOptions = 2048
const URLBookmarkCreationWithoutImplicitSecurityScope URLBookmarkCreationOptions = 536870912

type URLBookmarkFileCreationOptions

type URLBookmarkFileCreationOptions uint

type URLBookmarkResolutionOptions added in v0.12.5

type URLBookmarkResolutionOptions uint
const URLBookmarkResolutionWithSecurityScope URLBookmarkResolutionOptions = 1024
const URLBookmarkResolutionWithoutImplicitStartAccessing URLBookmarkResolutionOptions = 32768
const URLBookmarkResolutionWithoutMounting URLBookmarkResolutionOptions = 512
const URLBookmarkResolutionWithoutUI URLBookmarkResolutionOptions = 256

type URLRequest

type URLRequest struct {
	objc.Object
}

func MakeURLRequest

func MakeURLRequest(ptr unsafe.Pointer) URLRequest

func NewURLRequest

func NewURLRequest() URLRequest

func (URLRequest) AllHTTPHeaderFields

func (u_ URLRequest) AllHTTPHeaderFields() map[string]string

func (URLRequest) AllowsCellularAccess

func (u_ URLRequest) AllowsCellularAccess() bool

func (URLRequest) AllowsConstrainedNetworkAccess

func (u_ URLRequest) AllowsConstrainedNetworkAccess() bool

func (URLRequest) AllowsExpensiveNetworkAccess

func (u_ URLRequest) AllowsExpensiveNetworkAccess() bool

func (URLRequest) AssumesHTTP3Capable

func (u_ URLRequest) AssumesHTTP3Capable() bool

func (URLRequest) Attribution added in v0.12.0

func (u_ URLRequest) Attribution() URLRequestAttribution

func (URLRequest) CachePolicy

func (u_ URLRequest) CachePolicy() URLRequestCachePolicy

func (URLRequest) HTTPBody

func (u_ URLRequest) HTTPBody() []byte

func (URLRequest) HTTPBodyStream added in v0.13.0

func (u_ URLRequest) HTTPBodyStream() InputStream

func (URLRequest) HTTPMethod

func (u_ URLRequest) HTTPMethod() string

func (URLRequest) HTTPShouldHandleCookies

func (u_ URLRequest) HTTPShouldHandleCookies() bool

func (URLRequest) HTTPShouldUsePipelining

func (u_ URLRequest) HTTPShouldUsePipelining() bool

func (URLRequest) Init added in v0.11.0

func (u_ URLRequest) Init() URLRequest

func (URLRequest) InitWithURL added in v0.11.0

func (u_ URLRequest) InitWithURL(URL IURL) URLRequest

func (URLRequest) InitWithURL_CachePolicy_TimeoutInterval added in v0.11.0

func (u_ URLRequest) InitWithURL_CachePolicy_TimeoutInterval(URL IURL, cachePolicy URLRequestCachePolicy, timeoutInterval TimeInterval) URLRequest

func (URLRequest) MainDocumentURL

func (u_ URLRequest) MainDocumentURL() URL

func (URLRequest) NetworkServiceType

func (u_ URLRequest) NetworkServiceType() URLRequestNetworkServiceType

func (URLRequest) TimeoutInterval

func (u_ URLRequest) TimeoutInterval() TimeInterval

func (URLRequest) URL

func (u_ URLRequest) URL() URL

func (URLRequest) ValueForHTTPHeaderField

func (u_ URLRequest) ValueForHTTPHeaderField(field string) string

type URLRequestAttribution added in v0.12.0

type URLRequestAttribution uint
const URLRequestAttributionDeveloper URLRequestAttribution = 0
const URLRequestAttributionUser URLRequestAttribution = 1

type URLRequestCachePolicy

type URLRequestCachePolicy uint
const URLRequestReloadIgnoringCacheData URLRequestCachePolicy = 1
const URLRequestReloadIgnoringLocalAndRemoteCacheData URLRequestCachePolicy = 4
const URLRequestReloadIgnoringLocalCacheData URLRequestCachePolicy = 1
const URLRequestReloadRevalidatingCacheData URLRequestCachePolicy = 5
const URLRequestReturnCacheDataDontLoad URLRequestCachePolicy = 3
const URLRequestReturnCacheDataElseLoad URLRequestCachePolicy = 2
const URLRequestUseProtocolCachePolicy URLRequestCachePolicy = 0

type URLRequestNetworkServiceType

type URLRequestNetworkServiceType uint
const URLNetworkServiceTypeAVStreaming URLRequestNetworkServiceType = 8
const URLNetworkServiceTypeBackground URLRequestNetworkServiceType = 3
const URLNetworkServiceTypeCallSignaling URLRequestNetworkServiceType = 11
const URLNetworkServiceTypeDefault URLRequestNetworkServiceType = 0
const URLNetworkServiceTypeResponsiveAV URLRequestNetworkServiceType = 9
const URLNetworkServiceTypeResponsiveData URLRequestNetworkServiceType = 6
const URLNetworkServiceTypeVideo URLRequestNetworkServiceType = 2
const URLNetworkServiceTypeVoice URLRequestNetworkServiceType = 4

type URLResourceKey

type URLResourceKey string
const URLAddedToDirectoryDateKey URLResourceKey = "NSURLAddedToDirectoryDateKey"
const URLApplicationIsScriptableKey URLResourceKey = "NSURLApplicationIsScriptableKey"
const URLAttributeModificationDateKey URLResourceKey = "NSURLAttributeModificationDateKey"
const URLCanonicalPathKey URLResourceKey = "NSURLCanonicalPathKey"
const URLContentAccessDateKey URLResourceKey = "NSURLContentAccessDateKey"
const URLContentModificationDateKey URLResourceKey = "NSURLContentModificationDateKey"
const URLContentTypeKey URLResourceKey = "NSURLContentTypeKey"
const URLCreationDateKey URLResourceKey = "NSURLCreationDateKey"
const URLCustomIconKey URLResourceKey = "NSURLCustomIconKey"
const URLDocumentIdentifierKey URLResourceKey = "NSURLDocumentIdentifierKey"
const URLEffectiveIconKey URLResourceKey = "NSURLEffectiveIconKey"
const URLFileAllocatedSizeKey URLResourceKey = "NSURLFileAllocatedSizeKey"
const URLFileContentIdentifierKey URLResourceKey = "NSURLFileContentIdentifierKey"
const URLFileProtectionKey URLResourceKey = "NSURLFileProtectionKey"
const URLFileResourceIdentifierKey URLResourceKey = "NSURLFileResourceIdentifierKey"
const URLFileResourceTypeKey URLResourceKey = "NSURLFileResourceTypeKey"
const URLFileSecurityKey URLResourceKey = "NSURLFileSecurityKey"
const URLFileSizeKey URLResourceKey = "NSURLFileSizeKey"
const URLGenerationIdentifierKey URLResourceKey = "NSURLGenerationIdentifierKey"
const URLHasHiddenExtensionKey URLResourceKey = "NSURLHasHiddenExtensionKey"
const URLIsAliasFileKey URLResourceKey = "NSURLIsAliasFileKey"
const URLIsApplicationKey URLResourceKey = "_NSURLIsApplicationKey"
const URLIsDirectoryKey URLResourceKey = "NSURLIsDirectoryKey"
const URLIsExcludedFromBackupKey URLResourceKey = "NSURLIsExcludedFromBackupKey"
const URLIsExecutableKey URLResourceKey = "NSURLIsExecutableKey"
const URLIsHiddenKey URLResourceKey = "NSURLIsHiddenKey"
const URLIsMountTriggerKey URLResourceKey = "NSURLIsMountTriggerKey"
const URLIsPackageKey URLResourceKey = "NSURLIsPackageKey"
const URLIsPurgeableKey URLResourceKey = "NSURLIsPurgeableKey"
const URLIsReadableKey URLResourceKey = "NSURLIsReadableKey"
const URLIsRegularFileKey URLResourceKey = "NSURLIsRegularFileKey"
const URLIsSparseKey URLResourceKey = "NSURLIsSparseKey"
const URLIsSymbolicLinkKey URLResourceKey = "NSURLIsSymbolicLinkKey"
const URLIsSystemImmutableKey URLResourceKey = "NSURLIsSystemImmutableKey"
const URLIsUbiquitousItemKey URLResourceKey = "NSURLIsUbiquitousItemKey"
const URLIsUserImmutableKey URLResourceKey = "NSURLIsUserImmutableKey"
const URLIsVolumeKey URLResourceKey = "NSURLIsVolumeKey"
const URLIsWritableKey URLResourceKey = "NSURLIsWritableKey"
const URLKeysOfUnsetValuesKey URLResourceKey = "NSURLKeysOfUnsetValuesKey"
const URLLabelColorKey URLResourceKey = "NSURLLabelColorKey"
const URLLabelNumberKey URLResourceKey = "NSURLLabelNumberKey"
const URLLinkCountKey URLResourceKey = "NSURLLinkCountKey"
const URLLocalizedLabelKey URLResourceKey = "NSURLLocalizedLabelKey"
const URLLocalizedNameKey URLResourceKey = "NSURLLocalizedNameKey"
const URLLocalizedTypeDescriptionKey URLResourceKey = "NSURLLocalizedTypeDescriptionKey"
const URLMayHaveExtendedAttributesKey URLResourceKey = "NSURLMayHaveExtendedAttributesKey"
const URLMayShareFileContentKey URLResourceKey = "NSURLMayShareFileContentKey"
const URLNameKey URLResourceKey = "NSURLNameKey"
const URLParentDirectoryURLKey URLResourceKey = "NSURLParentDirectoryURLKey"
const URLPathKey URLResourceKey = "_NSURLPathKey"
const URLPreferredIOBlockSizeKey URLResourceKey = "NSURLPreferredIOBlockSizeKey"
const URLQuarantinePropertiesKey URLResourceKey = "NSURLQuarantinePropertiesKey"
const URLTagNamesKey URLResourceKey = "NSURLTagNamesKey"
const URLTotalFileAllocatedSizeKey URLResourceKey = "NSURLTotalFileAllocatedSizeKey"
const URLTotalFileSizeKey URLResourceKey = "NSURLTotalFileSizeKey"
const URLUbiquitousItemContainerDisplayNameKey URLResourceKey = "NSURLUbiquitousItemContainerDisplayNameKey"
const URLUbiquitousItemDownloadRequestedKey URLResourceKey = "NSURLUbiquitousItemDownloadRequestedKey"
const URLUbiquitousItemDownloadingErrorKey URLResourceKey = "NSURLUbiquitousItemDownloadingErrorKey"
const URLUbiquitousItemDownloadingStatusKey URLResourceKey = "NSURLUbiquitousItemDownloadingStatusKey"
const URLUbiquitousItemHasUnresolvedConflictsKey URLResourceKey = "NSURLUbiquitousItemHasUnresolvedConflictsKey"
const URLUbiquitousItemIsDownloadingKey URLResourceKey = "NSURLUbiquitousItemIsDownloadingKey"
const URLUbiquitousItemIsExcludedFromSyncKey URLResourceKey = "NSURLUbiquitousItemIsExcludedFromSyncKey"
const URLUbiquitousItemIsSharedKey URLResourceKey = "NSURLUbiquitousItemIsSharedKey"
const URLUbiquitousItemIsUploadedKey URLResourceKey = "NSURLUbiquitousItemIsUploadedKey"
const URLUbiquitousItemIsUploadingKey URLResourceKey = "NSURLUbiquitousItemIsUploadingKey"
const URLUbiquitousItemUploadingErrorKey URLResourceKey = "NSURLUbiquitousItemUploadingErrorKey"
const URLUbiquitousSharedItemCurrentUserPermissionsKey URLResourceKey = "NSURLUbiquitousSharedItemCurrentUserPermissionsKey"
const URLUbiquitousSharedItemCurrentUserRoleKey URLResourceKey = "NSURLUbiquitousSharedItemCurrentUserRoleKey"
const URLUbiquitousSharedItemMostRecentEditorNameComponentsKey URLResourceKey = "NSURLUbiquitousSharedItemMostRecentEditorNameComponentsKey"
const URLUbiquitousSharedItemOwnerNameComponentsKey URLResourceKey = "NSURLUbiquitousSharedItemOwnerNameComponentsKey"
const URLVolumeAvailableCapacityForImportantUsageKey URLResourceKey = "NSURLVolumeAvailableCapacityForImportantUsageKey"
const URLVolumeAvailableCapacityForOpportunisticUsageKey URLResourceKey = "NSURLVolumeAvailableCapacityForOpportunisticUsageKey"
const URLVolumeAvailableCapacityKey URLResourceKey = "NSURLVolumeAvailableCapacityKey"
const URLVolumeCreationDateKey URLResourceKey = "NSURLVolumeCreationDateKey"
const URLVolumeIdentifierKey URLResourceKey = "NSURLVolumeIdentifierKey"
const URLVolumeIsAutomountedKey URLResourceKey = "NSURLVolumeIsAutomountedKey"
const URLVolumeIsBrowsableKey URLResourceKey = "NSURLVolumeIsBrowsableKey"
const URLVolumeIsEjectableKey URLResourceKey = "NSURLVolumeIsEjectableKey"
const URLVolumeIsEncryptedKey URLResourceKey = "NSURLVolumeIsEncryptedKey"
const URLVolumeIsInternalKey URLResourceKey = "NSURLVolumeIsInternalKey"
const URLVolumeIsJournalingKey URLResourceKey = "NSURLVolumeIsJournalingKey"
const URLVolumeIsLocalKey URLResourceKey = "NSURLVolumeIsLocalKey"
const URLVolumeIsReadOnlyKey URLResourceKey = "NSURLVolumeIsReadOnlyKey"
const URLVolumeIsRemovableKey URLResourceKey = "NSURLVolumeIsRemovableKey"
const URLVolumeIsRootFileSystemKey URLResourceKey = "NSURLVolumeIsRootFileSystemKey"
const URLVolumeLocalizedFormatDescriptionKey URLResourceKey = "NSURLVolumeLocalizedFormatDescriptionKey"
const URLVolumeLocalizedNameKey URLResourceKey = "NSURLVolumeLocalizedNameKey"
const URLVolumeMaximumFileSizeKey URLResourceKey = "NSURLVolumeMaximumFileSizeKey"
const URLVolumeNameKey URLResourceKey = "NSURLVolumeNameKey"
const URLVolumeResourceCountKey URLResourceKey = "NSURLVolumeResourceCountKey"
const URLVolumeSupportsAccessPermissionsKey URLResourceKey = "NSURLVolumeSupportsAccessPermissionsKey"
const URLVolumeSupportsAdvisoryFileLockingKey URLResourceKey = "NSURLVolumeSupportsAdvisoryFileLockingKey"
const URLVolumeSupportsCasePreservedNamesKey URLResourceKey = "NSURLVolumeSupportsCasePreservedNamesKey"
const URLVolumeSupportsCaseSensitiveNamesKey URLResourceKey = "NSURLVolumeSupportsCaseSensitiveNamesKey"
const URLVolumeSupportsCompressionKey URLResourceKey = "NSURLVolumeSupportsCompressionKey"
const URLVolumeSupportsExclusiveRenamingKey URLResourceKey = "NSURLVolumeSupportsExclusiveRenamingKey"
const URLVolumeSupportsExtendedSecurityKey URLResourceKey = "NSURLVolumeSupportsExtendedSecurityKey"
const URLVolumeSupportsFileCloningKey URLResourceKey = "NSURLVolumeSupportsFileCloningKey"
const URLVolumeSupportsFileProtectionKey URLResourceKey = "NSURLVolumeSupportsFileProtectionKey"
const URLVolumeSupportsHardLinksKey URLResourceKey = "NSURLVolumeSupportsHardLinksKey"
const URLVolumeSupportsImmutableFilesKey URLResourceKey = "NSURLVolumeSupportsImmutableFilesKey"
const URLVolumeSupportsJournalingKey URLResourceKey = "NSURLVolumeSupportsJournalingKey"
const URLVolumeSupportsPersistentIDsKey URLResourceKey = "NSURLVolumeSupportsPersistentIDsKey"
const URLVolumeSupportsRenamingKey URLResourceKey = "NSURLVolumeSupportsRenamingKey"
const URLVolumeSupportsRootDirectoryDatesKey URLResourceKey = "NSURLVolumeSupportsRootDirectoryDatesKey"
const URLVolumeSupportsSparseFilesKey URLResourceKey = "NSURLVolumeSupportsSparseFilesKey"
const URLVolumeSupportsSwapRenamingKey URLResourceKey = "NSURLVolumeSupportsSwapRenamingKey"
const URLVolumeSupportsSymbolicLinksKey URLResourceKey = "NSURLVolumeSupportsSymbolicLinksKey"
const URLVolumeSupportsVolumeSizesKey URLResourceKey = "NSURLVolumeSupportsVolumeSizesKey"
const URLVolumeSupportsZeroRunsKey URLResourceKey = "NSURLVolumeSupportsZeroRunsKey"
const URLVolumeTotalCapacityKey URLResourceKey = "NSURLVolumeTotalCapacityKey"
const URLVolumeURLForRemountingKey URLResourceKey = "NSURLVolumeURLForRemountingKey"
const URLVolumeURLKey URLResourceKey = "NSURLVolumeURLKey"
const URLVolumeUUIDStringKey URLResourceKey = "NSURLVolumeUUIDStringKey"

type URLResponse

type URLResponse struct {
	objc.Object
}

func MakeURLResponse

func MakeURLResponse(ptr unsafe.Pointer) URLResponse

func NewURLResponse

func NewURLResponse() URLResponse

func (URLResponse) ExpectedContentLength added in v0.13.6

func (u_ URLResponse) ExpectedContentLength() int64

func (URLResponse) Init added in v0.11.0

func (u_ URLResponse) Init() URLResponse

func (URLResponse) InitWithURL_MIMEType_ExpectedContentLength_TextEncodingName added in v0.11.0

func (u_ URLResponse) InitWithURL_MIMEType_ExpectedContentLength_TextEncodingName(URL IURL, MIMEType string, length int, name string) URLResponse

func (URLResponse) MIMEType

func (u_ URLResponse) MIMEType() string

func (URLResponse) SuggestedFilename

func (u_ URLResponse) SuggestedFilename() string

func (URLResponse) TextEncodingName

func (u_ URLResponse) TextEncodingName() string

func (URLResponse) URL

func (u_ URLResponse) URL() URL

type URLSessionAuthChallengeDisposition added in v0.13.3

type URLSessionAuthChallengeDisposition int
const URLSessionAuthChallengeCancelAuthenticationChallenge URLSessionAuthChallengeDisposition = 2
const URLSessionAuthChallengePerformDefaultHandling URLSessionAuthChallengeDisposition = 1
const URLSessionAuthChallengeRejectProtectionSpace URLSessionAuthChallengeDisposition = 3
const URLSessionAuthChallengeUseCredential URLSessionAuthChallengeDisposition = 0

type UndoManager

type UndoManager struct {
	objc.Object
}

func MakeUndoManager

func MakeUndoManager(ptr unsafe.Pointer) UndoManager

func NewUndoManager

func NewUndoManager() UndoManager

func (UndoManager) BeginUndoGrouping

func (u_ UndoManager) BeginUndoGrouping()

func (UndoManager) CanRedo

func (u_ UndoManager) CanRedo() bool

func (UndoManager) CanUndo

func (u_ UndoManager) CanUndo() bool

func (UndoManager) DisableUndoRegistration

func (u_ UndoManager) DisableUndoRegistration()

func (UndoManager) EnableUndoRegistration

func (u_ UndoManager) EnableUndoRegistration()

func (UndoManager) EndUndoGrouping

func (u_ UndoManager) EndUndoGrouping()

func (UndoManager) GroupingLevel

func (u_ UndoManager) GroupingLevel() int

func (UndoManager) GroupsByEvent

func (u_ UndoManager) GroupsByEvent() bool

func (UndoManager) Init added in v0.11.0

func (u_ UndoManager) Init() UndoManager

func (UndoManager) IsRedoing

func (u_ UndoManager) IsRedoing() bool

func (UndoManager) IsUndoRegistrationEnabled

func (u_ UndoManager) IsUndoRegistrationEnabled() bool

func (UndoManager) IsUndoing

func (u_ UndoManager) IsUndoing() bool

func (UndoManager) LevelsOfUndo

func (u_ UndoManager) LevelsOfUndo() uint

func (UndoManager) PrepareWithInvocationTarget

func (u_ UndoManager) PrepareWithInvocationTarget(target objc.IObject) objc.Object

func (UndoManager) Redo

func (u_ UndoManager) Redo()

func (UndoManager) RedoActionIsDiscardable

func (u_ UndoManager) RedoActionIsDiscardable() bool

func (UndoManager) RedoActionName

func (u_ UndoManager) RedoActionName() string

func (UndoManager) RedoMenuItemTitle

func (u_ UndoManager) RedoMenuItemTitle() string

func (UndoManager) RedoMenuTitleForUndoActionName

func (u_ UndoManager) RedoMenuTitleForUndoActionName(actionName string) string

func (UndoManager) RegisterUndoWithTarget_Handler added in v0.13.3

func (u_ UndoManager) RegisterUndoWithTarget_Handler(target objc.IObject, undoHandler func(target objc.Object))

func (UndoManager) RegisterUndoWithTarget_Selector_Object

func (u_ UndoManager) RegisterUndoWithTarget_Selector_Object(target objc.IObject, selector objc.Selector, anObject objc.IObject)

func (UndoManager) RemoveAllActions

func (u_ UndoManager) RemoveAllActions()

func (UndoManager) RemoveAllActionsWithTarget

func (u_ UndoManager) RemoveAllActionsWithTarget(target objc.IObject)

func (UndoManager) RunLoopModes

func (u_ UndoManager) RunLoopModes() []RunLoopMode

func (UndoManager) SetActionIsDiscardable

func (u_ UndoManager) SetActionIsDiscardable(discardable bool)

func (UndoManager) SetActionName

func (u_ UndoManager) SetActionName(actionName string)

func (UndoManager) SetGroupsByEvent

func (u_ UndoManager) SetGroupsByEvent(value bool)

func (UndoManager) SetLevelsOfUndo

func (u_ UndoManager) SetLevelsOfUndo(value uint)

func (UndoManager) SetRunLoopModes

func (u_ UndoManager) SetRunLoopModes(value []RunLoopMode)

func (UndoManager) Undo

func (u_ UndoManager) Undo()

func (UndoManager) UndoActionIsDiscardable

func (u_ UndoManager) UndoActionIsDiscardable() bool

func (UndoManager) UndoActionName

func (u_ UndoManager) UndoActionName() string

func (UndoManager) UndoMenuItemTitle

func (u_ UndoManager) UndoMenuItemTitle() string

func (UndoManager) UndoMenuTitleForUndoActionName

func (u_ UndoManager) UndoMenuTitleForUndoActionName(actionName string) string

func (UndoManager) UndoNestedGroup

func (u_ UndoManager) UndoNestedGroup()

type Unit

type Unit struct {
	objc.Object
}

func MakeUnit

func MakeUnit(ptr unsafe.Pointer) Unit

func NewUnit added in v0.13.0

func NewUnit() Unit

func (Unit) Init added in v0.13.0

func (u_ Unit) Init() Unit

func (Unit) InitWithSymbol added in v0.11.0

func (u_ Unit) InitWithSymbol(symbol string) Unit

func (Unit) Symbol

func (u_ Unit) Symbol() string

type UserActivity

type UserActivity struct {
	objc.Object
}

func MakeUserActivity

func MakeUserActivity(ptr unsafe.Pointer) UserActivity

func NewUserActivity added in v0.13.0

func NewUserActivity() UserActivity

func (UserActivity) ActivityType

func (u_ UserActivity) ActivityType() string

func (UserActivity) BecomeCurrent

func (u_ UserActivity) BecomeCurrent()

func (UserActivity) Delegate

func (u_ UserActivity) Delegate() objc.Object

weak property

func (UserActivity) ExpirationDate

func (u_ UserActivity) ExpirationDate() Date

func (UserActivity) GetContinuationStreamsWithCompletionHandler added in v0.13.3

func (u_ UserActivity) GetContinuationStreamsWithCompletionHandler(completionHandler func(inputStream InputStream, outputStream OutputStream, error Error))

func (UserActivity) Init added in v0.13.0

func (u_ UserActivity) Init() UserActivity

func (UserActivity) InitWithActivityType added in v0.11.0

func (u_ UserActivity) InitWithActivityType(activityType string) UserActivity

func (UserActivity) Invalidate

func (u_ UserActivity) Invalidate()

func (UserActivity) IsEligibleForHandoff

func (u_ UserActivity) IsEligibleForHandoff() bool

func (UserActivity) IsEligibleForPublicIndexing

func (u_ UserActivity) IsEligibleForPublicIndexing() bool

func (UserActivity) IsEligibleForSearch

func (u_ UserActivity) IsEligibleForSearch() bool

func (UserActivity) Keywords

func (u_ UserActivity) Keywords() Set

func (UserActivity) NeedsSave

func (u_ UserActivity) NeedsSave() bool

weak property

func (UserActivity) PersistentIdentifier

func (u_ UserActivity) PersistentIdentifier() UserActivityPersistentIdentifier

func (UserActivity) ReferrerURL

func (u_ UserActivity) ReferrerURL() URL

func (UserActivity) RequiredUserInfoKeys

func (u_ UserActivity) RequiredUserInfoKeys() Set

func (UserActivity) ResignCurrent

func (u_ UserActivity) ResignCurrent()

func (UserActivity) SetDelegate

func (u_ UserActivity) SetDelegate(value objc.IObject)

weak property

func (UserActivity) SetEligibleForHandoff

func (u_ UserActivity) SetEligibleForHandoff(value bool)

func (UserActivity) SetEligibleForPublicIndexing

func (u_ UserActivity) SetEligibleForPublicIndexing(value bool)

func (UserActivity) SetEligibleForSearch

func (u_ UserActivity) SetEligibleForSearch(value bool)

func (UserActivity) SetExpirationDate

func (u_ UserActivity) SetExpirationDate(value IDate)

func (UserActivity) SetKeywords

func (u_ UserActivity) SetKeywords(value ISet)

func (UserActivity) SetNeedsSave

func (u_ UserActivity) SetNeedsSave(value bool)

weak property

func (UserActivity) SetPersistentIdentifier

func (u_ UserActivity) SetPersistentIdentifier(value UserActivityPersistentIdentifier)

func (UserActivity) SetReferrerURL

func (u_ UserActivity) SetReferrerURL(value IURL)

func (UserActivity) SetRequiredUserInfoKeys

func (u_ UserActivity) SetRequiredUserInfoKeys(value ISet)

func (UserActivity) SetSupportsContinuationStreams

func (u_ UserActivity) SetSupportsContinuationStreams(value bool)

func (UserActivity) SetTargetContentIdentifier

func (u_ UserActivity) SetTargetContentIdentifier(value string)

func (UserActivity) SetTitle

func (u_ UserActivity) SetTitle(value string)

func (UserActivity) SetWebpageURL

func (u_ UserActivity) SetWebpageURL(value IURL)

func (UserActivity) SupportsContinuationStreams

func (u_ UserActivity) SupportsContinuationStreams() bool

func (UserActivity) TargetContentIdentifier

func (u_ UserActivity) TargetContentIdentifier() string

func (UserActivity) Title

func (u_ UserActivity) Title() string

func (UserActivity) WebpageURL

func (u_ UserActivity) WebpageURL() URL

type UserActivityDelegate added in v0.13.0

type UserActivityDelegate interface {
	ImplementsUserActivity_DidReceiveInputStream_OutputStream() bool
	// optional
	UserActivity_DidReceiveInputStream_OutputStream(userActivity UserActivity, inputStream InputStream, outputStream OutputStream)
	ImplementsUserActivityWasContinued() bool
	// optional
	UserActivityWasContinued(userActivity UserActivity)
	ImplementsUserActivityWillSave() bool
	// optional
	UserActivityWillSave(userActivity UserActivity)
}

type UserActivityDelegateBase added in v0.18.0

type UserActivityDelegateBase struct {
}

func (*UserActivityDelegateBase) ImplementsUserActivityWasContinued added in v0.18.0

func (p *UserActivityDelegateBase) ImplementsUserActivityWasContinued() bool

func (*UserActivityDelegateBase) ImplementsUserActivityWillSave added in v0.18.0

func (p *UserActivityDelegateBase) ImplementsUserActivityWillSave() bool

func (*UserActivityDelegateBase) ImplementsUserActivity_DidReceiveInputStream_OutputStream added in v0.18.0

func (p *UserActivityDelegateBase) ImplementsUserActivity_DidReceiveInputStream_OutputStream() bool

func (*UserActivityDelegateBase) UserActivityWasContinued added in v0.18.0

func (p *UserActivityDelegateBase) UserActivityWasContinued(userActivity UserActivity)

func (*UserActivityDelegateBase) UserActivityWillSave added in v0.18.0

func (p *UserActivityDelegateBase) UserActivityWillSave(userActivity UserActivity)

func (*UserActivityDelegateBase) UserActivity_DidReceiveInputStream_OutputStream added in v0.18.0

func (p *UserActivityDelegateBase) UserActivity_DidReceiveInputStream_OutputStream(userActivity UserActivity, inputStream InputStream, outputStream OutputStream)

type UserActivityDelegateCreator added in v0.19.0

type UserActivityDelegateCreator struct {
	// contains filtered or unexported fields
}

func NewUserActivityDelegateCreator added in v0.19.0

func NewUserActivityDelegateCreator(name string) *UserActivityDelegateCreator

func (*UserActivityDelegateCreator) Create added in v0.19.0

func (*UserActivityDelegateCreator) SetUserActivityWasContinued added in v0.19.0

func (c *UserActivityDelegateCreator) SetUserActivityWasContinued(handle func(o objc.ProtocolBase, userActivity UserActivity))

func (*UserActivityDelegateCreator) SetUserActivityWillSave added in v0.19.0

func (c *UserActivityDelegateCreator) SetUserActivityWillSave(handle func(o objc.ProtocolBase, userActivity UserActivity))

func (*UserActivityDelegateCreator) SetUserActivity_DidReceiveInputStream_OutputStream added in v0.19.0

func (c *UserActivityDelegateCreator) SetUserActivity_DidReceiveInputStream_OutputStream(handle func(o objc.ProtocolBase, userActivity UserActivity, inputStream InputStream, outputStream OutputStream))

type UserActivityPersistentIdentifier

type UserActivityPersistentIdentifier string

type UserDefaults added in v0.8.3

type UserDefaults struct {
	objc.Object
}

func MakeUserDefaults added in v0.8.3

func MakeUserDefaults(ptr unsafe.Pointer) UserDefaults

func NewUserDefaults added in v0.9.0

func NewUserDefaults() UserDefaults

func (UserDefaults) AddSuiteNamed added in v0.8.3

func (u_ UserDefaults) AddSuiteNamed(suiteName string)

func (UserDefaults) ArrayForKey added in v0.8.3

func (u_ UserDefaults) ArrayForKey(defaultName string) []objc.Object

func (UserDefaults) BoolForKey added in v0.8.3

func (u_ UserDefaults) BoolForKey(defaultName string) bool

func (UserDefaults) DataForKey added in v0.8.3

func (u_ UserDefaults) DataForKey(defaultName string) []byte

func (UserDefaults) DictionaryForKey added in v0.8.3

func (u_ UserDefaults) DictionaryForKey(defaultName string) map[string]objc.Object

func (UserDefaults) DictionaryRepresentation added in v0.8.3

func (u_ UserDefaults) DictionaryRepresentation() map[string]objc.Object

func (UserDefaults) DoubleForKey added in v0.8.3

func (u_ UserDefaults) DoubleForKey(defaultName string) float64

func (UserDefaults) FloatForKey added in v0.8.3

func (u_ UserDefaults) FloatForKey(defaultName string) float32

func (UserDefaults) Init added in v0.11.0

func (u_ UserDefaults) Init() UserDefaults

func (UserDefaults) InitWithSuiteName added in v0.11.0

func (u_ UserDefaults) InitWithSuiteName(suitename string) UserDefaults

func (UserDefaults) InitWithUser added in v0.14.5

func (u_ UserDefaults) InitWithUser(username string) objc.Object

deprecated

func (UserDefaults) IntegerForKey added in v0.8.3

func (u_ UserDefaults) IntegerForKey(defaultName string) int

func (UserDefaults) ObjectForKey added in v0.8.3

func (u_ UserDefaults) ObjectForKey(defaultName string) objc.Object

func (UserDefaults) ObjectIsForcedForKey added in v0.8.3

func (u_ UserDefaults) ObjectIsForcedForKey(key string) bool

func (UserDefaults) ObjectIsForcedForKey_InDomain added in v0.8.3

func (u_ UserDefaults) ObjectIsForcedForKey_InDomain(key string, domain string) bool

func (UserDefaults) PersistentDomainForName added in v0.8.3

func (u_ UserDefaults) PersistentDomainForName(domainName string) map[string]objc.Object

func (UserDefaults) PersistentDomainNames added in v0.14.5

func (u_ UserDefaults) PersistentDomainNames() []objc.Object

deprecated

func (UserDefaults) RegisterDefaults added in v0.8.3

func (u_ UserDefaults) RegisterDefaults(registrationDictionary map[string]objc.IObject)

func (UserDefaults) RemoveObjectForKey added in v0.8.3

func (u_ UserDefaults) RemoveObjectForKey(defaultName string)

func (UserDefaults) RemovePersistentDomainForName added in v0.8.3

func (u_ UserDefaults) RemovePersistentDomainForName(domainName string)

func (UserDefaults) RemoveSuiteNamed added in v0.8.3

func (u_ UserDefaults) RemoveSuiteNamed(suiteName string)

func (UserDefaults) RemoveVolatileDomainForName added in v0.8.3

func (u_ UserDefaults) RemoveVolatileDomainForName(domainName string)

func (UserDefaults) SetBool_ForKey added in v0.8.3

func (u_ UserDefaults) SetBool_ForKey(value bool, defaultName string)

func (UserDefaults) SetDouble_ForKey added in v0.8.3

func (u_ UserDefaults) SetDouble_ForKey(value float64, defaultName string)

func (UserDefaults) SetFloat_ForKey added in v0.8.3

func (u_ UserDefaults) SetFloat_ForKey(value float32, defaultName string)

func (UserDefaults) SetInteger_ForKey added in v0.8.3

func (u_ UserDefaults) SetInteger_ForKey(value int, defaultName string)

func (UserDefaults) SetObject_ForKey added in v0.8.3

func (u_ UserDefaults) SetObject_ForKey(value objc.IObject, defaultName string)

func (UserDefaults) SetPersistentDomain_ForName added in v0.8.3

func (u_ UserDefaults) SetPersistentDomain_ForName(domain map[string]objc.IObject, domainName string)

func (UserDefaults) SetURL_ForKey added in v0.8.3

func (u_ UserDefaults) SetURL_ForKey(url IURL, defaultName string)

func (UserDefaults) SetVolatileDomain_ForName added in v0.8.3

func (u_ UserDefaults) SetVolatileDomain_ForName(domain map[string]objc.IObject, domainName string)

func (UserDefaults) StringArrayForKey added in v0.8.3

func (u_ UserDefaults) StringArrayForKey(defaultName string) []string

func (UserDefaults) StringForKey added in v0.8.3

func (u_ UserDefaults) StringForKey(defaultName string) string

func (UserDefaults) Synchronize added in v0.8.3

func (u_ UserDefaults) Synchronize() bool

func (UserDefaults) URLForKey added in v0.8.3

func (u_ UserDefaults) URLForKey(defaultName string) URL

func (UserDefaults) VolatileDomainForName added in v0.8.3

func (u_ UserDefaults) VolatileDomainForName(domainName string) map[string]objc.Object

func (UserDefaults) VolatileDomainNames added in v0.8.3

func (u_ UserDefaults) VolatileDomainNames() []string

type Value

type Value struct {
	objc.Object
}

func MakeValue

func MakeValue(ptr unsafe.Pointer) Value

func NewValue

func NewValue() Value

func (Value) EdgeInsetsValue

func (v_ Value) EdgeInsetsValue() EdgeInsets

func (Value) GetValue added in v0.14.5

func (v_ Value) GetValue(value unsafe.Pointer)

deprecated

func (Value) GetValue_Size added in v0.8.1

func (v_ Value) GetValue_Size(value unsafe.Pointer, size uint)

func (Value) Init added in v0.11.0

func (v_ Value) Init() Value

func (Value) InitWithBytes_ObjCType added in v0.13.6

func (v_ Value) InitWithBytes_ObjCType(value unsafe.Pointer, type_ *byte) Value

func (Value) IsEqualToValue

func (v_ Value) IsEqualToValue(value IValue) bool

func (Value) NonretainedObjectValue

func (v_ Value) NonretainedObjectValue() objc.Object

func (Value) ObjCType added in v0.13.6

func (v_ Value) ObjCType() *byte

func (Value) PointValue

func (v_ Value) PointValue() Point

func (Value) PointerValue added in v0.8.1

func (v_ Value) PointerValue() unsafe.Pointer

func (Value) RangeValue

func (v_ Value) RangeValue() Range

func (Value) RectValue

func (v_ Value) RectValue() Rect

func (Value) SizeValue

func (v_ Value) SizeValue() Size

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL