WebView --> NSWindow = ***decode exception***
WebView --> NSWindow = ***decode exception***
- Subject: WebView --> NSWindow = ***decode exception***
- From: email@hidden
- Date: Sat, 26 Jan 2008 15:52:51 -0800 (PST)
Environment: Xcode & Interface Builder 3.0
Greetings:
1) Xcode: added the following to the controller header file:
#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>
@interface xmlController : NSObject {
IBOutlet NSTextView *displayXML;
IBOutlet NSTextField *statusLine;
IBOutlet WebView *myWebView;
NSString *xmlString;
NSXMLDocument *xmlDoc;
}
2) Interface Builder: Slide the WebView pallet onto my NSWindow.
3) Build the project - OK
4) Run the project - *** Uncaught Exception *** raised:
2008-01-26 15:47:52.808 myXMLProject[1802:817] An uncaught exception was raised
2008-01-26 15:47:52.810 myXMLProject[1802:817] *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (WebView)
2008-01-26 15:47:52.810 myXMLProject[1802:817] *** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: '*** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (WebView)'
2008-01-26 15:47:52.811 myXMLProject[1802:817] Stack: (...
-------------
I don't get it.
The WebKit examples run fine.
But I can't even run a simple project.
What's going wrong?
Remedy???
Regards,
Ric.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden