3 ms·
What's there to mention about it? Long ago, c++ exceptions and objective C exceptions didn't play well together but they've been unified so that's not an issue
by ksherlock 3y ago
What's there to mention about it?
Long ago, c++ exceptions and objective C exceptions didn't play well together but they've been unified so that's not an issue anymore.
(In the beginning, Objective c exceptions were macros around setjump()/longjump(). Objective C 2.0 added actual language level support with @try/@catch/@finally/@throw which were compatible with C++ exceptions)
- astrange 3y agoYou shouldn't use Objective-C exceptions though; most code (and by default all ARC code) is not exception safe and will leak memory if you jump through it.