Re: ARC apps - loading non-ARC bundles

2012-05-18 Thread Patrick Robertson
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 t

Re: ARC apps - loading non-ARC bundles

2012-05-18 Thread David Duncan
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

Re: ARC apps - loading non-ARC bundles

2012-05-18 Thread Scott Ribe
On May 18, 2012, at 8:49 AM, Fritz Anderson wrote: > Yes, it can link to (including loading) non-ARC code. By which I assume you mean old-style retain/release code, not GC? -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice __

Re: ARC apps - loading non-ARC bundles

2012-05-18 Thread Marcus Straßmann
Did that once with the SVProgressHUD by Sven Vermette, which is non-ARC as well. If you add "-fno-objc-arc" in Build Phases / Compile Sources / Compiler Flags, it should work. HTH Marcus Am 18.05.2012 um 16:39 schrieb Patrick Robertson: > Hi all, > > I'm (finally) looking at converting my no

Re: ARC apps - loading non-ARC bundles

2012-05-18 Thread Fritz Anderson
On 18 May 2012, at 9:39 AM, Patrick Robertson wrote: > My question is - can my ARC app load non-ARC bundles, or is this not > possible. Yes, it can link to (including loading) non-ARC code. — F ___ Cocoa-dev mailing list (Cocoa-dev@lists.app