Skip to content

Commit a6787e2

Browse files
committed
Updated Example
1 parent a13110c commit a6787e2

51 files changed

Lines changed: 961 additions & 65 deletions

Some content is hidden

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

Example/Example.xcodeproj/project.pbxproj

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,33 @@
88

99
/* Begin PBXBuildFile section */
1010
386FB1B320C49B71006A93BA /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 386FB1B220C49B71006A93BA /* AppDelegate.swift */; };
11-
386FB1B520C49B71006A93BA /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 386FB1B420C49B71006A93BA /* ViewController.swift */; };
11+
386FB1B520C49B71006A93BA /* ExampleViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 386FB1B420C49B71006A93BA /* ExampleViewController.swift */; };
1212
386FB1BA20C49B72006A93BA /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 386FB1B920C49B72006A93BA /* Assets.xcassets */; };
1313
386FB1BD20C49B72006A93BA /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 386FB1BB20C49B72006A93BA /* LaunchScreen.storyboard */; };
14+
38C2AE7E20D488B700F8079E /* SplitViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38C2AE7D20D488B700F8079E /* SplitViewController.swift */; };
15+
38C2AE8020D4896E00F8079E /* TableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38C2AE7F20D4896E00F8079E /* TableViewController.swift */; };
16+
38C2AE8620D48BCB00F8079E /* GitHawkInputBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38C2AE8220D48BCB00F8079E /* GitHawkInputBar.swift */; };
17+
38C2AE8720D48BCB00F8079E /* SlackInputBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38C2AE8320D48BCB00F8079E /* SlackInputBar.swift */; };
18+
38C2AE8820D48BCB00F8079E /* iMessageInputBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38C2AE8420D48BCB00F8079E /* iMessageInputBar.swift */; };
19+
38C2AE8920D48BCB00F8079E /* FacebookInputBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38C2AE8520D48BCB00F8079E /* FacebookInputBar.swift */; };
20+
38C2AE8B20D48C4C00F8079E /* ImageCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38C2AE8A20D48C4C00F8079E /* ImageCell.swift */; };
1421
644B7F98CA0877F04B101C43 /* Pods_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FD50089674513C9952D3B101 /* Pods_Example.framework */; };
1522
/* End PBXBuildFile section */
1623

