Undocumented Mac Calls

Posted by Brian Postow on Stack Overflow See other posts from Stack Overflow or by Brian Postow
Published on 2010-03-22T15:17:25Z Indexed on 2010/03/22 16:11 UTC
Read the original article Hit count: 421

Filed under:
|
|

I'm working on a couple of mac products, and in order to do what I need to do, I'm using some calls to undocumented methods on Mac Classes. Like

IKImageView's

 doRotate:(id)

and

PDFDocument's

(NSPrintOperation *)getPrintOperationForPrintInfo:(NSPrintInfo *)printInfo autoRotate:(BOOL)doRotate;

How common is it for Objective C programmers to use methods like this? How do you find out about them (other than Google)? How dangerous is it to use them? Is there a danger other than that Apple will make them no-longer available in some future rev, and so your program will break?

© Stack Overflow or respective owner

Related posts about mac

Related posts about objective-c