• 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: Blue lines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Blue lines


  • Subject: Re: Blue lines
  • From: Scott Anguish <email@hidden>
  • Date: Tue, 15 Jul 2008 20:36:20 -0400


On 15-Jul-08, at 8:31 PM, Andrew Thompson wrote:

How do Interface Builder and Quartz Composer draw the blue line connections
from object to object?
I have been looking through the APIs, but I can't find anything that looks
right.

I can't say how either app is written..

if you're drawing in a custom view between visual items that you control you can do it all yourself.



I thought of just drawing my own line on a custom view (shouldn't be that
hard), but interface builder manages to do it between objects that aren't
connected by ANY view, and I am not sure how to do that.



You'd need to use an overlay window that is transparent and ignores clicks. There is an example of this technique on developer.apple.com.



I am trying to build an HTML GUI editor.

Please, please an XML GUI editor. :-) Then the HTML version can be done via an XML schema, and users needing an XML editor will be all good.
_______________________________________________


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: 
 >Blue lines (From: "Andrew Thompson" <email@hidden>)

  • Prev by Date: Re: Blue lines
  • Next by Date: Re: Newbie: How to understand Xcode's documentation
  • Previous by thread: Re: Blue lines
  • Next by thread: Re: Blue lines (nice example app including quartz compositions)
  • Index(es):
    • Date
    • Thread