Skip to content

Commit 51f512e

Browse files
authored
Merge pull request #58 from ra1028/swiftui-support
Add support for SwiftUI compatibility
2 parents f4c925b + ccd5854 commit 51f512e

File tree

88 files changed

+894
-296
lines changed

Some content is hidden

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

88 files changed

+894
-296
lines changed

Carbon.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
22
spec.name = 'Carbon'
3-
spec.version = '1.0.0-rc.4'
3+
spec.version = '1.0.0-rc.5'
44
spec.author = { 'ra1028' => 'r.fe51028.r@gmail.com' }
55
spec.homepage = 'https://github.com/ra1028/Carbon'
66
spec.documentation_url = 'https://ra1028.github.io/Carbon'

Carbon.xcodeproj/project.pbxproj

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
/* Begin PBXBuildFile section */
1010
6B1BE6B722E5CA0D0054DB46 /* ComponentRenderable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B1BE6B622E5CA0D0054DB46 /* ComponentRenderable.swift */; };
11+
6B2D90F2235F71A1003D260D /* ComponentSwiftUISupport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B2D90F1235F71A1003D260D /* ComponentSwiftUISupport.swift */; };
1112
6B37B2F52320339300A80D62 /* IdentifiedComponentWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B37B2F32320339300A80D62 /* IdentifiedComponentWrapper.swift */; };
1213
6B37B2F62320339300A80D62 /* ComponentWrapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B37B2F42320339300A80D62 /* ComponentWrapping.swift */; };
1314
6B4B11AD2322E62A00D2E7E0 /* Group.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B4B11AC2322E62A00D2E7E0 /* Group.swift */; };
@@ -67,6 +68,7 @@
6768
6BC83E4D231ED17300350855 /* CellsBuildable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BC83E4C231ED17300350855 /* CellsBuildable.swift */; };
6869
6BC83E51231ED21700350855 /* SectionsBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BC83E50231ED21700350855 /* SectionsBuilder.swift */; };
6970
6BC83E53231ED42C00350855 /* SectionsBuildable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BC83E52231ED42C00350855 /* SectionsBuildable.swift */; };
71+
6BD04F3E235FA9B800E53082 /* ComponentSwiftUISupportTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BD04F3D235FA9B800E53082 /* ComponentSwiftUISupportTests.swift */; };
7072
/* End PBXBuildFile section */
7173

7274
/* Begin PBXContainerItemProxy section */
@@ -81,6 +83,7 @@
8183

8284
/* Begin PBXFileReference section */
8385
6B1BE6B622E5CA0D0054DB46 /* ComponentRenderable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ComponentRenderable.swift; sourceTree = "<group>"; };
86+
6B2D90F1235F71A1003D260D /* ComponentSwiftUISupport.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComponentSwiftUISupport.swift; sourceTree = "<group>"; };
8487
6B37B2F32320339300A80D62 /* IdentifiedComponentWrapper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IdentifiedComponentWrapper.swift; sourceTree = "<group>"; };
8588
6B37B2F42320339300A80D62 /* ComponentWrapping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ComponentWrapping.swift; sourceTree = "<group>"; };
8689
6B4B11AC2322E62A00D2E7E0 /* Group.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Group.swift; sourceTree = "<group>"; };
@@ -144,6 +147,7 @@
144147
6BC83E4C231ED17300350855 /* CellsBuildable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CellsBuildable.swift; sourceTree = "<group>"; };
145148
6BC83E50231ED21700350855 /* SectionsBuilder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SectionsBuilder.swift; sourceTree = "<group>"; };
146149
6BC83E52231ED42C00350855 /* SectionsBuildable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SectionsBuildable.swift; sourceTree = "<group>"; };
150+
6BD04F3D235FA9B800E53082 /* ComponentSwiftUISupportTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComponentSwiftUISupportTests.swift; sourceTree = "<group>"; };
147151
/* End PBXFileReference section */
148152

149153
/* Begin PBXFrameworksBuildPhase section */
@@ -166,6 +170,14 @@
166170
/* End PBXFrameworksBuildPhase section */
167171

