Foundation
JNA bindings for macOS Objective-C runtime and Foundation framework.
This provides low-level access to:
Objective-C runtime (objc_* functions)
Core Foundation string functions
NSObject methods
Reference: https://developer.apple.com/documentation/objectivec/objective-c_runtime
Functions
Link copied to clipboard
Creates an NSString from a UTF-8 C string. Equivalent to: [NSString alloc initWithUTF8String:cString]
Link copied to clipboard
Gets characters from an NSString.
Link copied to clipboard
Creates a Java String from an NSString pointer.
Link copied to clipboard
Gets the length of an NSString.
Link copied to clipboard
Gets a class by name.
Link copied to clipboard
Releases an Objective-C object (decrements reference count).
Link copied to clipboard
Retains an Objective-C object (increments reference count).
Link copied to clipboard
Registers a selector (method name) and returns a pointer to it.