1724
/* Begin PBXFileReference section */
1825
386FB1AF20C49B71006A93BA /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
1926
386FB1B220C49B71006A93BA /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
20-
386FB1B420C49B71006A93BA /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
27+
386FB1B420C49B71006A93BA /* ExampleViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleViewController.swift; sourceTree = "<group>"; };
2128
386FB1B920C49B72006A93BA /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
2229
386FB1BC20C49B72006A93BA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
2330
386FB1BE20C49B72006A93BA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
31+
38C2AE7D20D488B700F8079E /* SplitViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SplitViewController.swift; sourceTree = "<group>"; };
32+
38C2AE7F20D4896E00F8079E /* TableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TableViewController.swift; sourceTree = "<group>"; };
33+
38C2AE8220D48BCB00F8079E /* GitHawkInputBar.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GitHawkInputBar.swift; sourceTree = "<group>"; };
34+
38C2AE8320D48BCB00F8079E /* SlackInputBar.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SlackInputBar.swift; sourceTree = "<group>"; };
35+
38C2AE8420D48BCB00F8079E /* iMessageInputBar.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = iMessageInputBar.swift; sourceTree = "<group>"; };
36+
38C2AE8520D48BCB00F8079E /* FacebookInputBar.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FacebookInputBar.swift; sourceTree = "<group>"; };
37+
38C2AE8A20D48C4C00F8079E /* ImageCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageCell.swift; sourceTree = "<group>"; };
2438
E41573B0652E6E942E37F7E2 /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig"; sourceTree = "<group>"; };
2539
F3640507C14B6B8B154D09F1 /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig"; sourceTree = "<group>"; };
2640
FD50089674513C9952D3B101 /* Pods_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -60,14 +74,29 @@
6074
isa = PBXGroup;
6175
children = (
6276
386FB1B220C49B71006A93BA /* AppDelegate.swift */,
63-
386FB1B420C49B71006A93BA /* ViewController.swift */,
77+
38C2AE7D20D488B700F8079E /* SplitViewController.swift */,
78+
38C2AE7F20D4896E00F8079E /* TableViewController.swift */,
79+
386FB1B420C49B71006A93BA /* ExampleViewController.swift */,
80+
38C2AE8A20D48C4C00F8079E /* ImageCell.swift */,
81+
38C2AE8120D48BBF00F8079E /* Style Examples */,
6482
386FB1B920C49B72006A93BA /* Assets.xcassets */,
6583
386FB1BB20C49B72006A93BA /* LaunchScreen.storyboard */,
6684
386FB1BE20C49B72006A93BA /* Info.plist */,
6785
);
6886
path = Example;
6987
sourceTree = "<group>";
7088
};
89+
38C2AE8120D48BBF00F8079E /* Style Examples */ = {
90+
isa = PBXGroup;
91+
children = (
92+
38C2AE8520D48BCB00F8079E /* FacebookInputBar.swift */,
93+
38C2AE8220D48BCB00F8079E /* GitHawkInputBar.swift */,
94+
38C2AE8420D48BCB00F8079E /* iMessageInputBar.swift */,
95+
38C2AE8320D48BCB00F8079E /* SlackInputBar.swift */,
96+
);
97+
path = "Style Examples";
98+
sourceTree = "<group>";
99+
};
71100
994A0F2B22ACBD91CC78EEE2 /* Frameworks */ = {
72101
isa = PBXGroup;
73102
children = (
@@ -196,8 +225,15 @@
196225
isa = PBXSourcesBuildPhase;
197226
buildActionMask = 2147483647;
198227
files = (
199-
386FB1B520C49B71006A93BA /* ViewController.swift in Sources */,
228+
38C2AE8920D48BCB00F8079E /* FacebookInputBar.swift in Sources */,
229+
38C2AE8820D48BCB00F8079E /* iMessageInputBar.swift in Sources */,
230+
38C2AE8B20D48C4C00F8079E /* ImageCell.swift in Sources */,
231+
38C2AE8620D48BCB00F8079E /* GitHawkInputBar.swift in Sources */,
232+
386FB1B520C49B71006A93BA /* ExampleViewController.swift in Sources */,
200233
386FB1B320C49B71006A93BA /* AppDelegate.swift in Sources */,
234+
38C2AE7E20D488B700F8079E /* SplitViewController.swift in Sources */,
235+
38C2AE8020D4896E00F8079E /* TableViewController.swift in Sources */,
236+
38C2AE8720D48BCB00F8079E /* SlackInputBar.swift in Sources */,
201237
);
202238
runOnlyForDeploymentPostprocessing = 0;
203239
};

Example/Example/AppDelegate.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1717
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
1818
// Override point for customization after application launch.
1919

20+
UIApplication.shared.statusBarStyle = .lightContent
21+
2022
window = UIWindow()
2123
window?.backgroundColor = .white
22-
window?.rootViewController = ViewController()
24+
let splitViewController = SplitViewController()
25+
splitViewController.viewControllers = [UINavigationController(rootViewController: TableViewController())]
26+
window?.rootViewController = splitViewController
2327
window?.makeKeyAndVisible()
2428

2529
return true
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"filename" : "icons8-email_filled.png",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"version" : 1,
19+
"author" : "xcode"
20+
}
21+
}
3.62 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"filename" : "icons8-bold.png",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"version" : 1,
19+
"author" : "xcode"
20+
}
21+
}
1.53 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"filename" : "icons8-compact_camera_filled.png",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"version" : 1,
19+
"author" : "xcode"
20+
}
21+
}
2.34 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"filename" : "icons8-source_code.png",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"version" : 1,
19+
"author" : "xcode"
20+
}
21+
}
1.62 KB
Loading

0 commit comments

Comments
 (0)