This is a Haxe extern
generator for Objective-C classes, structs, and functions. It is intended to bridge the gap between OS X and iOS native API and Haxe hxcpp
projects by providing easy access to the API in a type-safe manner. Currently it is implemented as a parser of the AST output produced by the clang
compiler.
- Interfaces (-> Haxe classes)
- Instance methods
- Static methods
- Properties (getters and setters are methods, so using the methods still works)
- Protocols (-> Haxe interfaces)
- Records / structs (-> Haxe classes with
@:structAccess
)- Member fields
- Enums
- Global functions
- Better integration with
cpp.objc.*
types (currently onlyNSString
andNSDictionary
are used)
Externs provided in this repository in package
:
externs/uikit10.2
<UIKit/UIKit.h>
- includes some
NS*
types from Foundation,CA
andCG
- from the
iPhoneOS10.2
SDK - full AST dump in
clang-ast/uikit10.2.txt