UIBarButtonItemGroup class
UIBarButtonItemGroup
- Available extensions
Constructors
- UIBarButtonItemGroup.new()
-
Returns a new instance of UIBarButtonItemGroup constructed with the default
new
method.factory - UIBarButtonItemGroup.castFrom(ObjCObjectBase other)
-
Constructs a UIBarButtonItemGroup that points to the same underlying object as
other
. -
UIBarButtonItemGroup.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a UIBarButtonItemGroup that wraps the given raw object pointer.
Properties
- barButtonItems ↔ NSArray
-
Available on UIBarButtonItemGroup, provided by the UIBarButtonItemGroup$Methods extension
The bar button items associated with this group. Changing these items will affect the bar displaying these items without needing to re-set the groups that are in that bar. Any UIBarButtonItems that are already in group will be removed from that group.getter/setter pair - displayingRepresentativeItem → bool
-
Available on UIBarButtonItemGroup, provided by the UIBarButtonItemGroup$Methods extension
Returns YES if the representativeItem of this group is currently being displayed, rather than its barButtonItems.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- ref → ObjCObjectRef
-
finalinherited
- representativeItem ↔ UIBarButtonItem?
-
Available on UIBarButtonItemGroup, provided by the UIBarButtonItemGroup$Methods extension
In order to display as many items as possible, bars that support UIBarButtonItemGroup may choose to collapse items associated with groups to the representativeItem specified by the group. A bar will only collapse groups that have a representativeItem set, but may still choose to use an alternate presentation of these items. A UIBarButtonItem may only be either the representativeItem or a member of the barButtonItems of a single UIBarButtonItemGroup and may only represent a single group. If the representativeItem has an action, then that action will be invoked, otherwise the bar will present a standard UI to allow selection of the barButtonItems in the representedItem's group.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
encodeWithCoder(
NSCoder coder) → void -
Available on UIBarButtonItemGroup, provided by the UIBarButtonItemGroup$Methods extension
encodeWithCoder: -
init(
) → UIBarButtonItemGroup -
Available on UIBarButtonItemGroup, provided by the UIBarButtonItemGroup$Methods extension
init -
initWithBarButtonItems(
NSArray barButtonItems, {UIBarButtonItem? representativeItem}) → UIBarButtonItemGroup -
Available on UIBarButtonItemGroup, provided by the UIBarButtonItemGroup$Methods extension
Create a new bar button item group with the given items. When bar button item layout is done, either the group's barButtonItems or its representativeItem is displayed (if it exists). -
initWithCoder(
NSCoder coder) → UIBarButtonItemGroup? -
Available on UIBarButtonItemGroup, provided by the UIBarButtonItemGroup$Methods extension
initWithCoder: -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
alloc(
) → UIBarButtonItemGroup - alloc
-
allocWithZone(
Pointer< NSZone> zone) → UIBarButtonItemGroup - allocWithZone:
-
isInstance(
ObjCObjectBase obj) → bool -
Returns whether
obj
is an instance of UIBarButtonItemGroup. -
new$(
) → UIBarButtonItemGroup - new