• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Subclasses in projectbuilder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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/


References: 
 >Subclasses in projectbuilder (From: Bishop <email@hidden>)

  • Prev by Date: Re: XML Parsing
  • Next by Date: Re: How to set attibutes for NSString's drawInRect: withAttributes?
  • Previous by thread: Subclasses in projectbuilder
  • Next by thread: Re: Subclasses in projectbuilder
  • Index(es):
    • Date
    • Thread