Re: Use storyboard in iOS app
Re: Use storyboard in iOS app
- Subject: Re: Use storyboard in iOS app
- From: Mingming Wang <email@hidden>
- Date: Sun, 16 Oct 2011 16:57:26 +0800
For people who tested it, you would know it didn't work for older iOS
versions.
So is the (weak) keyword. So how to utilize the new feature of Xcode 4.2?
On Sun, Oct 16, 2011 at 4:03 PM, Don Quixote de la Mancha <
email@hidden> wrote:
> On Sat, Oct 15, 2011 at 11:36 PM, Eric E Dolecki <email@hidden>
> wrote:
> > Yup. Wish Xcode could convert down somehow when targeting lower because
> storyboards are super awesome.
>
> You can still target earlier iOS releases as deployment targets. To
> do so, for Objective-C you check at runtime whether a class has a
> selector that is only available in recent iOS versions. For C and
> C++, you take the address of the function (that is, get a pointer to a
> function), then test that it is non-NULL.
>
> If the desired API is not available, you either roll a fallback by
> hand, or just don't provide the feature that uses that API.
>
> In my App Warp Life, testing on iOS 3.0.6 found just one Objective-C
> selector that was not present. It was not hard to code up a fallback.
> But for the lack of storyboards writing your own from scratch would
> be too hard, so you would probably have to just not provide the
> feature that uses them when running on iOS builds prior to 5.0
>
>
> --
> Don Quixote de la Mancha
> Dulcinea Technologies Corporation
> Software of Elegance and Beauty
> http://www.dulcineatech.com
> email@hidden
> _______________________________________________
>
> 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
>
_______________________________________________
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