Skip to content

Commit

Permalink
Update the demo project
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekhoo committed Dec 8, 2015
1 parent 0b9e239 commit 63d6172
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Example/DemoViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class DemoViewController: UIViewController {
override func loadView() {
super.loadView()

self.view.backgroundColor = UIColor(red: 255.0 / 255.0, green: 195.0 / 255.0, blue: 117.0 / 255.0, alpha: 1.0)
self.view.backgroundColor = UIColor(red: 175.0 / 255.0, green: 85.0 / 255.0, blue: 255.0 / 255.0, alpha: 1.0)

self.loader = Loader(frame: CGRectMake(0.0, 0.0, 80.0, 40.0))
loader.center = self.view.center
Expand All @@ -29,7 +29,7 @@ class DemoViewController: UIViewController {
self.loader.startAnimating()
}

override func preferredStatusBarStyle() -> UIStatusBarStyle {
return UIStatusBarStyle.LightContent
override func prefersStatusBarHidden() -> Bool {
return true
}
}
Binary file modified Source/Asset/Loader.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Source/Loader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class Loader: UIView {

override init(frame: CGRect) {
self.loaderColor = UIColor.whiteColor()
self.switchColor = UIColor(red: 255.0 / 255.0, green: 195.0 / 255.0, blue: 117.0 / 255.0, alpha: 1.0)
self.switchColor = UIColor(red: 175.0 / 255.0, green: 85.0 / 255.0, blue: 255.0 / 255.0, alpha: 1.0)

super.init(frame: frame)

Expand Down

0 comments on commit 63d6172

Please sign in to comment.