On 29/05/2009, at 12:47 AM, Sourabh Sahu wrote:

I created NSDocument which has inbuilt SavePanel, what I want is the reference of SavePanel in my class.

What's an inbuilt save panel? Because there isn't one in a normal NSDocument

I tried NSSavePanel *panel = [NSDocument savePanel]
But the code crashes.

In what way? Show the stack trace. Show your code. Show something.

--Graham


_______________________________________________

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 arch...@mail-archive.com

Reply via email to