Search Bar: Changed strategy: add a category for doing search in Vector screens.

This is kind of multiple inheritance. It is more convenient for adding vector search to MatrixKit VCs.
Ex: a MXKRoomViewController can now have a Vector search
This commit is contained in:
manuroe
2015-12-28 16:50:08 +01:00
parent 3153e1f62f
commit d695f61699
5 changed files with 158 additions and 122 deletions
@@ -16,14 +16,14 @@ limitations under the License.
#import <MatrixSDK/MatrixSDK.h>
#import "VectorViewController.h"
#import "MXKViewController+VectorSearch.h"
/**
This view controller manages several uiviewcontrollers like UISegmentedControlled manages uiTableView
except that the managed items are custom UIViewControllers.
It uses a Vector design.
*/
@interface SegmentedViewController : VectorViewController
@interface SegmentedViewController : MXKViewController
#pragma mark - Class methods
@property (weak, nonatomic) IBOutlet UIView *selectionContainer;