Behavior

public enum Behavior

Different behaviors to build URLs from base URL string and path.

  • appendingPathComponent: Construct URL by calling .appendingPathComponent method on URL formed from baseURL string.
  • relativeToBaseURL: Construct URL, using URL(string:relativeTo:) method
  • custom->URL: Construct URL using custom closure that was passed.
  • Undocumented

    Declaration

    Swift

    case appendingPathComponent
  • Undocumented

    Declaration

    Swift

    case relativeToBaseURL
  • Undocumented

    Declaration

    Swift

    case custom((_ baseURL: String, _ path: String) -> URL)