Hi All,
I've done everything in chapter 10 with no problems so far: everything works, AND I actually understand it.
The only problem arises with the last bit of sample-code, called "Copying Bundled Resources".
1) HOW do we check for what its doing? Meaning, how do we know it copied the Resources file and wrote it to the Documents folder?
I'm not seeing any new files there other then the "Apps.plist" and "data.txt" files that were created with the previous pieces of sample-code from this chapter.
2) In the AppDelegate file - WHEN/HOW is this method called?
Code:
-(void) copyFileInBundleToDocumentsFolder: (NSString *) fileName withExtension: (NSString *) ext {
What's calling it? I don't see it getting called by the "didFinishLaunchingWithOptions:" method, so what's calling it?
3) Finally, what values are being plugged-in for the method's arguments "fileName" and "ext"? Where do we see that?