-
Notifications
You must be signed in to change notification settings - Fork 0
aneuhold/PlacesiOSApp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
To run the application: 1. Start up the instructor provided JSON RPC server, if it isn't started already 2. Run the application through Xcode or a device locally To change the server location, you can edit the "ServerInfo.plist" file. When editing a place, make sure to press "Done" at the bottom of the screen in order for the place data to save. Pressing the back arrow assumes a cancellation of the edits. Syncing: - When the app first starts up, it syncs with the remote JSON RPC server. This sync will take any places that have a name that isn't already in the Core Data database, and copy those over with details. It will also take any names that are held locally and copy those over to the remote server with details. Any details that are updated on places with names that exist on both the remote server and the local Core Data database are not reflected. This is because the remote server doesn't have a way to track time of commit. So the "newness" of the data can't be tracked. To make up for this, the data can be pushed or pulled manually. See below: - When pressing "Sync Server to Local DB", all of the local data is cleared, and all of the information is pulled over from the JSON server. - When pressing "Sync Local DB to Server", all of the remote data is cleared and all of the information is pushed from the local data to the server.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published