This Week's Sponsor:

Incogni

Put an End to Spam, Scams, and Robocalls on Your 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.

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.