40 lines
780 B
Objective-C
40 lines
780 B
Objective-C
#pragma clang system_header
|
|
|
|
#define nil ((id)0)
|
|
|
|
typedef signed char BOOL;
|
|
@protocol NSObject
|
|
- (BOOL)isEqual:(id)object;
|
|
- (Class)class;
|
|
@end
|
|
|
|
@interface NSObject <NSObject> {}
|
|
+ (instancetype)alloc;
|
|
- (void)dealloc;
|
|
- (id)init;
|
|
- (id)retain;
|
|
- (oneway void)release;
|
|
@end
|
|
|
|
@interface NSRunLoop : NSObject
|
|
+ (NSRunLoop *)currentRunLoop;
|
|
+ (NSRunLoop *)mainRunLoop;
|
|
- (void) run;
|
|
- (void)cancelPerformSelectorsWithTarget:(id)target;
|
|
@end
|
|
|
|
@interface NSNotificationCenter : NSObject
|
|
+ (NSNotificationCenter *)defaultCenter;
|
|
- (void)removeObserver:(id)observer;
|
|
@end
|
|
|
|
typedef struct objc_selector *SEL;
|
|
|
|
void _Block_release(const void *aBlock);
|
|
#define Block_release(...) _Block_release((const void *)(__VA_ARGS__))
|
|
|
|
@interface CIFilter : NSObject
|
|
@end
|
|
|
|
extern void xpc_main(void);
|