If you would like to view your Realm database file in a nice GUI, I recommend downloading the official Realm Browser Mac app. After finish installing, in the Terminal, type and run the command pod repo update to update the available repositories / libraries for cocoapods. This should install the Cocoapods library. If you get the error message “You don't have write permissions for the /usr/bin directory.”, try use this command instead sudo gem install cocoapods -n /usr/local/bin. Then type it sudo gem install cocoapods and press Enter to install. To install cocoapods, open up Terminal app (Open spotlight, type “Terminal”). ![]() The SwiftCSV library requires Swift 4.2+ so you must use Xcode 10 or above.Ĭocoapods is a handy library that help us install library / dependencies for Xcode project easily. To make things easier in this tutorial, we will be using Cocoapods to install the SwiftCSV library to read and parse CSV files, and RealmSwift Library to use Realm database. Get your hands on the actual code and project, saving time from having redo everything from scratch, give it a try! Try out the CSV to Realm Xcode Project and the Realm preset database app
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |