Chapter 9 issue

The instructions state you can start where you left off in Chapter 8 if you want. Not quite correct. The CardsModel.swift in Chapter 8 uses a “realm” variable whereas Chapter 9 uses a “provider” variable that it gets the realm from.

Thus the instructions that say to delete “let provider = RealmProvider.cards” are a bit confusing if you left off with Chapter 8 example.

I’ll have to check on that, maybe there was some code mismatch during the final edits. Thanks for reporting it