Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Richard Birkett

macrumors member
Original poster
Sorry, 3rd post today, but it is my first document based app in Obj-C...

I have an ivar 'lessonArray' in my document class, it is an array of instances of my 'Lesson' class. I have a button which successfully loads an instance to the array. I have an NSArrayController with its Content Array bound to (File's Owner).(lessonArray) and it's attributes set like so:
Screen Shot 2011-08-21 at 20.02.55.png
I then bound table columns to the keys of arranged objects as you can see.

When I press the button and add to the array nothing appears in the table, what is going on? I have an identical setup to an AppleScript-Objective-C app (80% certain)

I think the problem might be that the controller understands the structure but can't access the array properly??? I can't fix it, spent hours trying, I need some experience 🙂 Help most greatly appreciated 😀

https://files.me.com/imadrichard/8ashku

Thanks,

Richard
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.