     
 }
 
-extension NSBundle {
+extension Bundle {
     
     var releaseVersionNumber: String? {
         return self.infoDictionary?["CFBundleShortVersionString"] as? String

import Alamofire

public func userAgentString(isLiveApp:Bool? = nil) -> String {
    let defaultString =  Manager.defaultHTTPHeaders["User-Agent"] ?? ""
    
    var appendString = "Nodes/\(NSBundle.mainBundle().releaseVersionNumber ?? "") ("
    
    if let live = isLiveApp {
        if live {

        uname(&systemInfo)
        let machineMirror = Mirror(reflecting: systemInfo.machine)
        let identifier = machineMirror.children.reduce("") { identifier, element in
            guard let value = element.value as? Int8, value != 0 else { return identifier }
            return identifier + String(UnicodeScalar(UInt8(value)))
        }
        
