UAUserData

@interface UAUserData : NSObject

Model object for holding user data.

  • The user name.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull username;

    Swift

    var username: String { get }
  • The password.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull password;

    Swift

    var password: String { get }
  • url

    The url as a string.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull url;

    Swift

    var url: String { get }
  • Autoreleased UAUserData class factory method.

    Declaration

    Objective-C

    + (nonnull instancetype)dataWithUsername:(nonnull NSString *)username
                                    password:(nonnull NSString *)password
                                         url:(nonnull NSString *)url;

    Parameters

    username

    The associated user name.

    password

    The associated user password.

    url

    The associated user url, as a string.

  • UAUserData initializer.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUsername:(nonnull NSString *)username
                                    password:(nonnull NSString *)password
                                         url:(nonnull NSString *)url;

    Swift

    init(username: String, password: String, url: String)

    Parameters

    username

    The associated user name.

    password

    The associated user password.

    url

    The associated user url, as a string.