Conditional Display Pattern
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