• 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
Problem using data in a distributed object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem using data in a distributed object


  • Subject: Problem using data in a distributed object
  • From: Ken Tozier <email@hidden>
  • Date: Mon, 30 May 2011 11:20:05 -0400

HI

I wrote two apps that communicate through distributed objects and found this weird "feature" where if a string is distributed by one app, the receiving app can't use it to create other strings. For example

str1 is vended from app A
App B wants to take that string and append some text to the end, like so

NSString	*newString	= [vendedString stringByAppendingString:  @"testing 1, 2, 3"];

Not sure why, but once the execution reaches that step, the program just stops dead in it's tracks. It doesn't crash, but just seems to get hung on that line, never executing anything beyond it. Is there a way to actually use data vended by a distributed object other than to passively read it? If so, how?

Thanks for any help_______________________________________________

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: Problem using data in a distributed object
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: Why does NSArray count return NSUInteger?
  • Next by Date: Re: Referencing struct fields in C
  • Previous by thread: Re: Cocoa-dev Digest, Vol 8, Issue 383
  • Next by thread: Re: Problem using data in a distributed object
  • Index(es):
    • Date
    • Thread