• 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
Re: NSFormatter: get default values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFormatter: get default values


  • Subject: Re: NSFormatter: get default values
  • From: Reinhard Segeler <email@hidden>
  • Date: Mon, 31 May 2010 02:00:34 +0200

It's not clear, waht you mean. A formatter is a formatter, that does not contain values on itself. Or do you mean with "value" the format to use?

-- Reinhard	

Am 31.05.2010 um 01:45 schrieb Rainer Standke:

Hello,

I have a custom formatter that needs to to look up a default value based on the current document. The textfield the formatter sits on is part of a collection view. In the nib the formatter has a connection (via IBOutlet) to the object that holds the value that is to be looked up. The problem is that the formatter instances that belong to the collection view instances don't connect to anything.

How can I get around this? I guess a solution could be either be in the formatter, where I have no idea what to do with it, or with the the message flow from the collectionviewitem to the document.

Any help would be appreciated.

Rainer



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSFormatter: get default values (From: Rainer Standke <email@hidden>)

  • Prev by Date: Re: Value Transformer with multiple Model Key Paths
  • Next by Date: Re: posted notifications are sent twice
  • Previous by thread: NSFormatter: get default values
  • Next by thread: Re: NSFormatter: get default values
  • Index(es):
    • Date
    • Thread