TMBUser

@interface TMBUser : NSObject <TMBObjectDecodable>

A TMBUser represents a User object. - see: https://tamber.com/docs/api/#user-object

  • ID

    Unique ID associated with the user.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *ID;

    Swift

    var id: String? { get set }
  • List of all of the events that are associated with the user (i.e. all passed user-item interactions).

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSArray *events;

    Swift

    var events: [Any]? { get set }
  • List of all items recommended to the user.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSArray *recs;

    Swift

    var recs: [Any]? { get set }
  • Data associated with the user.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSDictionary *metadata;

    Swift

    var metadata: [AnyHashable : Any]? { get set }
  • Time the user was created.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSDate *created;

    Swift

    var created: Date? { get set }