Using storyboards and ARC for ios 4 - iphone

I'm planning to write an iphone application which uses storyboards and ARC. As I know these features come with ios 5. The question is will my application run on ios 4 devices? If not, is there a way to run this application on ios 4 devices?
Thanks..

ARC applications will run on iOS 4, but weak references aren't supported.
Storyboards are not available on iOS 4, period.

No. There isn't. Those are iOS 5 features. While there may be possibilities to port ARC to iOS 4, storyboards are simply not usable on iOS 4.

Related

How to create universal iOS app on Xcode 6 with and without using storyboard?

I worked on upgrading the app to iOS 8 and shifted Xcode 5 to Xcode 6 for iPhone 6 and 6 plus devices. The app work fine in iPhone 6 and 6 plus. But when creating new app in Xcode 6 same thing doesn't happen. I tried using constraints but that is not easy to handle things. I want to know is that the only way to work on Xcode 6 for making all devices compatible app because more complex design the more difficult to handle constraints. Is there any other way other than storyboard. Or any other smarter way to do this with some less complexity. Please guide.
You can use a single iPhone storyboard and set this in your project for iPhone and iPad. I think there is no easier way.
If you have problems, please be more specific.

Using Single Storyboard for iPhone & iPad on Xcode 5.1.1

I have been developing an iOS App with iPhone(4-inch) Storyboard. Now I would like to use the same storyboard for iPad also. My iPhone storyboard contains 130+ scenes now.
I need to make it for iPad also.
I tried solution from link:
Converting Storyboard from iPhone to iPad
After following it my Xcode crashes, may be due to many scenes in the single storyboard.
I know about size classes in Xcode 6 and also tried it but the fonts don't update for the iPad size class(Regular Width| Regular Height) on simulator/device with iOS 7 but on iOS 8 it does. Since I have deployment target as iOS 7 I can't overlook the issue.
Can anyone help me with a solution that works on Xcode 5.1.1 of having same iPhone storyboard for iPad(Like a Universal App) as well?
Any help/clue will be appreciated.
Thanks.
Have you tried using size classes?
If that doesn't work, you could always use 2 different storyboards- 1 for the iPhone and 1 for the iPad

Storyboard in IOS 5 SDK but also target IOS 4 /3?

I love the idea of using storyboards, but unfortunately when I try to test this using IOS 4,
I change the deployment target to IOS 4 and I can't compile this anymore.
it said that Storyboards is not supported for IOS 4.3 or later.
So is it useful to use storyboards?
How can I write iPhone apps using storyboards so that they can be compatible with IOS 4?
I don't think that there's a reasonable way of doing it.
You could instantiate your Storyboards programatically (I think) but then you'd need something to fall back on on pre-iOS5 devices. And what would that be? Probably XIBs... which also continue to work on iOS5. You'd end up implementing everything twice. So, as I say, it may be possible but it's probably not practical.

Compatibility of ARC and Storyboard

What's the compatibility of ARC and Storyboard considering devices and iOS?
Will ARC and Storyboard work on iPhone 3G, 3GS, 4 and 4S?
Will ARC and Storyboard work on iOS 4 and 5?
ARC runs with 5.0 or higher, Storyboard also needs iOS 5. Therefore, both are potentially available with the iPhone 3GS and above.
EDIT: Obviously, ARC is also compatible with iOS 4.0 and above, once you don't use weak. I briefly tested it, seems to work. That would mean that the iPhone 3G would also be compatible.

Storyboard apps also run on pre-iOS 5 devices?

If an app is developed using Storyboard in Xcode 4.2, can this app run in iOS 4.x devices?
No, it can't. Storyboards are only available in iOS 5.
From the UIStoryboard class reference:
Available in iOS 5.0 and later
From Converting to Storyboards Release Notes:
Storyboarding is a new way to create user interfaces for iOS applications, beginning with iOS 5 and Xcode 4.2.