• 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: Debugging Bindings in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging Bindings in Cocoa


  • Subject: Re: Debugging Bindings in Cocoa
  • From: Gabriele de Simone <email@hidden>
  • Date: Wed, 18 Feb 2004 10:50:22 -0500

On Feb 17, 2004, at 2:19 PM, mmalcolm crawford wrote:

There isn't much source code to show, unfortunately. I implemented interactive filtering on a NSArrayController using one of the examples I found on: http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
What happened is that when the controller was being filtered, any insertion that did not match the filter would fail. I understand that filtering is a bit of a hack, but it also seems odd that none of the controller objects posts something like this: "object could not be inserted". The NSStateMarker warning is a little too late in the chain of events to make sense of what's happening.

I'm not sure why you didn't see an "Object could not be inserted" error -- I got that?

I'm also not sure why you regard filtering as "a bit of a hack"? There's a clear entry point in the API for this, and it generally works well enough.

I really meant that in a good way :-) With so few people around with deep understanding of Cocoa Bindings, without your examples I would personally have little clue of how to exploit the API to its fullest (thank you!).

Gabe
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Debugging Bindings in Cocoa (From: Gabriele de Simone <email@hidden>)
 >Re: Debugging Bindings in Cocoa (From: Scott Anguish <email@hidden>)
 >Re: Debugging Bindings in Cocoa (From: Gabriele de Simone <email@hidden>)
 >Re: Debugging Bindings in Cocoa (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: .nib files that won't go away
  • Next by Date: Re: Thread safety of NSPipe
  • Previous by thread: Re: Debugging Bindings in Cocoa
  • Next by thread: Drawing shadows under views
  • Index(es):
    • Date
    • Thread