User

public struct User : CustomStringConvertible, Equatable

A container to hold data about a Twitter user. You will only need to use the public properties.

  • Screen name of user (without @ at beginning)

    Declaration

    Swift

    public let screenName: String
  • Full name of user

    Declaration

    Swift

    public let name: String
  • id

    Twitter identifier for user

    Declaration

    Swift

    public let id: String
  • Does the user have a verified account?

    Declaration

    Swift

    public let verified: Bool
  • Option URL for profile image of user

    Declaration

    Swift

    public let profileImageURL: URL?
  • Text description of User

    Declaration

    Swift

    public var description: String { get }