diff --git a/SwiftRadio.xcodeproj/project.xcworkspace/xcuserdata/wu.xcuserdatad/UserInterfaceState.xcuserstate b/SwiftRadio.xcodeproj/project.xcworkspace/xcuserdata/wu.xcuserdatad/UserInterfaceState.xcuserstate
index 5bd9d0d4..268f2397 100644
Binary files a/SwiftRadio.xcodeproj/project.xcworkspace/xcuserdata/wu.xcuserdatad/UserInterfaceState.xcuserstate and b/SwiftRadio.xcodeproj/project.xcworkspace/xcuserdata/wu.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/SwiftRadio.xcodeproj/xcuserdata/wu.xcuserdatad/xcschemes/xcschememanagement.plist b/SwiftRadio.xcodeproj/xcuserdata/wu.xcuserdatad/xcschemes/xcschememanagement.plist
index 322e71fa..fc800377 100644
--- a/SwiftRadio.xcodeproj/xcuserdata/wu.xcuserdatad/xcschemes/xcschememanagement.plist
+++ b/SwiftRadio.xcodeproj/xcuserdata/wu.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -12,6 +12,11 @@
SuppressBuildableAutocreation
+ 2C5545B91C1124DE00728469
+
+ primary
+
+
9409E1151ABF6FEA00312E2B
primary
diff --git a/SwiftRadio/AnimationFrames.swift b/SwiftRadio/AnimationFrames.swift
index 254441f1..f0895c0f 100755
--- a/SwiftRadio/AnimationFrames.swift
+++ b/SwiftRadio/AnimationFrames.swift
@@ -20,7 +20,7 @@ class AnimationFrames {
}
}
- for (var i = 2; i > 0; i--) {
+ for i in 2.stride(to: 0, by: -1) {
if let image = UIImage(named: "NowPlayingBars-\(i)") {
animationFrames.append(image)
}
diff --git a/SwiftRadio/Base.lproj/Main.storyboard b/SwiftRadio/Base.lproj/Main.storyboard
index f957755e..e16c853f 100755
--- a/SwiftRadio/Base.lproj/Main.storyboard
+++ b/SwiftRadio/Base.lproj/Main.storyboard
@@ -1,8 +1,8 @@
-
+
-
+
@@ -29,7 +29,7 @@
-
+
diff --git a/SwiftRadio/Libraries/Spring/KeyboardLayoutConstraint.swift b/SwiftRadio/Libraries/Spring/KeyboardLayoutConstraint.swift
index 6232c938..c45532d9 100755
--- a/SwiftRadio/Libraries/Spring/KeyboardLayoutConstraint.swift
+++ b/SwiftRadio/Libraries/Spring/KeyboardLayoutConstraint.swift
@@ -33,7 +33,7 @@ public class KeyboardLayoutConstraint: NSLayoutConstraint {
offset = constant
NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(KeyboardLayoutConstraint.keyboardWillShowNotification(_:)), name: UIKeyboardWillShowNotification, object: nil)
- NSNotificationCenter.defaultCenter().addObserver(self, selector: "keyboardWillHideNotification:", name: UIKeyboardWillHideNotification, object: nil)
+ NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(KeyboardLayoutConstraint.keyboardWillHideNotification(_:)), name: UIKeyboardWillHideNotification, object: nil)
}
deinit {
diff --git a/SwiftRadio/Libraries/Spring/Misc.swift b/SwiftRadio/Libraries/Spring/Misc.swift
index a2aa3274..2c47d0b5 100755
--- a/SwiftRadio/Libraries/Spring/Misc.swift
+++ b/SwiftRadio/Libraries/Spring/Misc.swift
@@ -142,7 +142,7 @@ public func randomStringWithLength (len : Int) -> NSString {
let randomString : NSMutableString = NSMutableString(capacity: len)
- for (var i=0; i < len; i++){
+ for _ in 0..