Re: unable to connect an IBOUTLET to NSScrollView
Re: unable to connect an IBOUTLET to NSScrollView
- Subject: Re: unable to connect an IBOUTLET to NSScrollView
- From: Brent Gulanowski <email@hidden>
- Date: Sun, 7 Mar 2004 16:28:55 -0500
On Mar 5, 2004, at 6:41 PM, Ken Hawkins wrote:
> In my class i have a declaration:
>
> @interface XtractorInMedia : NSObject
> {
> ...
> IBOutlet NSScrollView *mediaScrollView;
> ...
> }
> ...
> @end
>
>
> However in Project builder i can't connect it and it gives me a message
Of course you mean Interface Builder.
> that mediaScrollView needs to be of a type NSScrollView to connect it
> to. that is what it is and i am confused as to why this type doesn't
> seem to take. has anyone else hit this using xcode?
So you have instantiated an NSScrollView object in the interface and
are trying to connect it to that? Understand that IB is not complaining
about the type of the variable, but the class of the object you have
chosen for the outlet. Possibly you have double-clicked the scrollview
and are trying to wire up a view inside of it, either a view you added
or the scrollview's content view.
--
Brent Gulanowski email@hidden
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.