• 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 code in a non ARC app. iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ARC code in a non ARC app. iOS


  • Subject: Re: ARC code in a non ARC app. iOS
  • From: Alex Zavatone <email@hidden>
  • Date: Tue, 23 Feb 2016 18:25:20 -0500

Yeah, it does. I was thinking about it bassackwardsly.

Would it be recommended to package my ARC code with ARC turned off and package that in a framework and then link to that from the non ARC app that will need to load it?

Thank you, sir.

AZ

Sent from my iPhone

> On Feb 23, 2016, at 6:16 PM, Greg Parker <email@hidden> wrote:
>
>
>> On Feb 23, 2016, at 1:30 PM, Alex Zavatone <email@hidden> wrote:
>>
>> Hi all.  I'm in the middle of looking at an interesting problem on the iOS side.
>>
>> We have our code that is ARC and uses external compiled C libs that I'm being asked to plug into another iOS project that's significantly larger than ours.
>>
>> The intent is to run as a little service that can be launched within the other iOS project.
>>
>> The other project that we must fit within is not ARC. Converting it to ARC is not feasible, nor our responsibility.
>>
>> I am successfully building the iOS app that doesn't use ARC with Xcode 7.1 and running on iOS 9.1.
>>
>> Now, I'm familiar with the -fno-objc-arc build flags to disable compiling one file at a time, but is there any possibility to include iOS code that does use ARC within an app that doesn't?
>
> Yes, -fno-objc-arc works on iOS too. Was that your question?
>
>
> --
> Greg Parker     email@hidden     Runtime Wrangler
>
>

_______________________________________________

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: ARC code in a non ARC app. iOS
      • From: Uli Kusterer <email@hidden>
    • Re: ARC code in a non ARC app. iOS
      • From: Greg Parker <email@hidden>
References: 
 >ARC code in a non ARC app. iOS (From: Alex Zavatone <email@hidden>)
 >Re: ARC code in a non ARC app. iOS (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: ARC code in a non ARC app. iOS
  • Next by Date: Re: ARC code in a non ARC app. iOS
  • Previous by thread: Re: ARC code in a non ARC app. iOS
  • Next by thread: Re: ARC code in a non ARC app. iOS
  • Index(es):
    • Date
    • Thread