mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 17:42:45 +02:00
MasterTabBarController: Remove show detail segues. Delegate presentation.
This commit is contained in:
@@ -35,8 +35,14 @@
|
||||
#define TABBAR_GROUPS_INDEX 4
|
||||
#define TABBAR_COUNT 5
|
||||
|
||||
|
||||
@protocol MasterTabBarControllerDelegate;
|
||||
|
||||
@interface MasterTabBarController : UITabBarController
|
||||
|
||||
// UITabBarController already have a `delegate` property
|
||||
@property (weak, nonatomic) id<MasterTabBarControllerDelegate> masterTabBarDelegate;
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UIBarButtonItem *settingsBarButtonItem;
|
||||
@property (weak, nonatomic) IBOutlet UIBarButtonItem *searchBarButtonIem;
|
||||
|
||||
@@ -165,3 +171,6 @@
|
||||
|
||||
@end
|
||||
|
||||
@protocol MasterTabBarControllerDelegate <NSObject>
|
||||
- (void)masterTabBarController:(MasterTabBarController*)masterTabBarController wantsToPresentDetailViewController:(UIViewController*)detailViewController;
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user