Methods that return autoreleased objects?

2008-06-28 Thread john muchow
The last thread that I saw on this topic was dated sometime in
2004if there is something more recent that I didn't find, I
apologize up front...

I realize nothing has probably changed as far as the API and the
documentation to indicate autoreleased methods, however, can someone
provide any insight as to how one knows if a method from a framework
returns an autoreleased object?

Thanks

John
MacDeveloperTips.com
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Capture screenshot

2008-05-14 Thread john muchow
I've got a question related to capturing a screenshot of the login
screen using Cocoa. Long story short, I've found a means to get the
elusive screenshot that gets me 99% of the way there...

My question for this group is if anyone is aware of a Cocoa
API/library call to capture a screenshot. I am looking to write an
application that runs in the background (e.g. using sleep) and does
nothing more than capture an image. The easiest means to explain is to
point you to the blog posts which explain what I've done up to this
point:

http://macdevelopertips.com/system/login-screenshot-challenge.html
http://macdevelopertips.com/system/login-screenshot-challenge-part-2.html

Thank you in advance for any help you may be able to provide.

Regards,

John
http://MacDeveloperTips.com
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]