Skip to content

Commit 5d821ef

Browse files
committed
Update examples for v1.34.0
1 parent c5e48d1 commit 5d821ef

File tree

31 files changed

+68
-53
lines changed

31 files changed

+68
-53
lines changed

CESDK-Showcases.xcodeproj/project.pbxproj

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 51;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -1036,7 +1036,7 @@
10361036
path = "engine-guides-uri-resolver";
10371037
sourceTree = "<group>";
10381038
};
1039-
"TEMP_8149283E-67A4-4B2E-944D-1684B8465881" /* build_github */ = {
1039+
"TEMP_155BE681-5361-4D9D-98B6-87ADAFB46B5A" /* cesdk_swift_examples */ = {
10401040
isa = PBXGroup;
10411041
children = (
10421042
582BF90249D09687E7CFACDC /* editor-guides-solutions-video-editor */,
@@ -1090,7 +1090,7 @@
10901090
17668B475F84FBE03AEB5DE6 /* integrate-with-swiftui */,
10911091
566A7FBBF8D9A35991DA1421 /* engine-guides-exporting-blocks */,
10921092
);
1093-
path = build_github;
1093+
path = cesdk_swift_examples;
10941094
sourceTree = "<group>";
10951095
};
10961096
/* End PBXGroup section */
@@ -1142,12 +1142,13 @@
11421142
AA8555A8977E7AA9B19540FE /* Project object */ = {
11431143
isa = PBXProject;
11441144
attributes = {
1145-
LastUpgradeCheck = 1200;
1145+
BuildIndependentTargetsInParallel = YES;
1146+
LastUpgradeCheck = 1430;
11461147
TargetAttributes = {
11471148
};
11481149
};
11491150
buildConfigurationList = E8E062FB538017B95F1DA23E /* Build configuration list for PBXProject "CESDK-Showcases" */;
1150-
compatibilityVersion = "Xcode 11.0";
1151+
compatibilityVersion = "Xcode 14.0";
11511152
developmentRegion = en;
11521153
hasScannedForEncodings = 0;
11531154
knownRegions = (
@@ -1461,7 +1462,7 @@
14611462
GCC_WARN_UNUSED_VARIABLE = YES;
14621463
GENERATE_INFOPLIST_FILE = YES;
14631464
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
1464-
MARKETING_VERSION = 1.33.0;
1465+
MARKETING_VERSION = 1.34.0;
14651466
MTL_ENABLE_DEBUG_INFO = NO;
14661467
MTL_FAST_MATH = YES;
14671468
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1551,7 +1552,7 @@
15511552
GCC_WARN_UNUSED_VARIABLE = YES;
15521553
GENERATE_INFOPLIST_FILE = YES;
15531554
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
1554-
MARKETING_VERSION = 1.33.0;
1555+
MARKETING_VERSION = 1.34.0;
15551556
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
15561557
MTL_FAST_MATH = YES;
15571558
ONLY_ACTIVE_ARCH = YES;
@@ -1626,31 +1627,31 @@
16261627
repositoryURL = "https://github.com/imgly/IMGLYUI-swift";
16271628
requirement = {
16281629
kind = exactVersion;
1629-
version = 1.33.0;
1630+
version = 1.34.0;
16301631
};
16311632
};
16321633
10597E39A033ABD8B233CD14 /* XCRemoteSwiftPackageReference "IMGLYEngine-swift" */ = {
16331634
isa = XCRemoteSwiftPackageReference;
16341635
repositoryURL = "https://github.com/imgly/IMGLYEngine-swift";
16351636
requirement = {
16361637
kind = exactVersion;
1637-
version = 1.33.0;
1638+
version = 1.34.0;
16381639
};
16391640
};
16401641
150F161C090426538C39E173 /* XCRemoteSwiftPackageReference "Kingfisher" */ = {
16411642
isa = XCRemoteSwiftPackageReference;
16421643
repositoryURL = "https://github.com/onevcat/Kingfisher";
16431644
requirement = {
16441645
kind = exactVersion;
1645-
version = 7.11.0;
1646+
version = 7.12.0;
16461647
};
16471648
};
16481649
4D2B057734A5412CF39C2B92 /* XCRemoteSwiftPackageReference "SwiftUI-Introspect" */ = {
16491650
isa = XCRemoteSwiftPackageReference;
16501651
repositoryURL = "https://github.com/siteline/SwiftUI-Introspect";
16511652
requirement = {
16521653
kind = exactVersion;
1653-
version = 1.1.3;
1654+
version = 1.3.0;
16541655
};
16551656
};
16561657
/* End XCRemoteSwiftPackageReference section */

camera-guides-quickstart/CameraSwiftUI.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// highlight-import
22
import IMGLYCamera
3+
34
// highlight-import
45
import SwiftUI
56

camera-guides-quickstart/CameraUIKit.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// highlight-import
22
import IMGLYCamera
3+
34
// highlight-import
45
import SwiftUI
56

@@ -42,7 +43,7 @@ class CameraUIKit: UIViewController {
4243
button.translatesAutoresizingMaskIntoConstraints = false
4344
NSLayoutConstraint.activate([
4445
button.centerXAnchor.constraint(equalTo: view.centerXAnchor),
45-
button.centerYAnchor.constraint(equalTo: view.centerYAnchor)
46+
button.centerYAnchor.constraint(equalTo: view.centerYAnchor),
4647
])
4748
}
4849
}

editor-guides-configuration-asset-library/CustomAssetLibrary.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ struct CustomAssetLibrary: AssetLibrary {
5252
@AssetLibraryBuilder var stickers: AssetLibraryContent {
5353
AssetLibrarySource.sticker(.titleForGroup { group in
5454
if let name = group?.split(separator: "/").last {
55-
return name.capitalized
55+
name.capitalized
5656
} else {
57-
return "Stickers"
57+
"Stickers"
5858
}
5959
}, source: .init(defaultSource: .sticker))
6060
}

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.33.0/assets")!
11+
baseURL: URL(string: "https://cdn.img.ly/packages/imgly/cesdk-engine/1.34.0/assets")!
1212
)
1313

1414
var editor: some View {

editor-guides-configuration-callbacks/CallbacksEditorSolution.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// highlight-import
44
import IMGLYDesignEditor
55
import IMGLYEngine
6+
67
// highlight-import
78
import SwiftUI
89

editor-guides-configuration-color-palette/ColorPaletteEditorSolution.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct ColorPaletteEditorSolution: View {
2222
.init("Red", .imgly.red),
2323
.init("Black", .imgly.black),
2424
.init("White", .imgly.white),
25-
.init("Gray", .imgly.gray)
25+
.init("Gray", .imgly.gray),
2626
])
2727
// highlight-colorPalette
2828
}

editor-guides-quickstart/EditorSwiftUI.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// highlight-import
22
import IMGLYDesignEditor
3+
34
// highlight-import
45
import SwiftUI
56

editor-guides-quickstart/EditorUIKit.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// highlight-import
22
import IMGLYDesignEditor
3+
34
// highlight-import
45
import SwiftUI
56

@@ -34,7 +35,7 @@ class EditorUIKit: UIViewController {
3435
button.translatesAutoresizingMaskIntoConstraints = false
3536
NSLayoutConstraint.activate([
3637
button.centerXAnchor.constraint(equalTo: view.centerXAnchor),
37-
button.centerYAnchor.constraint(equalTo: view.centerYAnchor)
38+
button.centerYAnchor.constraint(equalTo: view.centerYAnchor),
3839
])
3940
}
4041
}

editor-guides-solutions-apparel-editor/ApparelEditorSolution.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// highlight-import
22
import IMGLYApparelEditor
3+
34
// highlight-import
45
import SwiftUI
56

0 commit comments

Comments
 (0)