Re: init for immutable classes

2009-09-18 Thread Uli Kusterer
On 18.09.2009, at 13:10, Jon Hull wrote: I am writing a framework which runs on both Snow Leopard and the iPhone (i.e. it is entirely foundation stuff). I always write my init and dealloc methods using the setter functions, but I am wondering what the proper convention is for immutable cla

Re: init for immutable classes

2009-09-18 Thread Kyle Sluder
On Sep 18, 2009, at 4:10 AM, Jon Hull wrote: I always write my init and dealloc methods using the setter functions, but I am wondering what the proper convention is for immutable classes? Should I write a private setter method, or is it ok to just set the variable in init and release it i

init for immutable classes

2009-09-18 Thread Jon Hull
Hello, I am writing a framework which runs on both Snow Leopard and the iPhone (i.e. it is entirely foundation stuff). I always write my init and dealloc methods using the setter functions, but I am wondering what the proper convention is for immutable classes? Should I write a private s