• 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: #pragma to suppress a warning message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #pragma to suppress a warning message


  • Subject: Re: #pragma to suppress a warning message
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 17 Sep 2009 10:20:09 -0400
  • Organization: Rogue Research Inc.

On 9/16/09 11:06 PM, Scott Thompson said:

>> Nonetheless, on the 10.4 machine where I tested this, the method
>> works.  Does anybody know what the story is with this method and
>> 10.4?  Is this method actually supported by 10.4 or is it something
>> that happens to be supported if certain other software has been
>> installed on a 10.4 platform?
>
>If it is not in the headers, it is a private and unsupported method.

Generally, but not necessarily.  Oftentimes, the Release Notes document
the availability of "new" methods in old OS releases.  For example, the
10.6 Foundation Release Notes say:

"The methods +dateWithTimeInterval:sinceDate: and -
initWithTimeIntervalSince1970: have been added to NSDate (NSDate.h).
These new methods are available from 10.4 onward."

Declarations were not added to the older SDKs, but they are in the 10.6
SDK and properly annotated:

- (id)initWithTimeIntervalSince1970:(NSTimeInterval)ti
AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER;

I'm not sure about [NSLocale preferredLanguages] though...

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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

References: 
 >#pragma to suppress a warning message (From: Jay Boyer <email@hidden>)
 >Re: #pragma to suppress a warning message (From: Scott Thompson <email@hidden>)

  • Prev by Date: [iPhone opengl] drawing issues when switching views
  • Next by Date: NSRunLoop issue
  • Previous by thread: Re: #pragma to suppress a warning message
  • Next by thread: Re: #pragma to suppress a warning message
  • Index(es):
    • Date
    • Thread