Skip to content

Commit 8afdbe5

Browse files
committed
Update examples for v1.57.0
1 parent 4ad0cbb commit 8afdbe5

File tree

183 files changed

+17
-2972
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+17
-2972
lines changed

CESDK-Showcases.xcodeproj/project.pbxproj

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
/* Begin PBXBuildFile section */
1010
01B5386DFD274E7CD761416F /* PhotoSelection.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7EB80DFE06724B15D95EF84 /* PhotoSelection.swift */; };
1111
04626311ADCE3973E18C1BA6 /* Buffers.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4EAB2A5292B920DACAABC39A /* Buffers.swift */; };
12-
04E7AAED4D339EA7EF6C7AF8 /* Assets.bundle in Resources */ = {isa = PBXBuildFile; fileRef = A5C88D0A9F71C0ED16DC15F8 /* Assets.bundle */; };
1312
0509139CF4A185B06A07E0CB /* wish_you_were_here.scene in Resources */ = {isa = PBXBuildFile; fileRef = 4D470450ED9A8ADBE0F20D36 /* wish_you_were_here.scene */; };
1413
05B4E711065A9C68D62A7CF4 /* sample_image.jpg in Resources */ = {isa = PBXBuildFile; fileRef = AAA97BA25BA3114CC821091C /* sample_image.jpg */; };
1514
064AB5D5F547E888C7094BFB /* import.png in Resources */ = {isa = PBXBuildFile; fileRef = D2FD12BFFB9425301EB00E31 /* import.png */; };
@@ -303,7 +302,6 @@
303302
A3DB715E1405C2F87FA79968 /* LoadSceneFromRemote.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoadSceneFromRemote.swift; sourceTree = "<group>"; };
304303
A444D6F3EA290E51BE49CEE7 /* CreateSceneFromScratch.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CreateSceneFromScratch.swift; sourceTree = "<group>"; };
305304
A556562136063EF09820B432 /* ModalCameraShowcase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ModalCameraShowcase.swift; sourceTree = "<group>"; };
306-
A5C88D0A9F71C0ED16DC15F8 /* Assets.bundle */ = {isa = PBXFileReference; lastKnownFileType = wrapper.cfbundle; path = Assets.bundle; sourceTree = "<group>"; };
307305
A5F43ADC1DF9B3F55DA69E92 /* x_profile_picture.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = x_profile_picture.png; sourceTree = "<group>"; };
308306
A606B83A49C463028B8A3147 /* 4_3_dark.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 4_3_dark.png; sourceTree = "<group>"; };
309307
A834A03F6F2CD958F438AF67 /* x_header.scene */ = {isa = PBXFileReference; path = x_header.scene; sourceTree = "<group>"; };
@@ -746,7 +744,6 @@
746744
79B7688ADF75CD1D8944C12E /* video */ = {
747745
isa = PBXGroup;
748746
children = (
749-
A5C88D0A9F71C0ED16DC15F8 /* Assets.bundle */,
750747
D3D90A7219DA07AE2E4E7116 /* milli-surf-school.png */,
751748
02B5DE7A2AB450E182FDEB89 /* milli-surf-school.scene */,
752749
91B77EE65A3996A2E52AF3B2 /* monthly-review.png */,
@@ -1112,7 +1109,7 @@
11121109
path = "engine-guides-uri-resolver";
11131110
sourceTree = "<group>";
11141111
};
1115-
"TEMP_5018D9DD-332D-4D38-8AF0-940467276B42" /* cesdk_swift_examples */ = {
1112+
"TEMP_C591EC87-B07C-4015-9EB0-BF4809E96431" /* cesdk_swift_examples */ = {
11161113
isa = PBXGroup;
11171114
children = (
11181115
08A9EA956529EFCD7B5C6079 /* editor-guides-configuration-inspector-bar */,
@@ -1273,7 +1270,6 @@
12731270
8D146CBC6F47F404F7428638 /* 4_3_dark.png in Resources */,
12741271
89ECF469AF532F9E9F6E33D3 /* 9_16.png in Resources */,
12751272
916AB1E6EA74B780AA220E09 /* 9_16_dark.png in Resources */,
1276-
04E7AAED4D339EA7EF6C7AF8 /* Assets.bundle in Resources */,
12771273
1FDB50FAEABB8E0D7B64B286 /* Assets.xcassets in Resources */,
12781274
52C42EF976F51CEFF808D7B4 /* apparel-ui-b-1.png in Resources */,
12791275
6CA2896B462E0037E3DE467E /* apparel-ui-b-1.scene in Resources */,
@@ -1557,7 +1553,7 @@
15571553
GCC_WARN_UNUSED_VARIABLE = YES;
15581554
GENERATE_INFOPLIST_FILE = YES;
15591555
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
1560-
MARKETING_VERSION = 1.56.0;
1556+
MARKETING_VERSION = 1.57.0;
15611557
MTL_ENABLE_DEBUG_INFO = NO;
15621558
MTL_FAST_MATH = YES;
15631559
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1647,7 +1643,7 @@
16471643
GCC_WARN_UNUSED_VARIABLE = YES;
16481644
GENERATE_INFOPLIST_FILE = YES;
16491645
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
1650-
MARKETING_VERSION = 1.56.0;
1646+
MARKETING_VERSION = 1.57.0;
16511647
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
16521648
MTL_FAST_MATH = YES;
16531649
ONLY_ACTIVE_ARCH = YES;
@@ -1722,23 +1718,23 @@
17221718
repositoryURL = "https://github.com/imgly/IMGLYUI-swift";
17231719
requirement = {
17241720
kind = exactVersion;
1725-
version = 1.56.0;
1721+
version = 1.57.0;
17261722
};
17271723
};
17281724
10597E39A033ABD8B233CD14 /* XCRemoteSwiftPackageReference "IMGLYEngine-swift" */ = {
17291725
isa = XCRemoteSwiftPackageReference;
17301726
repositoryURL = "https://github.com/imgly/IMGLYEngine-swift";
17311727
requirement = {
17321728
kind = exactVersion;
1733-
version = 1.56.0;
1729+
version = 1.57.0;
17341730
};
17351731
};
17361732
150F161C090426538C39E173 /* XCRemoteSwiftPackageReference "Kingfisher" */ = {
17371733
isa = XCRemoteSwiftPackageReference;
17381734
repositoryURL = "https://github.com/onevcat/Kingfisher";
17391735
requirement = {
17401736
kind = exactVersion;
1741-
version = 7.12.0;
1737+
version = 8.5.0;
17421738
};
17431739
};
17441740
4D2B057734A5412CF39C2B92 /* XCRemoteSwiftPackageReference "SwiftUI-Introspect" */ = {

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.56.0/assets")!
11+
baseURL: URL(string: "https://cdn.img.ly/packages/imgly/cesdk-engine/1.57.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.56.0/assets")
12+
try engine.editor.setSettingString("basePath", value: "https://cdn.img.ly/packages/imgly/cesdk-engine/1.57.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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,25 +77,25 @@ func textProperties(engine: Engine) async throws {
7777
name: "Roboto",
7878
fonts: [
7979
Font(
80-
uri: URL(string: "https://cdn.img.ly/assets/v3/ly.img.typeface/fonts/Roboto/Roboto-Bold.ttf")!,
80+
uri: URL(string: "https://cdn.img.ly/assets/v4/ly.img.typeface/fonts/Roboto/Roboto-Bold.ttf")!,
8181
subFamily: "Bold",
8282
weight: .bold,
8383
style: .normal
8484
),
8585
Font(
86-
uri: URL(string: "https://cdn.img.ly/assets/v3/ly.img.typeface/fonts/Roboto/Roboto-BoldItalic.ttf")!,
86+
uri: URL(string: "https://cdn.img.ly/assets/v4/ly.img.typeface/fonts/Roboto/Roboto-BoldItalic.ttf")!,
8787
subFamily: "Bold Italic",
8888
weight: .bold,
8989
style: .italic
9090
),
9191
Font(
92-
uri: URL(string: "https://cdn.img.ly/assets/v3/ly.img.typeface/fonts/Roboto/Roboto-Italic.ttf")!,
92+
uri: URL(string: "https://cdn.img.ly/assets/v4/ly.img.typeface/fonts/Roboto/Roboto-Italic.ttf")!,
9393
subFamily: "Italic",
9494
weight: .normal,
9595
style: .italic
9696
),
9797
Font(
98-
uri: URL(string: "https://cdn.img.ly/assets/v3/ly.img.typeface/fonts/Roboto/Roboto-Regular.ttf")!,
98+
uri: URL(string: "https://cdn.img.ly/assets/v4/ly.img.typeface/fonts/Roboto/Roboto-Regular.ttf")!,
9999
subFamily: "Regular",
100100
weight: .normal,
101101
style: .normal

engine-guides-text-with-emojis/TextWithEmojis.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func textWithEmojis(engine: Engine) async throws {
1313
// From a URL
1414
try engine.editor.setSettingString(
1515
"ubq://defaultEmojiFontFileUri",
16-
value: "https://cdn.img.ly/assets/v3/emoji/NotoColorEmoji.ttf"
16+
value: "https://cdn.img.ly/assets/v4/emoji/NotoColorEmoji.ttf"
1717
)
1818
// highlight-change-default-emoji-font
1919

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.56.0/assets/banana.jpg"
7+
// This will return "https://cdn.img.ly/packages/imgly/cesdk-js/1.57.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.56.0/assets/banana.jpg" like before.
39+
// "https://cdn.img.ly/packages/imgly/cesdk-js/1.57.0/assets/banana.jpg" like before.
4040
try engine.editor.getAbsoluteURI(relativePath: "/banana.jpg")
4141
// highlight-remove-resolver
4242
}
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)