|
# Haskell Objective-C FFI: Naming Conventions
|
|
# Haskell Objective-C FFI: Naming Conventions
|
|
|
|
|
|
|
|
|
|
- `C'NSObject` - static type of objects of that class
|
|
- `C'NSObject` - static type of objects of that class
|
|
- `P'NSObject` - `NSObject` protocol (a type class – but we don't want to explicitly make every object an instance of that type class).
|
|
- `P'NSObject` - `NSObject` protocol (a type class – but we don't want to explicitly make every object an instance of that type class).
|
|
- `o'NSObject` - class object of type Class(?)
|
|
- `o'NSObject` - class object of type Class(?)
|
|
- `s'alloc` - selector (what about the ones with arguments?) - or maybe `m'alloc` (for method)
|
|
- `s'alloc` - selector (what about the ones with arguments?) - or maybe `m'alloc` (for method)
|
|
|
|
|
|
|
|
|
... | | ... | |