Page 269 Typo


If I’m not mistaken, at the bottom of page 269 it reads:

[BNRItemStore sharedStore] removeItem:item];

When it should read:


Isn’t the class method called + (BNRItemStore *)sharedStore;? (added on page 192-193 when we create BNRItemStore). So the code is just getting the sharedStore object so that it can remove the item it just created.


Hrm, I think what may have happened is… at some point I grabbed the downloadable chapter Xcode projects from the bignerdranch site and they’ve implemented it as defaultStore in their Xcode projects, versus how they’ve done it in the book (as sharedStore).

So the discrepancy is in the download files they’ve provided, not the book itself. Thanks Checker!