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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com