I'm building a universal app and found that my Table View would not build on the iPhone 3G and 3GS although it was OK on the iPhone4 and iPad. I was using the insertRecord method to build the table and concluded that it was a combination of memory size and processor speed that was preventing the whole table being built as it worked on the simulator. As the Table View had 94 elements this was not too surprising. So I changed to using the bindToDataBase method and prebuilt the Table View data in my database table. This worked on all devices, although curiously the iPhone simulator would only ever show 12 records.
My suspected bug, however, is more unusual. I noticed that when the app was run for a second time some elements on the list had not been loaded. On an iOS4 device it's necessary to quit the app completely from the task bar then restart to reproduce it so I missed the problem for a while. Eventually I realised that the problem only occurs with elements containing text with single-quote characters in the sub-title. That's the only place that I have such text so it may occur in the title and categories as well.
Why should the Table View load successfully first time around but not subsequently? Is this a Nimblekit problem or SQLite or iOS?
I'm ready to submit the app to Apple so any help would be much appreciated!