I just ran into what I though t was a bug but seems to be an xcode thing. By the end of this lesson, when I pressed the add button using the ENTER key on my laptop’s keyboard it added the item correctly. However, when I used my keyboard’s mousepad instead it added the same item TWICE to the list. It took me a while to figure this out, thinking that I had an error but unable to find anything.
But is it safe to assume that it’s my mousepad rather than the code that’s adding the item to the list twice. Even when I toggle the keyboard and click the done button (with my mouse of course) the item gets added twice.