• 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
Re: Upper case string in formatter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Upper case string in formatter
      • From: Larry Fransson <email@hidden>
References: 
 >Upper case string in formatter (From: "Peter Karlsson" <email@hidden>)

  • Prev by Date: Re: Starting as Startup Item?
  • Next by Date: Absolute Value |x - y|
  • Previous by thread: Upper case string in formatter
  • Next by thread: Re: Upper case string in formatter
  • Index(es):
    • Date
    • Thread