I would recommend looking at the SQLite books sample. It does pretty much everything you would need to do with sqlite.
Hi...
As you mentioned the sample codes above, i would like to ask a query...
I tried detaching a thread using NSThread, but its giving me a message :
Releasing with no autoreleasepool -object of class CFFont just leaking
I tried with the "EARTHQUAKE" (which is example for multithreading) sample also... for that also its giving the same leaking message.. what i want to do?
Being beginner, we used to refer and follow whatever in sample codes, hoping that those are perfect ones, moreover we used to go through the documentations also, but sample codes expalins us more (obviously)...
What extra care i want to take while detaching a new thread?
Also if i detach two threads..
[NSThread exit]; will terminate which thread ??
Also i am using some property inside my thread method..
llike i craeted a property of UIActivityIndiactor class, starting inside the thread, while
main will parse the files.. After that in
main, after parsing i will stop the activityIndicator.
So i cant declare activityIndicator locally inside thread method, as i want to stop it in main...
Moreover my thread method is just to start the activityIndicator...