Dependency

public enum Dependency

A dependency that a UIWebPage loads in.

  • This case is for loading jQuery into a UIWebPage.

    Declaration

    Swift

    case jQuery
  • This case is used for loading Twitter Bootstrap into a UIWebPage.

    Declaration

    Swift

    case bootstrap
  • For loading custom CSS files into a web page.

    Declaration

    Swift

    case customCSS(String)
  • For loading custom JS into a web page.

    Declaration

    Swift

    case customJavaScript(String)
  • Returns a a dictionary with the key as the type of CDN links that are used in the value and the value as an array of Strings that are the CDN links to the dependency.

    Declaration

    Swift

    public var htmlTags: [DependencyType: [String]]