Re: newbie IB question
Re: newbie IB question
- Subject: Re: newbie IB question
- From: Jonathan Hess <email@hidden>
- Date: Thu, 24 Apr 2008 15:39:59 -0700
On Apr 24, 2008, at 11:33 AM, Kris Matthews wrote:
What I did was set my File's Owner to be my NSDocument derived
class. Then I Ctrl-dragged to my NSTextView and it was hooked up.
Ah, if you find the drag order to be confusing you might try right, or
control, clicking on objects to bring up the connections display. You
can modify connections from there, and see what you're doing before
you start the drag.
Good Luck -
Jon Hess
Part of my previous problem was trying to drag from the NSTextView
to Files Owner. :)
On Apr 24, 2008, at 12:48 PM, Kris Matthews wrote:
As a followup to this, what is the appropriate way to connect to an
outlet in my document?
The document I'm reading on apples web site says "do not
instantiate your class" in IB. But I don't know of any other way to
connect my NSTextField to my IBOutlet. I think there's probably a
proper way to do this..
On Apr 24, 2008, at 9:15 AM, Kris Matthews wrote:
I create a new Cocoa document based application. I open the NIB,
everythings hooked up by default. But I ctrl drag from File->New
menu item to first responder. Then I examine First Responder
Connections - everything looks normal except newDocument: which is
connected to "9".
My NSDocument derived object still receives the newDocument:
message, but.. what's with the 9?
Thanks,
Kris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden