当前位置:网站首页>解决:Thread 1:[<*>setValue:forUndefinedKey]:this class is not key value coding-compliant for the key *
解决:Thread 1:[<*>setValue:forUndefinedKey]:this class is not key value coding-compliant for the key *
2022-07-01 04:42:00 【RRJia】
问题:运行程序崩溃,报错:“Thread 1: [<*> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key **.”,截图如下:

原因:在kvc映射中,映射的字段名和个数不一致导致的。
解决方案:复写“func setValue(_ value: Any?, forUndefinedKey key: String)”方法。
边栏推荐
- Solve the problem that the external chain file of Qiankun sub application cannot be obtained
- 神经网络的基本骨架-nn.Moudle的使用
- C -- array
- 2022年化工自动化控制仪表操作证考试题库及答案
- pytorch中常用数据集的使用方法
- LeetCode_ 28 (implement strstr())
- How to do the performance pressure test of "Health Code"
- Summary of acl2021 information extraction related papers
- Question bank and online simulation examination for special operation certificate of G1 industrial boiler stoker in 2022
- LeetCode_28(实现 strStr())
猜你喜欢

2022年聚合工艺考试题及模拟考试

LM小型可编程控制器软件(基于CoDeSys)笔记二十:plc通过驱动器控制步进电机

神经网络-使用Sequential搭建神经网络

Execution failed for task ‘:app:processDebugResources‘. > A failure occurred while executing com. and

slf4j 简单实现
![AssertionError assert I.ndim == 4 and I.shape[1] == 3](/img/b1/0109bb0f893eb4c8915df36c100907.png)
AssertionError assert I.ndim == 4 and I.shape[1] == 3

The design points of voice dialogue system and the importance of multi round dialogue

2022年T电梯修理题库及模拟考试

STM32 extended key scan

Why is Internet thinking not suitable for AI products?
随机推荐
软件研发的十大浪费:研发效能的另一面
Shell之Unix运维常用命令
CF1638E. Colorful operations Kodori tree + differential tree array
LeetCode_ 35 (search insertion position)
【硬十宝典目录】——转载自“硬件十万个为什么”(持续更新中~~)
Shell之一键自动部署Redis任意版本
Seven crimes of counting software R & D Efficiency
分布式架构系统拆分原则、需求、微服务拆分步骤
常用的Transforms中的方法
LM小型可编程控制器软件(基于CoDeSys)笔记十九:报错does not match the profile of the target
LeetCode_28(实现 strStr())
手动实现一个简单的栈
Matters behind the construction of paint testing laboratory
2022 tea master (intermediate) examination question bank and tea master (intermediate) examination questions and analysis
Dual Contrastive Learning: Text Classification via Label-Aware Data Augmentation 阅读笔记
LeetCode_ 28 (implement strstr())
About the transmission pipeline of stage in spark
This sideline workload is small, 10-15k, free unlimited massage
Basic usage, principle and details of session
2022年化工自动化控制仪表操作证考试题库及答案