Basic Operations(insert, update, delete and select Records) with Realm Database.
Realm is a cross platform mobile database for iOS (available in Swift & Objective-C) and Android. Realm is built to be better and faster than SQLite and Core Data.
- XCode 8.3.3 or higher
- Target of iOS 8 or higher, macOS 10.9 or higher
- Documentation can be found at https://realm.io/docs/swift/latest
- Install CocoaPods 1.1.0 or later.
- Run pod repo update to make CocoaPods aware of the latest available Realm versions.
- In your Podfile, add use_frameworks! and pod 'RealmSwift' to your main and test targets.
- From the command line, run pod install.
- Use the .xcworkspace file generated by CocoaPods to work on your project!
- Install Carthage 0.17.0 or later.
- Add github "realm/realm-cocoa" to your Cartfile.
- Run carthage update.
- Drag RealmSwift.framework and Realm.framework from the appropriate platform directory in Carthage/Build/ to the “Linked Frameworks and Libraries” section of your Xcode project’s “General” settings.
- You can download Realm Studio from here https://realm.io/products/realm-studio/#download-studio