Feature - "Add contact" button should be added on Room Member list

#905

+ Improve the people invite screens #904.
This commit is contained in:
giomfo
2017-01-13 02:24:50 +01:00
parent 11bb9703c3
commit d0dcf2eaa9
11 changed files with 335 additions and 438 deletions
@@ -14,10 +14,10 @@
limitations under the License.
*/
#import "ContactsTableViewController.h"
#import "SegmentedViewController.h"
#import "ContactsTableViewController.h"
@class Contact;
@class RoomParticipantsViewController;
@@ -42,7 +42,7 @@
'RoomParticipantsViewController' instance is used to edit members of the room defined by the property 'mxRoom'.
When this property is nil, the view controller is empty.
*/
@interface RoomParticipantsViewController : ContactsTableViewController <UISearchBarDelegate, UIGestureRecognizerDelegate, MXKRoomMemberDetailsViewControllerDelegate>
@interface RoomParticipantsViewController : MXKViewController <UITableViewDelegate, UITableViewDataSource, UISearchBarDelegate, UIGestureRecognizerDelegate, MXKRoomMemberDetailsViewControllerDelegate, ContactsTableViewControllerDelegate>
{
@protected
/**
@@ -67,6 +67,7 @@
Contact *userParticipant;
}
@property (weak, nonatomic) IBOutlet UITableView *tableView;
@property (weak, nonatomic) IBOutlet UIView *searchBarHeader;
@property (weak, nonatomic) IBOutlet UISearchBar *searchBarView;
@property (weak, nonatomic) IBOutlet UIView *searchBarHeaderBorder;
@@ -79,11 +80,6 @@
*/
@property (nonatomic) MXRoom *mxRoom;
/**
Tell whether the inviting people screen is displaying
*/
@property (nonatomic) BOOL isAddParticipantScreenDisplaying;
/**
Enable mention option in member details view. NO by default
*/