Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Set ¶
func Set(instance CanSetAction, handler ActionHandler)
Set action for an ojbc instance, if it has hasTarget and setAction method.
Types ¶
type ActionHandler ¶
ActionHandler is a callback function for an ActionTarget.
type ActionTarget ¶
ActionTarget hold an objc ActionTarget target instance
func NewAction ¶
func NewAction(handler ActionHandler) ActionTarget
NewAction create a new objc ActionTarget instance, from ActionHandler
Click to show internal directories.
Click to hide internal directories.