Quantcast
Channel: 睿论坛 - 最新帖子
Viewing all articles
Browse latest Browse all 37470

如何调用一个框架内的函数

$
0
0

因为要写一个xcode插件 现在需要逆向一个功能
dump IDEKIT

找到需要函数的头文件

#import <IDEKit/IDEViewController.h>

#import "DVTEditor.h"
#import "DVTReplacementViewDelegate.h"
#import "DVTStatefulObject.h"
#import "DVTTabbedWindowTabContentControlling.h"
#import "IDEEditorAreaContainer.h"
#import "IDEStructureEditingWorkspaceTabContext.h"
#import "IDEWorkspaceDocumentProvider.h"
#import "NSTextViewDelegate.h"

@class DVTFilePath, DVTMutableOrderedSet, DVTNotificationToken, DVTObservingToken, DVTReplacementView, DVTSplitView, DVTSplitViewItem, IDEARCConversionAssistantContext, IDEAppChooserWindowController, IDEBuildAlertMonitor, IDEEditorArea, IDEExecutionHoldAlertHelper, IDELaunchSession, IDENavigatorArea, IDEObjCModernizationAssistantContext, IDERunAlertMonitor, IDESwiftMigrationAssistantContext, IDEUnitTestsModernizationAssistantContext, IDEWorkspace, IDEWorkspaceDocument, IDEWorkspaceWindowController, NSAlert, NSDocument<DVTTabbedWindowCreation>, NSMapTable, NSMutableArray, NSString;

@interface IDEWorkspaceTabController : IDEViewController <NSTextViewDelegate, DVTTabbedWindowTabContentControlling, DVTStatefulObject, DVTReplacementViewDelegate, IDEEditorAreaContainer, IDEStructureEditingWorkspaceTabContext, IDEWorkspaceDocumentProvider, DVTEditor>
{
         DVTSplitView *_designAreaSplitView;
        DVTReplacementView *_navReplacementView;
    DVTSplitView *_utilityAreaSplitView;
    DVTSplitViewItem *_navigatorAreaSplitViewItem;
    DVTSplitViewItem *_utilitiesAreaSplitViewItem;
    DVTReplacementView *_inspectorReplacementView;
    DVTReplacementView *_libraryReplacementView;
    DVTMutableOrderedSet *_cursorRectInterceptors;
    NSMapTable *_additionControllersForLaunchSessionTable;
    NSMutableArray *_debuggingUIControllerLifeCycleObservers;
    NSString *_userDefinedTabLabel;
    NSString *_lastValidUserDefinedName;
    NSMapTable *_notificationTokenForLaunchSessionTable;
    NSMapTable *_observerTokenForLaunchSessionsDebuggingAdditionsTable;
}

+ (unsigned long long)assertionBehaviorForKeyValueObservationsAtEndOfEvent;
+ (BOOL)automaticallyNotifiesObserversOfSavedTabFilePath;
+ (BOOL)automaticallyNotifiesObserversOfSavedTabLabel;
+ (void)configureStateSavingObjectPersistenceByName:(id)arg1;

- (void)cleanActiveRunContext:(id)arg1;
- (void)viewDidInstall;
- (void)viewMemory:(id)arg1;
- (void)viewWillUninstall;
@property(readonly) IDEWorkspaceWindowController *windowController;
- (id)workspace;
- (void)workspaceWindowIsClosing;

// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;

@end

里面的cleanActiveRunContext就是我所需要的函数 参数我可以拿到 但是这个framework内的未公开含漱 我应该怎么在我的代码里调用?

如果知道的话 告知下 谢谢~


Viewing all articles
Browse latest Browse all 37470

Trending Articles