Documentation ¶
Index ¶
- Constants
- Variables
- func Callback(fn interface{}) (objc.Object, objc.Selector)
- func Dispatch(fn func())
- func NSThread_IsMainThread() bool
- type CALayer
- type NSAutoreleasePool
- type NSData
- type NSDictionary
- type NSNumber
- type NSPoint
- type NSRect
- type NSRunLoop
- type NSSize
- type NSString
- type NSThread
- type NSUInteger
- type NSURL
- type NSURLRequest
Constants ¶
View Source
const (
NSUTF8StringEncoding = 4
)
Variables ¶
View Source
var ( True objc.Object False objc.Object )
View Source
var NSAutoreleasePool_ = objc.Get("NSAutoreleasePool")
View Source
var NSDictionary_ = objc.Get("NSDictionary")
View Source
var NSRunLoop_ = objc.Get("NSRunLoop")
View Source
var NSString_ = objc.Get("NSString")
View Source
var NSThread_ = objc.Get("NSThread")
View Source
var NSURLRequest_ = objc.Get("NSURLRequest")
View Source
var NSURL_ = objc.Get("NSURL")
Functions ¶
func NSThread_IsMainThread ¶
func NSThread_IsMainThread() bool
Types ¶
type CALayer ¶
func (CALayer) CornerRadius ¶
func (CALayer) SetContents ¶
func (CALayer) SetCornerRadius ¶
type NSAutoreleasePool ¶
func NSAutoreleasePool_New ¶
func NSAutoreleasePool_New() NSAutoreleasePool
type NSData ¶
func NSData_WithBytes ¶
type NSDictionary ¶
func NSDictionary_Init ¶
func NSDictionary_Init(valueKeys ...interface{}) NSDictionary
func NSDictionary_New ¶
func NSDictionary_New() NSDictionary
func (NSDictionary) ObjectForKey ¶
func (d NSDictionary) ObjectForKey(key objc.Object) objc.Object
type NSNumber ¶
func NSNumber_WithBool ¶
type NSRect ¶
func NSMakeRect ¶
type NSRunLoop ¶
func NSRunLoop_Current ¶
func NSRunLoop_Current() NSRunLoop
func NSRunLoop_Main ¶
func NSRunLoop_Main() NSRunLoop
type NSString ¶
func NSString_FromObject ¶
func NSString_FromString ¶
func (NSString) SizeWithAttributes ¶
func (s NSString) SizeWithAttributes(attrs NSDictionary) NSSize
type NSUInteger ¶
type NSUInteger uintptr
type NSURL ¶
func NSURL_Init ¶
type NSURLRequest ¶
func NSURLRequest_Init ¶
func NSURLRequest_Init(url NSURL) NSURLRequest
Click to show internal directories.
Click to hide internal directories.