This week's sponsor

Textastic

The Code Editor for Your iPad and iPhone


Yes, You Can Create Plugins for iPhone OS

Developer Steve Troughton-Smith has developed and Objective-C plugin for iPhone OS, and he’s sharing the source code on Github here. As he explains, it’s possible to create plugins for iPhone OS’ Safari, and the code structure is very similar to the one for desktop Safari. You just have to change NSView with UIView, he confirms.

Steve goes even further and suggests that Apple should release a public Safari Plugin SDK and “let developers decide”, and sure this would be an interesting perspective. As long as a plugin is developed with Apple’s technologies and is submitted to the App Store for approval, a whole new category of “applications” might be available for purchase and be able to change the way we use Mobile Safari.

Think about some sort of Flash built in this way. Or 1Password, or Evernote’s web clipper. Got the idea? Great, now take a look at the video after the break, where Steve shows Lights Off (an iPhone app he created) running inside Safari on the iPad simulator. Impressive.

Unlock MacStories Extras

Club MacStories offers exclusive access to extra MacStories content, delivered every week; it’s also a way to support us directly.

Club MacStories will help you discover the best apps for your devices and get the most out of your iPhone, iPad, and Mac. It’ll also give you access to advanced iOS shortcuts, tips and tricks, and lots more.

Starting at $5/month, with an annual option available.

Join the Club.

A Club MacStories membership includes:

  • MacStories Weekly newsletter, delivered every week on Friday with app collections, tips, iOS workflows, and more;
  • MacStories Unplugged podcast, published monthly with discussions on what we’re working on and more;
  • Monthly Log newsletter, delivered once every month with behind-the-scenes stories, app notes, personal journals, and more;
  • Access to occasional giveaways, discounts, and free downloads.