Novice question: How to catch button click event in Doc based app?
Novice question: How to catch button click event in Doc based app?
- Subject: Novice question: How to catch button click event in Doc based app?
- From: Magnus Strand <email@hidden>
- Date: Thu, 20 Jan 2005 11:53:06 +0100
Hi!
I have created a Cocoa Doc based app project and I have added
an action method in the MyDocument class.
I would like this action to be called when a button in the doc is
clicked on.
But there is no NSDocumentController instance to connect to from the button
in the NIB window?
Should I subclass NSDocumentController and make an instance and then
connect to this one? But then how do I substitute NSDocumentController with
MyDocumentController?
--
Regards,
Magnus Strand
System Developer, MSc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden