Add back convenience property...
This commit is contained in:
parent
84606e1019
commit
ca9fe32f99
@ -29,6 +29,7 @@
|
|||||||
#import <MVMCoreUI/MVMCoreUIDetailViewProtocol.h>
|
#import <MVMCoreUI/MVMCoreUIDetailViewProtocol.h>
|
||||||
|
|
||||||
@class MainMenuViewController;
|
@class MainMenuViewController;
|
||||||
|
@class MVMCoreUITabBarPageControlViewController;
|
||||||
@class MVMAnimationManager;
|
@class MVMAnimationManager;
|
||||||
|
|
||||||
@interface MFViewController : UIViewController <MVMCoreLoadDelegateProtocol, MVMCorePresentationDelegateProtocol, MVMCoreActionDelegateProtocol, UITextFieldDelegate, UITextViewDelegate, MFTextFieldDelegate, ButtonDelegateProtocol, MVMCoreViewControllerProtocol, MVMCoreViewManagerViewControllerProtocol, MVMCoreUIDetailViewProtocol>
|
@interface MFViewController : UIViewController <MVMCoreLoadDelegateProtocol, MVMCorePresentationDelegateProtocol, MVMCoreActionDelegateProtocol, UITextFieldDelegate, UITextViewDelegate, MFTextFieldDelegate, ButtonDelegateProtocol, MVMCoreViewControllerProtocol, MVMCoreViewManagerViewControllerProtocol, MVMCoreUIDetailViewProtocol>
|
||||||
@ -58,7 +59,10 @@
|
|||||||
@property (nullable, strong, nonatomic) NSString *pageType;
|
@property (nullable, strong, nonatomic) NSString *pageType;
|
||||||
|
|
||||||
// Set if this page is containted in a manager.
|
// Set if this page is containted in a manager.
|
||||||
@property UIViewController <MVMCoreViewManagerProtocol>*manager;
|
@property (nullable, weak, nonatomic) UIViewController <MVMCoreViewManagerProtocol>*manager;
|
||||||
|
|
||||||
|
// Convenience for mf. Set if this page is containted in a tab bar page control.
|
||||||
|
@property (nullable, weak, nonatomic) MVMCoreUITabBarPageControlViewController *tabBarPageControl;
|
||||||
|
|
||||||
/* The bottom progress view that is shown in the shop flow */
|
/* The bottom progress view that is shown in the shop flow */
|
||||||
@property (nullable, nonatomic, strong) UIProgressView *progressView;
|
@property (nullable, nonatomic, strong) UIProgressView *progressView;
|
||||||
|
|||||||
@ -34,6 +34,7 @@
|
|||||||
#import "MVMCoreUIConstants.h"
|
#import "MVMCoreUIConstants.h"
|
||||||
#import "MVMCoreUISession.h"
|
#import "MVMCoreUISession.h"
|
||||||
#import "MVMCoreUILoggingHandler.h"
|
#import "MVMCoreUILoggingHandler.h"
|
||||||
|
#import "MVMCoreUITabBarPageControlViewController.h"
|
||||||
|
|
||||||
@import MVMAnimationFramework;
|
@import MVMAnimationFramework;
|
||||||
|
|
||||||
@ -723,6 +724,13 @@
|
|||||||
[self adobeTrackPageState];
|
[self adobeTrackPageState];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)setManager:(UIViewController <MVMCoreViewManagerProtocol>*)manager {
|
||||||
|
_manager = manager;
|
||||||
|
if ([manager isKindOfClass:MVMCoreUITabBarPageControlViewController.class]) {
|
||||||
|
self.tabBarPageControl = (MVMCoreUITabBarPageControlViewController *)manager;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#pragma mark - adobe analytics
|
#pragma mark - adobe analytics
|
||||||
|
|
||||||
- (nullable NSArray <NSDictionary *> *)additionalActionsToTrackWithMainActionInformation:(nullable NSDictionary *)actionInformation additionalData:(nullable NSDictionary *)additionalData {
|
- (nullable NSArray <NSDictionary *> *)additionalActionsToTrackWithMainActionInformation:(nullable NSDictionary *)actionInformation additionalData:(nullable NSDictionary *)additionalData {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user