[OGo-GNUstep-Port] stringByReplacingString: withString: -> FIXME

Stefan Huehner gnustep-port@opengroupware.org
Tue, 15 Mar 2005 14:53:31 +0100


Hi,

while trying to build with gnustep i get several FIXME's i.e. like this:

Logic/LSSearch/LSBaseSearch.m

#if LIB_FOUNDATION_LIBRARY
    val = [val stringByReplacingString:@"'" withString:@""];
#else
#  warning FIXME: incorrect implementation for this Foundation library!
#endif

I'm searching for an easy and maintainable way to fix these. In sope-core/NGExtension/ i noticed several method which are added to i.e. NSString.
When we would add stringByReplacingString: withString: there we could transparently use it everywhere else, without cluttering the whole codebase with #if's.

I would like to get some feedback before doing changes 'the wrong way' (tm)

Regards,
Stefan