Skip to content

Commit b842840

Browse files
committed
Update examples for v1.54.0
1 parent 8044284 commit b842840

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

CESDK-Showcases.xcodeproj/project.pbxproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@
11121112
path = "engine-guides-uri-resolver";
11131113
sourceTree = "<group>";
11141114
};
1115-
"TEMP_DA46F843-4DD4-4E7A-809E-656F16A210C9" /* cesdk_swift_examples */ = {
1115+
"TEMP_9BE7268A-5B9A-4544-930F-33F5B50723AF" /* cesdk_swift_examples */ = {
11161116
isa = PBXGroup;
11171117
children = (
11181118
08A9EA956529EFCD7B5C6079 /* editor-guides-configuration-inspector-bar */,
@@ -1555,7 +1555,7 @@
15551555
GCC_WARN_UNUSED_VARIABLE = YES;
15561556
GENERATE_INFOPLIST_FILE = YES;
15571557
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
1558-
MARKETING_VERSION = 1.53.0;
1558+
MARKETING_VERSION = 1.54.0;
15591559
MTL_ENABLE_DEBUG_INFO = NO;
15601560
MTL_FAST_MATH = YES;
15611561
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1645,7 +1645,7 @@
16451645
GCC_WARN_UNUSED_VARIABLE = YES;
16461646
GENERATE_INFOPLIST_FILE = YES;
16471647
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
1648-
MARKETING_VERSION = 1.53.0;
1648+
MARKETING_VERSION = 1.54.0;
16491649
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
16501650
MTL_FAST_MATH = YES;
16511651
ONLY_ACTIVE_ARCH = YES;
@@ -1720,15 +1720,15 @@
17201720
repositoryURL = "https://github.com/imgly/IMGLYUI-swift";
17211721
requirement = {
17221722
kind = exactVersion;
1723-
version = 1.53.0;
1723+
version = 1.54.0;
17241724
};
17251725
};
17261726
10597E39A033ABD8B233CD14 /* XCRemoteSwiftPackageReference "IMGLYEngine-swift" */ = {
17271727
isa = XCRemoteSwiftPackageReference;
17281728
repositoryURL = "https://github.com/imgly/IMGLYEngine-swift";
17291729
requirement = {
17301730
kind = exactVersion;
1731-
version = 1.53.0;
1731+
version = 1.54.0;
17321732
};
17331733
};
17341734
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.53.0/assets")!
11+
baseURL: URL(string: "https://cdn.img.ly/packages/imgly/cesdk-engine/1.54.0/assets")!
1212
)
1313

1414
var editor: some View {

editor-guides-configuration-dock/DefaultDockItemsEditorSolution.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ struct DefaultDockItemsEditorSolution: View {
1818
Dock.Buttons.textLibrary()
1919
Dock.Buttons.shapesLibrary()
2020
Dock.Buttons.stickersLibrary()
21+
Dock.Buttons.resize()
2122
}
2223
// highlight-designEditor-dockItems
2324
}

editor-guides-configuration-dock/DockEditorSolution.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ struct DockEditorSolution: View {
1919
Dock.Buttons.textLibrary()
2020
Dock.Buttons.shapesLibrary()
2121
Dock.Buttons.stickersLibrary()
22+
Dock.Buttons.resize()
2223
}
2324
// highlight-dockItems
2425
// highlight-modifyDockItems

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.53.0/assets")
12+
try engine.editor.setSettingString("basePath", value: "https://cdn.img.ly/packages/imgly/cesdk-engine/1.54.0/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.53.0/assets/banana.jpg"
7+
// This will return "https://cdn.img.ly/packages/imgly/cesdk-js/1.54.0/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.53.0/assets/banana.jpg" like before.
39+
// "https://cdn.img.ly/packages/imgly/cesdk-js/1.54.0/assets/banana.jpg" like before.
4040
try engine.editor.getAbsoluteURI(relativePath: "/banana.jpg")
4141
// highlight-remove-resolver
4242
}

0 commit comments

Comments
 (0)