sql - First creation of file in objective c project -


i'm developing 1 of first app in iphone , have little doubt: should verify existence of database , plist files in document folder?

i use these data in different view controller, don't think viewdidload of each 1 solution.

i think applicationdidfinishlaunching, in way make slow starup copying sql database bundle documents , writing plist of 10 nodes?

any seggestion welcome, thank read this.

giuseppe.

i think applicationdidfinishlaunching place it. need copy first time user runs app, right?

if you're worried slow initial start, , view needs these files copied first view load won't defer copying until view loads since @ app startup anyway.

if, however, don't need data , find copy slow, might consider doing copy spawning thread copy applicationdidfinishlaunching.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -