Patching iUI
Posted on by Steve Workman About 1 min reading time
Recently, I've been working on an iPhone web app for my employer (internal, so I can't share). I based the design and architecture around the iUI library by Joel Hewitt, which became an overnight de-facto standard for web apps. However, after a lot of playing with it and turning it inside out, I've found there are a number of problems which have not yet been fixed.
For example; I want to run an AJAX search on a page one menu down my site tree. I found that this wasn't possible as subsequent javascript code was not evaluated by Safari. There's other things too, like any iPhone/iPod application link not working, having to press any link that goes to "_self" twice and having a slide animation that stutters more than a broken record.
I am happy to say that fixes exist for all but the last item, and I have put them all into a javascript file, which can be found at the end of this post.
However, I do not believe that this is the solution to iUI's problems. I feel that a complete re-write in a standardised library like jQuery is the solution. Who knows, I may even find time to write it ;-)
So, here's the file: iui.patched.js
Steve