Or you can cook up an automatic reset for ivars that can be done once
in your global WOComponent subclass ("set it and forget it") as
described here. This code can be customized for whatever your
WOComponent ivar declaration pattern is (as long as it is
consistent) ...
http://homepage.mac.com/kelleherk/iblog/C1133025376/E1146937278/
index.html
On Aug 16, 2007, at 11:59 AM, Guido Neitzer wrote:
> On 16.08.2007, at 09:55, Kieran Kelleher wrote:
>
>> Adding to this ..... using lazy initialization can ensure the
>> object is only created when needed .... like this:
>
> And make sure you add it to the reset() method, if your superclass
> is stateless ...
>
> cug
This archive was generated by hypermail 2.0.0 : Thu Aug 16 2007 - 12:45:39 EDT