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

NSFormatter: get default values


  • Subject: NSFormatter: get default values
  • From: Rainer Standke <email@hidden>
  • Date: Sun, 30 May 2010 16:45:48 -0700

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

  • Follow-Ups:
    • Re: NSFormatter: get default values
      • From: Graham Cox <email@hidden>
    • Re: NSFormatter: get default values
      • From: Reinhard Segeler <email@hidden>
  • Prev by Date: Re: posted notifications are sent twice
  • Next by Date: Re: Value Transformer with multiple Model Key Paths
  • Previous by thread: Re: UIView retain past drawing?
  • Next by thread: Re: NSFormatter: get default values
  • Index(es):
    • Date
    • Thread