Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!boulder!gore!jacob From: jacob@gore.com (Jacob Gore) Newsgroups: comp.sys.next Subject: Specifying a "factory object" Message-ID: <130021@gore.com> Date: 30 Sep 89 05:05:54 GMT Reply-To: jacob@gore.com (Jacob Gore) Organization: Gore Enterprises Lines: 16 What exactly is a "factory object id?" For example, if I have MyCell, a subclass of Cell, which I want to be the cell class of a matrix, what do I give to -setCellClass: ? In 0.9, I could just say [aMatrix setCellClass:MyCell] but in 1.0 that gives me a compile-time error: "parse error prior to MyCell" (may not be the exact wording). Do you need to do something like [aMatrix setCellClass:[self findClass:"MyCell"]] or is there a more natural way to do this? Jacob -- Jacob Gore Jacob@Gore.Com boulder!gore!jacob