Skip to content

Commit b29fbd2

Browse files
committed
Update examples for v1.39.0
1 parent dfabe9e commit b29fbd2

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

CESDK-Showcases.xcodeproj/project.pbxproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@
10391039
path = "engine-guides-uri-resolver";
10401040
sourceTree = "<group>";
10411041
};
1042-
"TEMP_A0723E23-7116-4D55-B1E5-86429FBD94DF" /* cesdk_swift_examples */ = {
1042+
"TEMP_45F7780C-719D-491F-B94C-1FCC248275C3" /* cesdk_swift_examples */ = {
10431043
isa = PBXGroup;
10441044
children = (
10451045
582BF90249D09687E7CFACDC /* editor-guides-solutions-video-editor */,
@@ -1466,7 +1466,7 @@
14661466
GCC_WARN_UNUSED_VARIABLE = YES;
14671467
GENERATE_INFOPLIST_FILE = YES;
14681468
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
1469-
MARKETING_VERSION = 1.38.0;
1469+
MARKETING_VERSION = 1.39.0;
14701470
MTL_ENABLE_DEBUG_INFO = NO;
14711471
MTL_FAST_MATH = YES;
14721472
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1556,7 +1556,7 @@
15561556
GCC_WARN_UNUSED_VARIABLE = YES;
15571557
GENERATE_INFOPLIST_FILE = YES;
15581558
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
1559-
MARKETING_VERSION = 1.38.0;
1559+
MARKETING_VERSION = 1.39.0;
15601560
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
15611561
MTL_FAST_MATH = YES;
15621562
ONLY_ACTIVE_ARCH = YES;
@@ -1631,15 +1631,15 @@
16311631
repositoryURL = "https://github.com/imgly/IMGLYUI-swift";
16321632
requirement = {
16331633
kind = exactVersion;
1634-
version = 1.38.0;
1634+
version = 1.39.0;
16351635
};
16361636
};
16371637
10597E39A033ABD8B233CD14 /* XCRemoteSwiftPackageReference "IMGLYEngine-swift" */ = {
16381638
isa = XCRemoteSwiftPackageReference;
16391639
repositoryURL = "https://github.com/imgly/IMGLYEngine-swift";
16401640
requirement = {
16411641
kind = exactVersion;
1642-
version = 1.38.0;
1642+
version = 1.39.0;
16431643
};
16441644
};
16451645
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.38.0/assets")!
11+
baseURL: URL(string: "https://cdn.img.ly/packages/imgly/cesdk-engine/1.39.0/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.38.0/assets")
12+
try engine.editor.setSettingString("basePath", value: "https://cdn.img.ly/packages/imgly/cesdk-engine/1.39.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-text-properties/TextProperties.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,18 @@ func textProperties(engine: Engine) async throws {
9494
if try engine.block.canToggleBoldFont(text) {
9595
try engine.block.toggleBoldFont(text)
9696
}
97+
if try engine.block.canToggleBoldFont(text, in: "Alex".range(of: "lex")!) {
98+
try engine.block.toggleBoldFont(text, in: "Alex".range(of: "lex")!)
99+
}
97100
// highlight-toggleBold
98101

99102
// highlight-toggleItalic
100103
if try engine.block.canToggleItalicFont(text) {
101104
try engine.block.toggleItalicFont(text)
102105
}
106+
if try engine.block.canToggleItalicFont(text, in: "Alex".range(of: "lex")!) {
107+
try engine.block.toggleItalicFont(text, in: "Alex".range(of: "lex")!)
108+
}
103109
// highlight-toggleItalic
104110

105111
// highlight-getTextFontWeights

0 commit comments

Comments
 (0)