• 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: Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy)


  • Subject: Re: Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy)
  • From: j o a r <email@hidden>
  • Date: Wed, 19 Nov 2003 22:36:19 +0100

On 2003-11-19, at 21.02, Chris Espinosa wrote:

>> I got an app that I'm developing in Xcode, this app uses
>> NSProgressIndicators, specifically calling the setStyle method.  I set
>> the SDK to Mac OS X 10.1.5 and cleaned and compiled, and no problems.
>> I restarted in 10.1.5 and tried my app and it crashed with a console
>> error saying that NSProgressIndicator doesn't recognize setStyle
>> selector.  But it compiled fine, so WTF?  I go to the documentation
>> page for NSProgressIndicator, and low and behold, setStyle, along with
>> several other methods, are 10.2+... Here are my questions:
>> 1) Why didn't Xcode catch this?
>
> Because it would have done exactly the same thing if you built it on
> 10.2.5.  SDK support really only deals with runtime library binding,
> and not with the dynamic message sending of Objective-C.

If I had built an appliction on Mac OS X 10.2 and used a selector that
only exists on Mac OS X 10.3, I would have received at least a warning.
Are you saying that if I do the same thing on Mac OS X 10.3, in a
project set to use the Mac OS X 10.2 SDK, I will not get a warning? How
useful is that? Why can't you provide the appropriate warnings and
errors for the selected SDK?

j o a r

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy)
      • From: Chris Espinosa <email@hidden>
References: 
 >Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy) (From: Justin Lundy <email@hidden>)
 >Re: Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy) (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: gdb attach ex post facto (was: no subject)
  • Next by Date: Re: Xcode cross-developing to 10.1 and NSProgressIndicator
  • Previous by thread: Re: Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy)
  • Next by thread: Re: Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy)
  • Index(es):
    • Date
    • Thread