1) You should be calling [movements addObject:m] instead of [movements
add:m]
2) You should set the class which the array controller manages in IB
to Movement (the Classname text field)
After doing this, it all works.
Regards,
Milen
On 30 Mar 2008, at 22:42, Gareth Davis wrote:
hi,
I'm having some trouble with completing a simple proof of concept
app. The requirement is to process a simple xml document and display
the results in a two column table.
I've managed to load the xml and parse what I need from it into a
bunch of "Movement" objects which I attempt to add to a
NSArrayController. My table actually displays three records but only
with the null placeholder. Some where along the lines the bindings
I've specified for the two table columns are broken.
If any of you have 5 minutes a copy of my project is available at: