TagsTableViewController
public final class TagsTableViewController : UITableViewController
extension TagsTableViewController: UITextFieldDelegate
Manages the table view that appears off of the preset editor. Allows full editing of the tags collection.
-
Configuration for the controller that is passed to it via the segue that makes it appear.
See moreDeclaration
Swift
public struct Config
-
Undocumented
Declaration
Swift
override public func viewDidLoad()
-
Undocumented
Declaration
Swift
override public func viewWillAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
override public func viewWillDisappear(_ animated: Bool)
-
Create a new tag.
Declaration
Swift
@IBAction public func addTag(_ sender: UIBarButtonItem)
Parameters
sender
the source of the action
-
Undocumented
Declaration
Swift
@IBAction public func editTagName(_ sender: UILongPressGestureRecognizer)
-
Toggle editing mode. If not editing anything, begin editing the table rows.
Declaration
Swift
@IBAction public func toggleTagEditing(_ sender: UIBarButtonItem)
Parameters
sender
the source of the action
-
Configure the view.
Declaration
Swift
func configure(_ config: Config)
-
Undocumented
Declaration
Swift
override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
-
Undocumented
Declaration
Swift
override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
-
Undocumented
Declaration
Swift
override public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
-
Undocumented
Declaration
Swift
override public func tableView( _ tableView: UITableView, editingStyleForRowAt indexPath: IndexPath ) -> UITableViewCell.EditingStyle
-
Undocumented
Declaration
Swift
override public func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool
-
Undocumented
Declaration
Swift
override public func tableView(_ tableView: UITableView, canMoveRowAt indexPath: IndexPath) -> Bool
-
Undocumented
Declaration
Swift
override public func tableView( _ tableView: UITableView, moveRowAt sourceIndexPath: IndexPath, to destinationIndexPath: IndexPath )
-
Undocumented
Declaration
Swift
override public func tableView( _ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath )
-
Undocumented
Declaration
Swift
public func textFieldShouldReturn(_ textField: UITextField) -> Bool
-
Undocumented
Declaration
Swift
public func textFieldDidEndEditing(_ textField: UITextField)