http://imgur.com/rxVYsV2 - reddit's index
I want to create an index similar to the one in reddit's app, especially adding icons to it and having it highlight the letter(see link for picture).
Any suggestions for how to do it(in xamarin ios)?
Since, you didn't ask for code, I'll just help you get started. :)
Now, on selection of any row from the second UITableView, modify the highlight and scroll the left UITableView accordingly. As well as on scroll of left TableView, change the highlight according to the first alphabet.
For StoryBoards follow the following steps:
Now once you have the classes done, assign them to your TableViews like
//With Tag UITableView myTableView1 = (UITableView) this.View.ViewWithTag(1); myTableView1.DataSource = new MyTableView1DataSourceClass();
//With reference myTableView1.DataSource = new MyTableView1DataSourceClass(); myTableView1.Delegate = new MyTableView1DelegateClass();
Please look at Create UI Objects for more help with making objects.
Please upvote and mark it as the correct answer if you feel it is. Besides, let me know if you need more help. Have a great time coding :)