Re: Stupid Cocoa question. How can you tell if the object you are looking at is a property or an ivar?
Re: Stupid Cocoa question. How can you tell if the object you are looking at is a property or an ivar?
- Subject: Re: Stupid Cocoa question. How can you tell if the object you are looking at is a property or an ivar?
- From: Eric Wing <email@hidden>
- Date: Wed, 20 May 2015 18:07:30 -0700
On 5/20/15, Jens Alfke <email@hidden> wrote:
>
>> On May 20, 2015, at 4:57 PM, Eric Wing <email@hidden> wrote:
>>
>> It depends on how pedantic you want to be.
>
> As little as possible, honestly. Did you go back and read the original
> question? The OP is having trouble with basic property-vs-ivar distinctions,
> and dropping a whole bunch of science on him isn't going to do anything but
> increase confusion.
>
> --Jens
>
I didn't intend to be unhelpful. I interpreted the original question
as a static analysis problem where the existing tools aren't
sufficient in doing the analysis for him. Dumping a list of all
declared properties so he can do additional cross-references himself
to help sort out the codebase didn't seem like an a completely
unhelpful idea to me. (And come to think of it, grep for @property
would do the same as long as the code base isn't dynamically creating
properties.)
-Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
_______________________________________________
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