• 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
Distributed objects NSURL is always encoded as proxy? is this a bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Distributed objects NSURL is always encoded as proxy? is this a bug?


  • Subject: Distributed objects NSURL is always encoded as proxy? is this a bug?
  • From: Marc Van Olmen <email@hidden>
  • Date: Sat, 13 Sep 2008 12:12:26 -0400

hi,

I have an NSURL that is encoded by:

 	[theCoder encodeBycopyObject:mFileURLSource];


but I notice that when i double check on the InitWithCoder that

	mFileURLSource = [[theCoder decodeObject] retain];
	if ([mFileURLSource isProxy] == YES)
	{
		OS_DEBUG_LOG(@"MFileURLSOUrce is still a proxy object");
	}

It is always a proxy object...

Al the other ivars in my object are encoded fine (they are NSNumber, NSDate and NSString classes.

I'm wondering if there is some kind of exception with NSURL?

regards,


marc _______________________________________________

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


  • Follow-Ups:
    • Re: Distributed objects NSURL is always encoded as proxy? is this a bug?
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: NSOperationQueue
  • Next by Date: Re: App name from Bundle Identifier?
  • Previous by thread: Re: NSOperationQueue
  • Next by thread: Re: Distributed objects NSURL is always encoded as proxy? is this a bug?
  • Index(es):
    • Date
    • Thread