• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WebView --> NSWindow = ***decode exception***
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: WebView --> NSWindow = ***decode exception***
      • From: Jeff Johnson <email@hidden>
  • Prev by Date: Re: For what it's worth
  • Next by Date: Re: WebView --> NSWindow = ***decode exception***
  • Previous by thread: Re: For what it's worth
  • Next by thread: Re: WebView --> NSWindow = ***decode exception***
  • Index(es):
    • Date
    • Thread