MRDAnnotationTableDataSource Protocol Reference

Conforms to UITableViewDataSource
Declared in MRDBottomSheetProtocols.h

Overview

Provides an interface for a UITableViewDataSource to manage cell display in placemark details sheets. Includes an ability to be notified when data is ready.

  callbackDelegate required method

Ability to be notified when data has successfully loaded.

@property (nonatomic, nullable, weak) id<MRDPlacemarkSheetDataSourceDelegate> callbackDelegate

Declared In

MRDBottomSheetProtocols.h

– executeActionForIndexPath:withViewController:

Allows the datasource to have an opportunity to execute actions that may be associated with data.

- (void)executeActionForIndexPath:(nonnull NSIndexPath *)indexPath withViewController:(nullable UIViewController *)viewController

Parameters

indexPath

The index of the data that may have an action that needs to be executed.

viewController

The viewcontroller that actions should be performed on.

Declared In

MRDBottomSheetProtocols.h