cocoa - Physical location (directory) in persistent store for Core data(Objective C) -


i trying find out exact physical location core data save details in form of managed objects. found out following method implemented in appdelegate :

- (nsurl *)applicationfilesdirectory {     nsfilemanager *filemanager = [nsfilemanager defaultmanager];     nsurl *appsupporturl = [[filemanager urlsfordirectory:nsapplicationsupportdirectory indomains:nsuserdomainmask] lastobject];     return [appsupporturl urlbyappendingpathcomponent:@"testfile"]; }  

but not find file in application support directory.

just log it.

nslog(@"%@", applicationfilesdirectory); 

you can copy url console , open directory in finder via
--g.


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -