Re: Subclassing NSPredicate
Re: Subclassing NSPredicate
- Subject: Re: Subclassing NSPredicate
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 2 Oct 2009 10:17:57 -0600
On Oct 2, 2009, at 10:08 AM, Stamenkovic Florijan wrote:
The documentation does not discuss this as all, as far as I have
looked through it. Googling brings up nothing. So I am wondering: is
anyone doing this? Any caveats?
With a few exceptions (NSObject, NSFormatter, NSProxy, NSOperation,
etc.), objects in Foundation are not made to be subclassed, unless you
really know what you're doing. What exactly are you trying to
accomplish? If you're just trying to add methods to the class, then
make a category instead.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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