MRDBottomSheetAbstractDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | MRDBottomSheetProtocols.h |
Overview
Utilize these methods for MRDBottomSheetAbstractViewController children to talk back to their container. Useful for loading data and changing states of the sheet container itself.
– viewController:didLoadData:withError:
required method
Called when a child view controller may have a radical state change because of data changes.
- (void)viewController:(nonnull UIViewController *)viewController didLoadData:(id _Nullable)data withError:(NSError *_Nullable)error
Parameters
viewController |
The view controller child that had a change associate with it. |
---|---|
data |
The data that was loaded or not, can be any form of data. Check type before utilizing. |
error |
Whether an error was returned when loading data. |
Declared In
MRDBottomSheetProtocols.h