UAMessageCenterDateUtils

@interface UAMessageCenterDateUtils : NSObject

Utility for getting relative date within the message center.



  • Declaration

    Objective-C

    + (NSString *)formattedDateRelativeToNow:(NSDate *)date;

    Swift

    class func formattedDateRelative(toNow date: Date!) -> String!