• 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
Conditional Display Pattern
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Conditional Display Pattern


  • Subject: Conditional Display Pattern
  • From: Alexander Hartner <email@hidden>
  • Date: Sun, 19 Mar 2006 22:54:30 +0000

I am populating a dropdown with values. I have content bound to and NSArrayController, contentValues bound to the same array controller but with a Model Key Path specified and also selected object Bound. Now each of the objects / items in the dropdown list will show the bound model key path (ie : title member). I want to append a string pattern (secure) if the objects sslEnabled member is set to TRUE. A Display Pattern would work wonders here, but it doesn't allow to be set conditionally, dependent on the sslEnabled member. I suppose I could write an value transformer, but is this really necessary, or is there a easier way.


Alexander Hartner email@hidden

_______________________________________________
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: NSTableView: displaying number of selected rows
  • Next by Date: Bug in NSToolbar MenuFormRepresentation?
  • Previous by thread: KVO: subclasses registering keys fror same dependent key
  • Next by thread: Bug in NSToolbar MenuFormRepresentation?
  • Index(es):
    • Date
    • Thread