     }
     
     public func ageFromNow(withDelimiter delimiter: String? = nil) -> String {
-        return ageFromDate(NSDate(), withDelimiter: delimiter)
+        return ageFromDate(Date(), withDelimiter: delimiter)
     }
 
     /// Return the age, as a pretty string, between date and this moment

        if let delimiter = delimiter {
            trimmingCharacters += delimiter
        }
        return age.stringByTrimmingCharactersInSet(NSCharacterSet(charactersInString: trimmingCharacters))
    }
    
}

        var age = ""
        
        if years != 0 {
            var formattedString = langBundle?.localizedString(forKey: "yy", value: "%d years", table: "YLMomentRelativeTimeLocalizable")
            if years == 1 {
                formattedString = langBundle?.localizedString(forKey: "y1", value: "%d year", table: "YLMomentRelativeTimeLocalizable")
            }
            if maxComponents > 0 {
                age = NSString(format: formattedString as! NSString, years) as String
                age += (delimiter != nil) ? (delimiter! as String + " ") : " "
                maxComponents -= 1
            }
        }
        
        if months != 0 {
            var formattedString = langBundle?.localizedString(forKey: "MM", value: "%d months", table: "YLMomentRelativeTimeLocalizable")
            if months == 1 {
                formattedString = langBundle?.localizedString(forKey: "M1", value: "%d month", table: "YLMomentRelativeTimeLocalizable")
            }
            if maxComponents > 0 {
                age += NSString(format: formattedString as! NSString, months) as String
                age += (delimiter != nil) ? (delimiter! as String + " ") : " "
                maxComponents -= 1
            }
        }
        
        if age.characters.count == 0 || days != 0 {
            var formattedString = langBundle?.localizedString(forKey: "dd", value: "%d days", table: "YLMomentRelativeTimeLocalizable")
            if days <= 1 {
                formattedString = langBundle?.localizedString(forKey: "d1", value: "%d day", table: "YLMomentRelativeTimeLocalizable")
            }
            if maxComponents > 0 {
                age += NSString(format: formattedString as! NSString, days) as String
            }
        }
        
