• 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
Re: Crash trying to unarchive webview from IB document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash trying to unarchive webview from IB document


  • Subject: Re: Crash trying to unarchive webview from IB document
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 25 May 2010 13:14:06 -0600

On 25 maj 2010, at 13.10, Laurent Daudelin wrote:

> I was doing a little demo to a colleague this morning and built a simple app consisting of a text field and a web view in IB. I was able to run the thing from IB but when I tried to compile it as release and launch it, it would crash with an exception:
>
> *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (WebView)'
>
> I tried to look if I did something wrong but since it was just a little demo with no code written, I'm a bit stumped. I created a new project for a Cocoa app, nothing fancy, then opened the MainWindow.xib in IB to add the text field and the webview.
>
> Anyone has any idea?

Did you remember to link your target to the WebKit framework? That's where the WebView class lives.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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

References: 
 >Crash trying to unarchive webview from IB document (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: Crash trying to unarchive webview from IB document
  • Next by Date: Re: Crash trying to unarchive webview from IB document
  • Previous by thread: Re: Crash trying to unarchive webview from IB document
  • Next by thread: reformat drive to HFS via API
  • Index(es):
    • Date
    • Thread