• 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
NSearchField IB Predicates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSearchField IB Predicates


  • Subject: NSearchField IB Predicates
  • From: Steve Cronin <email@hidden>
  • Date: Tue, 31 Jan 2006 00:49:12 -0600

Folks;

I have a classic Master-Detail data model. In the Master the relationship is called: details.

I have funtioning NSSearchField toolbarItem built completely in IB.
It is bound to an array controller which is managing the Master Entity [Attributes].
This same array controller is the data source for a tableView...
The several IB built predicates (1-5) look like: fieldX contains[c] $value.
This all works great!


Now I want to allow the predicate to do: details.fieldZ contains[c] $value

Neither IB nor XCode complain. It compiles fine and there is no runtime moaning and groaning about KVC compliance.

But if I supply any value in the field --> no results.
If I back out the values all the appropriate records show up in the TableView even though I still have that predicate selected (item 6 of 6)


How do I debug this?
Any thoughts on why it's failing?

Thanks Ahead of Time!
Steve

Cocoa rules cool.
_______________________________________________
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


  • Prev by Date: Re: Fake NSMenu-like view
  • Next by Date: Programmatically resized NSWindow not being redrawn?
  • Previous by thread: Re: Strange resizing issue with NSView
  • Next by thread: Programmatically resized NSWindow not being redrawn?
  • Index(es):
    • Date
    • Thread