Permalink
Please sign in to comment.
Showing
with
316 additions
and 49 deletions.
- BIN Constraint Demos.sketch
- +0 −1 Fluid.sketchplugin/Contents/Resources/MCSketchBundleLoaderFramework.framework/Headers
- +17 −0 ...ontents/Resources/MCSketchBundleLoaderFramework.framework/Headers/MCSketchBundleLoaderFramework.h
- BIN ...chplugin/Contents/Resources/MCSketchBundleLoaderFramework.framework/MCSketchBundleLoaderFramework
- BIN ...chplugin/Contents/Resources/MCSketchBundleLoaderFramework.framework/MCSketchBundleLoaderFramework
- +0 −1 Fluid.sketchplugin/Contents/Resources/MCSketchBundleLoaderFramework.framework/Modules
- +6 −0 ....sketchplugin/Contents/Resources/MCSketchBundleLoaderFramework.framework/Modules/module.modulemap
- +0 −1 Fluid.sketchplugin/Contents/Resources/MCSketchBundleLoaderFramework.framework/Resources
- +46 −0 Fluid.sketchplugin/Contents/Resources/MCSketchBundleLoaderFramework.framework/Resources/Info.plist
- +0 −1 Fluid.sketchplugin/Contents/Resources/MCSketchBundleLoaderFramework.framework/Versions/Current
- +17 −0 .../MCSketchBundleLoaderFramework.framework/Versions/Current/Headers/MCSketchBundleLoaderFramework.h
- BIN .../Resources/MCSketchBundleLoaderFramework.framework/Versions/Current/MCSketchBundleLoaderFramework
- +6 −0 ...tents/Resources/MCSketchBundleLoaderFramework.framework/Versions/Current/Modules/module.modulemap
- +46 −0 .../Contents/Resources/MCSketchBundleLoaderFramework.framework/Versions/Current/Resources/Info.plist
- +3 −3 Fluid.sketchplugin/Contents/Resources/MCSketchConstraints.bundle/Contents/Info.plist
- BIN Fluid.sketchplugin/Contents/Resources/MCSketchConstraints.bundle/Contents/MacOS/MCSketchConstraints
- BIN Fluid.sketchplugin/Contents/Resources/MCSketchConstraints.bundle/Contents/Resources/Assets.car
- BIN ...nts/Resources/MCSketchConstraints.bundle/Contents/Resources/MCArtboardPreviewWindowController.nib
- BIN .../Contents/Resources/MCSketchConstraints.bundle/Contents/Resources/MCLayerConstraintsInspector.nib
- BIN Fluid.sketchplugin/Contents/Resources/MCSketchConstraints.bundle/Contents/Resources/MCSActionBar.nib
- BIN ...etchplugin/Contents/Resources/MCSketchConstraints.bundle/Contents/Resources/MCSSettingsWindow.nib
- BIN ...plugin/Contents/Resources/MCSketchConstraints.bundle/Contents/Resources/MCSizePresetsListView.nib
- BIN ...chConstraints.bundle/Contents/Resources/MCSketchPluginFramework.framework/MCSketchPluginFramework
- BIN ...chConstraints.bundle/Contents/Resources/MCSketchPluginFramework.framework/MCSketchPluginFramework
- +0 −1 ...sources/MCSketchConstraints.bundle/Contents/Resources/MCSketchPluginFramework.framework/Resources
- +46 −0 ...ketchConstraints.bundle/Contents/Resources/MCSketchPluginFramework.framework/Resources/Info.plist
- BIN ...le/Contents/Resources/MCSketchPluginFramework.framework/Resources/MCSPluginUpdatePromptWindow.nib
- BIN ...ts.bundle/Contents/Resources/MCSketchPluginFramework.framework/Versions/A/MCSketchPluginFramework
- +3 −3 ...aints.bundle/Contents/Resources/MCSketchPluginFramework.framework/Versions/A/Resources/Info.plist
- BIN .../Resources/MCSketchPluginFramework.framework/Versions/A/Resources/MCSPluginUpdatePromptWindow.nib
- +0 −1 .../MCSketchConstraints.bundle/Contents/Resources/MCSketchPluginFramework.framework/Versions/Current
- BIN ...dle/Contents/Resources/MCSketchPluginFramework.framework/Versions/Current/MCSketchPluginFramework
- +46 −0 ...bundle/Contents/Resources/MCSketchPluginFramework.framework/Versions/Current/Resources/Info.plist
- BIN ...rces/MCSketchPluginFramework.framework/Versions/Current/Resources/MCSPluginUpdatePromptWindow.nib
- +1 −0 Fluid.sketchplugin/Contents/Sketch/SketchLibrary.js
- +17 −5 Fluid.sketchplugin/Contents/Sketch/commands.js
- +8 −7 Fluid.sketchplugin/Contents/Sketch/main.js
- +18 −2 Fluid.sketchplugin/Contents/Sketch/manifest.json
- +36 −23 README.md
Binary file not shown.
| @@ -1 +0,0 @@ | ||
| -Versions/Current/Headers |
| @@ -0,0 +1,17 @@ | ||
| +// | ||
| +// MCSketchBundleLoaderFramework.h | ||
| +// MCSketchBundleLoaderFramework | ||
| +// | ||
| +// Created by Matt Curtis on 7/22/15. | ||
| +// Copyright (c) 2015 Matt. All rights reserved. | ||
| +// | ||
| + | ||
| +#import <Cocoa/Cocoa.h> | ||
| + | ||
| +//! Project version number for MCSketchBundleLoaderFramework. | ||
| +FOUNDATION_EXPORT double MCSketchBundleLoaderFrameworkVersionNumber; | ||
| + | ||
| +//! Project version string for MCSketchBundleLoaderFramework. | ||
| +FOUNDATION_EXPORT const unsigned char MCSketchBundleLoaderFrameworkVersionString[]; | ||
| + | ||
| +#import "MCSketchBundleLoader.h" |
| @@ -1 +0,0 @@ | ||
| -Versions/Current/MCSketchBundleLoaderFramework |
Binary file not shown.
| @@ -1 +0,0 @@ | ||
| -Versions/Current/Modules |
| @@ -0,0 +1,6 @@ | ||
| +framework module MCSketchBundleLoaderFramework { | ||
| + umbrella header "MCSketchBundleLoaderFramework.h" | ||
| + | ||
| + export * | ||
| + module * { export * } | ||
| +} |
| @@ -1 +0,0 @@ | ||
| -Versions/Current/Resources |
| @@ -0,0 +1,46 @@ | ||
| +<?xml version="1.0" encoding="UTF-8"?> | ||
| +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| +<plist version="1.0"> | ||
| +<dict> | ||
| + <key>BuildMachineOSBuild</key> | ||
| + <string>14F27</string> | ||
| + <key>CFBundleDevelopmentRegion</key> | ||
| + <string>en</string> | ||
| + <key>CFBundleExecutable</key> | ||
| + <string>MCSketchBundleLoaderFramework</string> | ||
| + <key>CFBundleIdentifier</key> | ||
| + <string>matt-curtis.MCSketchBundleLoaderFramework</string> | ||
| + <key>CFBundleInfoDictionaryVersion</key> | ||
| + <string>6.0</string> | ||
| + <key>CFBundleName</key> | ||
| + <string>MCSketchBundleLoaderFramework</string> | ||
| + <key>CFBundlePackageType</key> | ||
| + <string>FMWK</string> | ||
| + <key>CFBundleShortVersionString</key> | ||
| + <string>1.0</string> | ||
| + <key>CFBundleSignature</key> | ||
| + <string>????</string> | ||
| + <key>CFBundleSupportedPlatforms</key> | ||
| + <array> | ||
| + <string>MacOSX</string> | ||
| + </array> | ||
| + <key>CFBundleVersion</key> | ||
| + <string>1</string> | ||
| + <key>DTCompiler</key> | ||
| + <string>com.apple.compilers.llvm.clang.1_0</string> | ||
| + <key>DTPlatformBuild</key> | ||
| + <string>7A1001</string> | ||
| + <key>DTPlatformVersion</key> | ||
| + <string>GM</string> | ||
| + <key>DTSDKBuild</key> | ||
| + <string>15A278</string> | ||
| + <key>DTSDKName</key> | ||
| + <string>macosx10.11</string> | ||
| + <key>DTXcode</key> | ||
| + <string>0701</string> | ||
| + <key>DTXcodeBuild</key> | ||
| + <string>7A1001</string> | ||
| + <key>NSHumanReadableCopyright</key> | ||
| + <string>Copyright © 2015 Matt. All rights reserved.</string> | ||
| +</dict> | ||
| +</plist> |
| @@ -1 +0,0 @@ | ||
| -A |
| @@ -0,0 +1,17 @@ | ||
| +// | ||
| +// MCSketchBundleLoaderFramework.h | ||
| +// MCSketchBundleLoaderFramework | ||
| +// | ||
| +// Created by Matt Curtis on 7/22/15. | ||
| +// Copyright (c) 2015 Matt. All rights reserved. | ||
| +// | ||
| + | ||
| +#import <Cocoa/Cocoa.h> | ||
| + | ||
| +//! Project version number for MCSketchBundleLoaderFramework. | ||
| +FOUNDATION_EXPORT double MCSketchBundleLoaderFrameworkVersionNumber; | ||
| + | ||
| +//! Project version string for MCSketchBundleLoaderFramework. | ||
| +FOUNDATION_EXPORT const unsigned char MCSketchBundleLoaderFrameworkVersionString[]; | ||
| + | ||
| +#import "MCSketchBundleLoader.h" |
Binary file not shown.
| @@ -0,0 +1,6 @@ | ||
| +framework module MCSketchBundleLoaderFramework { | ||
| + umbrella header "MCSketchBundleLoaderFramework.h" | ||
| + | ||
| + export * | ||
| + module * { export * } | ||
| +} |
| @@ -0,0 +1,46 @@ | ||
| +<?xml version="1.0" encoding="UTF-8"?> | ||
| +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| +<plist version="1.0"> | ||
| +<dict> | ||
| + <key>BuildMachineOSBuild</key> | ||
| + <string>14F27</string> | ||
| + <key>CFBundleDevelopmentRegion</key> | ||
| + <string>en</string> | ||
| + <key>CFBundleExecutable</key> | ||
| + <string>MCSketchBundleLoaderFramework</string> | ||
| + <key>CFBundleIdentifier</key> | ||
| + <string>matt-curtis.MCSketchBundleLoaderFramework</string> | ||
| + <key>CFBundleInfoDictionaryVersion</key> | ||
| + <string>6.0</string> | ||
| + <key>CFBundleName</key> | ||
| + <string>MCSketchBundleLoaderFramework</string> | ||
| + <key>CFBundlePackageType</key> | ||
| + <string>FMWK</string> | ||
| + <key>CFBundleShortVersionString</key> | ||
| + <string>1.0</string> | ||
| + <key>CFBundleSignature</key> | ||
| + <string>????</string> | ||
| + <key>CFBundleSupportedPlatforms</key> | ||
| + <array> | ||
| + <string>MacOSX</string> | ||
| + </array> | ||
| + <key>CFBundleVersion</key> | ||
| + <string>1</string> | ||
| + <key>DTCompiler</key> | ||
| + <string>com.apple.compilers.llvm.clang.1_0</string> | ||
| + <key>DTPlatformBuild</key> | ||
| + <string>7A1001</string> | ||
| + <key>DTPlatformVersion</key> | ||
| + <string>GM</string> | ||
| + <key>DTSDKBuild</key> | ||
| + <string>15A278</string> | ||
| + <key>DTSDKName</key> | ||
| + <string>macosx10.11</string> | ||
| + <key>DTXcode</key> | ||
| + <string>0701</string> | ||
| + <key>DTXcodeBuild</key> | ||
| + <string>7A1001</string> | ||
| + <key>NSHumanReadableCopyright</key> | ||
| + <string>Copyright © 2015 Matt. All rights reserved.</string> | ||
| +</dict> | ||
| +</plist> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
| @@ -1 +0,0 @@ | ||
| -Versions/Current/MCSketchPluginFramework |
Binary file not shown.
| @@ -1 +0,0 @@ | ||
| -Versions/Current/Resources |
| @@ -0,0 +1,46 @@ | ||
| +<?xml version="1.0" encoding="UTF-8"?> | ||
| +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| +<plist version="1.0"> | ||
| +<dict> | ||
| + <key>BuildMachineOSBuild</key> | ||
| + <string>14F27</string> | ||
| + <key>CFBundleDevelopmentRegion</key> | ||
| + <string>en</string> | ||
| + <key>CFBundleExecutable</key> | ||
| + <string>MCSketchPluginFramework</string> | ||
| + <key>CFBundleIdentifier</key> | ||
| + <string>matt-curtis.MCSketchPluginFramework</string> | ||
| + <key>CFBundleInfoDictionaryVersion</key> | ||
| + <string>6.0</string> | ||
| + <key>CFBundleName</key> | ||
| + <string>MCSketchPluginFramework</string> | ||
| + <key>CFBundlePackageType</key> | ||
| + <string>FMWK</string> | ||
| + <key>CFBundleShortVersionString</key> | ||
| + <string>1.0</string> | ||
| + <key>CFBundleSignature</key> | ||
| + <string>????</string> | ||
| + <key>CFBundleSupportedPlatforms</key> | ||
| + <array> | ||
| + <string>MacOSX</string> | ||
| + </array> | ||
| + <key>CFBundleVersion</key> | ||
| + <string>1</string> | ||
| + <key>DTCompiler</key> | ||
| + <string>com.apple.compilers.llvm.clang.1_0</string> | ||
| + <key>DTPlatformBuild</key> | ||
| + <string>7B1005</string> | ||
| + <key>DTPlatformVersion</key> | ||
| + <string>GM</string> | ||
| + <key>DTSDKBuild</key> | ||
| + <string>15A278</string> | ||
| + <key>DTSDKName</key> | ||
| + <string>macosx10.11</string> | ||
| + <key>DTXcode</key> | ||
| + <string>0711</string> | ||
| + <key>DTXcodeBuild</key> | ||
| + <string>7B1005</string> | ||
| + <key>NSHumanReadableCopyright</key> | ||
| + <string>Copyright © 2015 Matt. All rights reserved.</string> | ||
| +</dict> | ||
| +</plist> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
| @@ -1 +0,0 @@ | ||
| -A |
Binary file not shown.
| @@ -0,0 +1,46 @@ | ||
| +<?xml version="1.0" encoding="UTF-8"?> | ||
| +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| +<plist version="1.0"> | ||
| +<dict> | ||
| + <key>BuildMachineOSBuild</key> | ||
| + <string>14F27</string> | ||
| + <key>CFBundleDevelopmentRegion</key> | ||
| + <string>en</string> | ||
| + <key>CFBundleExecutable</key> | ||
| + <string>MCSketchPluginFramework</string> | ||
| + <key>CFBundleIdentifier</key> | ||
| + <string>matt-curtis.MCSketchPluginFramework</string> | ||
| + <key>CFBundleInfoDictionaryVersion</key> | ||
| + <string>6.0</string> | ||
| + <key>CFBundleName</key> | ||
| + <string>MCSketchPluginFramework</string> | ||
| + <key>CFBundlePackageType</key> | ||
| + <string>FMWK</string> | ||
| + <key>CFBundleShortVersionString</key> | ||
| + <string>1.0</string> | ||
| + <key>CFBundleSignature</key> | ||
| + <string>????</string> | ||
| + <key>CFBundleSupportedPlatforms</key> | ||
| + <array> | ||
| + <string>MacOSX</string> | ||
| + </array> | ||
| + <key>CFBundleVersion</key> | ||
| + <string>1</string> | ||
| + <key>DTCompiler</key> | ||
| + <string>com.apple.compilers.llvm.clang.1_0</string> | ||
| + <key>DTPlatformBuild</key> | ||
| + <string>7B1005</string> | ||
| + <key>DTPlatformVersion</key> | ||
| + <string>GM</string> | ||
| + <key>DTSDKBuild</key> | ||
| + <string>15A278</string> | ||
| + <key>DTSDKName</key> | ||
| + <string>macosx10.11</string> | ||
| + <key>DTXcode</key> | ||
| + <string>0711</string> | ||
| + <key>DTXcodeBuild</key> | ||
| + <string>7B1005</string> | ||
| + <key>NSHumanReadableCopyright</key> | ||
| + <string>Copyright © 2015 Matt. All rights reserved.</string> | ||
| +</dict> | ||
| +</plist> |
Binary file not shown.
| @@ -1,11 +1,12 @@ | ||
| -@import 'SketchLibrary.js' | ||
| +@import "SketchLibrary.js" | ||
| // Load Bundle | ||
| -if($.runtime.classExists("MCSConstraintsPluginController") == false){ | ||
| +if($.runtime.classExists("MCFluidPluginController") == false){ | ||
| $.runtime.loadBundle($.paths.resourcesPath+"/MCSketchConstraints.bundle"); | ||
| -} | ||
| - | ||
| -// Plugin Methods | ||
| - | ||
| -// ... | ||
| + | ||
| + /* | ||
| + Note to self and whoever else reads these (say hi on twitter :) special word: efficacy): | ||
| + A more robust method for detecting/identifying the existing plugin in the runtime is needed... | ||
| + */ | ||
| +} |
0 comments on commit
06b875c