On Jul 18, 2012, at 11:06 AM, Graham Cox wrote:

> 
> On 19/07/2012, at 12:57 AM, Alex Zavatone wrote:
> 
>> How do you automatically know its type if you know its name?  I'm interested 
>> to understand the "why" of that statement.
> 
> 
> Because it tells you the type right there in the @property declaration!
> 

Ah, yes, when coding, of course.  For some reason, I was expecting that during 
runtime/debugging, if you know the name of an object or you are accessing a 
object your coworker wrote there was some concept that instantly told you its 
class and makeup. 

> If you're expecting a string and the object returns an array, who's at fault? 
> Not you.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to