On Wed, Oct 7, 2009 at 11:19 AM, David Reitter <david.reit...@gmail.com> wrote:
> window = (MyNSAlert*)  [window clone];

What is this -clone method?

> That way I could get NSAlert to do all the layout and prepare the window,
> but then take over and roll my own?

No, because even granting the existence of this -clone method, despite
your cast (which I assume you meant to be to MyNSWindow, not
MyNSAlert) the object isn't an instance of MyNSWindow.

--Kyle Sluder
_______________________________________________

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