Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Upper case string in formatter




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Upper case string in formatter (From: "Peter Karlsson" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.