Re: Remote Invocation
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