• 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
Coding norms
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Coding norms


  • Subject: Coding norms
  • From: Alan Nilsson <email@hidden>
  • Date: Wed, 11 Dec 2002 21:48:59 -0800

I have a couple of questions about coding styles I was hoping to get a
consensus on.

1. Is it customary to declare delegate methods that a delegate class is
going to implement? For example, if you have an AppController class,
although it is not necessary to declare applicationDidFinishLaunching in the
header, but is it customary to do so?

2. What do most people (or perhaps what does industry expect) in regards to
private methods? For example, a method that is only used internally by a
class can be simply defined at the top of the implementation file and not
even declared in the header. What is the norm? Is there one? Personal
preference?

Thoughts anyone?

Alan
_______________________________________________
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.

  • Follow-Ups:
    • Re: Coding norms
      • From: Mike Ferris <email@hidden>
    • Re: Coding norms
      • From: David Remahl <email@hidden>
    • Re: Coding norms
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Dynamic Services Menu
  • Next by Date: Re: Dynamic Services Menu
  • Previous by thread: Sample MultiColumn Text Code Finished!
  • Next by thread: Re: Coding norms
  • Index(es):
    • Date
    • Thread