• 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: KVG generic enough?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KVG generic enough?


  • Subject: Re: KVG generic enough?
  • From: Alex Zavatone <email@hidden>
  • Date: Wed, 18 Jul 2012 11:33:12 -0400

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 (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: KVG generic enough?
      • From: Graham Cox <email@hidden>
References: 
 >KVG generic enough? (From: William Squires <email@hidden>)
 >Re: KVG generic enough? (From: Graham Cox <email@hidden>)
 >Re: KVG generic enough? (From: Alex Zavatone <email@hidden>)
 >Re: KVG generic enough? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: KVG generic enough?
  • Next by Date: Re: looking for a memory problem
  • Previous by thread: Re: KVG generic enough?
  • Next by thread: Re: KVG generic enough?
  • Index(es):
    • Date
    • Thread