
Apple PastryKit Gives Web Apps a Native Feel
Posted December 16, 2009 at 12:33pm by iClarified
Apple has been developing a PastryKit framework which provides Web Apps with a Native App feel.
John Gruber from Daring Fireball noticed that the iPhone User Guide performed and looked very similar to native application. That's because it uses the PastryKit framework in development by Apple.
The framework:
- Completely hides the address bar, even when running not from a saved-to-the-home app icon, but within a page in MobileSafari itself.
- Allows for fixed-position toolbars that never budge from the top when you scroll.
- And: sets its own scrolling friction coefficient, allowing you to fling long lists.
After installing the User Guide app to your home screen and launching it from there, there's really very little to suggest that it isnt a native iPhone application. No MobileSafari address bar at the top, no MobileSafari toolbar at the bottom. Scrolling is fast and has momentum. It even works perfectly offline, because the contents of the user guide are stored locally in a database using HTML5.
It's unclear whether PastryKit is something Apple intends to make public. Technically, any of these features could be accomplished by a very advanced coder; however, going to all this trouble to create the framework for internal use only seems like a waste of resources.
Read More
John Gruber from Daring Fireball noticed that the iPhone User Guide performed and looked very similar to native application. That's because it uses the PastryKit framework in development by Apple.
The framework:
- Completely hides the address bar, even when running not from a saved-to-the-home app icon, but within a page in MobileSafari itself.
- Allows for fixed-position toolbars that never budge from the top when you scroll.
- And: sets its own scrolling friction coefficient, allowing you to fling long lists.
After installing the User Guide app to your home screen and launching it from there, there's really very little to suggest that it isnt a native iPhone application. No MobileSafari address bar at the top, no MobileSafari toolbar at the bottom. Scrolling is fast and has momentum. It even works perfectly offline, because the contents of the user guide are stored locally in a database using HTML5.
It's unclear whether PastryKit is something Apple intends to make public. Technically, any of these features could be accomplished by a very advanced coder; however, going to all this trouble to create the framework for internal use only seems like a waste of resources.
Read More
![Apple Confirms Exclusive US F1 Coverage Starts March 7, Shares First Look at Interface [Video] Apple Confirms Exclusive US F1 Coverage Starts March 7, Shares First Look at Interface [Video]](/images/news/99274/99274/99274-160.jpg)
![Apple Shares Official Trailer for 'Born to be Wild' Wildlife Series [Video] Apple Shares Official Trailer for 'Born to be Wild' Wildlife Series [Video]](/images/news/99271/99271/99271-160.jpg)
![Apple Rocked by Executive Turmoil as Chip Chief Johny Srouji Considers Leaving [Report] Apple Rocked by Executive Turmoil as Chip Chief Johny Srouji Considers Leaving [Report]](/images/news/99269/99269/99269-160.jpg)
![Apple, Google, Samsung Protest India's Mandatory Always-On Location Tracking Plan [Report] Apple, Google, Samsung Protest India's Mandatory Always-On Location Tracking Plan [Report]](/images/news/99266/99266/99266-160.jpg)
![OpenAI Accelerates GPT-5.2 Launch to Next Week Amid 'Code Red' [Report] OpenAI Accelerates GPT-5.2 Launch to Next Week Amid 'Code Red' [Report]](/images/news/99261/99261/99261-160.jpg)





![AirPods 4 With ANC Are Still On Sale for Just $99! [Lowest Price Ever] AirPods 4 With ANC Are Still On Sale for Just $99! [Lowest Price Ever]](/images/news/99264/99264/99264-160.jpg)
![Final Cyber Monday Deals: M4 MacBook Air for $749, Beats, Sonos, and More [List] Final Cyber Monday Deals: M4 MacBook Air for $749, Beats, Sonos, and More [List]](/images/news/99203/99203/99203-160.jpg)
![iPad mini 7 Falls to New All-Time Low of $349 [Cyber Monday 2025] iPad mini 7 Falls to New All-Time Low of $349 [Cyber Monday 2025]](/images/news/99197/99197/99197-160.jpg)
![Apple Watch Series 11 Drops to New All-Time Low Price of $329 [Cyber Monday 2025] Apple Watch Series 11 Drops to New All-Time Low Price of $329 [Cyber Monday 2025]](/images/news/99195/99195/99195-160.jpg)
