-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Realm
-
Labels:None
-
1
When following the steps described on the realm ios tutorial there is a step missing an the tutorial will fail when not checking out the correct code from GIT. This can lead to frustration of interested developers.
https://docs.mongodb.com/realm/tutorial/ios-swift/#run-and-test
The missing part is that there is no mention to add the following to the ProjectsViewController.swift file (lines 18 - 21)
This should be mentioned at least before step 6 in the tutorial.
init(userRealmConfiguration: Realm.Configuration) { self.userRealm = try! Realm(configuration: userRealmConfiguration) super.init(nibName: nil, bundle: nil) }
Without that, the compiling will fail.