-
Declaration
Swift
static let schema: String
-
The hunt’s ID.
Declaration
Swift
@Hunt .ID var id: UUID? { get set }
-
The title of the hunt.
Declaration
Swift
@Hunt .Field var title: String { get set }
-
A description of the hunt to convince people to join.
Declaration
Swift
@Hunt .Field var description: String { get set }
-
Declaration
Swift
init()
-
Initializes a new Hunt.
Declaration
Swift
init(title: String, description: String) throws
Parameters
creator
The creator of this hunt
title
The title for the hunt.
description
A description of this hunt