Last active
March 27, 2018 09:25
-
-
Save billypchan/5e9c715d651a687f1990fe0d96dc164d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension UIApplicationState : CustomStringConvertible { | |
public var description: String { | |
switch self { | |
case .active: return "active" | |
case .inactive: return "inactive" | |
case .background: return "background" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment