• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Use storyboard in iOS app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use storyboard in iOS app


  • Subject: Re: Use storyboard in iOS app
  • From: Don Quixote de la Mancha <email@hidden>
  • Date: Sun, 16 Oct 2011 01:03:04 -0700

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

  • Follow-Ups:
    • Re: Use storyboard in iOS app
      • From: Mingming Wang <email@hidden>
References: 
 >Use storyboard in iOS app (From: Sasikumar JP <email@hidden>)
 >Re: Use storyboard in iOS app (From: Hunter Hillegas <email@hidden>)
 >Re: Use storyboard in iOS app (From: Eric E Dolecki <email@hidden>)

  • Prev by Date: Re: Arc and performSelector
  • Next by Date: Re: 'Customize Toolbar...' menu item disabled
  • Previous by thread: Re: Use storyboard in iOS app
  • Next by thread: Re: Use storyboard in iOS app
  • Index(es):
    • Date
    • Thread