I am trying to copy my root dictionary to an already set path by using the following statement:
[rootObj writeToFile:writableDBPath atomically:TRUE];
But the problem is that it is not able to copy rootObj
at the specified location.
rootObj
is a mutable dictionary of capacity 4 with 3 key-value pairs.
writableDBPath
also has a set value into my iPhone simulator's document folder.
What am I doing wrong?