Re: Subclasses in projectbuilder
Re: Subclasses in projectbuilder
- Subject: Re: Subclasses in projectbuilder
- From: Markus Hitter <email@hidden>
- Date: Sat, 3 Nov 2001 20:16:32 +0100
Am Samstag den, 3. November 2001, um 17:18, schrieb Bishop:
public class HexScrollView extends NSView {
protected int bla;
public HexScrollView(NSRect frame)
{
super(frame);
bla = 2;
}
This code snippet has nothing to do with Objective-C. You
obviously should start with some beginner's tutorial like the
Currency Converter, see
<file:///Developer/Documentation/Cocoa/ObjCTutorial/CurrencyConverterTutorial.
pdf>
In ObjC it's less often indicated to subclass Objects.
Displaying some text in a scrolling view doesn't need any
subclassing, for example. You almost need no code at all ;-)
Hope that helps,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/