Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 11    Views: 140

mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
01/07/14 11:48 AM (10 years ago)

BT30 - Day 05 - Make Arc & Non-Arc friends!

BT30 is my personal project to contribute to buzztouch: https://www.buzztouch.com/forum/thread.php?fid=2348BA49BA5737C92E3D9B5&tid=2348BA49BA5737C92E3D9B5 Day 05 - Make Arc & Non-Arc play nice with each other! ------------- Description: ------------- Way back in the day (a few months ago) when buzztouch was not arc, you needed to make arc play nice with each other. For those still using 2.0 projects, this will be useful, for those using 3.0, this may be useful vice versa if you're using non-arc code and don't want to convert it. ------------- Instructions: ------------- If you want to exclude a file from being compiled with ARC you can do so by setting a flag on the .m file: Click the Project -> Build Phases Tab -> Compile Sources Section -> Double Click on the file name Then add -fno-objc-arc to the popup window. Likewise, if you want to include a file in ARC, you can use the -fobjc-arc flag. Screenshot: http://s27.postimg.org/cdarryw0z/arc_compiler_flag.png ------------- It has helped me a ton in plugin development work with projects that are some non-arc and some arc that needed to go into my non-arc or arc projects. Never let arc bother you again! p.s. this should not be credited to me, I found this on the internets long time ago and copied the text / image into my code snippets folder. Hope this helps someone. David
 
Paddy
Lost but trying
Profile
Posts: 240
Reg: Oct 08, 2011
Hands Up !
12,500
like
01/07/14 12:06 PM (10 years ago)
Does BT30 end after 12 days or 30 ? Can't say thanks enough. Gonna get the 19.99$ deal anyway. Cheers,
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
01/07/14 12:08 PM (10 years ago)
$19.99 deal? That's Danny not me, but I still recommend you do it! His offer is very very generous for what you get. BT30 lasts for 30 days... hope you find some use for it. Cheers, David.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/07/14 12:09 PM (10 years ago)
Thanks for that! Really appreciated ;)
 
EdReyes
Lost but trying
Profile
Posts: 574
Reg: Oct 21, 2013
location unknow...
17,640
like
01/07/14 01:07 PM (10 years ago)
Yeah what is Danny offering for $19.99
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/07/14 01:28 PM (10 years ago)
@Ed The membership for 30days is on sale: http://www.bt-addons.com/memberships.html
 
EdReyes
Lost but trying
Profile
Posts: 574
Reg: Oct 21, 2013
location unknow...
17,640
like
01/07/14 01:53 PM (10 years ago)
Thanks @mysps
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
01/07/14 03:02 PM (10 years ago)
With the membership, i think everything on his site becomes free.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
01/07/14 03:05 PM (10 years ago)
Thanks guys - please post comments about the contribution now (@Thomas), LOL! ... and don't post apologies about it, no worries, lets stay on topic! Cheers! David
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
01/07/14 03:09 PM (10 years ago)
Yeah, soz. But thank you for this thingy. A few times I have found myself in an Arc conflict, and I still have no idea what it is, but this sheds some light.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/07/14 10:40 PM (10 years ago)
Ok David, you asked for it by insisting we stay on topic: arc, arc, arc ... say it out loud many times until Sam smacks ya. Hahahaha :-)
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
01/07/14 10:45 PM (10 years ago)
Careful Niraj, I'll be serving some of your food in a few weeks! :-p LOL! David
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.