FUIHierarchyViewDelegate
@objc
public protocol FUIHierarchyViewDelegate
The FUIHierarchyViewDelegate protocol defines methods that allow you to manage the selection of items or tapping on hierarchy accessory view of collection item cell in a hierarchy view. The methods of this protocol are all optional.
-
Tells the delegate that hierarchy button of the item with the specified uuid was tapped.
Declaration
Swift
@objc optional func hierarchyView(_ hierarchyView: FUIHierarchyView, hierarchyButtonTappedForItemWith uuid: String)Parameters
hierarchyViewThe hierarchy view object that is notifying you of the action.
uuidThe uuid of the item whose hierarchy button was tapped.
-
Tells the delegate that the item with the specified uuid was selected.
Declaration
Swift
@objc optional func hierarchyView(_ hierarchyView: FUIHierarchyView, didSelectItemWith uuid: String)Parameters
hierarchyViewThe hierarchy view object that is notifying you of the action.
uuidThe uuid of the item which was selected.