Re: Key-value observing

2005-03-02 Thread Gregory John Casamento
Stefan, --- Stefan Urbanek <[EMAIL PROTECTED]> wrote: > Hi, > > Is anyone working on the Key-value observing? Currently, no one is working on it. > Is it difficult to implement it in GNUstep? If not, what is needed? I recall a similar trick being employed by EOF a while back. It shouldn't b

Re: KVC updates

2005-03-02 Thread David Ayers
Richard Frith-Macdonald wrote: On 2 Mar 2005, at 13:30, David Ayers wrote: Right now I'm looking into another failure in the GDL2 tests wrt -unableToSetNullForKey:/-setNilValueForKey: But that may have to be "fixed" (read hacked around) in GDL2. Can we just do something like ... static BOOL newKV

Re: KVC updates

2005-03-02 Thread Richard Frith-Macdonald
On 2 Mar 2005, at 13:30, David Ayers wrote: It seems there a few issues, but I guess some of them or not -base's problem but more GDL2 as this will break compatibility with WO/EOF 4.5 But one problem is a typo I believe: The "==" test should probably read "!=". PS: maybe you could cache the NS

Re: KVC updates

2005-03-02 Thread David Ayers
Richard Frith-Macdonald wrote: I've committed updates to KVC in base to match the spec from MacOS-X Panther. However ... I don't use KVC myself , and don't have tests for it, so please could anyone who does give it a check and let me know about any bugs. It seems there a few issues, but I guess s

Re: NSProgressIndicator movement inside a loop

2005-03-02 Thread Fred Kiefer
Frederico Muñoz wrote: So, here is the problem: in the .pkg bundle the installation at a certain stage is simply copying a directory to another location. Since I want to do it file by file I use NSDirectoryEnumerator and copy the file. I want to have progress bar (progressIndicator) to advance each

KVC updates

2005-03-02 Thread Richard Frith-Macdonald
I've committed updates to KVC in base to match the spec from MacOS-X Panther. However ... I don't use KVC myself , and don't have tests for it, so please could anyone who does give it a check and let me know about any bugs. ___ Gnustep-dev mailing lis

Key-value observing

2005-03-02 Thread Stefan Urbanek
Hi, Is anyone working on the Key-value observing? http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueObserving/index.html In the documentation one can read: "Automatic key-value observing is implemented using a technique called isa-swizzling. The isa pointer, as the name sugges