Shared NSNumberFormatters
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