• 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: Instance won't connect to outlet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Instance won't connect to outlet


  • Subject: Re: Instance won't connect to outlet
  • From: Shaun Wexler <email@hidden>
  • Date: Fri, 17 Oct 2003 22:05:43 -0700

On Oct 17, 2003, at 9:54 PM, J. Jones wrote:

I've done a search for this all over and can't find anything about it.

Here's the deal. I have a NSText outlet in one of my classes in interface
builder. I want to connect an instance of the object to the outlet so I
can modify the the text depending on conditions in my application. But
when I try to do this I get a message at the bottom of the connections
panel that says "filenameLabel must be of type NSText" while it already
is of type NSText.

I'm sorry if I'm using the wrong terminology here. Total
newbie. I've posted a screenshot of the error msg:

http://besmirched.org/NSText.jpg

Um, you're trying to connect an outlet designated as type (NSText *) to an object of the NSTextField class. Change the outlet from NSText to NSTextField in your controller code, or use the type id.
--
Shaun Wexler
MacFOH
http://www.macfoh.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Instance won't connect to outlet (From: "J. Jones" <email@hidden>)

  • Prev by Date: Instance won't connect to outlet
  • Next by Date: Re: Instance won't connect to outlet
  • Previous by thread: Instance won't connect to outlet
  • Next by thread: Re: Instance won't connect to outlet
  • Index(es):
    • Date
    • Thread