Vote

public class Vote : Item

An occasion where a choice is made choose between two or more options, for instance an election.

  • The type or (sub)category of some Item.

    Declaration

    Swift

    @objc
    dynamic var itemType: String?
  • An option for some choice, for instance a Vote.

    Declaration

    Swift

    var option: Results<Option>? { get }
  • Undocumented

    Declaration

    Swift

    public required convenience init(from decoder: Decoder) throws