From: Paul P. <bay...@gm...> - 2010-07-29 17:07:30
|
Yes, you are correct. It is commented out. It could be deleted entirely though. Thanks, Paul 2010/7/29 Panayotis Katsaloulis <pan...@pa...> > > On 28 Ιουλ 2010, at 8:44 μ.μ., Arno Puder wrote: > > > > > I just committed your patch. Nice job, Paul! > > > > Arno > > > > Now that I see the patch again, I have this comment on this part of the > code: > //- (void)dealloc { > // > //// TODO is it okay to have this method since this IS currently a category > of NSObject? I.e. I want to make sure the real dealloc is called & I can't > call super dealloc on NSObject > // > // objc_setAssociatedObject(self, &memberKey, nil, > OBJC_ASSOCIATION_ASSIGN); > // [super dealloc]; > //} > > AFAIK the associated object is automatically released when the main object > is deallocated. So I think this code is not required at all, I think. > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |