Re: userSpaceScaleFactor in class NSWindow is deprecated - so what?
Re: userSpaceScaleFactor in class NSWindow is deprecated - so what?
- Subject: Re: userSpaceScaleFactor in class NSWindow is deprecated - so what?
- From: Lee Ann Rucker <email@hidden>
- Date: Sat, 11 Aug 2012 10:49:02 -0700 (PDT)
Try "br -[NSWindow userSpaceScaleFactor]" and see who's calling it.
----- Original Message -----
From: "Gerriet M. Denkmann" <email@hidden>
To: email@hidden
Sent: Saturday, August 11, 2012 5:55:56 AM
Subject: userSpaceScaleFactor in class NSWindow is deprecated - so what?
I have an app which, when I first use File → Open..., writes:
"2012-08-11 19:48:16.710 MyApp[5380:303] *** WARNING: Method userSpaceScaleFactor in class NSWindow is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead."
I asked Xcode about "userSpaceScaleFactor" but got: "No Results Found". Which I think is correct.
I tried to break on NSLog() but this did not help.
10.8
What should I do to get rid of this warning?
Gerriet.
_______________________________________________
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
_______________________________________________
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