         }
     }
 
-    /// EZSwiftExtensions - Calls action when a screen shot is taken
+    /// EZSE: Calls action when a screen shot is taken
     public static func detectScreenShot(action: () -> ()) {
         let mainQueue = NSOperationQueue.mainQueue()
         NSNotificationCenter.defaultCenter().addObserverForName(UIApplicationUserDidTakeScreenshotNotification, object: nil, queue: mainQueue) { notification in

        }
    }

    /// EZSwiftExtensions
    private static func requestURL(url: String, success: (NSData?) -> Void, error: ((NSError) -> Void)? = nil) {
        guard #available(iOS 9, *) else {
            NSURLConnection.sendAsynchronousRequest(


public struct ez {

    /// EZSE: Returns app's name
    public static var appDisplayName: String {
        return NSBundle.mainBundle().objectForInfoDictionaryKey("CFBundleDisplayName") as? String
            ?? NSBundle.mainBundle().objectForInfoDictionaryKey("CFBundleName") as! String
    }

    /// EZSE: Returns app's version number
    public static var appVersion: String {
        return NSBundle.mainBundle().objectForInfoDictionaryKey("CFBundleShortVersionString") as! String
    }

    /// EZSE: Return app's build number
    public static var appBuild: String {
        return NSBundle.mainBundle().objectForInfoDictionaryKey(kCFBundleVersionKey as String) as! String
    }

    /// EZSE: Returns both app's version and build numbers
    public static var appVersionAndBuild: String {
        let version = appVersion, build = appBuild
        return version == build ? "v\(version)" : "v\(version)(\(build))"
    }

    /// EZSE: Returns top ViewController
    public static var topMostVC: UIViewController? {
        var presentedVC = UIApplication.sharedApplication().keyWindow?.rootViewController
        while let pVC = presentedVC?.presentedViewController {
