wiki:ObjectiveC/Classes

Version 1 (modified by chak, 5 years ago) (diff)

--

Haskell Objective-C FFI: Declaring Objective-C Classes

One option might be something like

foreign export "@class MyUIView : UIView"

The class would then be populated with methods in subsequent foreign export declarations. Would that make sense?