[db setReplaceDatabase:TRUE] is missing in iOS Demo project
Closed this issue · 4 comments
confile commented
In AppDelegate
you have:
[db setReplaceDatabase:TRUE];
This method is not available.
confile commented
I think you mean setOverwriteDb
vals-productions commented
it is available.
confile commented
What is the difference between setOverwriteDb and setReplaceDatabase?
vals-productions commented
Oh, I see. There's no difference. setOverwriteDbWithBoolean is required by the protocol, but setReplaceDatabase is synthesized by the declaration of the property. Everything is public in Obj C. I think I just followed compiler hint's prompt and choose the wrong one.