An observation and a question.
First the observation, I tried using the variables named as shown on the diagram on page 115. However, the “newItemField” listed violates one of the new naming rules established with ARC, so I renamed it to “theNewItemField”. (No ivar can start with “new”.)
Now a question, I attempted to allocate and initialize my mutable array (“toDoItems”) in the AppDelegate ‘init’ method, but no matter how I tried to initialize the array, it would not be be recognized throughout the rest of the class. So I ended up doing it in (with a check first) in my ‘awakeFromNib’ (filling in a couple of the items) and also in the ‘createNewItem’ method. It then worked as expected. Anyone got an idea why it would not work in the class init method?
In addition to enabling editing (for the extra points ), I added a Delete Item button; however, I cannot figure out how to implement a delete using the keyboard keys. Maybe further in the book.