toggle

AAPL Stock: 124.24 ( + 0.86 )

Printed from http://www.macnn.com

Developer uncovers iPad's AdLib web-based app framework

updated 05:55 pm EDT, Wed April 7, 2010

Framework mimics native apps using HTML, CSS

Apple has apparently created a new web-based framework for the iPad, potentially allowing developers to create web apps using HTML, CSS and JavaScript code. Done21 developer Jim Hoskins allegedly uncovered the framework, known as AdLib, while exploring the iPad User Guide, which opens in Safari but mimics functionality typically reserved for native apps.

The user guide contains scrolling panes that can be navigated using a single finger. The interface also shows the iPhone OS scroll bars and elastic transitions. Hoskins took a closer look at the JavaScript code, which indicated the system was reading touch events and calculating the scrolling inertia before manually drawing the scroll bars.

Further investigation uncovered an entire framework consisting of 4,300 lines of code, with each class and constant prefixed with the letters "AD" and contained in a file labeled AdLib-ug-ipad.js.

"The framework looks to be extremely well thought out and complete," Hoskins says. "Perhaps this will be a framework to support a future release of Dashcode, an application for writing dashboard widgets and Safari/iPhone web apps."

Apple has yet to disclose the framework or offer documentation. It is unclear if the code will be announced as part of the upcoming iPhone OS 4 event.




by MacNN Staff

POST TOOLS:

TAGS :

toggle

Comments

  1. rytc

    Joined: Dec 1969

    +1

    The framework

    For iAd?

Login Here

Not a member of the MacNN forums? Register now for free.

toggle

Network Headlines

toggle

Most Popular

Advertisement

Recent Reviews

Seagate Wireless

It seems like no matter how much internal storage is included today's mobile devices, we, as users, will always find a way to fill th ...

Brother HL-L8250CDN Color Laser Printer

When it comes to selecting a printer, the process is not exactly something most people put a lot of thought into. Printers are often t ...

Moshi iVisor AG and XT for iPad Air 2

Have you ever tried to put in a screen protector that relies on static to cling to the screen? How many bubbles and wrinkles does it h ...

toggle

Most Commented