• 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: Is this a bug of InterfaceBuilder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this a bug of InterfaceBuilder?


  • Subject: Re: Is this a bug of InterfaceBuilder?
  • From: Allen Dang <email@hidden>
  • Date: Mon, 20 Aug 2007 22:16:33 +0800

Thanks a lot!

在 2007-8-19,下午11:14,Jim Thomason 写道:

I'll be. I was also unable to connect to a WebView in the manner
described - IB would only let me connect to the given tab's view. So
it does look like an IB problem. File a bug report.

Here's two workarounds:

1) Drag an ordinary NSView into your tab, and then using the custom
class inspector change it to be a WebView. You can then wire this up,
but you lose the custom attributes inspector for the webview.

2) Drag the webview elsewhere into the window so it's not in the tab.
Drag your connection from your controller to the webview, then drag
the web view into the tab view. When you start to drag into the tab
view, click and hold on the webview first. It will "pop up" and the
cursor will switch to the copy cursor. Drag it into the tab view, and
you should see it retarget into there. Drop it and you're inside. Just
to be sure, confirm afterwards that your connection is still there,
but don't disconnect it, since you'd have to repeat the procedure if
you do. This will keep your webview attributes inspector.

-JIm.....

On 8/19/07, Allen Dang <email@hidden> 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?
_______________________________________________

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


_______________________________________________

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


References: 
 >Is this a bug of InterfaceBuilder? (From: Allen Dang <email@hidden>)
 >Re: Is this a bug of InterfaceBuilder? (From: "Jim Thomason" <email@hidden>)

  • Prev by Date: Re: Is this a bug of InterfaceBuilder?
  • Next by Date: Userdefaults, their initial values, and bindings
  • Previous by thread: Re: Is this a bug of InterfaceBuilder?
  • Next by thread: Re: Is this a bug of InterfaceBuilder?
  • Index(es):
    • Date
    • Thread