SWMapsViewController
class SWMapsViewController : SWBaseViewController
Undocumented
-
Undocumented
Declaration
Swift
fileprivate var locationManager: CLLocationManager
-
Undocumented
Declaration
Swift
fileprivate var mapBroadcastersAnnotaionList: [SWMapBroadcasterAnnotation]
-
Undocumented
Declaration
Swift
fileprivate var currentLocation: CLLocation?
-
Undocumented
Declaration
Swift
fileprivate let viewModel: SWMapsViewModel
-
Undocumented
Declaration
Swift
fileprivate var footerActivityIndicator: UIActivityIndicatorView?
-
Undocumented
Declaration
Swift
fileprivate var regionIsUpdatedProgrammatically: Bool
-
Undocumented
Declaration
Swift
fileprivate var previousZoomLevel: Int?
-
Undocumented
Declaration
Swift
@IBOutlet weak var activityIndicator: UIActivityIndicatorView!
-
Undocumented
Declaration
Swift
@IBOutlet weak var mapsView: MKMapView!
-
Undocumented
Declaration
Swift
@IBOutlet weak var locationSettingsView: UIView!
-
Undocumented
Declaration
Swift
@IBOutlet weak var gotoSettingsLabel: UILabel!
-
Undocumented
Declaration
Swift
@IBOutlet weak var locationAccessLabel: UILabel!
-
Undocumented
Declaration
Swift
@IBOutlet weak var locationAccessRequiredView: UIView!
-
Undocumented
Declaration
Swift
@IBOutlet weak var cancelButton: UIButton!
-
Undocumented
Declaration
Swift
@IBOutlet weak var tableView: UITableView!
-
Undocumented
Declaration
Swift
@IBOutlet weak var collectionView: UICollectionView!
-
Undocumented
Declaration
Swift
@IBOutlet weak var mapsViewTopConstraint: NSLayoutConstraint!
-
Undocumented
Declaration
Swift
@IBOutlet weak var mapsBottomSpaceConstraint: NSLayoutConstraint!
-
Undocumented
Declaration
Swift
@IBOutlet weak var locationSettingsViewTopConstraint: NSLayoutConstraint!
-
Undocumented
Declaration
Swift
@IBOutlet weak var locationSettingsViewBottomConstraints: NSLayoutConstraint!
-
Undocumented
Declaration
Swift
@IBOutlet weak var locationAccessReqdTopComnstraints: NSLayoutConstraint!
-
Undocumented
Declaration
Swift
@IBOutlet weak var locationAccessReqdBottonConstraints: NSLayoutConstraint!
-
Undocumented
Declaration
Swift
@IBOutlet weak var collectionViewHeight: NSLayoutConstraint!
-
Undocumented
Declaration
Swift
@IBOutlet weak var collectionViewTrailingConstarint: NSLayoutConstraint!
-
Undocumented
Declaration
Swift
@IBOutlet weak var tableViewHeight: NSLayoutConstraint!
-
Undocumented
Declaration
Swift
@IBAction func cancelButtonTapped(_ sender: UIButton)
-
Undocumented
Declaration
Swift
@IBAction func enableLocationTapped(_ sender: UIButton)
-
Undocumented
Declaration
Swift
@IBAction func searchButtonTapped(_ sender: Any)
-
Undocumented
Declaration
Swift
override func viewDidLoad()
-
Undocumented
Declaration
Swift
func setUpConstraints()
-
Undocumented
Declaration
Swift
override func viewWillAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
override func viewDidAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
override func viewWillDisappear(_ animated: Bool)
-
Undocumented
Declaration
Swift
private func setUpMapView()
-
Undocumented
Declaration
Swift
fileprivate func refreshView()
-
Undocumented
Declaration
Swift
fileprivate func footerView() -> UIView
-
Undocumented
Declaration
Swift
fileprivate func setUpLocationManager()
-
Undocumented
Declaration
Swift
func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus)
-
Undocumented
Declaration
Swift
private func updateUIWhenAuthorized()
-
Undocumented
Declaration
Swift
fileprivate func centerMapOnLocation(location: CLLocation)
-
Undocumented
Declaration
Swift
func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation])
-
Undocumented
Declaration
Swift
func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool)
-
Undocumented
Declaration
Swift
func mapView(_ mapView: MKMapView, regionWillChangeAnimated animated: Bool)
-
Undocumented
Declaration
Swift
func getAllBroadcatersAnnotation()
-
Undocumented
Declaration
Swift
func addAnnotations()
-
Undocumented
Declaration
Swift
func addUserAnnotation()
-
Undocumented
Declaration
Swift
func getGeoLocationForBounds() -> SWMapBox
-
Undocumented
Declaration
Swift
func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView?
-
Undocumented
Declaration
Swift
func mapView(_ mapView: MKMapView, didAdd views: [MKAnnotationView])
-
Undocumented
Declaration
Swift
func setUpLabelOnAnnotation(onView view: UIView, withText text: String)
-
Undocumented
Declaration
Swift
func setUpGestureRecognizer(onView view: MKAnnotationView, annotation: SWMapBroadcasterAnnotation)
-
Undocumented
Declaration
Swift
@objc func singleTapOnAnnotation(_ recognizer: UITapGestureRecognizer)
-
Undocumented
Declaration
Swift
func checkIfAnnotationIsInsideTableView(forGeoLocation geoLocation: GeoLocation) -> Bool
-
Undocumented
Declaration
Swift
func getUpdatedGeoLocation(forGeoLocation geoLocation: GeoLocation) -> GeoLocation
-
Undocumented
Declaration
Swift
func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool
-
Undocumented
Declaration
Swift
func setUpTableView()
-
Undocumented
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int
-
Undocumented
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
-
Undocumented
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
-
Undocumented
Declaration
Swift
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
-
Undocumented
Declaration
Swift
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
-
Undocumented
Declaration
Swift
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
-
Undocumented
Declaration
Swift
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
-
Undocumented
Declaration
Swift
func mapsViewModelReloadGroupBroadcastList()
-
Undocumented
Declaration
Swift
func allBroadcastersListed()
-
Undocumented
Declaration
Swift
func fetchingNewAnnotations()
-
Undocumented
Declaration
Swift
fileprivate func loadLiveVideo(stream: SWStream)
-
Undocumented
Declaration
Swift
fileprivate func loadRecordedVideo(stream: SWStream)
-
Undocumented
Declaration
Swift
fileprivate func openSearchViewController()
-
Undocumented
Declaration
Swift
fileprivate func showUserProfile(_ user: SWUser)