Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / October 2005



Tip: Looking for answers? Try searching our database.

everything's deprecated

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
paul - 03 Oct 2005 07:49 GMT
Hi,

When building to carbon 10.4 Universal almost everything's deprecated but it
doesn't list what you should use instead. Can't find anything on
developer.apple.com. Is there anything out there which gives alternatives to
all these deprecated functions?

Thanks,

Paul
Ben Artin - 03 Oct 2005 10:23 GMT
In article
<4340d490$0$481$61c65585@uq-127creek-reader-03.brisbane.pipenetworks.com.au>,

> When building to carbon 10.4 Universal almost everything's deprecated but it
> doesn't list what you should use instead. Can't find anything on
> developer.apple.com. Is there anything out there which gives alternatives to
> all these deprecated functions?

I had a list but it's deprecated :-)

Seriously, this is not a simple question to answer. Ask us about the specific
APIs. The two big areas that I am aware of are that QuickDraw is deprecated in
favor of CoreGraphics and that FSSpecs are deprecated in favor of FSRefs.

hth

Ben

Signature

If this message helped you, consider buying an item
from my wish list: <http://artins.org/ben/wishlist>

I changed my name: <http://periodic-kingdom.org/People/NameChange.php>

Chris Baum - 04 Oct 2005 03:35 GMT
> In article
> <4340d490$0$481$61c65585@uq-127creek-reader-03.brisbane.pipenetworks.com.au>,
[quoted text clipped - 16 lines]
>
> Ben

And just so you're aware up-front:  The wholesale deprecation of
Quickdraw was premature and/or too coarse-grained.  Apple is looking to
Leopard to close all of the holes.  

So you're going to encounter many deprecated line items with no
alternative as of 10.4, EG, all of the Rect-related api's.  There are
many api's that still take Rects which have no alternatives as of 10.4.

Try to replace the QD rendering api's with CG and FSSpec with FSRef,
then override the junk compiler warnings with your own #define.
Eric Albert - 10 Oct 2005 13:21 GMT
> Try to replace the QD rendering api's with CG and FSSpec with FSRef,
> then override the junk compiler warnings with your own #define.

If you want to turn off the warnings, turn off the "Warn about
deprecated function calls" check box in Xcode.

-Eric

Signature

Eric Albert         ejalbert@cs.stanford.edu
http://outofcheese.org/

Doc O'Leary - 04 Oct 2005 00:12 GMT
In article
<4340d490$0$481$61c65585@uq-127creek-reader-03.brisbane.pipenetworks.com
.au>,

> When building to carbon 10.4 Universal almost everything's deprecated but it
> doesn't list what you should use instead.

Cocoa.

Sorry, had to!  :-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.