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

Re: Remote Invocation


  • Subject: Re: Remote Invocation
  • From: Ken Thomases <email@hidden>
  • Date: Wed, 11 Mar 2009 00:57:37 -0500

On Mar 10, 2009, at 9:13 AM, rajesh swarnkar wrote:

  I have two application in cocoa . My aim is to communicate with a
protocol between both the application using IPC mechanism (through
NSConnection) but I am unable to achieve my goal.

I want to use id < MyProtocol > protocol as inout parameter for two way
communication.
Please see my code below and guide me what I am missing.

You haven't said what's not working or is going wrong.

At a glance, I can say that your initializer methods are all wrong. You aren't invoking the superclass's initializer.

If you want a minimal -init method, you should just not provide any and rely entirely on your superclass's implementation. If you still want to provide it, anyway, here's the form:

-(id)init { return [super init]; }

Similarly, if you're just going to provide a minimal -dealloc method, you might as well just leave it out, although yours do look correct.

Fix those issues and ask a proper question and you may get better help.

Regards,
Ken

_______________________________________________

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


References: 
 >Remote Invocation (From: rajesh swarnkar <email@hidden>)

  • Prev by Date: Re: Background Process?
  • Next by Date: Re: Background Process?
  • Previous by thread: Remote Invocation
  • Next by thread: State of performing tasks with elevated privileges
  • Index(es):
    • Date
    • Thread