• 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: Q's about Obj-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q's about Obj-C


  • Subject: Re: Q's about Obj-C
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 16 Oct 2001 14:00:28 +0100

Bradley,

>>>>>> Smith, Bradley (SB) wrote at Tue, 16 Oct 2001 11:13:23 +0100:
SB> Of course you are correct. The scenario I had in mind was one programmar
SB> creating a C library for use by someone else. Typically any functions
SB> he/she wanted to be available to clients would be prototyped in the
SB> header and any private ones would not. The client would have to 'know'
SB> the signature of each operation in order to use it effectively...

Yep: there are good reasons to declare functions, although it is not mandatory.

The same applies for messages in ObjC: you don't have to declare them, but
there are (the very same) good reasons to do that.
---
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


References: 
 >RE: Q's about Obj-C (From: "Smith, Bradley" <email@hidden>)

  • Prev by Date: Re: Dragging examples?
  • Next by Date: Re: Beginner's questions
  • Previous by thread: RE: Q's about Obj-C
  • Next by thread: Re: Q's about Obj-C
  • Index(es):
    • Date
    • Thread