ESOpenSourceLicensesView

A UIWebView presentation of the licenses html file. Which is generated by the bashscript

  • A convenience initializer This will invoke init(frame:)

    • returns a ESOpenSourceLicensesView instance

    Declaration

    Swift

    public convenience init()
  • Returns an object initialized from data in a given unarchiver.

    • parameter: aDecoder An unarchiver object.

    • returns: self, initialized using the data in decoder.

    Declaration

    Swift

    public required init(coder aDecoder: NSCoder)
  • The font to be used for the headers Default: Helvetica Neue; 16pt

    Declaration

    Swift

    public var headerFont = UIFont(name: "HelveticaNeue", size: 16)!
  • The font to be used for the license text Default: Menlo; 12pt

    Declaration

    Swift

    public var licenseFont = UIFont(name: "Menlo-Regular", size: 12)!
  • The text color of the headers Default: Black

    Declaration

    Swift

    public var headerTextColor:UIColor = UIColor.blackColor()
  • The text color of the license text Default: Black

    Declaration

    Swift

    public var licenseTextColor = UIColor.blackColor()
  • The backgroundcolor of the license text Default: #EEE

    Declaration

    Swift

    public var licenseBackgroundColor = UIColor(white: 0.9333, alpha: 1.0)
  • The border color of the license text Default: #DDD

    Declaration

    Swift

    public var licenseBorderColor = UIColor(white: 0.8666, alpha: 1.0)
  • The width of the border of the license text Default 1.0

    Declaration

    Swift

    public var licenseBorderWidth:CGFloat = 1.0
  • The padding in the view Default 10.0

    Declaration

    Swift

    public var padding:CGFloat = 10.0
  • Reloads the license text This should be done after a style attribute is changed

    Declaration

    Swift

    override public func reload()