Rococoa How To
November 6, 2020 ยท View on GitHub
Download
Download your choice of archive from here. Altough a Maven build, releases are not currently available in a central repository.
Link
Unarchive your download. Add dist/rococoa-n.n.n.jar and
the jars in lib to your classpath.
Add bin to your jna.library.path.
Create a Java class representation of an Objective-C class
For now, see the WhistlestopTour.
Create an Objective-C instance
For now, see the WhistlestopTour.
Call methods on an Objective-C object
For now, see the WhistlestopTour.
Manage Memory
See Memory Management.
Call methods with more than one parameter
Call methods that have the name of a Java keyword
Not define Objective-C classes
Simplify factory methods
Add Java behaviour to Rococoa wrappers
Pass structures to methods
Return structures from methods
Debug
Log calls
Call static Mac functions
Get more help
See more examples
Use Quicktime
See Quicktime.
Build Rococoa
See Building.
See what's going on
Turn the log level up: org.rococoa.level=TRACE. This will log all message sending through Rococoa.
Help
See HelpWanted.