Skip to content

Commit

Permalink
ContentSync 8.3.0 (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrody authored Jul 27, 2021
1 parent f62d670 commit 5e2a6fb
Show file tree
Hide file tree
Showing 33 changed files with 317 additions and 38 deletions.
Binary file removed ContentSync_Sketch_8.1.1.dmg
Binary file not shown.
Binary file added ContentSync_Sketch_8.3.0.dmg
Binary file not shown.
34 changes: 33 additions & 1 deletion README.md
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.

Expand Down Expand Up @@ -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
Expand Down
Binary file not shown.
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 */
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
framework module ContentSync {
umbrella header "ContentSync.h"

export *
module * { export * }
}
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 not shown.
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 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.
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.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>8.1.1</string>
<string>8.3.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>8.1.1</string>
<string>8.3.0</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
Loading

0 comments on commit 5e2a6fb

Please sign in to comment.