• 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
Re: ARC apps - loading non-ARC bundles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ARC apps - loading non-ARC bundles


  • Subject: Re: ARC apps - loading non-ARC bundles
  • From: Patrick Robertson <email@hidden>
  • Date: Fri, 18 May 2012 18:54:36 +0100

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 <email@hidden> 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 (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

References: 
 >ARC apps - loading non-ARC bundles (From: Patrick Robertson <email@hidden>)
 >Re: ARC apps - loading non-ARC bundles (From: David Duncan <email@hidden>)

  • Prev by Date: Re: ARC apps - loading non-ARC bundles
  • Next by Date: Re: NSScroller in layer backed view
  • Previous by thread: Re: ARC apps - loading non-ARC bundles
  • Next by thread: Re: NSScroller in layer backed view
  • Index(es):
    • Date
    • Thread