On 2010 Feb 11, at 13:25, Tony Romano wrote:

> Thanks for the reply Fritz.
> 
> It shows NSArrayController and it is greyed out.  It list two options in the 
> drop down,  NSArrayController and NSDictionaryController.  If I try to add my 
> controller class's name, IB beeps and won't accept the name.  (I forgot to 
> mention in my original post that the "Prepares Content" is checked on the 
> attributes page).

1.  Make sure that your subclass is declared as @interface MyArrayController : 
NSArrayController
2.  Make sure that this is in a .h file which is included in your project.  
(Put some garbage text into it and see if it compiles.)
3.  Save the file.
4.  In Interface Builder, click File > Reload All Class Files.

Now check that "drop down" again.

I have subclassed NSArrayController like this and it works fine.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to