Re: Upper case string in formatter
Re: Upper case string in formatter
- Subject: Re: Upper case string in formatter
- From: Nick Zitzmann <email@hidden>
- Date: Sat, 4 Dec 2004 11:52:36 -0700
On Dec 4, 2004, at 9:49 AM, Peter Karlsson wrote:
Dear list!
I need my formatter to convert all characters to upper case. I have
tried
to change the string in 'isPartialStringValid' but it does not work.
Can
someone please tell me the right place in the formatter to place this
code.
Dear Peter!
The answer is -getObjectValue:forString:errorDescription:.
If you need an example of a working formatter, then take a look at the
source code for SafariCookieCutter, which I have posted on my Web site.
It includes a working NSFormatter subclass you can study.
<http://seiryu.home.comcast.net/scc.html>
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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