Skip to Content

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'.

iPhone or gPhone?

I would have to say that I agree with the various postings lately about the gPhone vs. iPhone. I haven't seen a compelling reason to run out and get a T-Mobile account, and get on the G1 train. I do, however, feel that the Android platform is going to be a force to be reckoned with for Apple.

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.) :)

My thoughts on the number of visible PHP jobs versus Drupal-specific ones

Tagged in:

I originally posted this as a comment on here: http://jeffwhatcott.com/drupal/content/why-are-people-building-social-ap...

But, I thought the concepts were more general, and deserved more visibility.

This is basically discussing the reason that there are more people looking for PHP developers than Drupal developers, specifically.

Marketing and buzzwords

Drupal and Ubercart get together to support a classic medium...

I recently launched a beta version of this site for my client: http://www.pencils.com/. It uses Drupal 5.7, and the latest Ubercart. The site concept is very cool, and I think they will do well. I'm planning on writing up a technical paper on how everything was done as a contribution.

Technorati and blogging

Tagged in:

I decided to check out what Technorati has to offer, and thus:

Technorati Profile

Let's see how this thing works.

Drupal CCK and Views - Simplified

We're on the cusp of the release of Drupal 6.0, and that will be a happy day for all of us, as there are a number of improvements to the core functionality, and enhancements to the Drupal API. Unfortunately, it seems that two of the key contributed modules (in my book) are going to be a little behind the core 6.0 release. These would be CCK and Views. To me, the easiest way around this is to continue to use 5.x until at least these two modules 'catch up'.

Evolution of the M&M

A friend of mine sent me this today, and I found it amusing:

"Whenever I get a package of plain M&Ms, I make it my duty to continue the strength and robustness of the candy as a species. To this end, I hold M&M duels.

Taking two candies between my thumb and forefinger, I apply pressure, squeezing them together until one of them cracks and splinters. That is the "loser," and I eat the inferior one immediately. The winner gets to go another round.

How Drupal is like The Island

This might be a fairly obscure reference, but it works for me, and it makes me happy. If you've seen the show LOST, there was an episode where the enigmatic character Ben (coincidence) was describing the Island to Locke. Paraphrasing, he said something like "On this Island, there is a box, a very big box, and whatever you want, it will give it to you." Now, I'm sure that someone with a better memory of the finer dialogue will correct me, but that's the idea. He was basically describing this concept of the Island "knowing" what you desired, using the box as a metaphor.

Syndicate content