I use Xcode 6.0.1. I have followed the instructions of the chapter to create the app (actually I have create the app twice, just to be sure I was not making any mistake). As said in the title, when I run the app I can add new task clicking on the button; however, if I double-click on an added task, I can’t change it.
Does this happen to anyone else? Am I missing anything?
I believe that, in order to modify a task, we use:
I finally found the reason why I could not edit the task once added. Although, I only got one answer and apparently no-one else experienced this problem, I thought to post the solution I found. (Possibly this may persuade the moderator to add few lines somewhere in the (e-)book to explain this. )
In my opening post I wrote
This is true for “Text Cell” on the left side of the Xcode window (the path to this is Window Bordered Scroll View - Table View Clip View Table View Table Column Text Cell).
However, one should edit the “Behavior” to “Editable” somewhere else, see pic (sorry, I don’t know how to edit that, if you have a small screen like mine you cannot see the whole pic so you have to open the link on a new panel/window); the path is:
Window Bordered Scroll View - Table View Clip View Table View Table Column Table Cell View Table View Cell
PS. I should say that I have just upgraded on Xcode 6.1. (However, I think this is irrelevant for the sake of the previous discussion.)
Here is best solution, because code that was posted above as a solution will not work as you progress.
Select the table view in Interface Builder, then attributes inspector and change Content Mode from View based to Cell based, now you can edit and save changes in text cells;)