• 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
supplying default values to popup in table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: supplying default values to popup in table
      • From: J Tichenor <email@hidden>
  • Prev by Date: Re: IPAddressFormatter?
  • Next by Date: Re: IPAddressFormatter?
  • Previous by thread: Re: Modal session requires modal window
  • Next by thread: Re: supplying default values to popup in table
  • Index(es):
    • Date
    • Thread