• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
App Store, Sandbox and loadable code bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

App Store, Sandbox and loadable code bundle


  • Subject: App Store, Sandbox and loadable code bundle
  • From: Trygve Inda <email@hidden>
  • Date: Mon, 23 Jun 2014 19:48:09 -0700
  • Thread-topic: App Store, Sandbox and loadable code bundle

I have an app that normally exists as a System Preference Pane. To get it to
work in an app, and share the same code as the prefPane, I built a small
"host" app that simply loads the prefPane (a Mach-O bundle) with:

[self setPaneObject:[[[paneClass alloc] initWithBundle:paneBundle]
autorelease]];
if ([paneObject loadMainView])
{
    [paneObject willSelect];

     // Add view to window and adjust size
     [window setContentSize:[[paneObject mainView] frame].size];
     [window setContentView:[paneObject mainView]];
     [window center];
     [window makeKeyAndOrderFront:self];

     [paneObject didSelect];
}


Both the app and the .bundle are codesigned. The .bundle resides within the
host app's package and the whole thing is sandboxed.

It works fine on my system, but is there any reason Apple will not approve
of this? The Mach-O code bundle gets loaded into the main app and becomes
part of it.

Has anyone submitted something to the App Store that works like this?

Thanks,

Trygve



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: App Store, Sandbox and loadable code bundle
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Can't set UINavigationBar tint color?
  • Next by Date: Re: App Store, Sandbox and loadable code bundle
  • Previous by thread: Re: Can't set UINavigationBar tint color?
  • Next by thread: Re: App Store, Sandbox and loadable code bundle
  • Index(es):
    • Date
    • Thread