MPLocationTableViewController

@interface MPLocationTableViewController
    : UITableViewController <MPLocationPropertyViewDelegate>

Creates a specialized table view controller, designed to display a locations details.

  • The location that is to be displayed by the controller.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) MPLocation *location;

    Swift

    var location: MPLocation! { get set }
  • The data array that will be fed by detail properties from the provided location.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSMutableArray *dataArray;

    Swift

    var dataArray: NSMutableArray! { get set }
  • The top header view.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) UIView *headerView;

    Swift

    var headerView: UIView! { get set }
  • The footer view.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) UIView *footerView;

    Swift

    var footerView: UIView! { get set }
  • Initializes the table view using the provided location.

    Declaration

    Objective-C

    - (id)initWithLocation:(MPLocation *)location;

    Swift

    init!(location: MPLocation!)
  • Method that fires whenever a location property is selected.

    Declaration

    Objective-C

    - (void)locationPropertySelected:(MPLocationProperty *)locationProperty;

    Swift

    func locationPropertySelected(_ locationProperty: MPLocationProperty!)