Patching iUI

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

If you enjoyed this post, leaving a comment or subscribe to the RSS feed to have future articles delivered to your feed reader.

Steve Workman

Steve Workman is the Head of Web Engineering at Yell. He is also an organiser for London Web Standards is an occasional public speaker, talking about web performance and web standards

More Posts - Website - Twitter - Google Plus

Tags: , ,

2 Comments

  1. Andy B said:

    Sounds like a cool project, are you looking to use the webkit CSS transitions? No need to use cocoa touch! 🙂

    http://ajaxian.com/archives/iphone-safari-flick-navigation-by-example

    Seriously though, are you planning to dabble in objective-C/J at all? A nice entry point might be the cappuccino JS framework from slide280.

    http://cappuccino.org/

    Mmm VM in a VM, the mind boggles!

    http://teddziuba.com/2008/09/07/chrome-os2.gif

    p.s. Does your blog support textile or markdown at all?

  2. Steve Workman said:

    I blogged about the CSS transitions in my last post. They do look rather good! I’d probably try and make the page transitions available to be changed through CSS, allowing for the use of CSS animations (i.e. cardflip – http://ajaxian.com/archives/3d-css-transforms-on-the-iphone)

    I’m planning on doing some Objective-C if I get given some time to do it, and if I get given a Mac!

    Re: the blog, it’s a simple WordPress blog. Nothing extra

Leave a response