[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thu, 18 Sep 2003 06:20:54 +0000
Ginko/0.2.0-alpha-P (See <http://www.objectpark.org>)
Trying to figure out how to tell if set A is a subset of Set B... Is
there anyway in gnuStep? I can't figure out how to querry if a set is
null, or the size of a set...
There is always...
+ (NSCharacterSet *)characterSetWithCharactersInString:(NSString *)aString;
...which you can call with @"" as parameter to get an empty set and
compare (isEqual) to another NSCharacterSet. That's not the same a
comarison to nil, though.
On OS X there is also:
- (BOOL)isSupersetOfSet:(NSCharacterSet *)theOtherSet;
If that is not on GNUstep, maybe someone could add it?
- NSCharacterSets, Matthew Weinstein, 2003/09/17
- Re: NSCharacterSets,
Dirk Theisen <=