UAMessageCenterDateUtils

Objective-C

@interface UAMessageCenterDateUtils : NSObject

Swift

class UAMessageCenterDateUtils : NSObject

Utility for getting relative date within the message center.

Message Center Date Utils Core Methods



  • Declaration

    Objective-C

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

    Swift

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