@property (readonly, retain) ???

2008-05-06 Thread Optical Ali
Hi, What does it mean to to have both readonly and retain in property declaration? My understanding is that retain is for assignment. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

Re: Obj-C client and Java-RMI server

2008-04-24 Thread Optical Ali
Thanks Tom.Actually, it's an iPhone client, but we cannot talk about that:( On Thu, Apr 24, 2008 at 5:27 PM, Tom Davies <[EMAIL PROTECTED]> wrote: > > On 25/04/2008, at 6:42 AM, Optical Ali wrote: > > Hi, >> >> I'm new to Cocoa. >> I would like

Obj-C client and Java-RMI server

2008-04-24 Thread Optical Ali
Hi, I'm new to Cocoa. I would like to write a server-side using Java-RMI (or maby sockets) and client using Objective-C. Can someone point me in the right direction? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reques

properties implementation

2008-04-22 Thread Optical Ali
Hi, Is there a way to know how the compiler synthesized a property? For example, property(copy) NSSttring *str; AND @synthesize str; Will produce -(NSString) str{ return str; } OR -(NSString) str{ return [[str retain] autorelease]; } ? These two can change the behavior of the program