Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!sun-barr!ccut!wnoc-tyo-news!astemgw!icspub!newmars!youki From: youki@newmars.ics.osaka-u.ac.jp (Youki Kadobayashi) Newsgroups: comp.lang.objective-c Subject: Statically typed, mutually referenced objects? Message-ID: Date: 11 Apr 91 17:43:53 GMT Sender: news@icspub.ics.osaka-u.ac.jp Distribution: comp Organization: Dept. of Info. and Comp. Sci., Osaka Univ., Japan Lines: 27 Hi netters, I've written some applications on NeXT, using Objective-C. It works fine and I like Objective-C so far. I have two questions which I couldn't find their answer on NeXT's documentation. First question: How can I declare statically-typed, mutually-referenced objects? Are there any mechanism analogous to C++'s "extern class A"? Second question: Does static declaration of objects improve the speed of method selection? If not, messaging like [foo display] should be equivalent to [foo perform: @selector(display)] since ObjC performs dynamic method selection in both cases; am I right? If these are sort of FAQ, could someone point out where this newsgroup is archived and how can I get it. Thanks in advance, -- Youki Kadobayashi Dept. of Info. and Comp. Sci, Osaka University, Japan