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

Re: Cocoa resources


  • Subject: Re: Cocoa resources
  • From: j o a r <email@hidden>
  • Date: Wed, 4 Dec 2002 10:35:51 +0100

I didn't really understand what you asked here:

Now it is possible to interact between the two object usings
functions declared by protocols.
But whenever I use a function which passes an id like
- (void)setPicture:(NSImage *)pImage; // id acts the same
the id received is invalid. I already made sure that the id
is not released yet.

When you say "invalid", what do you mean?
There are some DO samples on the net, notably the simpleThreads, and trivialThreads examples from Apple, found here:

http://developer.apple.com/samplecode/Sample_Code/Processes/ TrivialThreads.htm
http://developer.apple.com/samplecode/Sample_Code/Processes/ SimpleThreads.htm

j o a r

On Wednesday, Dec 4, 2002, at 10:06 Europe/Stockholm, Nicolai wrote:

I posted on monday the questestion "Passing ids to Distributed Objects"
but no one replied. I thought it would be better to look for sample code.
Maybe my problem (or the text?) is a bit too complicated.
I searched the pages but still didn't found anythings that helps.
Could you think of a sample which uses DOs that passes ids through the
connection? (both directions)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Passing ids to Distributed Objects
      • From: Nicolai <email@hidden>
References: 
 >Re: Cocoa resources (From: Nicolai <email@hidden>)

  • Prev by Date: Re: The GIF conspiracy
  • Next by Date: Re: cocoa-dev digest, Vol 2 #1613 - 15 msgs
  • Previous by thread: Re: Cocoa resources
  • Next by thread: Passing ids to Distributed Objects
  • Index(es):
    • Date
    • Thread