HaircutModel

public class HaircutModel

HaircutModel contains base information about the haircut model.

  • Model haircut identity.

    Declaration

    Swift

    public var identity: String
  • Information about haicut received from server.

    Declaration

    Swift

    public var responseHaircutModel: ResponseAvatarHaircutModel
  • Can be used to present the current haircut on the screen.

    Declaration

    Swift

    public var plyItem: PlyItem
  • Is used to determine whether ply item and preview were downloaded or not.

    Declaration

    Swift

    public func isDownloaded() -> Bool