• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Silly question on extending NSObject.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Silly question on extending NSObject. (From: Alex Zavatone <email@hidden>)
 >Re: Silly question on extending NSObject. (From: Alex Zavatone <email@hidden>)
 >Re: Silly question on extending NSObject. (From: Jens Alfke <email@hidden>)
 >Re: Silly question on extending NSObject. (From: Alex Zavatone <email@hidden>)
 >Re: Silly question on extending NSObject. (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Silly question on extending NSObject.
  • Next by Date: My eyes are failing me.
  • Previous by thread: Re: Silly question on extending NSObject.
  • Next by thread: Re: Silly question on extending NSObject.
  • Index(es):
    • Date
    • Thread