Re: No Methods being called in my subclassed NSArrayController
Re: No Methods being called in my subclassed NSArrayController
- Subject: Re: No Methods being called in my subclassed NSArrayController
- From: Tony Romano <email@hidden>
- Date: Thu, 11 Feb 2010 16:53:42 -0800
The Reload All Class files did it!. Thanks!
On Feb 11, 2010, at 4:46 PM, Jerry Krinock wrote:
>
> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden
>
-tony
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden