[Top][All Lists]

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

[Q] How a method in a category added ?

From: S.J.Chun
Subject: [Q] How a method in a category added ?
Date: Sun, 13 Jul 2003 17:46:29 +0900 (KST)

As you know, I'm trying to make gnustep run on Windows without problem... Now 
I've found another problem.
Category system does not work on Windows, for example, in EDCommon, a new 
method for NSString class is 
defined and implemented using category but when I use that method in a tool(a 
test program) the runtime says
NSInvalidArgumentException, reason: NSConstantString(instance) does not 
recognize stringByRemovingSurroun...
like message.

So, how an objc runtime add method in category? Thanks in advance.

reply via email to

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