CGA_InfoViewController

class CGA_InfoViewController : CGA_BaseViewController

This controls the about this app view.

  • The label that displays the app name.

    Declaration

    Swift

    @IBOutlet
    weak var appNameLabel: UILabel!
  • The text view that displays most of the information for this screen.

    Declaration

    Swift

    @IBOutlet
    weak var mainTextView: UITextView!
  • The label just below the app name label, displaying the version.

    Declaration

    Swift

    @IBOutlet
    weak var appVersionLabel: UILabel!
  • The button at the bottom that will link to the site.

    Declaration

    Swift

    @IBOutlet
    weak var copyrightButton: UIButton!

Private Methods

  • This sets up the accessibility and voiceover strings for the screen.

    Declaration

    Swift

    func setUpAccessibility()

Callback/Observer Methods

  • Called when the copyright button is hit.

    Declaration

    Swift

    @IBAction
    func copyrightButtonHit(_: Any)
  • The icon button at the top of the screen was hit.

    Declaration

    Swift

    @IBAction
    func logoButtonHit(_: Any)

Base Class Override Methods

  • Called after the view data has been loaded.

    Declaration

    Swift

    override func viewDidLoad()
  • This allows us to restart scanning in the main screen, if it was running before we were called.

    Declaration

    Swift

    override func viewDidDisappear(_ animated: Bool)