Re: Silly question on extending NSObject.
Re: Silly question on extending NSObject.
- Subject: Re: Silly question on extending NSObject.
- From: Jens Alfke <email@hidden>
- Date: Thu, 21 Feb 2019 10:41:21 -0800
> On Feb 20, 2019, at 5:11 PM, Alex Zavatone <email@hidden> wrote:
>
> Commenting out #import “NSObject+AutoDescribe.h” in the .pch does cause an
> invalid selector build error if autoDescribe is used in any class file, but
> you can enter it on an object from the debugger.
The warning/error is just because the compiler hasn’t seen that selector
anywhere, so it doesn’t know it’s valid. You can fix it by #including the
AutoDescribe header in that source file. Or create a prefix header and #include
it there.
—Jens
_______________________________________________
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