When I include a WebView component in a form in an Objective-C project in Xcode for an Cocoa OSX application and try to compile it, it compiles and then has a runtime error:
NSKeyedUnarchiver decodeObjectForKey:]: cannot decode a class object (WebView) for a key (NS.objects); a class can be defined in source code or a library that is not related
What is the fix?
XCode7, WebView, . , . IDE > . + WebKit.framework. , , , .
, , 10.11, , 10.9 10.10, . 100% , .
:
10.8, , 10.8 OSX.
Source: https://habr.com/ru/post/1617961/More articles:Запуск теста @Ignored JUnit в Eclipse - eclipseHow to run a Pregel Shortest Path by creating all vertices as the source vertex once on Spark Cluster - scalaAndroid - openCV, get part of an image - weird behavior - javagit cherry pick configuration - gitHow to write the following code with a conditional (triple) operator? - javaDetecting dead code in Java at runtime - javaCheck if function a from one.js from two.js exists - javascriptOverride static var in Swift child class - overrideSelect the column and row values with the index in the data frame - rSwift: sorted dictionary - dictionaryAll Articles