'NSUnknownKeyException' this class is not key value coding-compliant for the key XXX
错误:
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key XXX.'
原因:
xib中控件绑定的变量XXX已经不存在或类型不对等。
解决方法:
在xib中找到绑定变量有问题的控件。接触绑定或重新绑定。
'NSUnknownKeyException' this class is not key value coding-compliant for the key XXX的更多相关文章
- 'NSUnknownKeyException' … setValue:forUndefinedKey:]: …not key value coding compliant
		
解决一个问题: 当我添加一个IBout, 报了如下错误 NSUnknownKeyException' … setValue:forUndefinedKey:]: …not key value codi ...
 - iOS key value coding  kvc在接收json数据与 model封装中的使用
		
iOS key value coding kvc在接收json数据与 model封装中的使用 使用 kvc 能够极大的简化代码工作,及以后的接口维护工作: 1:先创建MovieModel类.h和 . ...
 - 公钥(Public Key)与私钥(Private Key)
		
公钥(Public Key)与私钥(Private Key)是通过一种算法得到的一个密钥对(即一个公钥和一个私钥),公钥是密钥对中公开的部分,私钥则是非公开的部分.公钥通常用于加密会话密钥.验证数字签 ...
 - ssh无密码登录设置方法以及出现问题 ECDSA host key 和IP地址对应的key不同的解决
		
最近在做hadoop,因为要求各主机之间的用户必须相同,且为方便远程登录,需配置无密码登录 先附上ssh无密码登录设置方法: 先生成密钥并配置无ssh无密码登录本机,输入命令: ssh-keygen ...
 - ansible报错Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this
		
安装和配置好ansible,执行命令时报错如下 [root@test01 ansible-install]# ansible test -m shell -a 'w' >> Using a ...
 - "msg": "Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this.  Please add this host's fingerprint to your known_hosts file to ma
		
Centos7.5 ansible第一次使用模块报错 问题: [root@m01 ~]# ansible webservers -m ping -i ./hosts 172.16.1.7 | FAIL ...
 - java,url长链接生成短链接,短链接生成器,自定义字符串,对字符串md5混合KEY加密,根据短链接获得key值,不重复的随机数,不重复的随机字符串
		
java,url长链接生成短链接,短链接生成器,自定义字符串,对字符串md5混合KEY加密,根据短链接获得key值,不重复的随机数,不重复的随机字符串 package com.zdz.test; im ...
 - JS 遍历 json key  ,获取设置可变的key
		
$(rec.data[id]).each(function(){ for(var key in this){ if(key == value){ console.info(this[key].desc ...
 - docker postgresql FATAL:  could not access private key file "/etc/ssl/private/ssl-cert-snakeoil.key": Permission denied
		
在docker中启动postgresql时出现错误 FATAL: could not access private key file "/etc/ssl/private/ssl-cert- ...
 - v-for为什么要加key,能用index作为key么
		
前言 在vue中使用v-for时,一直有几个疑问: v-for为什么要加key 为什么有时候用index作为key会出错 带着这个疑问,结合各种博客和源码,终于有了点眉目. virtual dom 要 ...
 
随机推荐
- .bash_profile和.bashrc的区别,ubuntu下为.profile,没有.bash_profile
			
.bash_profile 开机自动加载,比如java的环境变量放在里面 .bashrc打开shell或终端就会加载该文件,比如起的别名或快捷方式放里面.alias设置就在其中. 还有一个.profi ...
 - Perform Cut Copy Paste Operations Using Cut_Region Copy_Region Paste_Region Commands In Oracle Forms
			
You can do Select, Cut, Copy and Paste operations on text items in Oracle Forms using Select_All, Cu ...
 - Creating Excel File in Oracle Forms
			
Below is the example to create an excel file in Oracle Forms.Pass the Sql query string to the below ...
 - ARM家族大检阅
			
首先列举下几个名称: 6410 2440 210 A8 ARM9 ARM11 ARMv7 ARMv6 进行分类: 1.芯片名称: 2440 6410 210 2.ARM核: A8 ARM9 ARM11 ...
 - Java编译环境的搭建(eclipse)
			
每用一种语言开发,要搭建其编译和开发环境,我们废话不说,立刻来看看Java开发环境的搭建. 1.安装JDK和JRE Windows环境下: a.去Oracle官网下载对应版本的JDK安装包,http: ...
 - observer观察者模式
			
观察者模式(有时又被称为发布-订阅Subscribe>模式,观察者模式定义了一种一对多的依赖关系,让多个观察者对象同时监听某一个主题对象,这个主题对象在状态上发生变化时,会通知所有观察者对象,让 ...
 - iOS - UIWindow
			
前言 NS_CLASS_AVAILABLE_IOS(2_0) @interface UIWindow : UIView @available(iOS 2.0, *) public class UIWi ...
 - maven实战_01_搭建maven开发环境
			
一 下载maven 在maven官网上可下载maven:http://maven.apache.org/download.cgi 下载好后,解压.我的解压到了:D:\maven\apache-mave ...
 - 【linux】设置 tomcat 开机启动
			
方法一: linux 下tomcat开机自启动修改Tomcat/bin/startup.sh 为: export JAVA_HOME=/usr/java/j2sdk1.4.2_08 export CL ...
 - uva11429(生成随机数 期望)
			
// // main.cpp // uva11429 // // Created by New_Life on 16/8/4. // Copyright © 2016年 chenhuan001. Al ...