Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14782

Missing steps in part 1 of realm ios tutorial

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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.

       

            Assignee:
            dachary.carey@mongodb.com Dachary Carey
            Reporter:
            philip.eschenbacher@mongodb.com Philip Eschenbacher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              2 years, 32 weeks, 4 days ago