-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
317 additions
and
38 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
**Content collaboration for Sketch. Sync copy between Sketch designs and Google Spreadsheets and Microsoft 365 Exel.** | ||
|
||
# SketchContentSync 8.1.1 | ||
# SketchContentSync 8.3.0 | ||
|
||
Sync content to Google Spreadsheets and Microsoft 365 Excel directly from within Sketch. | ||
|
||
|
@@ -35,13 +35,45 @@ With Sketch Runner, just go to the `install` command and search for `SketchConte | |
|
||
![Sketch Runner screenshot](./docs/sketchrunner.png) | ||
|
||
#### ContentSync Scripting Support | ||
|
||
You can also use ContentSync within you Sketch scripts as of 8.3.0. The ContentSync API is accessed using `ContentSync.API()`. | ||
|
||
For example: | ||
```javascript | ||
// This example will print all Content Versions of the currently selected ContentSync project. | ||
ContentSync.API().versions((ok, data) => { | ||
if(ok) data.map((v) => console.log(v)) | ||
if(!ok) console.log("Error: ", data); | ||
}) | ||
``` | ||
|
||
The shape of each version is: | ||
```json | ||
{ | ||
"name": "Version 1", | ||
"syncable": true | ||
} | ||
``` | ||
|
||
![ContentSync Sketch Scripting](./docs/cs_scripting.png) | ||
|
||
|
||
|
||
## Support / Bugs / Feature Requests | ||
|
||
Create a github issue or contact [[email protected]](mailto:[email protected]). | ||
|
||
### Changelog | ||
|
||
#### 8.3.0 | ||
|
||
+ Add [ContentSync scripting API](#ContentSync-Scripting-Support). | ||
|
||
#### 8.2.0 | ||
|
||
+ Upgrade to universal binary for Apple Silicon Support | ||
|
||
#### 8.1.1 | ||
|
||
+ Fixes bug when using vector editing | ||
|
Binary file added
BIN
+1.14 MB
SketchContentSync.sketchplugin/Contents/Sketch/frameworks/ContentSync.framework/ContentSync
Binary file not shown.
30 changes: 30 additions & 0 deletions
30
...tSync.sketchplugin/Contents/Sketch/frameworks/ContentSync.framework/Headers/ContentSync.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,30 @@ | ||
// | ||
// ContentSync.h | ||
// ContentSyncRealtime | ||
// | ||
// Created by David Brody on 7/15/21. | ||
// Copyright © 2021 Syncify. All rights reserved. | ||
// | ||
|
||
#ifndef ContentSync_h | ||
#define ContentSync_h | ||
|
||
#import <ContentSyncRuntime.h> | ||
#import "ContentSyncAPI.h" | ||
|
||
//! Project version number for ContentSync. | ||
FOUNDATION_EXPORT double ContentSyncVersionNumber; | ||
|
||
//! Project version string for ContentSync. | ||
FOUNDATION_EXPORT const unsigned char ContentSyncVersionString[]; | ||
|
||
|
||
@interface ContentSync : NSObject | ||
|
||
@property (class, readonly) ContentSyncAPI* API; | ||
|
||
@end | ||
|
||
|
||
|
||
#endif /* ContentSync_h */ |
6 changes: 6 additions & 0 deletions
6
...nc.sketchplugin/Contents/Sketch/frameworks/ContentSync.framework/Modules/module.modulemap
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,6 @@ | ||
framework module ContentSync { | ||
umbrella header "ContentSync.h" | ||
|
||
export * | ||
module * { export * } | ||
} |
50 changes: 50 additions & 0 deletions
50
...ntSync.sketchplugin/Contents/Sketch/frameworks/ContentSync.framework/Resources/Info.plist
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,50 @@ | ||
<?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>20F71</string> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleExecutable</key> | ||
<string>ContentSync</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.syncify.sketch.contentsync.api</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>ContentSync</string> | ||
<key>CFBundlePackageType</key> | ||
<string>FMWK</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>0.1</string> | ||
<key>CFBundleSupportedPlatforms</key> | ||
<array> | ||
<string>MacOSX</string> | ||
</array> | ||
<key>CFBundleVersion</key> | ||
<string>0.1</string> | ||
<key>DTCompiler</key> | ||
<string>com.apple.compilers.llvm.clang.1_0</string> | ||
<key>DTPlatformBuild</key> | ||
<string>12E262</string> | ||
<key>DTPlatformName</key> | ||
<string>macosx</string> | ||
<key>DTPlatformVersion</key> | ||
<string>11.3</string> | ||
<key>DTSDKBuild</key> | ||
<string>20E214</string> | ||
<key>DTSDKName</key> | ||
<string>macosx11.3</string> | ||
<key>DTXcode</key> | ||
<string>1250</string> | ||
<key>DTXcodeBuild</key> | ||
<string>12E262</string> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>10.14</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>Copyright © 2021 Syncify. All rights reserved.</string> | ||
<key>UIViewEdgeAntialiasing</key> | ||
<true/> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+1.54 KB
...rameworks/ContentSync.framework/Resources/SAMKeychain.bundle/en.lproj/SAMKeychain.strings
Binary file not shown.
160 changes: 160 additions & 0 deletions
160
...ketchplugin/Contents/Sketch/frameworks/ContentSync.framework/_CodeSignature/CodeResources
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,160 @@ | ||
<?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>files</key> | ||
<dict> | ||
<key>Resources/Info.plist</key> | ||
<data> | ||
tJEHVVuWyRP3wyRxtu2v7AXCMLs= | ||
</data> | ||
<key>Resources/SAMKeychain.bundle/en.lproj/SAMKeychain.strings</key> | ||
<dict> | ||
<key>hash</key> | ||
<data> | ||
LlihTO/vSkU4IatcWawJIL8z1Pc= | ||
</data> | ||
<key>optional</key> | ||
<true/> | ||
</dict> | ||
</dict> | ||
<key>files2</key> | ||
<dict> | ||
<key>Headers/ContentSync.h</key> | ||
<dict> | ||
<key>hash2</key> | ||
<data> | ||
m35b+NWX0viHWGS2XpE59+/xTtDF22j45EgspLYGLcY= | ||
</data> | ||
</dict> | ||
<key>Modules/module.modulemap</key> | ||
<dict> | ||
<key>hash2</key> | ||
<data> | ||
zI0J43BVi2bWtNNiSi6eIzXoW0QahykkO5DRha+/6lo= | ||
</data> | ||
</dict> | ||
<key>Resources/Info.plist</key> | ||
<dict> | ||
<key>hash2</key> | ||
<data> | ||
iBjetKftGYfPp13N4c0qqcVhnCpJYMDm80bJ9I/sxI0= | ||
</data> | ||
</dict> | ||
<key>Resources/SAMKeychain.bundle/en.lproj/SAMKeychain.strings</key> | ||
<dict> | ||
<key>hash2</key> | ||
<data> | ||
SO23YR2zpjwSvKBtZP5bzkFnodS9j56NVtmrtL7iy0A= | ||
</data> | ||
<key>optional</key> | ||
<true/> | ||
</dict> | ||
</dict> | ||
<key>rules</key> | ||
<dict> | ||
<key>^Resources/</key> | ||
<true/> | ||
<key>^Resources/.*\.lproj/</key> | ||
<dict> | ||
<key>optional</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>1000</real> | ||
</dict> | ||
<key>^Resources/.*\.lproj/locversion.plist$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>1100</real> | ||
</dict> | ||
<key>^Resources/Base\.lproj/</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>1010</real> | ||
</dict> | ||
<key>^version.plist$</key> | ||
<true/> | ||
</dict> | ||
<key>rules2</key> | ||
<dict> | ||
<key>.*\.dSYM($|/)</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>11</real> | ||
</dict> | ||
<key>^(.*/)?\.DS_Store$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>2000</real> | ||
</dict> | ||
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key> | ||
<dict> | ||
<key>nested</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>10</real> | ||
</dict> | ||
<key>^.*</key> | ||
<true/> | ||
<key>^Info\.plist$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>20</real> | ||
</dict> | ||
<key>^PkgInfo$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>20</real> | ||
</dict> | ||
<key>^Resources/</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>20</real> | ||
</dict> | ||
<key>^Resources/.*\.lproj/</key> | ||
<dict> | ||
<key>optional</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>1000</real> | ||
</dict> | ||
<key>^Resources/.*\.lproj/locversion.plist$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>1100</real> | ||
</dict> | ||
<key>^Resources/Base\.lproj/</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>1010</real> | ||
</dict> | ||
<key>^[^/]+$</key> | ||
<dict> | ||
<key>nested</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>10</real> | ||
</dict> | ||
<key>^embedded\.provisionprofile$</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>20</real> | ||
</dict> | ||
<key>^version\.plist$</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>20</real> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
Binary file modified
BIN
+2.17 MB
(150%)
...sketchplugin/Contents/Sketch/frameworks/ContentSyncRealtime.framework/ContentSyncRealtime
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ketchplugin/Contents/Sketch/frameworks/ContentSyncRealtime.framework/Resources/Assets.car
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ameworks/ContentSyncRealtime.framework/Resources/CSContentKeyInspectorSectionOverride.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...meworks/ContentSyncRealtime.framework/Resources/CSContentKeyInspectorSectionOverrides.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...meworks/ContentSyncRealtime.framework/Resources/CSContentKeyInspectorSectionTextLayer.nib
Binary file not shown.
Binary file modified
BIN
-1 Byte
(100%)
...gin/Contents/Sketch/frameworks/ContentSyncRealtime.framework/Resources/CSOnboardFinal.nib
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
.../Contents/Sketch/frameworks/ContentSyncRealtime.framework/Resources/CSOnboardVersions.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...n/Contents/Sketch/frameworks/ContentSyncRealtime.framework/Resources/CSOnboardWelcome.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...gin/Contents/Sketch/frameworks/ContentSyncRealtime.framework/Resources/CSPopupAccount.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...in/Contents/Sketch/frameworks/ContentSyncRealtime.framework/Resources/CSPopupFeedback.nib
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
...etch/frameworks/ContentSyncRealtime.framework/Resources/CSTopbarPaneTabProjectNewView.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../Sketch/frameworks/ContentSyncRealtime.framework/Resources/CSTopbarPaneTabProjectView.nib
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
...etch/frameworks/ContentSyncRealtime.framework/Resources/CSTopbarPaneTabVersionNewView.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ntents/Sketch/frameworks/ContentSyncRealtime.framework/Resources/CSTopbarPaneTitleBar.nib
Binary file not shown.
Binary file modified
BIN
+408 Bytes
(100%)
...gin/Contents/Sketch/frameworks/ContentSyncRealtime.framework/Resources/CSVersionPopup.nib
Binary file not shown.
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
Oops, something went wrong.