On Jul 19, 2009, at 1:52 PM, BJ Homer <[email protected]> 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 protected])

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 [email protected]

Reply via email to