VMF_MeetingInspectorViewController

class VMF_MeetingInspectorViewController : VMF_BaseViewController
extension VMF_MeetingInspectorViewController: MKMapViewDelegate

This displays one meeting.

  • Set to true, to open the formats section.

    Declaration

    Swift

    var isFormatsOpen: Bool { get set }
  • Set to true, to open the formats section.

    Declaration

    Swift

    var isLocationOpen: Bool { get set }
  • The meeting that this screen is displaying.

    Declaration

    Swift

    var meeting: MeetingInstance?
  • The controller that “owns” this instance.

    Declaration

    Swift

    var myController: (any VMF_EmbeddedTableControllerProtocol)?
  • The label that displays the meeting name.

    Declaration

    Swift

    @IBOutlet
    weak var meetingNameLabel: UILabel?
  • The label that displays the meeting start time and weekday.

    Declaration

    Swift

    @IBOutlet
    weak var timeAndDayLabel: UILabel?
  • This label is displayed if the meeting is in progress.

    Declaration

    Swift

    @IBOutlet
    weak var inProgressLabel: UILabel?
  • The label that displays the meeting timezone.

    Declaration

    Swift

    @IBOutlet
    weak var timeZoneLabel: UILabel?
  • This contains any additional comments.

    Declaration

    Swift

    @IBOutlet
    weak var commentsTextView: UITextView?
  • This contains the tappable links.

    Declaration

    Swift

    @IBOutlet
    weak var linkContainer: UIView?
  • The vertical container for the phone button.

    Declaration

    Swift

    @IBOutlet
    weak var phoneButtonContainer: UIView?
  • This is the phone in button’s label.

    Declaration

    Swift

    @IBOutlet
    weak var phoneLabelButton: UILabel?
  • The vertical container for the globe button.

    Declaration

    Swift

    @IBOutlet
    weak var globeButtonContainer: UIView?
  • This is the Web link button’s label.

    Declaration

    Swift

    @IBOutlet
    weak var globeLabelButton: UILabel?
  • The vertical container for the video button.

    Declaration

    Swift

    @IBOutlet
    weak var videoButtonContainer: UIView?
  • This is the video link button’s label.

    Declaration

    Swift

    @IBOutlet
    weak var videoLabelButton: UILabel?
  • Contains any phone info that can’t be turned into a URL.

    Declaration

    Swift

    @IBOutlet
    weak var phoneInfoTextView: UITextView?
  • This has any extra info for virtual meetings.

    Declaration

    Swift

    @IBOutlet
    weak var virtualExtraInfoTextView: UITextView?
  • This contains the header for the in-person location information.

    Declaration

    Swift

    @IBOutlet
    weak var inPersonHeader: UIView?
  • This is the disclosure triangle for the in-person section.

    Declaration

    Swift

    @IBOutlet
    weak var inPersonDisclosureTriangle: UIImageView?
  • Contains the in-person meeting stuff.

    Declaration

    Swift

    @IBOutlet
    weak var inPersonContainer: UIStackView?
  • The heading for the in-person meeting stuff.

    Declaration

    Swift

    @IBOutlet
    weak var inPersonHeaderLabel: UILabel?
  • The text view that displays an address for in-person meetings.

    Declaration

    Swift

    @IBOutlet
    weak var inPersonAddressTextView: UITextView?
  • This has any extra info for in-person meetings.

    Declaration

    Swift

    @IBOutlet
    weak var inPersonExtraInfoLabel: UILabel?
  • The map view that displays the meeting location (if it has an in-person component).

    Declaration

    Swift

    @IBOutlet
    weak var locationMapView: MKMapView?
  • This contains the format header and disclosure triangle.

    Declaration

    Swift

    @IBOutlet
    weak var formatHeader: UIView?
  • The heading for the format section.

    Declaration

    Swift

    @IBOutlet
    weak var formatHeaderLabel: UILabel?
  • The disclosure triangle for the format section.

    Declaration

    Swift

    @IBOutlet
    weak var formatHeaderDisclosureTriangle: UIImageView?
  • This contains individual formats.

    Declaration

    Swift

    @IBOutlet
    weak var formatContainerView: UIView?
  • The navbar button to mark attendance.

    Declaration

    Swift

    @IBOutlet
    weak var iAttendBarButton: UIBarButtonItem?
  • The navbar button to copy the URI.

    Declaration

    Swift

    @IBOutlet
    weak var actionBarButton: UIBarButtonItem?

Base Class Overrides

  • Called when the view hierarchy has loaded.

    Declaration

    Swift

    override func viewDidLoad()
  • Called before the screen appears.

    Declaration

    Swift

    override func viewWillAppear(_ inIsAnimated: Bool)

    Parameters

    inIsAnimated

    True, if the appearance is animated.

  • Called before the screen disappears.

    Declaration

    Swift

    override func viewWillDisappear(_ inIsAnimated: Bool)

    Parameters

    inIsAnimated

    True, if the disappearance is animated.

  • Called when the layout is done. We use this to set the “please animate” flag.

    Declaration

    Swift

    override func viewDidLayoutSubviews()

Instance Methods

  • Sets the time and weekday (local) for the meeting.

    Declaration

    Swift

    func setTimeAndWeekday()
  • Sets the time zone string (or hides it).

    Declaration

    Swift

    func setTimeZone()
  • Initializes the map view.

    Declaration

    Swift

    func setUpMap(_ inCoords: CLLocationCoordinate2D)

    Parameters

    inCoords

    The center coordinate for the map (the marker location).

  • Populates the formats section.

    Declaration

    Swift

    func setUpFormats(_ inFormats: [SwiftBMLSDK_Parser.Meeting.Format])

    Parameters

    inFormats

    An array of format instances.

  • Sets up the bar button item, with the state of attendance.

    Declaration

    Swift

    func setBarButton()

Callbacks

  • The phone in button was hit.

    Declaration

    Swift

    @IBAction
    func phoneButtonHit(_: Any)
  • The globe button was hit.

    Declaration

    Swift

    @IBAction
    func globeButtonHit(_: Any)
  • The video button was hit.

    Declaration

    Swift

    @IBAction
    func videoButtonHit(_: Any)
  • The format header was hit (open or close the format section).

    Declaration

    Swift

    @IBAction
    func formatSectionHeaderHit(_: Any)
  • The in-person location header was hit (open or close the location section).

    Declaration

    Swift

    @IBAction
    func locationSectionHeaderHit(_: Any)
  • Called to handle action tasks.

    Declaration

    Swift

    @IBAction
    func actionItemHit(_ inButton: UIBarButtonItem)

    Parameters

    inButton

    The action BarButtonItem

  • The “I Attend” bar button item was hit.

    Declaration

    Swift

    @objc
    func iAttendHit(_: Any)

MKMapViewDelegate Conformance

  • This is called to fetch an annotation (marker) for the map.

    Declaration

    Swift

    func mapView(_: MKMapView, viewFor inAnnotation: MKAnnotation) -> MKAnnotationView?

    Parameters

    viewFor

    The annotation we’re getting the marker for.

    Return Value

    The marker view for the annotation.