• 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: Feature suggestions for easier debugging of Cocoa Bindings.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature suggestions for easier debugging of Cocoa Bindings.


  • Subject: Re: Feature suggestions for easier debugging of Cocoa Bindings.
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 19 Apr 2005 20:06:57 -0700


On Apr 19, 2005, at 7:57 PM, Jeff Laing wrote:

My understanding of the latter part of the post was that he wanted to ensure data integrity, and that's precisely what the validation methods do...

... whereas what I read it as was "I configured up most of my bindings
correctly, but left this one place unconnected. When I dereferenced the
missing pointer via bindings, the resulting silence didn't help in locating
the problem".


Perhaps Corey could clarify...?

Whatever, KVC validation methods certainly address this issue:
Depending on your data model, not having a particular model property could indicate that the state of the data is inconsistent with the expected data model. This is an error that needs to be caught as soon as possible.

If my data model is "Person has a first name, and a last name". While "first name" and "last name" can be zero length strings, both those properties still have to exists according to my data model. If those properties did not even exist (Null), then something is seriously wrong! I would want to know as soon as possible in that case.


mmalc

_______________________________________________
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


  • Follow-Ups:
    • Re: Feature suggestions for easier debugging of Cocoa Bindings.
      • From: "Corey O'Connor" <email@hidden>
References: 
 >RE: Feature suggestions for easier debugging of Cocoa Bindings. (From: Jeff Laing <email@hidden>)

  • Prev by Date: Open with menu
  • Next by Date: Re: Open with menu
  • Previous by thread: RE: Feature suggestions for easier debugging of Cocoa Bindings.
  • Next by thread: Re: Feature suggestions for easier debugging of Cocoa Bindings.
  • Index(es):
    • Date
    • Thread