Skip to content

Commit f7c9579

Browse files
committed
Update examples for v1.57.1
1 parent 8afdbe5 commit f7c9579

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

CESDK-Showcases.xcodeproj/project.pbxproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@
11091109
path = "engine-guides-uri-resolver";
11101110
sourceTree = "<group>";
11111111
};
1112-
"TEMP_C591EC87-B07C-4015-9EB0-BF4809E96431" /* cesdk_swift_examples */ = {
1112+
"TEMP_2678CD85-E4E9-49F6-A6CC-3B86DED7ECD1" /* cesdk_swift_examples */ = {
11131113
isa = PBXGroup;
11141114
children = (
11151115
08A9EA956529EFCD7B5C6079 /* editor-guides-configuration-inspector-bar */,
@@ -1553,7 +1553,7 @@
15531553
GCC_WARN_UNUSED_VARIABLE = YES;
15541554
GENERATE_INFOPLIST_FILE = YES;
15551555
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
1556-
MARKETING_VERSION = 1.57.0;
1556+
MARKETING_VERSION = 1.57.1;
15571557
MTL_ENABLE_DEBUG_INFO = NO;
15581558
MTL_FAST_MATH = YES;
15591559
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1643,7 +1643,7 @@
16431643
GCC_WARN_UNUSED_VARIABLE = YES;
16441644
GENERATE_INFOPLIST_FILE = YES;
16451645
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
1646-
MARKETING_VERSION = 1.57.0;
1646+
MARKETING_VERSION = 1.57.1;
16471647
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
16481648
MTL_FAST_MATH = YES;
16491649
ONLY_ACTIVE_ARCH = YES;
@@ -1718,15 +1718,15 @@
17181718
repositoryURL = "https://github.com/imgly/IMGLYUI-swift";
17191719
requirement = {
17201720
kind = exactVersion;
1721-
version = 1.57.0;
1721+
version = 1.57.1;
17221722
};
17231723
};
17241724
10597E39A033ABD8B233CD14 /* XCRemoteSwiftPackageReference "IMGLYEngine-swift" */ = {
17251725
isa = XCRemoteSwiftPackageReference;
17261726
repositoryURL = "https://github.com/imgly/IMGLYEngine-swift";
17271727
requirement = {
17281728
kind = exactVersion;
1729-
version = 1.57.0;
1729+
version = 1.57.1;
17301730
};
17311731
};
17321732
150F161C090426538C39E173 /* XCRemoteSwiftPackageReference "Kingfisher" */ = {

editor-guides-configuration-basics/BasicEditorSolution.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ struct BasicEditorSolution: View {
88
// highlight-userID
99
userID: "<your unique user id>",
1010
// highlight-baseURL
11-
baseURL: URL(string: "https://cdn.img.ly/packages/imgly/cesdk-engine/1.57.0/assets")!
11+
baseURL: URL(string: "https://cdn.img.ly/packages/imgly/cesdk-engine/1.57.1/assets")!
1212
)
1313

1414
var editor: some View {

engine-guides-exporting-blocks/ExportingBlocks.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import IMGLYEngine
99

1010
@MainActor
1111
func exportingBlocks(engine: Engine) async throws {
12-
try engine.editor.setSettingString("basePath", value: "https://cdn.img.ly/packages/imgly/cesdk-engine/1.57.0/assets")
12+
try engine.editor.setSettingString("basePath", value: "https://cdn.img.ly/packages/imgly/cesdk-engine/1.57.1/assets")
1313
try await engine.addDefaultAssetSources()
1414
let sceneUrl =
1515
URL(string: "https://cdn.img.ly/assets/demo/v1/ly.img.template/templates/cesdk_postcard_1.scene")!

engine-guides-uri-resolver/URIResolver.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import IMGLYEngine
44
@MainActor
55
func uriResolver(engine: Engine) async throws {
66
// highlight-get-absolute-base-path
7-
// This will return "https://cdn.img.ly/packages/imgly/cesdk-js/1.57.0/assets/banana.jpg"
7+
// This will return "https://cdn.img.ly/packages/imgly/cesdk-js/1.57.1/assets/banana.jpg"
88
try engine.editor.getAbsoluteURI(relativePath: "/banana.jpg")
99
// highlight-get-absolute-base-path
1010

@@ -36,7 +36,7 @@ func uriResolver(engine: Engine) async throws {
3636
try engine.editor.setURIResolver(nil)
3737

3838
// Since we"ve removed the custom resolver, this will return
39-
// "https://cdn.img.ly/packages/imgly/cesdk-js/1.57.0/assets/banana.jpg" like before.
39+
// "https://cdn.img.ly/packages/imgly/cesdk-js/1.57.1/assets/banana.jpg" like before.
4040
try engine.editor.getAbsoluteURI(relativePath: "/banana.jpg")
4141
// highlight-remove-resolver
4242
}

0 commit comments

Comments
 (0)