Re: Connections in Cocoa Document-based application
Re: Connections in Cocoa Document-based application
- Subject: Re: Connections in Cocoa Document-based application
- From: Francis Derive <email@hidden>
- Date: Thu, 10 Mar 2005 20:00:18 +0100
On 10 Mar 2005, at 8:45 AM, Francis Derive wrote:
Immediately, if I change from the Classes view to the "Instances"
view of the "MyDocument.nib" window, and I select "File's Owner" to
see the "File's Owner Info" window, there is no outlet and no action
as attributes there : seems awkward to me as I understand the
File'sOwner is supposed to represent the MyDocument class.
It may be well to verify your understanding. Select File's Owner and
open the Custom Class inspector (command-5) on it. Is the class
MyDocument (as it should be), or something else?
Yes, it is as it should be : the action and the outlet are listed as
attributes of MyDocument class in its Info panel.
(I didn't know this way to do).
Oh ! As I noticed a little - golden like - dot has just appeared on the
bottom left corner of the File'sOwner icon in the MyDocument.nib
Instance view, I guessed this could be a fairy sign : it is, because I
just control-dragged from this icon to the outlet button, and now I get
what I want to see in the File'sOwner Info window : theButtonOutlet is
listed and I can make the connection.
Same thing for the button's target.
Thanks a lot, Fritz ! Do you know what has happened to explain that it
works now - after "shaking" this way the MyDocument class ?
I go on shaking Cocoa as much as I can.
Merci beaucoup.
Francis.
_______________________________________________
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