AddPostVC

final class AddPostVC : UIViewController
extension AddPostVC: LocationSearchDelegate
extension AddPostVC: UITextViewDelegate
extension AddPostVC: KeyboardListener
extension AddPostVC: Exposing
extension AddPostVC: InterfaceBuildable
extension AddPostVC: Injectable

Handles creation and uploading of new posts to MTP

  • Prepare for reveal

    Declaration

    Swift

    override func viewWillAppear(_ animated: Bool)

    Parameters

    animated

    Whether animating

  • Actions to take after reveal

    Declaration

    Swift

    override func viewDidAppear(_ animated: Bool)

    Parameters

    animated

    Whether animating

  • Stop editing on touch

    Declaration

    Swift

    override func touchesBegan(_ touches: Set<UITouch>,
                               with event: UIEvent?)

    Parameters

    touches

    User touches

    event

    Touch event

  • Instrument and inject navigation

    Declaration

    Swift

    override func prepare(for segue: UIStoryboardSegue, sender: Any?)

    Parameters

    segue

    Navigation action

    sender

    Action originator

LocationSearchDelegate

UITextViewDelegate

KeyboardListener

Exposing

InterfaceBuildable

Injectable