• 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: newbie IB question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie IB question


  • Subject: Re: newbie IB question
  • From: Kris Matthews <email@hidden>
  • Date: Thu, 24 Apr 2008 13:33:43 -0500

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.

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
  • Follow-Ups:
    • Re: newbie IB question
      • From: Jonathan Hess <email@hidden>
References: 
 >newbie IB question (From: Kris Matthews <email@hidden>)
 >Re: newbie IB question (From: Kris Matthews <email@hidden>)

  • Prev by Date: Re: newbie IB question
  • Next by Date: Re: 'C' Unit Testing framework with Xcode?
  • Previous by thread: Re: newbie IB question
  • Next by thread: Re: newbie IB question
  • Index(es):
    • Date
    • Thread