Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hongcaiyu committed Jan 14, 2020
1 parent d07ecf9 commit 5426c72
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ This SDK enables you to create and modify xmind(`.xmind`) files, and it's writte

Supported Platforms:

- iOS
- macOS
- iOS 9+
- macOS 10.11+

## Structure of XMind files

XMind file is a zip file which contains several components, including manifest, metadata, sheets and resources
XMind file is a zip file which contains several components, including manifest, metadata, sheets and resources.

Resources contains all the resources of this xmind file that like images.

Expand All @@ -37,7 +37,7 @@ import XMindSDK
...
...

let wb = try Workbook.open(filePath: filePath)// This file path which contains a existing xmind file.
let wb = try Workbook.open(filePath: filePath)// This file path which contains an existing xmind file.
try wb.loadManifest()
try wb.loadContent(password: "123456")

Expand All @@ -64,17 +64,17 @@ try wb.save(to: filePath, password: "123456")
- Carthage

```
github ""
github "xmindltd/xmind-sdk-swift"
```

- Swift Package Manager

```
.package(url: "", .upToNextMinor(from: "1.0"))
.package(url: "https://github.com/xmindltd/xmind-sdk-swift.git", .upToNextMinor(from: "1.0.0"))
```



## License

This SDK is released under the MIT license. See LICENSE for details.
This SDK is released under the MIT license. See LICENSE for details.
2 changes: 1 addition & 1 deletion Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
Expand Down
2 changes: 2 additions & 0 deletions XMindSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.11;
MARKETING_VERSION = 1.0.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -451,6 +452,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.11;
MARKETING_VERSION = 1.0.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = net.xmind.XMindSDK;
Expand Down

0 comments on commit 5426c72

Please sign in to comment.