Skip to content

Instantly share code, notes, and snippets.

@AquaGeek
Created April 9, 2020 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AquaGeek/5c2f7dd3a253fca4f47ec9d2d0449afe to your computer and use it in GitHub Desktop.
Save AquaGeek/5c2f7dd3a253fca4f47ec9d2d0449afe to your computer and use it in GitHub Desktop.
XcodeKit Headers
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#pragma mark Blocks
typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown
#pragma mark Named Structures
struct _XCSourceTextRangePackedStructure {
CDStruct_2b64006f _field1;
CDStruct_2b64006f _field2;
};
#pragma mark Typedef'd Structures
typedef struct {
long long line;
long long column;
} CDStruct_2b64006f;
#pragma mark -
//
// File: /Applications/Xcode-11.app/Contents/Developer/Library/Frameworks/XcodeKit.framework/Versions/A/XcodeKit
// UUID: 9E318B61-A4D0-3703-B3EE-C5C58417FDD3
//
// Arch: x86_64
// Current version: 14935.0.0
// Compatibility version: 1.0.0
// Source version: 14935.0.0.0.0
//
// Objective-C Garbage Collection: Unsupported
//
// Run path: @executable_path/../Frameworks
// = /Applications/Xcode-11.app/Contents/Developer/Library/Frameworks/XcodeKit.framework/Versions/Frameworks
// Run path: @loader_path/Frameworks
// = /Applications/Xcode-11.app/Contents/Developer/Library/Frameworks/XcodeKit.framework/Versions/A/Frameworks
//
@protocol NSCopying
- (id)copyWithZone:(struct _NSZone *)arg1;
@end
@protocol NSObject
@property(readonly, copy) NSString *description;
@property(readonly) Class superclass;
@property(readonly) unsigned long long hash;
- (struct _NSZone *)zone;
- (unsigned long long)retainCount;
- (id)autorelease;
- (oneway void)release;
- (id)retain;
- (BOOL)respondsToSelector:(SEL)arg1;
- (BOOL)conformsToProtocol:(Protocol *)arg1;
- (BOOL)isMemberOfClass:(Class)arg1;
- (BOOL)isKindOfClass:(Class)arg1;
- (BOOL)isProxy;
- (id)performSelector:(SEL)arg1 withObject:(id)arg2 withObject:(id)arg3;
- (id)performSelector:(SEL)arg1 withObject:(id)arg2;
- (id)performSelector:(SEL)arg1;
- (id)self;
- (Class)class;
- (BOOL)isEqual:(id)arg1;
@optional
@property(readonly, copy) NSString *debugDescription;
@end
@protocol NSXPCListenerDelegate <NSObject>
@optional
- (BOOL)listener:(NSXPCListener *)arg1 shouldAcceptNewConnection:(NSXPCConnection *)arg2;
@end
@protocol XCExtensionHost <NSObject>
- (void)useEndpointForService:(NSXPCListenerEndpoint *)arg1 reply:(void (^)(NSDictionary *))arg2;
- (void)checkInWithXcode:(NSDictionary *)arg1 reply:(void (^)(NSDictionary *))arg2;
@end
@protocol XCExtensionService <NSObject>
@end
@protocol XCExtensionServiceBootstrap <NSObject>
@property(readonly) NSXPCListener *listener;
- (id)init;
@end
@protocol _XCSourceEditorServiceProtocol <NSObject>
- (void)cancelCommandInvocation:(NSUUID *)arg1 reply:(void (^)(void))arg2;
- (void)performCommandInvocation:(NSUUID *)arg1 commandIdentifier:(NSString *)arg2 request:(NSDictionary *)arg3 reply:(void (^)(NSDictionary *))arg4;
- (void)getCommandDefinitions:(void (^)(NSArray *))arg1;
- (void)extensionDidFinishLaunching:(void (^)(void))arg1;
@end
@interface _XCSourceEditorService : NSObject <_XCSourceEditorServiceProtocol>
{
NSXPCConnection *_connection;
NSObject<OS_dispatch_queue> *_activeCommandInvocationsLock;
NSMutableDictionary *_activeCommandInvocations;
NSObject<OS_dispatch_queue> *_commandClassesLock;
NSMutableDictionary *_commandClasses;
id <XCSourceEditorExtension> _sourceEditorExtension;
}
@property(readonly) id <XCSourceEditorExtension> sourceEditorExtension; // @synthesize sourceEditorExtension=_sourceEditorExtension;
- (void).cxx_destruct;
- (void)cancelCommandInvocation:(id)arg1 reply:(CDUnknownBlockType)arg2;
- (void)performCommandInvocation:(id)arg1 commandIdentifier:(id)arg2 request:(id)arg3 reply:(CDUnknownBlockType)arg4;
- (void)getCommandDefinitions:(CDUnknownBlockType)arg1;
- (void)extensionDidFinishLaunching:(CDUnknownBlockType)arg1;
- (void)registerClass:(Class)arg1 forCommandIdentifier:(id)arg2;
- (Class)classForCommandIdentifier:(id)arg1;
- (void)unregisterCommandInvocationWithIdentifier:(id)arg1;
- (void)registerCommandInvocation:(id)arg1 withIdentifier:(id)arg2;
- (id)commandInvocationWithIdentifier:(id)arg1;
- (id)initWithSourceEditorExtension:(id)arg1 connection:(id)arg2;
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;
@end
@interface XCSourceEditorExtensionBootstrap : NSObject <XCExtensionServiceBootstrap, NSXPCListenerDelegate>
{
NSXPCListener *_listener;
}
- (void).cxx_destruct;
- (BOOL)listener:(id)arg1 shouldAcceptNewConnection:(id)arg2;
@property(readonly) NSXPCListener *listener;
- (id)init;
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;
@end
@interface XCSourceTextBuffer : NSObject
{
XCMutableSourceTextLineArray *_lines;
BOOL _usesTabsForIndentation;
NSString *_contentUTI;
long long _tabWidth;
long long _indentationWidth;
NSDictionary *_dictionaryRepresentation;
}
@property(readonly, copy) NSDictionary *dictionaryRepresentation; // @synthesize dictionaryRepresentation=_dictionaryRepresentation;
@property(readonly) NSMutableArray *lines; // @synthesize lines=_lines;
@property(readonly) BOOL usesTabsForIndentation; // @synthesize usesTabsForIndentation=_usesTabsForIndentation;
@property(readonly) long long indentationWidth; // @synthesize indentationWidth=_indentationWidth;
@property(readonly) long long tabWidth; // @synthesize tabWidth=_tabWidth;
@property(readonly, copy) NSString *contentUTI; // @synthesize contentUTI=_contentUTI;
- (void).cxx_destruct;
@property(readonly, copy) NSDictionary *dictionaryRepresentationWithOnlyChanges;
- (id)_computeRawSelectionRanges;
@property(copy) NSString *completeBuffer;
@property(readonly) NSMutableArray *selections;
- (id)description;
- (id)initWithDictionaryRepresentation:(id)arg1;
- (id)initWithContentUTI:(id)arg1 tabWidth:(long long)arg2 indentationWidth:(long long)arg3 usesTabsForIndentation:(BOOL)arg4 selections:(id)arg5 completeBuffer:(id)arg6;
@end
@interface XCMutableSourceTextLineArray : NSMutableArray
{
NSMutableArray *_selections;
NSMutableArray *_changeRecords;
NSMutableArray *_lines;
NSString *_lineTerminator;
}
@property(readonly) NSMutableArray *selections; // @synthesize selections=_selections;
@property(readonly) NSArray *changeRecords; // @synthesize changeRecords=_changeRecords;
- (void).cxx_destruct;
- (void)setArray:(id)arg1;
- (void)_setArray:(id)arg1 withCanonicalization:(BOOL)arg2;
- (void)replaceObjectsAtIndexes:(id)arg1 withObjects:(id)arg2;
- (void)addObjectsFromArray:(id)arg1;
- (void)removeObjectsAtIndexes:(id)arg1;
- (void)insertObjects:(id)arg1 atIndexes:(id)arg2;
- (id)objectsAtIndexes:(id)arg1;
- (void)replaceObjectAtIndex:(unsigned long long)arg1 withObject:(id)arg2;
- (void)removeLastObject;
- (void)addObject:(id)arg1;
- (void)removeObjectAtIndex:(unsigned long long)arg1;
- (void)insertObject:(id)arg1 atIndex:(unsigned long long)arg2;
- (id)objectAtIndex:(unsigned long long)arg1;
- (unsigned long long)count;
- (void)_updateSelectionsForReplaceObjectsAtIndexes:(id)arg1 withObjects:(id)arg2;
- (void)_updateSelectionsForRemoveObjectsAtIndexes:(id)arg1;
- (void)_updateSelectionsForInsertObjects:(id)arg1 atIndexes:(id)arg2;
- (void)_updateSelectionsForSetArray:(id)arg1;
- (void)_recordChangeForReplaceObjectsAtIndexes:(id)arg1 withObjects:(id)arg2;
- (void)_recordChangeForRemoveObjectsAtIndexes:(id)arg1;
- (void)_recordChangeForInsertObjects:(id)arg1 atIndexes:(id)arg2;
- (void)_recordChangeForSetArray:(id)arg1;
- (id)_canonicalLinesForString:(id)arg1;
@property(copy) NSString *completeBuffer;
- (id)initWithCompleteBuffer:(id)arg1 selections:(id)arg2;
@end
@interface XCSourceEditorCommandInvocation : NSObject
{
BOOL __cancelled;
CDUnknownBlockType _cancellationHandler;
NSString *_commandIdentifier;
XCSourceTextBuffer *_buffer;
id <XCSourceEditorCommand> __command;
}
@property(readonly) BOOL _cancelled; // @synthesize _cancelled=__cancelled;
@property(retain) id <XCSourceEditorCommand> _command; // @synthesize _command=__command;
@property(readonly) XCSourceTextBuffer *buffer; // @synthesize buffer=_buffer;
@property(readonly, copy) NSString *commandIdentifier; // @synthesize commandIdentifier=_commandIdentifier;
- (void).cxx_destruct;
@property(copy) CDUnknownBlockType cancellationHandler; // @synthesize cancellationHandler=_cancellationHandler;
- (void)_cancelCommand;
- (id)description;
- (id)initWithCommandIdentifier:(id)arg1 buffer:(id)arg2;
@end
@interface XCSourceTextRange : NSObject <NSCopying>
{
CDStruct_2b64006f _start;
CDStruct_2b64006f _end;
}
+ (id)keyPathsForValuesAffectingProperEnd;
+ (id)keyPathsForValuesAffectingProperStart;
+ (id)keyPathsForValuesAffectingEmpty;
@property CDStruct_2b64006f end; // @synthesize end=_end;
@property CDStruct_2b64006f start; // @synthesize start=_start;
- (id)adjustedRangeByRemovingRange:(id)arg1;
- (id)adjustedRangeByInsertingRange:(id)arg1;
- (void)adjustRangeByRemovingRange:(id)arg1;
- (void)adjustRangeByInsertingRange:(id)arg1;
@property(readonly) CDStruct_2b64006f properEnd;
@property(readonly) CDStruct_2b64006f properStart;
@property(readonly, getter=isEmpty) BOOL empty;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (id)description;
- (BOOL)isEqual:(id)arg1;
- (unsigned long long)hash;
- (id)initWithPackedStructure:(const struct _XCSourceTextRangePackedStructure *)arg1;
- (id)init;
- (id)initWithStart:(CDStruct_2b64006f)arg1 end:(CDStruct_2b64006f)arg2;
@end
@interface XCExtensionHostContext : NSExtensionContext <XCExtensionHost>
{
NSObject<OS_dispatch_queue> *_bootstrapClassNameQueue;
NSObject<OS_dispatch_semaphore> *_bootstrapClassNameSemaphore;
NSString *_bootstrapClassName;
NSObject<OS_dispatch_queue> *_checkInQueue;
NSObject<OS_dispatch_semaphore> *_checkInSemaphore;
BOOL _checkInComplete;
NSDictionary *_checkInDictionary;
NSObject<OS_dispatch_queue> *_serviceEndpointQueue;
NSObject<OS_dispatch_semaphore> *_serviceEndpointSemaphore;
NSXPCListenerEndpoint *_serviceEndpoint;
}
+ (id)_extensionAuxiliaryVendorProtocol;
+ (id)_extensionAuxiliaryHostProtocol;
- (void).cxx_destruct;
@property(readonly, copy) NSDictionary *checkInDictionary;
- (id)awaitServiceEndpoint;
- (void)useEndpointForService:(id)arg1 reply:(CDUnknownBlockType)arg2;
- (BOOL)awaitCheckIn;
- (void)abortCheckIn;
- (void)confirmCheckInWithDictionary:(id)arg1;
- (void)_completedCheckInWithDictionary:(id)arg1;
- (void)useBootstrapClassWithName:(id)arg1;
- (void)checkInWithXcode:(id)arg1 reply:(CDUnknownBlockType)arg2;
- (id)initWithInputItems:(id)arg1 listenerEndpoint:(id)arg2 contextUUID:(id)arg3;
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment