discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Incompatibility in NSMutableSet


From: Pascal Bourguignon
Subject: Re: Incompatibility in NSMutableSet
Date: Tue, 22 May 2001 18:08:38 +0200 (CEST)

"Michael Scheibler" <michael.scheibler@onevision.de> wrote:
>
> In OpenStep NSMutableSet had a method named
> 
> setSet:
> - ((void)setSet:(NSSet *)otherSet
> Empties the receiver, then adds each object contained in otherSet to the
> receiver The new
> member is sent a retain message as it is added to the receiver.
> 
> (copied from Apple's Foundation api documentation)
> 
> It's missing in GNUstep!
> 
> Michael

No.  It's not  an OpenStep  method. In  OpenStep, NSMutableSet  has no
method named setSet:.

It's an Apple extension.

You're free to implement it in a category NSMutableSet(AppleExtensions).



 
[pascal@thalassa Classes]$ cd /local/doc/OpenStep 
Specification/FoundationKit/Classes
[pascal@thalassa Classes]$ ls
./                            NSMethodSignature.rtf
../                           NSMutableArray.rtf
IntroFoundationClasses.rtfd/  NSMutableCharacterSet.rtf
NSArchiver.rtf                NSMutableData.rtf
NSArray.rtf                   NSMutableDictionary.rtf
NSAssertionHandler.rtf        NSMutableSet.rtf
NSAutoreleasePool.rtf         NSMutableString.rtf
NSBTreeBlock.rtf              NSNotification.rtf
NSBTreeCursor.rtf             NSNotificationCenter.rtf
NSBundle.rtf                  NSNotificationQueue.rtf
NSByteStore.rtf               NSNumber.rtf
NSByteStoreFile.rtf           NSObject.rtf
NSCalendarDate.rtf            NSProcessInfo.rtf
NSCharacterSet.rtf            NSProxy.rtf
NSCoder.rtf                   NSRecursiveLock.rtf
NSConditionLock.rtf           NSRunLoop.rtf
NSConnection.rtf              NSScanner.rtf
NSCountedSet.rtf              NSSerializer.rtf
NSData.rtf                    NSSet.rtf
NSDate.rtf                    NSString.rtf
NSDeserializer.rtf            NSThread.rtf
NSDictionary.rtf              NSTimeZone.rtf
NSDistantObject.rtf           NSTimeZoneDetail.rtf
NSEnumerator.rtf              NSTimer.rtf
NSException.rtfd/             NSUnarchiver.rtf
NSInvocation.rtf              NSUserDefaults.rtf
NSLock.rtf                    NSValue.rtf
[pascal@thalassa Classes]$ grep setSet: *Set*
[pascal@thalassa Classes]$ 


-- 
__Pascal_Bourguignon__              (o_ Software patents are endangering
()  ASCII ribbon against html email //\ the computer industry all around
/\  and Microsoft attachments.      V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100  2001:my($f)=`fortune`;  http://petition.eurolinux.org/



reply via email to

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