Re: Debugging preference pane
Re: Debugging preference pane
- Subject: Re: Debugging preference pane
- From: Adam Penny <email@hidden>
- Date: Thu, 23 Oct 2008 22:36:13 +0200
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 (email@hidden)
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:
This email sent to email@hidden