• 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: Graham Cox <email@hidden>
  • Date: Thu, 19 Jul 2012 01:06:41 +1000

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!

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

--Graham


_______________________________________________

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: Alex Zavatone <email@hidden>
    • Re: KVG generic enough?
      • From: Alex Zavatone <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>)

  • Prev by Date: Re: do you init your instance variables in init method or outside the class?
  • Next by Date: Re: do you init your instance variables in init method or outside the class?
  • Previous by thread: Re: KVG generic enough?
  • Next by thread: Re: KVG generic enough?
  • Index(es):
    • Date
    • Thread