Development

UIViewController, multiple text fields, and getting rid of the keyboard

I have a UIViewController that has a number of UITextField subviews. In Cocoa for iPhone, I was unable to find a way to determine what the current UIResponder is in order to dismiss it properly, so I wrote this bit of code to iterate through the subclasses of the view, and resign the text field that is currently being edited.

One thing that is notable here is introspection, where once we have the object, we ask it if it is a KindOf UITextField. If so, we know that we can send it the messages 'isEditing' and 'resignFirstResponder'.

Why There's No Flash on the iPhone

I was just reading this article regarding flash on the iPhone. The original author basically states that Apple's SDK limitations disallow a developer to author and publish an interpreter (Java/JVM, or Flash would fall into this category).

And so, it begins...

The process has begun, stay tuned for more info!

(cryptic message intentional.) :)

Syndicate content