Created
December 18, 2016 20:06
-
-
Save jonathanpeppers/1e6d82752459e54f8338427ca48596c1 to your computer and use it in GitHub Desktop.
ConversationsController for Packt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| readonly ConversationsController controller; | |
| public TableSource(ConversationsController controller) | |
| { | |
| this.controller = controller; | |
| } | |
| public override void RowSelected( | |
| UITableView tableView, NSIndexPath indexPath) | |
| { | |
| var conversation = messageViewModel.Conversations[indexPath.Row]; | |
| messageViewModel.Conversation = conversation; | |
| controller.PerformSegue("OnConversation", this); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment