Skip to content

Commit

Permalink
Merge pull request #58 from ra1028/swiftui-support
Browse files Browse the repository at this point in the history
Add support for SwiftUI compatibility
  • Loading branch information
ra1028 authored Oct 23, 2019
2 parents f4c925b + ccd5854 commit 51f512e
Show file tree
Hide file tree
Showing 88 changed files with 894 additions and 296 deletions.
2 changes: 1 addition & 1 deletion Carbon.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'Carbon'
spec.version = '1.0.0-rc.4'
spec.version = '1.0.0-rc.5'
spec.author = { 'ra1028' => '[email protected]' }
spec.homepage = 'https://github.com/ra1028/Carbon'
spec.documentation_url = 'https://ra1028.github.io/Carbon'
Expand Down
26 changes: 26 additions & 0 deletions Carbon.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

/* Begin PBXBuildFile section */
6B1BE6B722E5CA0D0054DB46 /* ComponentRenderable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B1BE6B622E5CA0D0054DB46 /* ComponentRenderable.swift */; };
6B2D90F2235F71A1003D260D /* ComponentSwiftUISupport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B2D90F1235F71A1003D260D /* ComponentSwiftUISupport.swift */; };
6B37B2F52320339300A80D62 /* IdentifiedComponentWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B37B2F32320339300A80D62 /* IdentifiedComponentWrapper.swift */; };
6B37B2F62320339300A80D62 /* ComponentWrapping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B37B2F42320339300A80D62 /* ComponentWrapping.swift */; };
6B4B11AD2322E62A00D2E7E0 /* Group.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B4B11AC2322E62A00D2E7E0 /* Group.swift */; };
Expand Down Expand Up @@ -67,6 +68,7 @@
6BC83E4D231ED17300350855 /* CellsBuildable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BC83E4C231ED17300350855 /* CellsBuildable.swift */; };
6BC83E51231ED21700350855 /* SectionsBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BC83E50231ED21700350855 /* SectionsBuilder.swift */; };
6BC83E53231ED42C00350855 /* SectionsBuildable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BC83E52231ED42C00350855 /* SectionsBuildable.swift */; };
6BD04F3E235FA9B800E53082 /* ComponentSwiftUISupportTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BD04F3D235FA9B800E53082 /* ComponentSwiftUISupportTests.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -81,6 +83,7 @@

/* Begin PBXFileReference section */
6B1BE6B622E5CA0D0054DB46 /* ComponentRenderable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ComponentRenderable.swift; sourceTree = "<group>"; };
6B2D90F1235F71A1003D260D /* ComponentSwiftUISupport.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComponentSwiftUISupport.swift; sourceTree = "<group>"; };
6B37B2F32320339300A80D62 /* IdentifiedComponentWrapper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IdentifiedComponentWrapper.swift; sourceTree = "<group>"; };
6B37B2F42320339300A80D62 /* ComponentWrapping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ComponentWrapping.swift; sourceTree = "<group>"; };
6B4B11AC2322E62A00D2E7E0 /* Group.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Group.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -144,6 +147,7 @@
6BC83E4C231ED17300350855 /* CellsBuildable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CellsBuildable.swift; sourceTree = "<group>"; };
6BC83E50231ED21700350855 /* SectionsBuilder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SectionsBuilder.swift; sourceTree = "<group>"; };
6BC83E52231ED42C00350855 /* SectionsBuildable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SectionsBuildable.swift; sourceTree = "<group>"; };
6BD04F3D235FA9B800E53082 /* ComponentSwiftUISupportTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComponentSwiftUISupportTests.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -166,6 +170,14 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
6B2D90F0235F717E003D260D /* SwiftUISupport */ = {
isa = PBXGroup;
children = (
6B2D90F1235F71A1003D260D /* ComponentSwiftUISupport.swift */,
);
path = SwiftUISupport;
sourceTree = "<group>";
};
6B4B11B223244A8500D2E7E0 /* Nodes */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -243,6 +255,7 @@
6B65949021E2532100291AAF /* Section.swift */,
6B6594A321E2532100291AAF /* Renderer.swift */,
6B5304522201EDB200A3E21E /* DataChangeset.swift */,
6B2D90F0235F717E003D260D /* SwiftUISupport */,
6BC83E47231ECE5000350855 /* FunctionBuilder */,
6B4B11B323244AE800D2E7E0 /* ComponentWrapper */,
6B4B11B223244A8500D2E7E0 /* Nodes */,
Expand Down Expand Up @@ -324,6 +337,7 @@
6B7ADEBB21F8B464003803BE /* AnyComponentTests.swift */,
6B7ADEC121F8C976003803BE /* SectionTests.swift */,
6B7ADEC821F9F9A6003803BE /* RendererTests.swift */,
6BD04F3C235FA99E00E53082 /* SwiftUISupport */,
6B55C18A23278F57004F89F2 /* FunctionBuilder */,
6B55C185232789DE004F89F2 /* ComponentWrapper */,
6B55C1842327881A004F89F2 /* Nodes */,
Expand Down Expand Up @@ -388,6 +402,14 @@
path = FunctionBuilder;
sourceTree = "<group>";
};
6BD04F3C235FA99E00E53082 /* SwiftUISupport */ = {
isa = PBXGroup;
children = (
6BD04F3D235FA9B800E53082 /* ComponentSwiftUISupportTests.swift */,
);
path = SwiftUISupport;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
Expand Down Expand Up @@ -543,6 +565,7 @@
6B6594A721E2532100291AAF /* UITableViewAdapter.swift in Sources */,
6B6594AD21E2532100291AAF /* ViewNode.swift in Sources */,
6B6594A421E2532100291AAF /* IdentifiableComponent.swift in Sources */,
6B2D90F2235F71A1003D260D /* ComponentSwiftUISupport.swift in Sources */,
6B6594AF21E2532100291AAF /* UITableViewReloadDataUpdater.swift in Sources */,
6B6594AB21E2532100291AAF /* UICollectionViewFlowLayoutAdapter.swift in Sources */,
6B6594AE21E2532100291AAF /* UITableViewUpdater.swift in Sources */,
Expand All @@ -569,6 +592,7 @@
6B7ADEE121FBA6D1003803BE /* ComponentContainerElementTests.swift in Sources */,
6B7ADEC021F8C651003803BE /* CellNodeTests.swift in Sources */,
6B55C18923278E53004F89F2 /* IdentifiedComponentWrapperTests.swift in Sources */,
6BD04F3E235FA9B800E53082 /* ComponentSwiftUISupportTests.swift in Sources */,
6B7ADECE21FA1B32003803BE /* UICollectionViewFlowLayoutAdapterTests.swift in Sources */,
6B7ADEB121F783E3003803BE /* ComponentTests.swift in Sources */,
6B7ADEDE21FBA59D003803BE /* UICollectionViewReloadDataTests.swift in Sources */,
Expand Down Expand Up @@ -743,6 +767,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.ryo.Carbon;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -773,6 +798,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.ryo.Carbon;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
Loading

0 comments on commit 51f512e

Please sign in to comment.