Reputation: 14668
I'm reading through the Professional iPhone Programming with MonoTouch and .NET/C# book, but I'm having trouble getting the example with section indexes with tables working. The book has sample code available.
When I try to run the code in chapter 6 (download here) in the folder "Tables03", no section index is displayed however the index still appears to function when I slide my finger down it. There is also a gap where it should be, just no letters are there. See below, I'm scrolling using the index but no letters are visible.
Has there been a change in the api that has broken this since the book was released? Or is the problem something else?
(Note to run the code I had to change the iPhone Build SDK version in project settings, since it was using 3.0).
Upvotes: 1
Views: 358
Reputation: 26495
You have to fill out the section index names.
An is example is here.
I'm not sure why your book's examples aren't doing this--I have found bugs in certain book examples myself.
Upvotes: 0