UIAction class

UIAction

Inheritance
Implemented types
Available extensions

Constructors

UIAction()
Returns a new instance of UIAction constructed with the default new method.
factory
UIAction.castFrom(ObjCObjectBase other)
Constructs a UIAction that points to the same underlying object as other.
UIAction.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a UIAction that wraps the given raw object pointer.

Properties

accessibilityIdentifier ↔ NSString?

Available on UIMenuElement, provided by the UIAccessibility extension

accessibilityIdentifier
getter/setter pair
attributes UIMenuElementAttributes
attributes
getter/setter pair
debugDescription$1 → NSString
debugDescription
no setterinherited
description$1 → NSString
description
no setterinherited
discoverabilityTitle ↔ NSString?
discoverabilityTitle
getter/setter pair
hash$1 int
hash
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
identifier → NSString
identifier
no setter
image UIImage?
image
getter/setter pairoverride-getter
isProxy bool
isProxy
no setterinherited
presentationSourceItem UIPopoverPresentationControllerSourceItem?
presentationSourceItem
no setter
ref → ObjCObjectRef
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedImage UIImage?
selectedImage
getter/setter pair
sender → ObjCObjectBase?
sender
no setter
state UIMenuElementState
state
getter/setter pair
subtitle ↔ NSString?
subtitle
getter/setter pairinherited
superclass$1 → ObjCObjectBase
superclass
no setterinherited
title ↔ NSString
title
getter/setter pairoverride-getter

Methods

autorelease() → NSObject
autorelease
inherited
class$1() → ObjCObjectBase
class
inherited
conformsToProtocol$1(Protocol aProtocol) bool
conformsToProtocol:
inherited
copy() → ObjCObjectBase
copy
inherited
dealloc() → void
dealloc
inherited
doesNotRecognizeSelector(Pointer<ObjCSelector> aSelector) → void
doesNotRecognizeSelector:
inherited
encodeWithCoder(NSCoder coder) → void
encodeWithCoder:
inherited
forwardingTargetForSelector(Pointer<ObjCSelector> aSelector) → ObjCObjectBase
forwardingTargetForSelector:
inherited
forwardInvocation(NSInvocation anInvocation) → void
forwardInvocation:
inherited
init() UIAction
init
override
initWithCoder(NSCoder coder) UIAction?
initWithCoder:
override
isEqual(ObjCObjectBase object) bool
isEqual:
inherited
isKindOfClass(ObjCObjectBase aClass) bool
isKindOfClass:
inherited
isMemberOfClass(ObjCObjectBase aClass) bool
isMemberOfClass:
inherited
methodForSelector(Pointer<ObjCSelector> aSelector) Pointer<NativeFunction<Void Function()>>
methodForSelector:
inherited
methodSignatureForSelector(Pointer<ObjCSelector> aSelector) → NSMethodSignature
methodSignatureForSelector:
inherited
mutableCopy() → ObjCObjectBase
mutableCopy
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
performSelector(Pointer<ObjCSelector> aSelector) → ObjCObjectBase
performSelector:
inherited
performSelector$1(Pointer<ObjCSelector> aSelector, {required ObjCObjectBase withObject}) → ObjCObjectBase
performSelector:withObject:
inherited
performSelector$2(Pointer<ObjCSelector> aSelector, {required ObjCObjectBase withObject, required ObjCObjectBase withObject$1}) → ObjCObjectBase
performSelector:withObject:withObject:
inherited
performWithSender(ObjCObjectBase? sender$1, {ObjCObjectBase? target}) → void
performWithSender:target:
release() → void
release
inherited
respondsToSelector(Pointer<ObjCSelector> aSelector) bool
respondsToSelector:
inherited
retain() → NSObject
retain
inherited
retainCount() int
retainCount
inherited
self$1() → NSObject
self
inherited
toString() String
A string representation of this object.
inherited
zone() Pointer<NSZone>
zone
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

actionWithHandler(ObjCBlock<Void Function(UIAction)> handler) UIAction
actionWithHandler:
actionWithTitle(NSString title$1, {UIImage? image$1, NSString? identifier$1, required ObjCBlock<Void Function(UIAction)> handler}) UIAction
actionWithTitle:image:identifier:handler:
alloc() UIAction
alloc
override
allocWithZone(Pointer<NSZone> zone) UIAction
allocWithZone:
override
captureTextFromCameraActionForResponder(UIResponder responder, {NSString? identifier$1}) UIAction
captureTextFromCameraActionForResponder:identifier:
getSupportsSecureCoding() bool
supportsSecureCoding
override
isInstance(ObjCObjectBase obj) bool
Returns whether obj is an instance of UIAction.
override
new$() UIAction
new
override