bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: NSString / NSMutableString protocol


From: ml
Subject: Re[2]: NSString / NSMutableString protocol
Date: Mon, 25 Mar 2002 14:51:49 +0100 (CET)

On Mon, 25 Mar 2002 13:30:40 +0000 Richard Frith-Macdonald 
<richard@brainstorm.co.uk> wrote:

 >| 
 >| On Monday, March 25, 2002, at 01:11 PM, Manuel Guesdon , 
 >| MISSING_MAILBOX_TERMINATOR@.SYNTAX-ERROR wrote:
 >| 
 >| > Hi,
 >| >
 >| > When compiling GNUstepWeb which CVS current version, I get:
 >| >         derived_src/GSWeb/GSWDynamicURLString.h:32: Cannot find 
 >| > protocol declaration for `NSMutableString'
 >| >         GSWUtils.m:55: Cannot find protocol declaration for `NSString'
 >| >
 >| > It seems that NSString && NSMutableString protocol have disappeared.
 >| >
 >| > How can I replace the use of them ?
 >| 
 >| Just write whatever protocols you want.
 >| 
 >| If you are wanting to test to see if an object is a string ... use 
 >| isKindOfClass:

That's what I've done to work but isKindOfClass: won't work for non NSString 
objects which where implementing NSString
protocol. The only solution I see is to use respondsToSelector: for methods I'd 
like to call. Do you see another one ?

Manuel
--
______________________________________________________________________
Manuel Guesdon - OXYMIUM <mguesdon@oxymium.net>
14 rue Jean-Baptiste Clement  -  93200 Saint-Denis  -  France
Tel: +33 1 4940 0999  -  Fax: +33 1 4940 0998




reply via email to

[Prev in Thread] Current Thread [Next in Thread]