• 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: loop efficiency & messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: loop efficiency & messages


  • Subject: Re: loop efficiency & messages
  • From: Ricky Sharp <email@hidden>
  • Date: Wed, 23 Mar 2005 08:25:14 -0600

On Wednesday, March 23, 2005, at 07:07AM, Will Mason <email@hidden> wrote:

>However, since
>I've never had to deal with KVC compliance, maybe you can tell me what
>I'm missing. I'm not being at all sarcastic in that statement. I really
>want to know what I'm missing! Please fill me in.

See the following link on the proper naming of accessors for KVC compliance:

<http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/AccessorConventions.html>

There are numerous advantages of KVC.  It's a well-covered topic, so just search for articles on it.  One such advantage is that it will utltimately pave the path towards your ability to tap into the wonderful world of bindings.  As a real-world example, I've been able to remove at least 75% of my 'glue code' in controllers by using bindings.  Thus, the cost of KVC compliance has been minimal compared to the huge dividends of having fewer lines of often very complex code.

--
Rick Sharp
Instant Interactive(tm)

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: loop efficiency & messages (From: Will Mason <email@hidden>)

  • Prev by Date: Re: KVC/bindings/coredata WAS loop efficiency & messages
  • Next by Date: performKeyEquivalent and arrow keys
  • Previous by thread: Re: KVC/bindings/coredata WAS loop efficiency & messages
  • Next by thread: Re: loop efficiency & messages
  • Index(es):
    • Date
    • Thread