Пример #1
0
 public override void ViewDidLoad()
 {
     base.ViewDidLoad();
     _model = new ChatModel();
     _model.Messages.CollectionChanged += Messages_CollectionChanged;
     _model.Connect();
     _source = new TableSource(_model.Messages);
     MessagesTable.Source = _source;
     // Perform any additional setup after loading the view, typically from a nib.
 }
Пример #2
0
 partial void ReconnectTouch(NSObject sender)
 {
     _model.Connect();
 }