Skip navigation.
 
mlRe: [Newbie] Proper class releasing
FROM : Kyle Sluder
DATE : Fri Jun 06 19:18:28 2008

On Fri, Jun 6, 2008 at 12:11 PM, Jon Keon <<email_removed>> wrote:
> I have a class called BaddieManager.


Any time you use the word Manager when programming in an MVC context
blaring alarm bells should go off in your head.  It seems like you're
actually trying to write a model-controller object, similar to what
NSArrayController does.  But your code is dealing with both the model
and the view.  This isn't what controllers are supposed to do;
instead, they generally come in two flavors (model-controller and
view-controller).  I have a feeling this confusion is leading to your
problems.

--Kyle Sluder

Related mailsAuthorDate
ml[Newbie] Proper class releasing Jon Keon Jun 6, 18:11
mlRe: [Newbie] Proper class releasing Kyle Sluder Jun 6, 19:18
mlRe: [Newbie] Proper class releasing Vijay Malhan Jun 6, 19:48
mlRE: [Newbie] Proper class releasing Jon Keon Jun 6, 19:59
mlRe: [Newbie] Proper class releasing Vijay Malhan Jun 6, 20:13