i now don't have access to my idevice. as far as i could check from the class it draws a keyboard using rect and text. it is cool.
actually i am working on a simpler keyboard (just lower-key letters, no numbers).
my approch has been to load the iPhone keyboard pic as png. and for every key you hit it shows a somehow big rectangle of the letter above the key (something like when you hit a key in native iPhone keyboard). so it needs just three layers (keyboard, rectangle image, textlayer of the key you hit).
Wow, thanks for the heads up. I've been trying to correct everything as much as I can, but still getting an error about how my string input doesn't contain attribute 'pattern'. I'll keep trying but if there is an obvious mistake I'd love some help.