Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 09-23-2008, 09:22 AM   #5 (permalink)
shawn
New Member
 
Join Date: Sep 2008
Posts: 31
Default

I pretty much copy and pasted your event handler into my ViewControllerSubClass, I then added a text box in Interface Builder and bound it to a UITextField outlet property. I set the myTextField.delegate = self in the ViewController.initWIthNibName method. Everything seems to get executed and go without a hitch but it still doesn't close the keyboard when I click done...

Also I get a warning at the line where I assign the delegate saying "warning class 'MyViewController' does not implement the 'UITextFieldDelegate' protocol"... any idea how to make this warning go away?
shawn is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,353
Threads: 39,148
Posts: 171,625
Top Poster: smasher (2,577)
Welcome to our newest member, pyrrho
Powered by vBadvanced CMPS v3.1.0

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