• 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: get class of a method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get class of a method


  • Subject: Re: get class of a method
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 22 Feb 2015 10:11:44 -0800

> On Feb 22, 2015, at 9:30 AM, Kyle Sluder <email@hidden> wrote:
>
> The compiler does keep type info for properties, but that’s not actually documented.

It’s documented in the “Declared Properties” section of the “Objective-C Runtime Programming Guide”:

	You can use the property_getAttributes function to discover the name,
	the @encode type string of a property, and other attributes of the property.

I was surprised to hear that the full return type of a method isn’t available, the way it is for properties. Weird…

—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


  • Follow-Ups:
    • Re: get class of a method
      • From: Kyle Sluder <email@hidden>
References: 
 >get class of a method (From: BareFeetWare <email@hidden>)
 >Re: get class of a method (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Color fun with IBOutlet named "appNameLabel"
  • Next by Date: Re: get class of a method
  • Previous by thread: Re: get class of a method
  • Next by thread: Re: get class of a method
  • Index(es):
    • Date
    • Thread