On Sat, Oct 15, 2011 at 11:36 PM, Eric E Dolecki <edole...@gmail.com> 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
quix...@dulcineatech.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to