Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-21-2008, 05:48 PM   #8 (permalink)
RickMaddy
Registered Member
 
RickMaddy's Avatar
 
Join Date: Oct 2008
Location: Denver, CO
Posts: 2,122
Default

Like I said, read my first post. I clearly state to add this code in the text field's delegate method. The name of the method is in my first post.

May I politely suggest reading the docs on UITextField and UITextFieldDelegate. That may help out some.

The basic idea is that this delegate method gets called on every button you tap on the keyboard, including the delete key. Just reject invalid values based on the needs of your text field.
RickMaddy is offline   Reply With Quote
 

» Advertisements
» Online Users: 611
19 members and 592 guests
aijo, apatsufas, armmzz, brianmethod, chits12345, ckgni, claudia99, Dani77, devangvyas, Domele, drewrico, ghost, JamesCahall, my02820, oceanlablight, Oral B, rky, SoulRed12, spiderguy84
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,785
Threads: 89,205
Posts: 380,598
Top Poster: BrianSlick (7,129)
Welcome to our newest member, drewrico
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:08 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.