• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Connections in Cocoa Document-based application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Connections in Cocoa Document-based application (From: Francis Derive <email@hidden>)
 >Re: Connections in Cocoa Document-based application (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: __FILE__ relative path?
  • Next by Date: Integrating new languages into XCode
  • Previous by thread: Re: Connections in Cocoa Document-based application
  • Next by thread: Remote Shark (from CHUD 4.1) doesn't work for me...
  • Index(es):
    • Date
    • Thread