Thank you for that Nick, I now at least know my error message,
although I am struggling to figure out what's wrong. And sorry about
the wrong list, I'll bear that in mind in future.
This is the my console message when the panel hangs:
System Preferences[372:10b] [<ADPPrinter 0xf7a7200>
valueForUndefinedKey:]: this class is not key value coding-compliant
for the key host.
I'm just baffled as as far as I can see I've mirrored the technique
for bindings that worked when I did the bindings exercise in
Hillegass' book for an NSTableView and an NSArrayController.
Thank you all.
Adam
#import "printer.h"
@implementation ADPPrinter
- (id)init
{
[super init];
name = @"New Printer's Name";
server = @"ServerName.domain";
uri = @"URI to printer";
return self;
}
- (void)dealloc
{
[name release];
[server release];
[uri release];
[super dealloc];
}
@synthesize name;
@synthesize server;
@synthesize uri;
@end
This is the class that it's talking about, which is the model class
for an NSArrayController.
On Oct23, 2008, at 9:52 PM, Nick Zitzmann wrote:
On Oct 23, 2008, at 1:38 PM, Adam Penny wrote:
Apparently I need to add System Preferences as an executable to my
xcode project in order to debug my build. Can anyone tell me how to
do this in XCode 3 please? I'll be debugging from ~/Library/
PreferencePanes/
This is more of a question for the xcode-users list, but the way I
add custom executables is to go to the project's Targets tab[1],
then choose Add -> New Custom Executable... in the contextual menu.
Nick Zitzmann
<http://www.chronosnet.com/>
[1] if you're using the condensed view, if not, then just locate the
executables in the project list
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]