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 07-05-2009, 03:24 PM   #1 (permalink)
Jume
Registered Member
 
Jume's Avatar
 
Join Date: Jul 2008
Location: Slovenia, EU
Posts: 264
Send a message via Skype™ to Jume
Default initialFirstResponder

This is making me crazy.

I have a simple NIB file where I put two NSTextFields and one subclassed NSImageView under UIWindow... I want my NSImageView be the firstResponder for key events... I have read the documentation and according to that I set my custom subbclassed NSImageView as initialFirstResponder.

But that wont work... still the text fields are focused automatically and are firstRespodners... Even when I switch the focus with Tab key, the NSImageview wont be selected so it never becomes a first responder.

How do I solve this? I wan't to listen to key events on my custom NSImageView...
Jume is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,865
Threads: 89,223
Posts: 380,688
Top Poster: BrianSlick (7,129)
Welcome to our newest member, aimeeclowers
Powered by vBadvanced CMPS v3.1.0

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