• 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
Shared NSNumberFormatters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shared NSNumberFormatters


  • Subject: Shared NSNumberFormatters
  • From: Samuel Williams <email@hidden>
  • Date: Sat, 29 Sep 2012 01:37:58 +1200

Hi Friends,

I have an application that is currency using multiple NSNumberFormatters.

Now a requirement has come up to support a per-document currency code.

I have about 10 NIB files and the most complex NIB files have about 10-15
fields using per-NIB file formatters connected to fields using outlets.

I would ideally like to use a binding on the text fields, e.g. bind
formatter to File's Owner document.currencyNumberFormatter but
unfortunately this binding isn't exposed in Xcode, which is leading to
quite a bit of additional code to manually create this binding.

Is there some way of achieving this more elegantly and efficiently?

Kind regards,
Samuel
_______________________________________________

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: Shared NSNumberFormatters
      • From: Sean McBride <email@hidden>
  • Prev by Date: Re: Proper KVO with NSTreeController + NSOutlineView
  • Next by Date: Notification Center settings
  • Previous by thread: Re: Spotlight and Quick Look plugin behaviour change on OS X 10.8
  • Next by thread: Re: Shared NSNumberFormatters
  • Index(es):
    • Date
    • Thread