Skip to content

Commit 2033064

Browse files
committed
Remove the DVTKit dependence because not using private method.
Signed-off-by: onevcat <onevcat@gmail.com>
1 parent d4430da commit 2033064

4 files changed

Lines changed: 3 additions & 41 deletions

File tree

VVDocumenter-Xcode.xcodeproj/project.pbxproj

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
D1C462F617999CEC00EB7B23 /* NSString+VVSyntax.m in Sources */ = {isa = PBXBuildFile; fileRef = D1C462F417999CEC00EB7B23 /* NSString+VVSyntax.m */; };
3636
D1C462F717999D0600EB7B23 /* NSString+PDRegex.m in Sources */ = {isa = PBXBuildFile; fileRef = D114BEDE179644D00043FA65 /* NSString+PDRegex.m */; };
3737
D1D66CA817A2AEF000E62F99 /* VVKeyboardEventSender.m in Sources */ = {isa = PBXBuildFile; fileRef = D1D66CA717A2AEF000E62F99 /* VVKeyboardEventSender.m */; };
38-
D1EBD4AA179AE763003A081D /* DVTKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D1EBD4A9179AE763003A081D /* DVTKit.framework */; };
3938
/* End PBXBuildFile section */
4039

4140
/* Begin PBXFileReference section */
@@ -74,7 +73,6 @@
7473
D16AFCE81796E0D6006719AA /* VVVariableCommenter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VVVariableCommenter.m; sourceTree = "<group>"; };
7574
D1986F72179A12BD00EA6643 /* CommenterTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CommenterTests.h; sourceTree = "<group>"; };
7675
D1986F73179A12BD00EA6643 /* CommenterTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CommenterTests.m; sourceTree = "<group>"; };
77-
D1A23F70179AD63E00C3BC43 /* XcodePrivate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XcodePrivate.h; sourceTree = "<group>"; };
7876
D1AC3B8D1796DB070063A484 /* VVDocumenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VVDocumenter.h; sourceTree = "<group>"; };
7977
D1AC3B8E1796DB070063A484 /* VVDocumenter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VVDocumenter.m; sourceTree = "<group>"; };
8078
D1C462DA17999C2000EB7B23 /* VVDocumenterTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = VVDocumenterTests.octest; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -100,7 +98,6 @@
10098
isa = PBXFrameworksBuildPhase;
10199
buildActionMask = 2147483647;
102100
files = (
103-
D1EBD4AA179AE763003A081D /* DVTKit.framework in Frameworks */,
104101
D14380F7179551B900C829CE /* Cocoa.framework in Frameworks */,
105102
);
106103
runOnlyForDeploymentPostprocessing = 0;
@@ -196,7 +193,6 @@
196193
D16917DE17955C8D0036C06B /* VVDocumenterManager.m */,
197194
D1AC3B8D1796DB070063A484 /* VVDocumenter.h */,
198195
D1AC3B8E1796DB070063A484 /* VVDocumenter.m */,
199-
D1A23F70179AD63E00C3BC43 /* XcodePrivate.h */,
200196
);
201197
path = "VVDocumenter-Xcode";
202198
sourceTree = "<group>";
@@ -519,10 +515,7 @@
519515
COMBINE_HIDPI_IMAGES = YES;
520516
DEPLOYMENT_LOCATION = YES;
521517
DSTROOT = "${HOME}";
522-
FRAMEWORK_SEARCH_PATHS = (
523-
"$(inherited)",
524-
"$(DEVELOPER_DIR)/../SharedFrameworks",
525-
);
518+
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
526519
GCC_ENABLE_OBJC_GC = supported;
527520
GCC_PRECOMPILE_PREFIX_HEADER = YES;
528521
GCC_PREFIX_HEADER = "VVDocumenter-Xcode/VVDocumenter-Xcode-Prefix.pch";
@@ -540,10 +533,7 @@
540533
COMBINE_HIDPI_IMAGES = YES;
541534
DEPLOYMENT_LOCATION = YES;
542535
DSTROOT = "${HOME}";
543-
FRAMEWORK_SEARCH_PATHS = (
544-
"$(inherited)",
545-
"$(DEVELOPER_DIR)/../SharedFrameworks",
546-
);
536+
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
547537
GCC_ENABLE_OBJC_GC = supported;
548538
GCC_PRECOMPILE_PREFIX_HEADER = YES;
549539
GCC_PREFIX_HEADER = "VVDocumenter-Xcode/VVDocumenter-Xcode-Prefix.pch";

VVDocumenter-Xcode/KeyboardHelper/VVKeyboardEventSender.m

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ -(void) sendKeyCode:(NSInteger)keyCode withModifierCommand:(BOOL)command
4545
if (control) {
4646
modifier = modifier ^ kCGEventFlagMaskControl;
4747
}
48-
NSLog(@"%ld",(long)modifier);
48+
4949
[self sendKeyCode:keyCode withModifier:modifier];
5050
}
5151

@@ -70,11 +70,4 @@ -(void) endKeyBoradEvents
7070
CFRelease(_source);
7171
_source = nil;
7272
}
73-
74-
- (oneway void) release
75-
{
76-
NSLog(@"Miaommiao");
77-
[super release];
78-
79-
}
8073
@end

VVDocumenter-Xcode/VVDocumenterManager.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#import "NSTextView+VVTextGetter.h"
1111
#import "NSString+VVSyntax.h"
1212
#import "VVDocumenter.h"
13-
#import "XcodePrivate.h"
1413
#import "VVKeyboardEventSender.h"
1514

1615
@interface VVDocumenterManager()

VVDocumenter-Xcode/XcodePrivate.h

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)