• 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: Distributed Objects, copying thereof
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed Objects, copying thereof


  • Subject: Re: Distributed Objects, copying thereof
  • From: "Jim Thomason" <email@hidden>
  • Date: Thu, 8 Jun 2006 19:34:48 -0500

Man, I just have no luck. Okay, so I implemented -
(id)replacementObjectForPortCoder:(NSPortCoder *)encoder in an NSImage
category to allow myself to pass NSImages with bycopy across a
distributed object connection. All was right.

Except I'm now have a different issue. It turns out that it works fine
when I have an image that was created via +imageNamed, but it fails
when I use an image I created programmatically in the code. So this
has lead me to believe that there's something different about my
programmatically created image and one returned by imageNamed, but I
haven't figured out what it could be.

So far I have:
1) tried explicitly calling setName: on my image.
2) added an NSBitmapImageRep to my newly created image.
3) added the NSBitmapImageRep AND removed the existing NSCachedImageRep.

None of those have had any effect - it still fails the same way as always.

Any suggestions as to what setting I should fiddle to make it work, or
if it's even possible?

-Jim......
_______________________________________________
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


  • Follow-Ups:
    • Re: Distributed Objects, copying thereof
      • From: John Pannell <email@hidden>
References: 
 >Distributed Objects, copying thereof (From: "Jim Thomason" <email@hidden>)
 >Re: Distributed Objects, copying thereof (From: John Pannell <email@hidden>)
 >Re: Distributed Objects, copying thereof (From: "Jim Thomason" <email@hidden>)

  • Prev by Date: How to do modal mouse tracking loop efficiently?
  • Next by Date: Re: Distributed Objects, copying thereof
  • Previous by thread: Re: Distributed Objects, copying thereof
  • Next by thread: Re: Distributed Objects, copying thereof
  • Index(es):
    • Date
    • Thread