Having followed Marcus’ example in Chapter 2 (and other similar tutorials) I built my own application, and have encountered a strange behaviour I cannot understand.
I’ve effectively built my own app like Marcus’, and have a selection list in a table displaying my entities’ basic values, and then other display fields showing the other attributes of the selected entity. However, the other fields do not update from the selected entity in the list. I checked many times between example code and my own, and could find absolutely no difference between the settings in IB for the bindings etc. I then tried adding a new field and binding that to the NSArrayController and the selection as usual … and it worked.
So I’ve laboriously taken out the old non-working text fields and replaced them with new working text fields, and my problem is solved. What I don’t understand is why they weren’t working? I can see no difference between the bindings for the new ones against the old ones. It’s almost as though the old ones were corrupted in some way or … the Curse of Redmond was upon them, or something ;-)
Can anyone think of an omission I may have made here that caused this? Thank you.