ErnestoJHN
Aspiring developer
Profile
Posts: 8
Reg: Jan 19, 2013
San Pedro Sula,...
80
01/19/13 11:48 AM (13 years ago)

ARC convert

Hi, I'm new around here but not much programing apps for iOS. I created my first project here in Buzztouch and I want to convert it to ARC, when I try this from the menu it shows an error: "PerformSelector names a selector which retains the object" In this code line: theViewController = [[theClass performSelector:@selector(alloc)] initWithScreenData:theScreen]; If someone can help me with this I will appreciate. Thanks
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/19/13 01:59 PM (13 years ago)
I may not be able to help. But Ray might... http://www.raywenderlich.com/5677/beginning-arc-in-ios-5-part-1 Hope this helps! Cheers! -- Smug
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
03/03/13 07:47 AM (12 years ago)
@ErnestoJHN - did you ever figure this out? Thinking of doing something similar.
 
RawlsEnterprises
I hate code!
Profile
Posts: 19
Reg: May 21, 2013
Los Angeles
6,190
like
06/13/13 11:55 PM (12 years ago)
Was this ever answered?
 
ErnestoJHN
Aspiring developer
Profile
Posts: 8
Reg: Jan 19, 2013
San Pedro Sula,...
80
like
06/14/13 08:12 AM (12 years ago)
No, I think that the answer is to change all the project code.
 

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.