License

public extension License
  • Cast constructor, converting any binary integer to a License.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • No license specified

    Declaration

    Swift

    static let unknown: GtkLicense
  • A license text is going to be specified by the developer

    Declaration

    Swift

    static let custom: GtkLicense
  • The GNU General Public License, version 2.0 or later

    Declaration

    Swift

    static let gpl20: GtkLicense
  • The GNU General Public License, version 3.0 or later

    Declaration

    Swift

    static let gpl30: GtkLicense
  • The GNU Lesser General Public License, version 2.1 or later

    Declaration

    Swift

    static let lgpl21: GtkLicense
  • The GNU Lesser General Public License, version 3.0 or later

    Declaration

    Swift

    static let lgpl30: GtkLicense
  • bsd

    The BSD standard license

    Declaration

    Swift

    static let bsd: GtkLicense
  • The MIT/X11 standard license

    Declaration

    Swift

    static let mitX11: GtkLicense
  • The Artistic License, version 2.0

    Declaration

    Swift

    static let artistic: GtkLicense
  • The GNU General Public License, version 2.0 only. Since 3.12.

    Declaration

    Swift

    static let gpl20Only: GtkLicense
  • The GNU General Public License, version 3.0 only. Since 3.12.

    Declaration

    Swift

    static let gpl30Only: GtkLicense
  • The GNU Lesser General Public License, version 2.1 only. Since 3.12.

    Declaration

    Swift

    static let lgpl21Only: GtkLicense
  • The GNU Lesser General Public License, version 3.0 only. Since 3.12.

    Declaration

    Swift

    static let lgpl30Only: GtkLicense
  • The GNU Affero General Public License, version 3.0 or later. Since: 3.22.

    Declaration

    Swift

    static let agpl30: GtkLicense
  • The GNU Affero General Public License, version 3.0 only. Since: 3.22.27.

    Declaration

    Swift

    static let agpl30Only: GtkLicense
  • The 3-clause BSD licence. Since: 3.24.20.

    Declaration

    Swift

    static let bsd3: GtkLicense
  • The Apache License, version 2.0. Since: 3.24.20.

    Declaration

    Swift

    static let apache20: GtkLicense
  • The Mozilla Public License, version 2.0. Since: 3.24.20.

    Declaration

    Swift

    static let mpl20: GtkLicense