Re: Q's about Obj-C
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