Crate objc2_exception_helper

Source
Expand description

External helper methods for catching Objective-C exceptions.

This exists as a separate crate to avoid having to compile a build.rs script in objc2 in most cases, and to properly version the compiled binary with the links Cargo manifest key.

You should not need to use this crate directly.

Functions§

try_catch
Call the given function inside an Objective-C @try/@catch block.