Thanks all, you've saved me a fair bit of time having to
experiment/research this further.

Just to clarify - none of the bundles (or the app) are using GC so it'll be
an ARC app loading manual RR code.
David - always worth pointing out the memory management conventions, it'll
be something I have to keep in mind when testing the ARC app for the first
time.

Cheers,

On 18 May 2012 17:37, David Duncan <david.dun...@apple.com> wrote:

> On May 18, 2012, at 7:39 AM, Patrick Robertson wrote:
>
> > I'm (finally) looking at converting my non-ARC (Mac OS X) app over to
> ARC,
> > but also have quite a few external plugins/bundles which can be loaded
> into
> > the main app on runtime.
> > My question is - can my ARC app load non-ARC bundles, or is this not
> > possible.
>
>
> ARC code can load manual RR code (and vice versa). This property is relied
> upon by the OS. The most important thing to cross compatibility is that
> both sides understand and follow the Cocoa memory management conventions
> (or annotated exceptions), as otherwise you can get over-retain and
> over-release bugs at the boundaries.
> --
> David Duncan
>
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to