• 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: adding NSView from other application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding NSView from other application


  • Subject: Re: adding NSView from other application
  • From: Ricky Sharp <email@hidden>
  • Date: Wed, 30 Mar 2005 16:24:10 -0600

On Mar 30, 2005, at 2:52 PM, Dmitry Markman wrote:

I'd like to clarify some issue

in general we can formulate problem as following:

1. there are 2 applications a1 and a2
2. a1 application creates NSView and send address of that NSView to a2 application (via TCP/IP protocol for example)
3. a2 application create NSView and attempts to add that new NSView to the NSView that a1 application created


I think it's impossible on the Macintosh,
but I'd like to know for sure and reasons (if it's impossible)

It's impossible to do by sending the address of views as memory addresses are private to each application.


However, you could "flatten" the NSView into a transferable form and then send that to other app. That app in turn will re-create the NSView.

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >adding NSView from other application (From: Dmitry Markman <email@hidden>)

  • Prev by Date: Re: NSCopying is manual labor
  • Next by Date: Punch a hole through a window other than your own?
  • Previous by thread: Re: adding NSView from other application
  • Next by thread: Punch a hole through a window other than your own?
  • Index(es):
    • Date
    • Thread