[DOCS-14782] Missing steps in part 1 of realm ios tutorial Created: 09/Sep/21  Updated: 29/Oct/23  Resolved: 09/Sep/21

Status: Closed
Project: Documentation
Component/s: Realm
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Philip Eschenbacher Assignee: Dachary Carey
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 2 years, 21 weeks, 6 days ago
Story Points: 1

 Description   

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.

 


Generated at Thu Feb 08 08:11:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.