Re: Is this a bug of InterfaceBuilder?
Re: Is this a bug of InterfaceBuilder?
- Subject: Re: Is this a bug of InterfaceBuilder?
- From: Jeff Johnson <email@hidden>
- Date: Sun, 19 Aug 2007 10:21:19 -0500
On Aug 19, 2007, at 9:59 AM, Allen Dang wrote:
I met a strange problem in InterfaceBuilder.
Following is what I've done:
1. Drag a NSTabView to a Window.
2. Drag a WebView into NSTabView.
3. Create a controller with one Outlet named "webView" with type
WebView.
4. Instance the controller.
5. Ctrl + Left Click from controller's instance to WebView.
Then I met the problem -- I never can target WebView inside a
NSTabView.
Each time when I try to do that, the target always is NSView
instead of WebView.
What should I do?
It looks like a bug. As a workaround, you can make the connection
using the outline view. In the right scrollbar-area of your nib
file's window, there are two buttons: one for the icon view and one
for the outline view. Click on the outline view button to switch
from the icon view, and then you can disclose all of the items in
your Window object, including the WebView. Ctrl-click on the
controller instance and drag to the WebView in the outline view.
-Jeff
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden