FavoriteEditor

final public class FavoriteEditor : UIViewController
extension FavoriteEditor: UITextFieldDelegate
extension FavoriteEditor: UITextViewDelegate
extension FavoriteEditor: UIPopoverPresentationControllerDelegate,
                          UIAdaptivePresentationControllerDelegate

Provides an editing facility for presets and favorites instances.

UITextFieldDelegate

  • Undocumented

    Declaration

    Swift

    public func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool
  • Configure name field so that pressing RETURN will exit the editor.

    Declaration

    Swift

    public func textFieldShouldReturn(_ textField: UITextField) -> Bool

    Parameters

    textField

    the name UITextField to work with

    Return Value

    false

  • Undocumented

    Declaration

    Swift

    public func textFieldShouldEndEditing(_ textField: UITextField) -> Bool
  • Undocumented

    Declaration

    Swift

    public func textViewShouldBeginEditing(_ textView: UITextView) -> Bool
  • Undocumented

    Declaration

    Swift

    public func textViewShouldEndEditing(_ textView: UITextView) -> Bool

Private

  • Undocumented

    Declaration

    Swift

    @IBAction
    func pitchBendStep(_ sender: UIStepper)
  • Undocumented

    Declaration

    Swift

    @IBAction
    func resetPitchBend(_ sender: UIButton)
  • Undocumented

    Declaration

    Swift

    public func presentationControllerDidDismiss(_ presentationController: UIPresentationController)
  • Treat touches outside of the popover as a signal to dismiss via Done button

    Declaration

    Swift

    public func popoverPresentationControllerDidDismissPopover(
      _ popoverPresentationController: UIPopoverPresentationController
    )

    Parameters

    popoverPresentationController

    the controller being monitored