mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 13:46:57 +02:00
@@ -22,10 +22,9 @@
|
||||
|
||||
/**
|
||||
'RoomParticipantsViewController' instance is used to edit members of the room defined by the property 'mxRoom'.
|
||||
|
||||
When this property is nil, the view controller is able to handle a list of participants without room reference.
|
||||
When this property is nil, the view controller empty.
|
||||
*/
|
||||
@interface RoomParticipantsViewController : MXKTableViewController <UISearchBarDelegate>
|
||||
@interface RoomParticipantsViewController : MXKViewController <UITableViewDelegate, UITableViewDataSource, UISearchBarDelegate>
|
||||
{
|
||||
@protected
|
||||
/**
|
||||
@@ -37,12 +36,18 @@
|
||||
Section indexes
|
||||
*/
|
||||
NSInteger searchResultSection;
|
||||
NSInteger participantsSection;
|
||||
NSInteger membersSection;
|
||||
NSInteger invitedSection;
|
||||
|
||||
/**
|
||||
Mutable list of participants
|
||||
The current list of joined members.
|
||||
*/
|
||||
NSMutableArray *mutableParticipants;
|
||||
NSMutableArray *actualMembers;
|
||||
|
||||
/**
|
||||
The current list of invited members.
|
||||
*/
|
||||
NSMutableArray *invitedMembers;
|
||||
|
||||
/**
|
||||
Store MXKContact instance by matrix user id
|
||||
@@ -50,6 +55,11 @@
|
||||
NSMutableDictionary *mxkContactsById;
|
||||
}
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UITableView *tableView;
|
||||
@property (weak, nonatomic) IBOutlet UIView *searchBarHeader;
|
||||
@property (weak, nonatomic) IBOutlet UISearchBar *searchBarView;
|
||||
@property (weak, nonatomic) IBOutlet UIView *searchBarHeaderBorder;
|
||||
|
||||
/**
|
||||
A matrix room (nil by default).
|
||||
*/
|
||||
@@ -65,14 +75,5 @@
|
||||
*/
|
||||
@property (nonatomic) SegmentedViewController *segmentedViewController;
|
||||
|
||||
|
||||
/**
|
||||
Customize the UITableViewCell before rendering it.
|
||||
|
||||
@param contactCell the cell to customize.
|
||||
@param indexPath path of the cell in the tableview.
|
||||
*/
|
||||
- (void)customizeContactCell:(ContactTableViewCell*)contactCell atIndexPath:(NSIndexPath *)indexPath;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user