abstract class Croft::Class

Direct Known Subclasses

Defined in:

croft/class.cr

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(obj : Pointer(LibObjc::Instance)) #

Initialize with an existing pointer


[View source]
def self.new #

Initialize a new object


[View source]

Class Method Detail

def self.export(name : String | Nil = nil) #

Register Objective-C version of the class


[View source]
def self.objc_name : ::String #

[View source]
def self.register(name : ::String) #

[View source]
def self.to_unsafe #

[View source]

Instance Method Detail

def to_unsafe : Pointer(LibObjc::Instance) #

[View source]

Macro Detail

macro export_instance_method(name, definition) #

[View source]
macro objc_method(objc_name) #

[View source]