(almost) Fully implement NSApplicationDelegate

This commit is contained in:
Lucas Perlind
2023-01-17 18:53:17 +11:00
parent 4a8564aff7
commit fed65742df
4 changed files with 481 additions and 30 deletions
+2
View File
@@ -15,8 +15,10 @@ foreign Foundation {
class_addMethod :: proc "c" (cls: Class, name: SEL, imp: IMP, types: cstring) -> BOOL ---
class_getInstanceMethod :: proc "c" (cls: Class, name: SEL) -> Method ---
class_createInstance :: proc "c" (cls: Class, extraBytes: c.size_t) -> id ---
method_setImplementation :: proc "c" (method: Method, imp: IMP) ---
object_getIndexedIvars :: proc(obj: id) -> rawptr ---
}