Config

public struct Config

A Config instance communicates values for the editor to use to do its job. It is setup during the segue that will show the editor.

  • The index of the sound font entry being edited

    Declaration

    Swift

    let indexPath: IndexPath
  • The cell view that holds the sound font entry

    Declaration

    Swift

    let view: UIView
  • The rect to use for presenting

    Declaration

    Swift

    let rect: CGRect
  • The collection of all sound fonts

    Declaration

    Swift

    let soundFonts: SoundFonts
  • The unique key for the sound font being edited

    Declaration

    Swift

    let soundFontKey: LegacySoundFont.Key
  • The number of favorites associated with the sound font being edited

    Declaration

    Swift

    let favoriteCount: Int
  • The collection of known tags

    Declaration

    Swift

    let tags: Tags
  • The function to call when dismissing the editor. Sole parameter indicates if an activity was completed.

    Declaration

    Swift

    let completionHandler: ((Bool) -> Void)?