Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

zeroskillz

macrumors newbie
Original poster
Apr 13, 2010
6
0
Howdy,
I've done this in other languages (which will remain nameless), but am not exactly sure how to go about re-creating the concept for an iPad app.

What I'd like is a App that is capable of loading and running an external plug-in/extension.

Ideally I would have my parent app utilize in in-app store to add custom enhancements to the product, a-la-carte, if you will.

Part of the reason for this is to allow for additional function in the future that we don't know about yet, so including things in the app and 'activating' them isn't the solution.

What would be the route to go to achieve this? Does each plug-in need to be it's own app?

Any and all thoughts are appreciated.

Thanks!
 
What I'd like is a App that is capable of loading and running an external plug-in/extension.

This is explicitly banned on the app store.

iOS Developer Agreement Quotes:

3.3.2 An Application may not download or install executable code. Interpreted code may only be used in an Application if all scripts, code and interpreters are packaged in the Application and not downloaded. The only exception to the foregoing is scripts and code downloaded and run by Apple's built-in WebKit framework.
 
Ah. I had an inkling there was some goofiness surrounding the concept.

I can run one app from another though, right? So having the 'plugin' as it's own app is theoretically a possibility, right? Albeit kind of clunky...

In this case, would going the route of a web-based app be better? And then simply create a shell to load and display the web-based content?
 
You can use downloadable Javascript plugins that run in a UIWebview, and call them from an Objective-C app. This is explicitly allowed in the SDK agreement.

Apple also has a WWDC 2010 video on data driven app design about how to use all kinds of other downloadable content (just not any executable code other than Javascript).
 
Thanks firewood, I'll look into the video. Otherwise, JS plugins may very well do the trick.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.