FontEditor
final class FontEditor : UIViewController
extension FontEditor: UITextFieldDelegate
extension FontEditor: UIPopoverPresentationControllerDelegate,
UIAdaptivePresentationControllerDelegate
extension FontEditor: SegueHandler
Provides an editing facility for SoundFont meta-data and tags.
-
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.
See moreDeclaration
Swift
public struct Config
-
Undocumented
Declaration
Swift
weak var delegate: FontEditorDelegate?
-
Set the configuration for the editor.
Declaration
Swift
func configure(_ config: Config)
-
Undocumented
Declaration
Swift
override func viewWillAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
@IBAction func copyOriginalName(_ sender: Any)
-
Undocumented
Declaration
Swift
@IBAction func copyEmbeddedName(_ sender: Any)
-
Notification that user wishes to interact with a text field. Keep it visible.
Declaration
Swift
public func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool
-
Notification that the user has hit a “return” key. Stop editing in the field.
Declaration
Swift
func textFieldShouldReturn(_ textField: UITextField) -> Bool
-
Notification that editing in a text field is coming to an end
Declaration
Swift
public func textFieldShouldEndEditing(_ textField: UITextField) -> Bool
-
Notification that the font editor is being dismissed. Treat as a close.
Declaration
Swift
func presentationControllerDidDismiss(_ presentationController: UIPresentationController)
-
Notification that the font editor is being dismissed. Treat as a close.
Declaration
Swift
func popoverPresentationControllerDidDismissPopover( _ popoverPresentationController: UIPopoverPresentationController )
-
Segues available from this view controller. A SegueHandler protocol requirement.
See moreDeclaration
Swift
public enum SegueIdentifier : String
-
User wishes to edit the collection of tags assigned to the sound font.
Declaration
Swift
public override func prepare(for segue: UIStoryboardSegue, sender: Any?)
Parameters
segue
the segue to be performed
sender
the origin of the segue request