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.
Founded in 2015, Club MacStories has delivered exclusive content every week for over six years.
In that time, members have enjoyed nearly 400 weekly and monthly newsletters packed with more of your favorite MacStories writing as well as Club-only podcasts, eBooks, discounts on apps, icons, and services. Join today, and you’ll get everything new that we publish every week, plus access to our entire archive of back issues and downloadable perks.
The Club expanded in 2021 with Club MacStories+ and Club Premier. Club MacStories+ members enjoy even more exclusive stories, a vibrant Discord community, a rotating roster of app discounts, and more. And, with Club Premier, you get everything we offer at every Club level plus an extended, ad-free version of our podcast AppStories that is delivered early each week in high-bitrate audio.
Choose the Club plan that’s right for you:
Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with app collections, tips, automation workflows, longform writing, a Club-only podcast, periodic giveaways, and more;
Club MacStories+: Everything that Club MacStories offers, plus exclusive content like Federico’s Automation Academy and John’s Macintosh Desktop Experience, a powerful web app for searching and exploring over 6 years of content and creating custom RSS feeds of Club content, an active Discord community, and a rotating collection of discounts, and more;
Club Premier: Everything in from our other plans and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.
Federico is the founder and Editor-in-Chief of MacStories, where he writes about Apple with a focus on apps, developers, iPad, and iOS productivity. He founded MacStories in April 2009 and has been writing about Apple since. Federico is also the co-host of AppStories, a weekly podcast exploring the world of apps, and Dialog, a show where creativity meets technology.