Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 15, 2013, 06:56 PM   #1
mikezang
macrumors 6502a
 
Join Date: May 2010
Location: Tokyo, Japan
Can ARC be used in iOS 4.3?

My app is used by some iOS 4 users, I am going to use some open source to improve my app, but some of them are in ARC, I can't test it because Xcode 4.3 without iOS 4.3 simulator , does anyone tell me if I can use those open source? What should I do?
mikezang is offline   0 Reply With Quote
Old Jan 16, 2013, 06:08 AM   #2
KoolStar
macrumors Demi-God
 
KoolStar's Avatar
 
Join Date: Oct 2006
Location: Kentucky
Send a message via AIM to KoolStar Send a message via Skype™ to KoolStar
ARC is supported in Xcode 4.2 for Mac OS X v10.6 and v10.7 (64-bit applications) and for iOS 4 and iOS 5. Weak references are not supported in Mac OS X v10.6 and iOS 4.

Source: Apple Docs

From this you can gather arc can work and target iOS 4.3 as long as it does not use any weak references. Therefore you should be able to use XCode 4.3/ Or the latest 4.5 to compile and target iOS 4.3.
__________________
"Innovation distinguishes between a leader and a follower." : S.J.

Last edited by KoolStar; Jan 16, 2013 at 06:09 AM. Reason: Added clarification for xcode version.
KoolStar is offline   0 Reply With Quote
Old Jan 16, 2013, 06:14 AM   #3
mikezang
Thread Starter
macrumors 6502a
 
Join Date: May 2010
Location: Tokyo, Japan
Quote:
Originally Posted by KoolStar View Post
ARC is supported in Xcode 4.2 for Mac OS X v10.6 and v10.7 (64-bit applications) and for iOS 4 and iOS 5. Weak references are not supported in Mac OS X v10.6 and iOS 4.

Source: Apple Docs

From this you can gather arc can work and target iOS 4.3 as long as it does not use any weak references. Therefore you should be able to use XCode 4.3/ Or the latest 4.5 to compile and target iOS 4.3.
Thanks a lot! my mistake and didn't check document.
__________________
iPad Mini 32GB, iPhone 4S 16GB, iPad1 32GB, Mac mini 2.53GHz 4GB 320GB, ThinkPad T60
MyApp: Market Event v1.9.2
mikezang is offline   0 Reply With Quote
Old Jan 16, 2013, 06:17 AM   #4
KoolStar
macrumors Demi-God
 
KoolStar's Avatar
 
Join Date: Oct 2006
Location: Kentucky
Send a message via AIM to KoolStar Send a message via Skype™ to KoolStar
Not a problem, your quit welcome. If you need anything else don't hesitate to ask!
__________________
"Innovation distinguishes between a leader and a follower." : S.J.
KoolStar is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:18 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC