Exemple #1
0
        public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
        {
            switch (indexPath.Row)
            {
            case 0:
                ProfileVC nav = (ProfileVC)parent.Storyboard.InstantiateViewController("ProfileVC");
                parent.NavigationController.PushViewController(nav, true);
                break;

            case 1:
                NotificationVC notificationVC = (NotificationVC)parent.Storyboard.InstantiateViewController("NotificationVC");
                parent.NavigationController.PushViewController(notificationVC, true);
                break;
            }
        }
Exemple #2
0
 public NotificationTableSource(int[] dayArray, NotificationVC parent)
 {
     this.dayArray = dayArray;
     this.parent   = parent;
 }