168172
/* Begin PBXGroup section */
173+
6B2D90F0235F717E003D260D /* SwiftUISupport */ = {
174+
isa = PBXGroup;
175+
children = (
176+
6B2D90F1235F71A1003D260D /* ComponentSwiftUISupport.swift */,
177+
);
178+
path = SwiftUISupport;
179+
sourceTree = "<group>";
180+
};
169181
6B4B11B223244A8500D2E7E0 /* Nodes */ = {
170182
isa = PBXGroup;
171183
children = (
@@ -243,6 +255,7 @@
243255
6B65949021E2532100291AAF /* Section.swift */,
244256
6B6594A321E2532100291AAF /* Renderer.swift */,
245257
6B5304522201EDB200A3E21E /* DataChangeset.swift */,
258+
6B2D90F0235F717E003D260D /* SwiftUISupport */,
246259
6BC83E47231ECE5000350855 /* FunctionBuilder */,
247260
6B4B11B323244AE800D2E7E0 /* ComponentWrapper */,
248261
6B4B11B223244A8500D2E7E0 /* Nodes */,
@@ -324,6 +337,7 @@
324337
6B7ADEBB21F8B464003803BE /* AnyComponentTests.swift */,
325338
6B7ADEC121F8C976003803BE /* SectionTests.swift */,
326339
6B7ADEC821F9F9A6003803BE /* RendererTests.swift */,
340+
6BD04F3C235FA99E00E53082 /* SwiftUISupport */,
327341
6B55C18A23278F57004F89F2 /* FunctionBuilder */,
328342
6B55C185232789DE004F89F2 /* ComponentWrapper */,
329343
6B55C1842327881A004F89F2 /* Nodes */,
@@ -388,6 +402,14 @@
388402
path = FunctionBuilder;
389403
sourceTree = "<group>";
390404
};
405+
6BD04F3C235FA99E00E53082 /* SwiftUISupport */ = {
406+
isa = PBXGroup;
407+
children = (
408+
6BD04F3D235FA9B800E53082 /* ComponentSwiftUISupportTests.swift */,
409+
);
410+
path = SwiftUISupport;
411+
sourceTree = "<group>";
412+
};
391413
/* End PBXGroup section */
392414

393415
/* Begin PBXHeadersBuildPhase section */
@@ -543,6 +565,7 @@
543565
6B6594A721E2532100291AAF /* UITableViewAdapter.swift in Sources */,
544566
6B6594AD21E2532100291AAF /* ViewNode.swift in Sources */,
545567
6B6594A421E2532100291AAF /* IdentifiableComponent.swift in Sources */,
568+
6B2D90F2235F71A1003D260D /* ComponentSwiftUISupport.swift in Sources */,
546569
6B6594AF21E2532100291AAF /* UITableViewReloadDataUpdater.swift in Sources */,
547570
6B6594AB21E2532100291AAF /* UICollectionViewFlowLayoutAdapter.swift in Sources */,
548571
6B6594AE21E2532100291AAF /* UITableViewUpdater.swift in Sources */,
@@ -569,6 +592,7 @@
569592
6B7ADEE121FBA6D1003803BE /* ComponentContainerElementTests.swift in Sources */,
570593
6B7ADEC021F8C651003803BE /* CellNodeTests.swift in Sources */,
571594
6B55C18923278E53004F89F2 /* IdentifiedComponentWrapperTests.swift in Sources */,
595+
6BD04F3E235FA9B800E53082 /* ComponentSwiftUISupportTests.swift in Sources */,
572596
6B7ADECE21FA1B32003803BE /* UICollectionViewFlowLayoutAdapterTests.swift in Sources */,
573597
6B7ADEB121F783E3003803BE /* ComponentTests.swift in Sources */,
574598
6B7ADEDE21FBA59D003803BE /* UICollectionViewReloadDataTests.swift in Sources */,
@@ -743,6 +767,7 @@
743767
"@executable_path/Frameworks",
744768
"@loader_path/Frameworks",
745769
);
770+
OTHER_LDFLAGS = "";
746771
PRODUCT_BUNDLE_IDENTIFIER = com.ryo.Carbon;
747772
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
748773
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -773,6 +798,7 @@
773798
"@executable_path/Frameworks",
774799
"@loader_path/Frameworks",
775800
);
801+
OTHER_LDFLAGS = "";
776802
PRODUCT_BUNDLE_IDENTIFIER = com.ryo.Carbon;
777803
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
778804
PROVISIONING_PROFILE_SPECIFIER = "";

0 commit comments

Comments
 (0)