-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from matt-curtis/development
v1.7.2 (Sketch 3.5 Bug Fixes)
- Loading branch information
Showing
48 changed files
with
1,925 additions
and
226 deletions.
There are no files selected for viewing
17 changes: 0 additions & 17 deletions
17
...Resources/MCSketchBundleLoaderFramework.framework/Headers/MCSketchBundleLoaderFramework.h
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-42.7 KB
.../Contents/Resources/MCSketchBundleLoaderFramework.framework/MCSketchBundleLoaderFramework
Binary file not shown.
6 changes: 0 additions & 6 deletions
6
...lugin/Contents/Resources/MCSketchBundleLoaderFramework.framework/Modules/module.modulemap
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
...tchplugin/Contents/Resources/MCSketchBundleLoaderFramework.framework/Resources/Info.plist
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
...CSketchBundleLoaderFramework.framework/Versions/A/Headers/MCSketchBundleLoaderFramework.h
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-42.7 KB
...esources/MCSketchBundleLoaderFramework.framework/Versions/A/MCSketchBundleLoaderFramework
Binary file not shown.
6 changes: 0 additions & 6 deletions
6
...nts/Resources/MCSketchBundleLoaderFramework.framework/Versions/A/Modules/module.modulemap
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
...ontents/Resources/MCSketchBundleLoaderFramework.framework/Versions/A/Resources/Info.plist
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
...hBundleLoaderFramework.framework/Versions/Current/Headers/MCSketchBundleLoaderFramework.h
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-42.7 KB
...es/MCSketchBundleLoaderFramework.framework/Versions/Current/MCSketchBundleLoaderFramework
Binary file not shown.
6 changes: 0 additions & 6 deletions
6
...sources/MCSketchBundleLoaderFramework.framework/Versions/Current/Modules/module.modulemap
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
...s/Resources/MCSketchBundleLoaderFramework.framework/Versions/Current/Resources/Info.plist
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-4 KB
(99%)
...chplugin/Contents/Resources/MCSketchConstraints.bundle/Contents/MacOS/MCSketchConstraints
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
....sketchplugin/Contents/Resources/MCSketchConstraints.bundle/Contents/Resources/Assets.car
Binary file not shown.
72 changes: 72 additions & 0 deletions
72
...bundle/Contents/Resources/MCSketchPluginFramework.framework/Headers/MCSPluginController.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
// | ||
// MCSPluginController.h | ||
// MCSketchPluginFramework | ||
// | ||
// Created by Matt Curtis on 10/11/15. | ||
// Copyright © 2015 Matt. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
#import "SketchRuntime.h" | ||
|
||
#import "MochaRuntime.h" | ||
|
||
#import "MCSPluginUserDefaults.h" | ||
|
||
#import "MCSPluginUpdater.h" | ||
|
||
|
||
// Notifications | ||
|
||
extern NSString *const MCSPluginSelectionDidChangeNotification; | ||
|
||
extern NSString *const MCSPluginCurrentArtboardDidChangeNotification; | ||
|
||
extern NSString *const MCSPluginCurrentDocumentDidChangeNotification; | ||
|
||
extern NSString *const MCSPluginAllDocumentsClosedNotification; | ||
|
||
// Notification Keys | ||
|
||
extern NSString *const MCSPluginNotificationDocumentKey; | ||
|
||
extern NSString *const MCSPluginNotificationDocumentWindowKey; | ||
|
||
|
||
@interface MCSPluginController : NSObject | ||
|
||
@property (nonatomic, readonly) NSString *loadedVersion; | ||
|
||
|
||
@property (nonatomic) MSPluginCommand *pluginCommand; | ||
|
||
@property (nonatomic) MSPluginBundle *plugin; | ||
|
||
@property (nonatomic, readonly) MCSPluginUserDefaults *userDefaults; | ||
|
||
@property (nonatomic, readonly) MCSPluginUpdater *updater; | ||
|
||
|
||
+ (instancetype) pluginController:(MSPluginBundle*)plugin pluginCommand:(MSPluginCommand*)pluginCommand; | ||
|
||
+ (instancetype) pluginController; | ||
|
||
|
||
+ (NSAlert*) alertWithTitle:(NSString*)title information:(NSString*)information run:(BOOL)run; | ||
|
||
+ (NSAlert*) alertWithTitle:(NSString*)title information:(NSString*)information; | ||
|
||
|
||
- (void) applicationDidBecomeActive; | ||
|
||
|
||
- (void) allDocumentsDidClose; | ||
|
||
- (void) currentDocumentDidChange:(NSNotification*)notification; | ||
|
||
- (void) currentSelectionDidChange:(NSNotification*)notification; | ||
|
||
- (void) currentArtboardDidChange:(NSNotification*)notification; | ||
|
||
@end |
22 changes: 22 additions & 0 deletions
22
...ts.bundle/Contents/Resources/MCSketchPluginFramework.framework/Headers/MCSPluginUpdater.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// MCSPluginUpdater.h | ||
// MCSketchPluginFramework | ||
// | ||
// Created by Matt Curtis on 11/23/15. | ||
// Copyright © 2015 Matt. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
|
||
@interface MCSPluginUpdater : NSObject | ||
|
||
@property (nonatomic) NSString *pluginIdentifier; | ||
|
||
- (BOOL) isNewerPluginBundleAvailableLocally:(NSString*)loadedVersion; | ||
|
||
- (void) showUpdateRestartPrompt; | ||
|
||
- (void) relaunchSketch; | ||
|
||
@end |
15 changes: 15 additions & 0 deletions
15
...ndle/Contents/Resources/MCSketchPluginFramework.framework/Headers/MCSPluginUserDefaults.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// MCSPluginUserDefaults.h | ||
// MCSketchPluginFramework | ||
// | ||
// Created by Matt Curtis on 11/23/15. | ||
// Copyright © 2015 Matt. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@interface MCSPluginUserDefaults : NSUserDefaults | ||
|
||
@property (nonatomic) NSString *pluginIdentifier; | ||
|
||
@end |
18 changes: 18 additions & 0 deletions
18
...nts/Resources/MCSketchPluginFramework.framework/Headers/MCSPluginUserDefaultsController.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// MCSPluginUserDefaultsController.h | ||
// MCSketchPluginFramework | ||
// | ||
// Created by Matt Curtis on 11/23/15. | ||
// Copyright © 2015 Matt. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
#import "MCSPluginUserDefaults.h" | ||
|
||
|
||
@interface MCSPluginUserDefaultsController : NSUserDefaultsController | ||
|
||
- (MCSPluginUserDefaults*) userDefaultsProxy; | ||
|
||
@end |
31 changes: 31 additions & 0 deletions
31
...le/Contents/Resources/MCSketchPluginFramework.framework/Headers/MCSketchPluginFramework.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// | ||
// MCSketchPluginFramework.h | ||
// MCSketchPluginFramework | ||
// | ||
// Created by Matt Curtis on 10/2/15. | ||
// Copyright © 2015 Matt. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
//! Project version number for MCSketchPluginFramework. | ||
FOUNDATION_EXPORT double MCSketchPluginFrameworkVersionNumber; | ||
|
||
//! Project version string for MCSketchPluginFramework. | ||
FOUNDATION_EXPORT const unsigned char MCSketchPluginFrameworkVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <MCSketchPluginFramework/PublicHeader.h> | ||
|
||
#import <MCSketchPluginFramework/MochaRuntime.h> | ||
|
||
#import <MCSketchPluginFramework/SketchRuntime.h> | ||
|
||
#import <MCSketchPluginFramework/Utilities.h> | ||
|
||
#import <MCSketchPluginFramework/MCSPluginUserDefaults.h> | ||
|
||
#import <MCSketchPluginFramework/MCSPluginUserDefaultsController.h> | ||
|
||
#import <MCSketchPluginFramework/MCSPluginUpdater.h> | ||
|
||
#import <MCSketchPluginFramework/MCSPluginController.h> |
Oops, something went wrong.