UIMenu class

UIMenu

Inheritance
Available extensions

Constructors

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

Properties

accessibilityIdentifier ↔ NSString?

Available on UIMenuElement, provided by the UIAccessibility$1 extension

accessibilityIdentifier
getter/setter pair
children → NSArray
children
no setter
debugDescription$1 → NSString
debugDescription
no setterinherited
description$1 → NSString
description
no setterinherited
displayPreferences UIMenuDisplayPreferences?
displayPreferences
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
no setterinherited
isProxy bool
isProxy
no setterinherited
options UIMenuOptions
options
no setter
preferredElementSize UIMenuElementSize
preferredElementSize
getter/setter pair
ref → ObjCObjectRef
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedElements → NSArray
selectedElements
no setter
subtitle ↔ NSString?
subtitle
getter/setter pairinherited
superclass$1 → ObjCObjectBase
superclass
no setterinherited
title → NSString
title
no setterinherited

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() UIMenu
init
override
initWithCoder(NSCoder coder) UIMenu?
initWithCoder:
override
isEqual(ObjCObjectBase object) bool
isEqual:
inherited
isKindOfClass(ObjCObjectBase aClass) bool
isKindOfClass:
inherited
isMemberOfClass(ObjCObjectBase aClass) bool
isMemberOfClass:
inherited
menuByReplacingChildren:
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
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

alloc() UIMenu
alloc
override
allocWithZone(Pointer<NSZone> zone) UIMenu
allocWithZone:
override
getSupportsSecureCoding() bool
supportsSecureCoding
override
isInstance(ObjCObjectBase obj) bool
Returns whether obj is an instance of UIMenu.
override
menuWithChildren:
menuWithTitle:children:
menuWithTitle:image:identifier:options:children:
new$() UIMenu
new
override