SwiftUI port of the Android app with the desktop feature set; built on Linux, linked and signed on a jailbroken iPhone. History imported from the standalone repo. Co-Authored-By: Claude Opus 5.5 <[email protected]>
10 lines
245 B
Objective-C
10 lines
245 B
Objective-C
#import "ObjCTry.h"
|
|
|
|
NSString *mulberry_try(void (^block)(void)) {
|
|
@try {
|
|
block();
|
|
return nil;
|
|
} @catch (NSException *e) {
|
|
return [NSString stringWithFormat:@"%@: %@", e.name, e.reason ?: @"(no reason)"];
|
|
}
|
|
}
|