Skip to content

Commit a20f303

Browse files
committed
Restructuring project for SPM support
1 parent 7d42ce3 commit a20f303

3 files changed

Lines changed: 17 additions & 9 deletions

File tree

Example/TableFlipExample.xcodeproj/project.pbxproj

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
B7A6A82F1F7B531800527EBE /* UITableView+TableFlip.swift in Sources */ = {isa = PBXBuildFile; fileRef = B7A6A82E1F7B081400527EBE /* UITableView+TableFlip.swift */; };
1110
B7BF193D23787E33005D0098 /* ExampleDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = B7BF193C23787E33005D0098 /* ExampleDataSource.swift */; };
11+
B7BF194623788944005D0098 /* UITableView+TableFlip.swift in Sources */ = {isa = PBXBuildFile; fileRef = B7BF194523788944005D0098 /* UITableView+TableFlip.swift */; };
1212
B7D7EF041F532EEB00FA580C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B7D7EF031F532EEB00FA580C /* AppDelegate.swift */; };
1313
B7D7EF061F532EEB00FA580C /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B7D7EF051F532EEB00FA580C /* ViewController.swift */; };
1414
B7D7EF091F532EEB00FA580C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B7D7EF071F532EEB00FA580C /* Main.storyboard */; };
@@ -18,8 +18,8 @@
1818
/* End PBXBuildFile section */
1919

2020
/* Begin PBXFileReference section */
21-
B7A6A82E1F7B081400527EBE /* UITableView+TableFlip.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UITableView+TableFlip.swift"; sourceTree = "<group>"; };
2221
B7BF193C23787E33005D0098 /* ExampleDataSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleDataSource.swift; sourceTree = "<group>"; };
22+
B7BF194523788944005D0098 /* UITableView+TableFlip.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UITableView+TableFlip.swift"; sourceTree = "<group>"; };
2323
B7D7EF001F532EEB00FA580C /* TableFlipExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TableFlipExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
2424
B7D7EF031F532EEB00FA580C /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
2525
B7D7EF051F532EEB00FA580C /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
@@ -41,13 +41,21 @@
4141
/* End PBXFrameworksBuildPhase section */
4242

4343
/* Begin PBXGroup section */
44-
B7A6A82D1F7B081400527EBE /* Source */ = {
44+
B7BF194323788944005D0098 /* Sources */ = {
4545
isa = PBXGroup;
4646
children = (
47-
B7A6A82E1F7B081400527EBE /* UITableView+TableFlip.swift */,
47+
B7BF194423788944005D0098 /* TableFlip */,
4848
);
49-
name = Source;
50-
path = ../../Source;
49+
name = Sources;
50+
path = ../../Sources;
51+
sourceTree = "<group>";
52+
};
53+
B7BF194423788944005D0098 /* TableFlip */ = {
54+
isa = PBXGroup;
55+
children = (
56+
B7BF194523788944005D0098 /* UITableView+TableFlip.swift */,
57+
);
58+
path = TableFlip;
5159
sourceTree = "<group>";
5260
};
5361
B7D7EEF71F532EEA00FA580C = {
@@ -69,7 +77,7 @@
6977
B7D7EF021F532EEB00FA580C /* TableFlipExample */ = {
7078
isa = PBXGroup;
7179
children = (
72-
B7A6A82D1F7B081400527EBE /* Source */,
80+
B7BF194323788944005D0098 /* Sources */,
7381
B7D7EF031F532EEB00FA580C /* AppDelegate.swift */,
7482
B7D7EF051F532EEB00FA580C /* ViewController.swift */,
7583
B7D7EF181F53306B00FA580C /* TableViewController.swift */,
@@ -157,7 +165,7 @@
157165
files = (
158166
B7D7EF061F532EEB00FA580C /* ViewController.swift in Sources */,
159167
B7BF193D23787E33005D0098 /* ExampleDataSource.swift in Sources */,
160-
B7A6A82F1F7B531800527EBE /* UITableView+TableFlip.swift in Sources */,
168+
B7BF194623788944005D0098 /* UITableView+TableFlip.swift in Sources */,
161169
B7D7EF041F532EEB00FA580C /* AppDelegate.swift in Sources */,
162170
B7D7EF191F53306B00FA580C /* TableViewController.swift in Sources */,
163171
);
File renamed without changes.

TableFlip.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Pod::Spec.new do |spec|
66
spec.authors = { 'Joe Fabisevich' => 'github@fabisevi.ch' }
77
spec.summary = 'A simpler way to do cool UITableView animations! (╯°□°)╯︵ ┻━┻'
88
spec.source = { :git => 'https://github.com/mergesort/TableFlip.git', :tag => "#{spec.version}" }
9-
spec.source_files = 'Source/*.swift'
9+
spec.source_files = 'Sources/TableFlip/*.swift'
1010
spec.framework = 'Foundation'
1111
spec.requires_arc = true
1212
spec.social_media_url = 'https://twitter.com/mergesort'

0 commit comments

Comments
 (0)