public class License

The License class. This class represents license information. A License object can be passed to (some) Domain and ClassCollection initializers in order to verify the license. Alternatively, the license information can be retrieved from a file.

  • Constructs a new License object. The arguments must be copied from the license file.



    public init (product: String, user: String, organization: String,
    expires: Int? = nil, maxStates: Int? = nil,
    maxCases: Int? = nil, key: String) throws