[bug #24785] Application not quitting properly on some platforms.
Follow-up Comment #1, bug #24785 (project gnustep): I can confirm this behavior with Preferences on GNU/kFreeBSD, GUI version 0.14.0. ___ Reply to this item at: http://savannah.gnu.org/bugs/?24785 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Bug-gnustep mailing list Bug-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnustep
[bug #24807] NSUserDefaults doesn't support KVC
URL: http://savannah.gnu.org/bugs/?24807 Summary: NSUserDefaults doesn't support KVC Project: GNUstep Submitted by: svg Submitted on: Втр 11 Ноя 2008 10:20:41 Category: Base/Foundation Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any ___ Details: [NSUserDefaults valueForKey:@theExistingKey] falls in the segmentation fault: --b Uncaught exception NSUnknownKeyException, reason: Unable to find value for key theExistingKey of object NSUserDefaults: 0x80953d8 --e The test case is attached. P.S. gnustep-base r26997 ___ File Attachments: --- Date: Втр 11 Ноя 2008 10:20:41 Name: testNSUserDefaults.tar.gz Size: 589B By: svg the test case http://savannah.gnu.org/bugs/download.php?file_id=16822 ___ Reply to this item at: http://savannah.gnu.org/bugs/?24807 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Bug-gnustep mailing list Bug-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnustep
[bug #24807] NSUserDefaults doesn't support KVC
Update of bug #24807 (project gnustep): Status:None = Fixed Open/Closed:Open = Closed ___ Follow-up Comment #1: I implemented the trivial valueForKey: and setValue:forKey: methods ...though it's not entirely clear that NSUserDefaults should be KVC complient. I couldn't find any documentation saying that the class is KVC complient in MacOS-X, and I did find a couple of comments on the web from people saying they thought it wasn't. I also found this page ... http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/Concepts/NSUserDefaultsController.html At the end it says: The NSUserDefaultsController method values returns a KVC-compliant object that is used to access these default values. To get the value of a default, use the valueForKey: method. [[theDefaultsController values] valueForKey:@userName]; which seems to imply that NSUserDefaults is not KVC compliant (as it needs this special KVC-compliant object to access it). However, your test program returns a value when I run it on MacOS-X, so it seems likely that Apple have added KVC as an undocumented feature, or are in the process of adding it. ___ Reply to this item at: http://savannah.gnu.org/bugs/?24807 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Bug-gnustep mailing list Bug-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnustep