KKLibrary

public enum KKLibrary

The set of available enums for managing the user’s library.

KKLibrary offers:

  • Kind enum for managing a specific user library.
  • Status enum for managing an item’s status as well as populate a library view.
  • SortType enum for managing the way items are sorted.
    • This in turn offers the Options enum for managing the sorting order.
  • The set of available library types.

    case anime = 0
    case literature = 1
    case game = 2
    
    • Tag: KKL-Kind
    See more

    Declaration

    Swift

    public enum Kind : Int, CaseIterable
  • The set of available library status types.

    case none = -1
    case inProgress = 0
    case planning = 2
    case completed = 3
    case onHold = 4
    case dropped = 1
    
    • Tag: KKL-Status
    See more

    Declaration

    Swift

    public enum Status : Int, Codable
  • The set of available library sorting types.

    case none = 0
    case alphabetically = 1
    ...
    
    • Tag: KKL-SortType
    See more

    Declaration

    Swift

    public enum SortType : Int