Re: Anyone design a 'Proxy' array?
Re: Anyone design a 'Proxy' array?
- Subject: Re: Anyone design a 'Proxy' array?
- From: Andrew Pinski <email@hidden>
- Date: Mon, 1 Apr 2002 19:48:13 -0500
Do you want the selectors `makeObjectsPerformSelector:' or
`makeObjectsPerformSelector:withObject:' of NSArray?
You do not even need a NSProxy.
Thanks,
Andrew Pinski
PS this is documented at:
http://developer.apple.com/techpubs/macosx/Cocoa/Reference/Foundation/ObjC_classic/
Classes/NSArray.html
On Monday, April 1, 2002, at 07:32 , warren marco wrote:
Is it possible to create an proxy array, where methods are
transferred to all its objects, without knowing what the objects are??
It seems NSProxy's -forwardInvocation: and - methodSignatureForSelector:
are only useful when the messages are directed to one object( or at
least objects of the same type?). Has anyone done this before? I' m not
very knowledgeable in Obj-C reflection. Does anyone have any design
ideas or code they can share?
cheers,
warren marco
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.