Skip to content

Commit dad4a69

Browse files
author
Andreas Wulf
committed
iStatusView is now in a state where it can be used
Added documentation and a working example app
1 parent 39ed409 commit dad4a69

22 files changed

Lines changed: 414 additions & 202 deletions

File tree

Example/iStatusView.xcodeproj/project.pbxproj

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
/* Begin PBXBuildFile section */
1010
607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; };
1111
607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; };
12-
607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; };
1312
607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; };
1413
607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; };
1514
607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; };
@@ -34,18 +33,17 @@
3433
607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
3534
607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
3635
607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
37-
607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
3836
607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
3937
607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
4038
607FACE51AFB9204008FA782 /* iStatusView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = iStatusView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
4139
607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
4240
607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = "<group>"; };
4341
919E3D161DD5FE59F1BCDCE4 /* Pods-iStatusView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iStatusView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-iStatusView_Example/Pods-iStatusView_Example.release.xcconfig"; sourceTree = "<group>"; };
44-
980C091F92875CE63BD2C144 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; name = README.md; path = ../README.md; sourceTree = "<group>"; };
45-
AD55406367DF200BCF586746 /* iStatusView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; name = iStatusView.podspec; path = ../iStatusView.podspec; sourceTree = "<group>"; };
42+
980C091F92875CE63BD2C144 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
43+
AD55406367DF200BCF586746 /* iStatusView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = iStatusView.podspec; path = ../iStatusView.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
4644
BF337CC062C599F5B25A0691 /* Pods-iStatusView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iStatusView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-iStatusView_Example/Pods-iStatusView_Example.debug.xcconfig"; sourceTree = "<group>"; };
4745
C1338391012BB8940E991838 /* Pods_iStatusView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_iStatusView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
48-
E38773A761DB4C6261C8FDB1 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
46+
E38773A761DB4C6261C8FDB1 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
4947
F992F78BE274EF618344C6C7 /* Pods-iStatusView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iStatusView_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-iStatusView_Tests/Pods-iStatusView_Tests.debug.xcconfig"; sourceTree = "<group>"; };
5048
/* End PBXFileReference section */
5149

@@ -106,7 +104,6 @@
106104
children = (
107105
607FACD51AFB9204008FA782 /* AppDelegate.swift */,
108106
607FACD71AFB9204008FA782 /* ViewController.swift */,
109-
607FACD91AFB9204008FA782 /* Main.storyboard */,
110107
607FACDC1AFB9204008FA782 /* Images.xcassets */,
111108
607FACDE1AFB9204008FA782 /* LaunchScreen.xib */,
112109
607FACD31AFB9204008FA782 /* Supporting Files */,
@@ -248,7 +245,6 @@
248245
isa = PBXResourcesBuildPhase;
249246
buildActionMask = 2147483647;
250247
files = (
251-
607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */,
252248
607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */,
253249
607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */,
254250
);
@@ -407,14 +403,6 @@
407403
/* End PBXTargetDependency section */
408404

409405
/* Begin PBXVariantGroup section */
410-
607FACD91AFB9204008FA782 /* Main.storyboard */ = {
411-
isa = PBXVariantGroup;
412-
children = (
413-
607FACDA1AFB9204008FA782 /* Base */,
414-
);
415-
name = Main.storyboard;
416-
sourceTree = "<group>";
417-
};
418406
607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = {
419407
isa = PBXVariantGroup;
420408
children = (
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

Example/iStatusView/AppDelegate.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1616

1717
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
1818
// Override point for customization after application launch.
19+
let window = UIWindow.init(frame: UIScreen.main.bounds)
20+
self.window = window
21+
22+
let mainViewController = UINavigationController(rootViewController: ViewController())
23+
self.window?.rootViewController = mainViewController
24+
self.window?.makeKeyAndVisible()
25+
1926
return true
2027
}
2128

Example/iStatusView/Base.lproj/Main.storyboard

Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}
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" : "Error.pdf",
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+
}
4 KB
Binary file not shown.
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" : "Reload.pdf",
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+
}
4.05 KB
Binary file not shown.
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" : "Success.pdf",
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+
}

0 commit comments

Comments
 (0)