Skip to content

agape-apps/realm-tutorial-ios-swift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Realm iOS Swift Tutorial

Follow along at https://docs.mongodb.com/realm/tutorial/ios-swift/

To run:

pod install --repo-update

NOTE: CocoaPods >1.10.1 is REQUIRED.

Then open

open Task\ Tracker.xcworkspace/

Troubleshooting

The most common issue is schema mismatch due to frequent little tweaks to the schema as you develop your app.

  • Be sure to check the logs in Realm UI for more information as well as the console in your app.
  • Delete the app from the simulator to purge local data.
  • Restart Sync in the Realm UI by clicking "Delete Synced Data" on the Sync page.
  • Be sure to deploy your changes in the Realm UI.
  • If your schema does not match the server, compare the class definitions from the SDKs tab in the Realm UI with those in the client code.
  • When creating objects, make sure the partition value of your new object matches the partition value you opened the Realm with.

Issues & Pull Requests

If you find an issue or have a suggestion, please let us know using the feedback widget on the docs site.

This repo is automatically derived from our main docs repo. If you'd like to submit a pull request -- thanks! -- please feel free to do so at https://github.com/mongodb/docs-realm/ (see the tutorial/ subdirectory).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 99.2%
  • Ruby 0.8%