• 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: [iPhone] NumberPad with the dot
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] NumberPad with the dot


  • Subject: Re: [iPhone] NumberPad with the dot
  • From: Brian Slick <email@hidden>
  • Date: Tue, 17 Mar 2009 19:43:17 -0400

In searching for a similar solution myself, I've come across three possibilities:

1) Roll your own keyboard, as others have mentioned.

2) Overlay a decimal button onto the keyboard, like this:
http://billabonger.net/blog/2009/01/add-a-decimal-to-uitextfield-number-pad-keyboard/
* - I have no idea if this uses "legal" methods

3) For currency, you can make your text field add the decimal for the user automatically, like this:
http://davidjhinson.wordpress.com/2008/12/22/simple-formatting-in-a-cocoa-touch-text-edit-field-uitextfield/


#3 is covering my needs at the moment, and I believe is the easiest of the three options, provided it can be used for your situation.

I'm hoping that OS 3.0 adds a new built-in keyboard option.

Brian


On Mar 16, 2009, at 6:57 PM, Jelle De Laender wrote:

Hi,

I was a little bit surprised because the default number pad doesn't contains a dot.
I've created an application and the user need to enter decimal numbers.


The default number pad is: http://h4xr.org/ifm4 (see UITextInputTraits Protocol Reference)

There is an empty space at the left-bottom but I can't find anywhere how I can get a number pad that contains a dot. I can't believe that Apple hasn't a number pad that support decimal numbers. This is something basic, isn't?

What is the best way to get a dot on the number pad?

Jelle,


_______________________________________________

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

_______________________________________________

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


References: 
 >[iPhone] NumberPad with the dot (From: Jelle De Laender <email@hidden>)

  • Prev by Date: "selector ... is passed a return code and caller specified in contextInfo" ?!?!
  • Next by Date: Re: "selector ... is passed a return code and caller specified in contextInfo" ?!?!
  • Previous by thread: Re: [iPhone] NumberPad with the dot
  • Next by thread: [NSTableView] How should a grid be drawn?
  • Index(es):
    • Date
    • Thread