Replace MXCViewController/MXCTableViewController with MXKViewController/MXKTableViewController (from MatrixKit).

This commit is contained in:
giomfo
2015-04-14 10:55:18 +02:00
parent 2ed0372b10
commit dfe648fa7c
22 changed files with 148 additions and 718 deletions
@@ -1,5 +1,5 @@
/*
Copyright 2014 OpenMarket Ltd
Copyright 2015 OpenMarket Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -20,6 +20,8 @@
#import "AppDelegate.h"
#import "PublicRoomTableCell.h"
#import "RageShakeManager.h"
@interface HomeViewController () {
NSArray *publicRooms;
@@ -68,6 +70,9 @@
_joinRoomSectionLabel.backgroundColor = [UIColor colorWithRed:0.9 green:0.9 blue:0.9 alpha:1.0];
_joinRoomBtn.enabled = NO;
// Set rageShake handler
self.rageShakeManager = [RageShakeManager sharedManager];
// Init
publicRooms = nil;
highlightedPublicRooms = @[@"#matrix:matrix.org", @"#matrix-dev:matrix.org", @"#matrix-fr:matrix.org"]; // Add here a room name to highlight its display in public room list