Skip to content

Wrapping a Class

To use Java classes swiftly, we need wrappers.

A wrapper is a Swift class that internally holds a reference to a Java object and exposes its methods and properties in a swifty way.

Learn more about it in JNIKit → wrapping java class