iphone sqlite app startup issues

Posted by Futur on Stack Overflow See other posts from Stack Overflow or by Futur
Published on 2010-05-02T20:30:49Z Indexed on 2010/05/02 21:37 UTC
Read the original article Hit count: 242

Filed under:
|
|

Hi All,

I have 4 database catalogues in my app, i will be switching the four catalogues. When i start the app, i read the NSUserDefaults and try to load the default catalogue in the memory, but in the first time this doesnt happen. Instead i get null values returned first time just because the DB connection is not successful for some unknown reason, the debugger is unable to go there too.

But the app starts up the next time, the values are fetched successfully.

Please help

© Stack Overflow or respective owner

Related posts about iphone

Related posts about sqlite3