Objective-C Question about Categories and Subclasses
Objective-C Question about Categories and Subclasses
- Subject: Objective-C Question about Categories and Subclasses
- From: Dave <email@hidden>
- Date: Mon, 30 Nov 2015 13:18:48 +0000
Hi,
If I have a category on a class (call it LTWClassX) with a method called -(void) foo;
If I then subclass from LTWClassX - call it LTWClassY. What happens if I now define foo in the Subclass?
I’m guessing it overrides it? Right?
Thanks a lot
Dave
_______________________________________________
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