Re: Deprecated methods in NSDocument
Re: Deprecated methods in NSDocument
- Subject: Re: Deprecated methods in NSDocument
- From: Shawn Erickson <email@hidden>
- Date: Wed, 23 Nov 2005 15:53:05 -0800
On 11/23/05, Stephen J Starkie <email@hidden> wrote:
>
> On 23 Nov 2005, at 20:54, Pontus Ilbring wrote:
>
> > On 11/23/05, Stephen J Starkie <email@hidden>
> > wrote:
> >> Hi,
> >>
> >> Following up on my post about disabled Save menu items (not solved
> >> yet) - I notice that dataRepresentationOfType() and
> >> loadDataRepresentation() are deprecated; I'm not sure what's replaced
> >> them
> >
> > Even though it's written on the first line in their documentation?
> >
> > dataRepresentationOfType:
> > This method has been deprecated. Use dataOfType:error: instead.
> >
> > loadDataRepresentation:ofType:
> > This method has been deprecated. Use readFromData:ofType:error:
> > instead.
>
> Not in my docs - guess that's the difference between the Java and
> ObjC documentation!
You may want to note the following ...
Important: Cocoa-Java technology is only a learning tool. Applications
targeted for release to customers must be developed using Objective-C
to take advantage of all the programming interfaces available in
Cocoa. Programming interfaces added to Cocoa in Mac OS X versions
later than 10.4 will not be available to Cocoa-Java applications.
...from the following page...
<http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaObjects/Articles/JavaCocoa.html>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden