Skip to content

Commit

Permalink
Merge pull request #6 from merrickp/xcode8
Browse files Browse the repository at this point in the history
Xcode8 compatibility changes
  • Loading branch information
merrickp committed Oct 16, 2016
2 parents f2b4c24 + 2f66ed1 commit 20c9e32
Show file tree
Hide file tree
Showing 10 changed files with 142 additions and 97 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: objective-c
xcode_project: JumpMarks.xcodeproj
xcode_scheme: JumpMarks
osx_image: xcode7
osx_image: xcode8

branches:
only:
Expand Down
10 changes: 9 additions & 1 deletion JumpMarks.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
02B54CDB1B5CDFB800488A78 /* JumpMarksTest.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = JumpMarksTest.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
02B54CDE1B5CDFB800488A78 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
02B54CDF1B5CDFB800488A78 /* JumpMarksTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JumpMarksTest.m; sourceTree = "<group>"; };
02C8B97A1DB43E5700FC623C /* DVTTextSidebarView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DVTTextSidebarView.h; path = XcodeHeaders/DVTTextSidebarView.h; sourceTree = "<group>"; };
3E0543C41AD0D4680077AA8B /* DevToolsCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = DevToolsCore.framework; path = ../OtherFrameworks/DevToolsCore.framework; sourceTree = DEVELOPER_DIR; };
3E2490D11AD20B1000225CA1 /* IDEWorkspaceDocument+JumpMarks.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "IDEWorkspaceDocument+JumpMarks.h"; path = "Categories/IDEWorkspaceDocument+JumpMarks.h"; sourceTree = "<group>"; };
3E2490D21AD20B1000225CA1 /* IDEWorkspaceDocument+JumpMarks.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "IDEWorkspaceDocument+JumpMarks.m"; path = "Categories/IDEWorkspaceDocument+JumpMarks.m"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -216,6 +217,7 @@
02A652941ABFBA84001F44D7 /* IDEFoundation.h */,
02A652951ABFBA84001F44D7 /* IDEKit.h */,
02A652961ABFBA84001F44D7 /* IDESourceEditor.h */,
02C8B97A1DB43E5700FC623C /* DVTTextSidebarView.h */,
);
name = "Xcode Headers";
sourceTree = "<group>";
Expand Down Expand Up @@ -281,7 +283,7 @@
02306CA41ABFA2DC00C3FD5A /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0700;
LastUpgradeCheck = 0800;
ORGANIZATIONNAME = "Merrick Poon";
TargetAttributes = {
02306CAB1ABFA2DC00C3FD5A = {
Expand Down Expand Up @@ -366,15 +368,18 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
Expand Down Expand Up @@ -405,14 +410,17 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
Expand Down
16 changes: 14 additions & 2 deletions JumpMarks.xcodeproj/xcshareddata/xcschemes/JumpMarks.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
LastUpgradeVersion = "0800"
version = "2.0">
<BuildAction
parallelizeBuildables = "NO"
Expand Down Expand Up @@ -40,8 +40,19 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "02B54CDA1B5CDFB800488A78"
BuildableName = "JumpMarksTest.xctest"
BlueprintName = "JumpMarksTest"
ReferencedContainer = "container:JumpMarks.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
Expand Down Expand Up @@ -69,6 +80,7 @@
viewDebuggingEnabled = "No">
<PathRunnable
runnableDebuggingMode = "0"
BundleIdentifier = "com.apple.dt.Xcode"
FilePath = "/Applications/Xcode.app">
</PathRunnable>
<MacroExpansion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
LastUpgradeVersion = "0800"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
8 changes: 5 additions & 3 deletions JumpMarks/Categories/DVTTextSidebarView+JumpMarks.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@
//

#import <Foundation/Foundation.h>
#import "DVTKit.h"
#import "DVTTextSidebarView.h"

@interface DVTTextSidebarView (JumpMarks)

- (void)jumpmarks_drawLineNumbersInSidebarRect:(CGRect)arg1
- (void)jumpmarks_drawLineNumbersInSidebarRect:(CGRect)rect
foldedIndexes:(NSUInteger *)indexes
count:(NSUInteger)indexCount
linesToInvert:(id)invert
linesToHighlight:(id)highlight
linesToReplace:(id)replace
getParaRectBlock:(id)rectBlock;
textView:(id)textView
getParaRectBlock:(GetParaBlock)rectBlock;

@end
13 changes: 8 additions & 5 deletions JumpMarks/Categories/DVTTextSidebarView+JumpMarks.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,20 @@ @implementation DVTTextSidebarView (JumpMarks)

+ (void)load {
NSError *error = nil;
[DVTTextSidebarView jr_swizzleMethod:@selector(_drawLineNumbersInSidebarRect:foldedIndexes:count:linesToInvert:linesToReplace:getParaRectBlock:)
withMethod:@selector(jumpmarks_drawLineNumbersInSidebarRect:foldedIndexes:count:linesToInvert:linesToReplace:getParaRectBlock:)

[DVTTextSidebarView jr_swizzleMethod:@selector(_drawLineNumbersInSidebarRect:foldedIndexes:count:linesToInvert:linesToHighlight:linesToReplace:textView:getParaRectBlock:)
withMethod:@selector(jumpmarks_drawLineNumbersInSidebarRect:foldedIndexes:count:linesToInvert:linesToHighlight:linesToReplace:textView:getParaRectBlock:)
error:&error];
}

- (void)jumpmarks_drawLineNumbersInSidebarRect:(CGRect)rect
foldedIndexes:(NSUInteger *)indexes
count:(NSUInteger)indexCount
linesToInvert:(id)invert
linesToHighlight:(id)highlight
linesToReplace:(id)replace
getParaRectBlock:(id)rectBlock {

textView:(id)textView
getParaRectBlock:(GetParaBlock)rectBlock {
NSArray *fileMarks = nil;
if([self.window.delegate isKindOfClass:IDEWorkspaceWindowController.class]) {
IDEWorkspaceWindowController *controller = (IDEWorkspaceWindowController*)self.window.delegate;
Expand All @@ -53,7 +55,8 @@ - (void)jumpmarks_drawLineNumbersInSidebarRect:(CGRect)rect
}

[self jumpmarks_drawLineNumbersInSidebarRect:rect foldedIndexes:indexes count:indexCount
linesToInvert:invert linesToReplace:replace getParaRectBlock:rectBlock];
linesToInvert:invert linesToHighlight:highlight linesToReplace:replace
textView:textView getParaRectBlock:rectBlock];
}

- (void)drawMarkAtLineNumber:(NSInteger)lineNumber withMarkNumber:(NSInteger)markNumber {
Expand Down
1 change: 1 addition & 0 deletions JumpMarks/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<string>1</string>
<key>DVTPlugInCompatibilityUUIDs</key>
<array>
<string>8A66E736-A720-4B3C-92F1-33D9962C69DF</string>
<string>0420B86A-AA43-4792-9ED0-6FE0F2B16A13</string>
<string>7265231C-39B4-402C-89E1-16167C4CC990</string>
<string>F41BD31E-2683-44B8-AE7F-5F09E919790E</string>
Expand Down
79 changes: 0 additions & 79 deletions JumpMarks/XcodeHeaders/DVTKit.h
Original file line number Diff line number Diff line change
Expand Up @@ -8316,85 +8316,6 @@ typedef struct {

@end

@interface DVTTextSidebarView : NSRulerView
{
double _sidebarWidth;
double _foldbarWidth;
NSColor *_sidebarBackgroundColor;
NSColor *_foldbarBackgroundColor;
NSFont *_lineNumberFont;
NSColor *_lineNumberTextColor;
DVTTextAnnotation *_clickedAnnotation;
DVTTextAnnotation *_currentlyRolledOverAnnotation;
unsigned long long _origLineNumberOfAnnotationBeingDragged;
NSTimer *_foldingHoverTimer;
struct CGPoint _mouseLocationForContextualMenu;
unsigned long long _hitLineNumberForContextualMenu;
NSMapTable *_digitWidths;
NSTrackingArea *_trackingArea;
unsigned long long _currentLineNumberReported;
BOOL _showsSidebar;
BOOL _showsFoldbar;
BOOL _drawsLineNumbers;
BOOL _clickedAnnotationHasTraveled;
}

@property(readonly) unsigned long long lastLineNumberControlClicked; // @synthesize lastLineNumberControlClicked=_hitLineNumberForContextualMenu;
@property(readonly) struct CGPoint lastPointControlClicked; // @synthesize lastPointControlClicked=_mouseLocationForContextualMenu;
@property(copy, nonatomic) NSColor *foldbarBackgroundColor; // @synthesize foldbarBackgroundColor=_foldbarBackgroundColor;
@property(copy, nonatomic) NSColor *sidebarBackgroundColor; // @synthesize sidebarBackgroundColor=_sidebarBackgroundColor;
@property(copy, nonatomic) NSColor *lineNumberTextColor; // @synthesize lineNumberTextColor=_lineNumberTextColor;
@property(retain, nonatomic) NSFont *lineNumberFont; // @synthesize lineNumberFont=_lineNumberFont;
@property(nonatomic) BOOL drawsLineNumbers; // @synthesize drawsLineNumbers=_drawsLineNumbers;
@property(nonatomic) double sidebarWidth; // @synthesize sidebarWidth=_sidebarWidth;
@property(nonatomic) BOOL showsFoldbar; // @synthesize showsFoldbar=_showsFoldbar;
@property(nonatomic) BOOL showsSidebar; // @synthesize showsSidebar=_showsSidebar;
- (id)accessibilityHitTest:(struct CGPoint)arg1;
- (id)accessibilityAttributeValue:(id)arg1;
- (id)accessibilityAttributeNames;
- (void)mouseUp:(id)arg1;
- (void)mouseDragged:(id)arg1;
- (void)mouseDown:(id)arg1;
- (BOOL)acceptsFirstMouse:(id)arg1;
- (id)_clickedAnnotation:(id)arg1;
- (void)scrollWheel:(id)arg1;
- (void)mouseExited:(id)arg1;
- (void)mouseEntered:(id)arg1;
- (void)mouseMoved:(id)arg1;
- (BOOL)mouseUpOnAnnotationSidebarMarkerAtPoint:(struct CGPoint)arg1 bounds:(struct CGRect)arg2 event:(id)arg3;
- (BOOL)dragAnnotationSidebarMarkerAtPoint:(struct CGPoint)arg1 draggableBounds:(struct CGRect)arg2 flipped:(BOOL)arg3 event:(id)arg4;
- (void)mouseDownOnAnnotation:(id)arg1;
- (void)_foldingHovered;
- (void)viewDidMoveToWindow;
- (void)_updateCurrentMouseLineOver:(BOOL)arg1 withEvent:(id)arg2;
- (void)_updateCurrentAnnotationRolloverStatusWithEvent:(id)arg1;
- (void)_beginRolloverOnAnnotation:(id)arg1 event:(id)arg2;
- (void)_endRolloverOnAnnotation:(id)arg1 event:(id)arg2;
- (void)getParagraphRect:(struct CGRect *)arg1 firstLineRect:(struct CGRect *)arg2 forLineNumber:(unsigned long long)arg3;
- (id)lastMarkerControlClicked;
- (id)menuForEvent:(id)arg1;
- (id)annotationAtSidebarPoint:(struct CGPoint)arg1;
- (unsigned long long)lineNumberForPoint:(struct CGPoint)arg1;
- (void)drawRect:(struct CGRect)arg1;
- (void)_scrollToMatchContentView;
- (void)_drawLineNumbersInSidebarRect:(struct CGRect)arg1 foldedIndexes:(unsigned long long *)arg2 count:(unsigned long long)arg3 linesToInvert:(id)arg4 linesToReplace:(id)arg5 getParaRectBlock:(id)arg6;
- (void)_drawSidebarMarkersForAnnotations:(id)arg1 atIndexes:(id)arg2 textView:(id)arg3 getParaRectBlock:(id)arg4;
- (unsigned long long)_drawFoldingRibbonForLine:(unsigned long long)arg1 foldbarRect:(struct CGRect)arg2 paraRect:(struct CGRect)arg3 lineNumberFontSize:(double)arg4 textView:(id)arg5;
- (struct CGRect)foldbarRect;
- (struct CGRect)sidebarRect;
@property(readonly) NSCursor *sidebarCursor;
@property double foldbarWidth; // @synthesize foldbarWidth=_foldbarWidth;
- (void)recalculateSidebarWidthToFit;
- (void)_updateRulerThickness;
- (BOOL)displaysTooltips;
- (BOOL)acceptsFirstResponder;
- (void)updateTrackingAreas;
- (void)setOrientation:(unsigned long long)arg1;
- (id)initWithScrollView:(id)arg1 orientation:(unsigned long long)arg2;
- (void)_reloadColors;

@end

@interface DVTTextStorage : DVTSourceTextStorage <DVTSourceBufferProvider, DVTNodeTypeProvider>
{
NSMutableAttributedString *_contents;
Expand Down
98 changes: 98 additions & 0 deletions JumpMarks/XcodeHeaders/DVTTextSidebarView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 10 2014 21:36:20).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2014 by Steve Nygard.
//

@class DVTTextAnnotation;

#import <AppKit/NSRulerView.h>

typedef NSRect(^GetParaBlock)(int);
@interface DVTTextSidebarView : NSRulerView
{
double _sidebarWidth; // 280 = 0x118
double _foldbarWidth; // 288 = 0x120
NSColor *_sidebarBackgroundColor; // 296 = 0x128
NSColor *_sidebarEdgeColor; // 304 = 0x130
NSColor *_foldbarBackgroundColor; // 312 = 0x138
NSFont *_lineNumberFont; // 320 = 0x140
NSColor *_lineNumberTextColor; // 328 = 0x148
DVTTextAnnotation *_clickedAnnotation; // 336 = 0x150
DVTTextAnnotation *_currentlyRolledOverAnnotation; // 344 = 0x158
unsigned long long _origLineNumberOfAnnotationBeingDragged; // 352 = 0x160
NSTimer *_foldingHoverTimer; // 360 = 0x168
struct CGPoint _mouseLocationForContextualMenu; // 368 = 0x170
unsigned long long _hitLineNumberForContextualMenu; // 384 = 0x180
unsigned short _lineNumberDigitGlyphs[10]; // 392 = 0x188
struct CGSize _lineNumberDigitGlyphAdvancements[10]; // 416 = 0x1a0
NSTrackingArea *_trackingArea; // 576 = 0x240
unsigned long long _currentLineNumberReported; // 584 = 0x248
BOOL _showsSidebar; // 592 = 0x250
BOOL _showsFoldbar; // 593 = 0x251
BOOL _drawsLineNumbers; // 594 = 0x252
BOOL _clickedAnnotationHasTraveled; // 595 = 0x253
}

- (void)_beginRolloverOnAnnotation:(id)arg1 event:(id)arg2;
- (id)_clickedAnnotation:(id)arg1;
- (unsigned long long)_drawFoldingRibbonForLine:(unsigned long long)arg1 foldbarRect:(struct CGRect)arg2 paraRect:(struct CGRect)arg3 lineNumberFontSize:(double)arg4 textView:(id)arg5;
- (void)_drawLineNumbersInSidebarRect:(CGRect)arg1 foldedIndexes:(NSUInteger *)arg2 count:(NSUInteger)arg3 linesToInvert:(id)arg4 linesToHighlight:(id)arg5 linesToReplace:(id)arg6 textView:(id)arg7 getParaRectBlock:(GetParaBlock)arg8;
- (void)_drawSidebarMarkersForAnnotations:(id)arg1 atIndexes:(id)arg2 textView:(id)arg3 getParaRectBlock:(GetParaBlock)arg4;
- (void)_endRolloverOnAnnotation:(id)arg1 event:(id)arg2;
- (void)_foldingHovered;
- (void)_fontAndColorSourceTextSettingsChanged:(id)arg1;
- (void)_reloadColors;
- (void)_scrollToMatchContentView;
- (void)_updateCurrentAnnotationRolloverStatusWithEvent:(id)arg1;
- (void)_updateCurrentMouseLineOver:(BOOL)arg1 withEvent:(id)arg2;
- (void)_updateRulerThickness;
- (BOOL)acceptsFirstMouse:(id)arg1;
- (BOOL)acceptsFirstResponder;
- (id)accessibilityAttributeNames;
- (id)accessibilityAttributeValue:(id)arg1;
- (id)accessibilityHitTest:(struct CGPoint)arg1;
- (id)annotationAtSidebarPoint:(struct CGPoint)arg1;
- (void)dealloc;
- (void)didRemoveAnnotation:(id)arg1;
- (BOOL)displaysTooltips;
- (BOOL)dragAnnotationSidebarMarkerAtPoint:(struct CGPoint)arg1 draggableBounds:(struct CGRect)arg2 flipped:(BOOL)arg3 event:(id)arg4;
- (void)drawRect:(struct CGRect)arg1;
@property(nonatomic) BOOL drawsLineNumbers; // @synthesize drawsLineNumbers=_drawsLineNumbers;
- (struct CGRect)executionCountsRect;
@property(copy, nonatomic) NSColor *foldbarBackgroundColor; // @synthesize foldbarBackgroundColor=_foldbarBackgroundColor;
- (struct CGRect)foldbarRect;
@property double foldbarWidth; // @synthesize foldbarWidth=_foldbarWidth;
- (void)getParagraphRect:(struct CGRect *)arg1 firstLineRect:(struct CGRect *)arg2 forLineNumber:(unsigned long long)arg3;
- (id)initWithScrollView:(id)arg1 orientation:(unsigned long long)arg2;
@property(readonly) unsigned long long lastLineNumberControlClicked; // @synthesize lastLineNumberControlClicked=_hitLineNumberForContextualMenu;
- (id)lastMarkerControlClicked;
@property(readonly) struct CGPoint lastPointControlClicked; // @synthesize lastPointControlClicked=_mouseLocationForContextualMenu;
@property(retain, nonatomic) NSFont *lineNumberFont; // @synthesize lineNumberFont=_lineNumberFont;
- (unsigned long long)lineNumberForPoint:(struct CGPoint)arg1;
@property(copy, nonatomic) NSColor *lineNumberTextColor; // @synthesize lineNumberTextColor=_lineNumberTextColor;
- (struct CGRect)lineNumbersRect;
- (id)menuForEvent:(id)arg1;
- (void)mouseDown:(id)arg1;
- (void)mouseDownOnAnnotation:(id)arg1;
- (void)mouseDragged:(id)arg1;
- (void)mouseEntered:(id)arg1;
- (void)mouseExited:(id)arg1;
- (void)mouseMoved:(id)arg1;
- (void)mouseUp:(id)arg1;
- (BOOL)mouseUpOnAnnotationSidebarMarkerAtPoint:(struct CGPoint)arg1 bounds:(struct CGRect)arg2 event:(id)arg3;
- (void)prepareContentInRect:(struct CGRect)arg1;
- (void)recalculateSidebarWidthToFit;
- (void)scrollWheel:(id)arg1;
- (void)setLineNumberFont:(id)arg1 size:(double)arg2;
- (void)setOrientation:(unsigned long long)arg1;
@property(nonatomic) BOOL showsFoldbar; // @synthesize showsFoldbar=_showsFoldbar;
@property(nonatomic) BOOL showsSidebar; // @synthesize showsSidebar=_showsSidebar;
@property(copy, nonatomic) NSColor *sidebarBackgroundColor; // @synthesize sidebarBackgroundColor=_sidebarBackgroundColor;
@property(copy, nonatomic) NSColor *sidebarEdgeColor; // @synthesize sidebarEdgeColor=_sidebarEdgeColor;
@property(nonatomic) double sidebarWidth; // @synthesize sidebarWidth=_sidebarWidth;
@property(readonly) NSCursor *sidebarCursor;
- (struct CGRect)sidebarRect;
- (void)updateTrackingAreas;
- (void)viewDidMoveToWindow;
@end
10 changes: 5 additions & 5 deletions JumpMarksTest/JumpMarksTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@

#import <Cocoa/Cocoa.h>
#import "JumpMark.h"
#import <Specta/Specta.h>
#import <Expecta/Expecta.h>
#import <OCMock/OCMock.h>
//#import <Specta/Specta.h>
//#import <Expecta/Expecta.h>
//#import <OCMock/OCMock.h>

static NSString *const JUMPMARKS_PATH = @"Library/Application Support/Developer/Shared/Xcode/Plug-ins/JumpMarks.xcplugin";

SpecBegin(JumpMarksTests)
//SpecBegin(JumpMarksTests)

//NSBundle *pluginBundle = [NSBundle bundleWithPath:[NSHomeDirectory() stringByAppendingPathComponent:JUMPMARKS_PATH]];

SpecEnd
//SpecEnd

0 comments on commit 20c9e32

Please sign in to comment.