2024-11-14 11:15:18 +01:00
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
|
|
|
|
NSURL *getPyoncordDirectory(void);
|
|
|
|
|
UIColor *hexToUIColor(NSString *hex);
|
2026-08-03 09:46:46 -04:00
|
|
|
void showErrorAlert(NSString *title, NSString *message);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Builds an `RCTSource` (react/runtime's bridgeless script container) by poking its private
|
|
|
|
|
* ivars directly, since React Native doesn't expose a public initializer for it.
|
|
|
|
|
* Returns nil if the `RCTSource` class isn't present in the running binary.
|
|
|
|
|
*/
|
|
|
|
|
id makeRCTSource(NSURL *url, NSData *data);
|