• 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: Virtual concept in Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Virtual concept in Objective-C


  • Subject: Re: Virtual concept in Objective-C
  • From: "Chris Stewart" <email@hidden>
  • Date: Wed, 19 Jul 2006 17:04:38 -0400

Great thread.

I tend to agree with what Michael posted.  I would declare everything in the
header file and not really worry about methods being overridden if I'm
extending from a base class.


On 7/19/06, Dirk Stegemann <email@hidden> wrote:

Hello,

Am 19.07.2006 um 21:47 schrieb Michael Watson:

> I'm not a big fan of putting the standard methods in the header
> file, either.

I usually put all those declarations of my class into the header file
which aren't already declared in the super class, and which are used
by code outside my class, so the compiler doesn't issue the "might
not respond to..." warning; this gives me the chance to find those
implementations which are indeed missing.

Best regards,
Dirk Stegemann

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden




-- Chris Stewart email@hidden _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Virtual concept in Objective-C (From: Scott Ribe <email@hidden>)
 >Re: Virtual concept in Objective-C (From: Michael Watson <email@hidden>)
 >Re: Virtual concept in Objective-C (From: Dirk Stegemann <email@hidden>)

  • Prev by Date: Re: Autoreleasepool problems
  • Next by Date: Capturing windows in an NSImage
  • Previous by thread: Re: Virtual concept in Objective-C
  • Next by thread: See-through custom NSView
  • Index(es):
    • Date
    • Thread