discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Weak dictionaries


From: Dr. H. Nikolaus Schaller
Subject: Re: Weak dictionaries
Date: Thu, 14 Jun 2012 11:08:27 +0200

Am 14.06.2012 um 11:04 schrieb Thomas Davie:

> Hi all,
> 
> Just wondering before I go off and code my own... Does anyone know of an 
> implementation of a weak dictionary (or array/set for that matter) that 
> compiles successfully on GNUstep?  There's obviously MAWeakDictionary, but 
> that's heavily reliant on chunks of CF that don't exist.  I could go out 
> there and make an NSDictionary like thing that wraps every object you put in 
> it in a weak reference object, but it seems like there should be a pre-baked 
> solution to this.
> 

I am not sure what a "weak dictionary" is. But is NSMapTable a solution?

-- hns


reply via email to

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