• 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: dumb override question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dumb override question


  • Subject: Re: dumb override question
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 13 Mar 2002 14:44:23 +0100

Famille,

>>>>>> Famille GOUREAU-SUIGNARD (FGS) wrote at Thu, 1 Jan 1970 12:20:37 +0100:
FGS> I'm new to C language.
FGS> What is the syntax to override a method ?

There's none. C is not an OO language, has no methods, and no means to
override a function.

FGS> I'd like to check if the user stroke a key by overriding the keyDown
FGS> method.

That's not a C issue, but an Objective C one. ObjC is a C superset. Read
ObjC.pdf! (Developer/Documentation/Cocoa/ObjectiveC).
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Setting the width of an NSTextView automatically
  • Next by Date: Re: Loading a localized tiff file: how to?
  • Previous by thread: Re: Setting the width of an NSTextView automatically
  • Next by thread: finding the view
  • Index(es):
    • Date
    • Thread