Re: Custom NSArrayController - Dynamic Class?
Re: Custom NSArrayController - Dynamic Class?
- Subject: Re: Custom NSArrayController - Dynamic Class?
- From: Kyle Sluder <email@hidden>
- Date: Sun, 19 Jul 2009 14:14:25 -0700
On Jul 19, 2009, at 1:52 PM, BJ Homer <email@hidden> wrote:
Oh, right. Cast it to (id) then. Though if it's already passed in as
an id, that's obviously unnecessary. Point is, calling setIndex:
instead of object.index= will let it compile w/o warnings, in
certain situations.
Except the compiler needs a definition of -setIndex: somewhere or else
it can't generate code. Your solution does not work in the general case.
--Kyle Sluder
_______________________________________________
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