Documentation
¶
Rendered for darwin/amd64
Overview ¶
Package dispatch holds small internal helpers that the generated Go wrappers call. It is in an "internal" directory because these helpers are an implementation detail of the generated packages, not part of their public API. Helpers meant for direct use by application code live in the rt package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func As ¶
As converts an Objective-C object to a specific Go wrapper, but only if the object really is of the named class (or a subclass). When it matches, As builds the wrapper with ctor and returns it with true; otherwise it returns the wrapper's zero value and false — the same shape as a Go type assertion with the comma-ok form.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.