supplying default values to popup in table
supplying default values to popup in table
- Subject: supplying default values to popup in table
- From: Theodore Petrosky <email@hidden>
- Date: Thu, 14 Oct 2004 19:42:04 -0700 (PDT)
What is the best way to supply a default value to a
popup in a tableview that is controlled by an
arrayController?
I tried creating a valueTransformer that supplied the
default string if there was no value. This works fine
for viewing but the selectedValue is not updated. I
guess I could create my own add: method that adds a
row to the array then supply the default with the
setter methods. There must be an easier way.
Ted
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
_______________________________________________
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