Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!news.cs.indiana.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!liberte From: liberte@ncsa.uiuc.edu (Daniel LaLiberte) Newsgroups: comp.sys.next Subject: Re: Help, please, on making connections in IB Message-ID: Date: 19 Apr 91 20:55:52 GMT References: <2524@fornax.UUCP> Sender: usenet@ux1.cso.uiuc.edu (News) Distribution: na Organization: University of Illinois, Urbana-Champaign, NCSA Lines: 18 In-Reply-To: mcdonald@fornax.UUCP's message of 18 Apr 91 01: 28:46 GMT In article <2524@fornax.UUCP> mcdonald@fornax.UUCP (Ken Mcdonald) writes: > The first problem is that I can't even create an object of class EntryField > in Interface Builder. You're right, you can't instantiate your subclass, unless it is a subclass of Object. I dont know why this restriction exists, but there it is. It would also be useful to set the class of any IB object to a subclass of its default class, but you can't - not that I can see. But there is one way to get an instance of a class that is not a subclass of Object. You can specify the class of the File Owner, which is normally Application. I dont know if it makes sense to say it is anything other than a subclass of Application. You might be able to do the same for other objects in the .nib file. Dan LaLiberte National Center for Supercomputing Applications liberte@ncsa.uiuc.edu