tab bar generic
This commit is contained in:
parent
1429fd1fae
commit
495ab78cea
@ -7,17 +7,23 @@
|
|||||||
//
|
//
|
||||||
// A protocol for view controllers that can be added to a view manager.
|
// A protocol for view controllers that can be added to a view manager.
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
@protocol MVMCoreViewManagerViewControllerProtocol
|
@protocol MVMCoreViewManagerViewControllerProtocol
|
||||||
|
|
||||||
@optional
|
@optional
|
||||||
|
|
||||||
|
// Reference to the manager
|
||||||
|
@property UIViewController <MVMCoreViewManagerProtocol>*manager;
|
||||||
|
|
||||||
// Notifies the view controller that it can be ready (usually means that it's committed to the screen).
|
// Notifies the view controller that it can be ready (usually means that it's committed to the screen).
|
||||||
- (void)viewControllerReadyInManager:(nonnull NSObject <MVMCoreViewManagerProtocol>*)manager;
|
- (void)viewControllerReadyInManager:(nonnull NSObject <MVMCoreViewManagerProtocol>*)manager;
|
||||||
|
|
||||||
// Notifies the current showing view controller that the manager is disappearing.
|
// Notifies the current showing view controller that the manager is disappearing.
|
||||||
- (void)managerWillDisappear:(nonnull NSObject <MVMCoreViewManagerProtocol>*)manager;
|
- (void)managerWillDisappear:(nonnull NSObject <MVMCoreViewManagerProtocol>*)manager;
|
||||||
|
|
||||||
|
// Can override the standard tab page control to not cache in tab. You should be following proper caching techniques (caching, updating when needed, deleting when needed), so this should be a last resort.
|
||||||
|
- (BOOL)shouldCacheInTabPageControl;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user