This application is a just sample of realm with swift implementation, a simple CRUD
First get all projects dependecies, in root directory type
$ pod install
After get all dependecies start your emulator
$ xcrun simctl boot YOUR-DEVICE-UDID
Install app in the booted emulator
$ xcrun simctl install booted YOUR-PATH-TO-APP