Re: Overriding Methods via Category Now A no-no?
Re: Overriding Methods via Category Now A no-no?
- Subject: Re: Overriding Methods via Category Now A no-no?
- From: "T.J. Usiyan" <email@hidden>
- Date: Mon, 26 Mar 2012 20:30:46 -0400
I think that was always frowned upon. Method Swizzling was the way to go because overwriting in a category obscures the original implementation.
TJ
On Mon, Mar 26, 2012 at 7:11 PM, Jens Alfke
<email@hidden> wrote:
On Mar 26, 2012, at 3:40 PM, Keary Suska wrote:
Clang now complains with, "Category is implementing a method which will also be implemented by its primary class", but I understood that overriding methods via category was perfectly fine although with some drawbacks.
Yikes, where did the docs say that? I’ve always assumed it was unsupported/disallowed.
—Jens
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden