gpt4 book ai didi

ios - Swift 如何修复无法在 Please 上设置用户定义的检查属性

转载 作者:搜寻专家 更新时间:2023-11-01 05:44:43 26 4
gpt4 key购买 nike

Storyboard有问题。我安装了这个:https://github.com/okmr-d/DOFavoriteButton并正确地将所有效果放入按钮中,但现在 Storyboard在控制台中有很多错误,这使得应用程序非常慢。我该如何解决?谢谢!

错误:

> 2015-10-08 19:33:01.629 AppName [45857:6557884] Failed to set (imageColorOn) user defined inspected property on (UIButton): [<UIButton 0x7fbcec8a23a0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key imageColorOn.
2015-10-08 19:33:01.630 AppName[45857:6557884] Failed to set (imageColorOff) user defined inspected property on (UIButton): [<UIButton 0x7fbcec8a23a0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key imageColorOff.
2015-10-08 19:33:01.630 AppName[45857:6557884] Failed to set (duration) user defined inspected property on (UIButton): [<UIButton 0x7fbcec8a23a0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key duration.
2015-10-08 19:33:01.938 AppName[45857:6557884] Failed to set (imageColorOn) user defined inspected property on (UIButton): [<UIButton 0x7fbcec8afbb0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key imageColorOn.
2015-10-08 19:33:01.938 AppName[45857:6557884] Failed to set (imageColorOff) user defined inspected property on (UIButton): [<UIButton 0x7fbcec8afbb0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key imageColorOff.
2015-10-08 19:33:01.938 AppName[45857:6557884] Failed to set (duration) user defined inspected property on (UIButton): [<UIButton 0x7fbcec8afbb0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key duration.
2015-10-08 19:33:02.104 AppName[45857:6557884] Failed to set (imageColorOn) user defined inspected property on (UIButton): [<UIButton 0x7fbcec8c3a40> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key imageColorOn.
2015-10-08 19:33:02.104 AppName[45857:6557884] Failed to set (imageColorOff) user defined inspected property on (UIButton): [<UIButton 0x7fbcec8c3a40> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key imageColorOff.
2015-10-08 19:33:02.104 AppName[45857:6557884] Failed to set (duration) user defined inspected property on (UIButton): [<UIButton 0x7fbcec8c3a40> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key duration.
2015-10-08 19:33:02.257 AppName[45857:6557884] Failed to set (imageColorOn) user defined inspected property on (UIButton): [<UIButton 0x7fbceacae5c0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key imageColorOn.
2015-10-08 19:33:02.257 AppName[45857:6557884] Failed to set (imageColorOff) user defined inspected property on (UIButton): [<UIButton 0x7fbceacae5c0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key imageColorOff.
2015-10-08 19:33:02.257 AppName[45857:6557884] Failed to set (duration) user defined inspected property on (UIButton): [<UIButton 0x7fbceacae5c0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key duration.
2015-10-08 19:33:02.553 AppName[45857:6557884] Failed to set (imageColorOn) user defined inspected property on (UIButton): [<UIButton 0x7fbceadd34a0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key imageColorOn.
2015-10-08 19:33:02.553 AppName[45857:6557884] Failed to set (imageColorOff) user defined inspected property on (UIButton): [<UIButton 0x7fbceadd34a0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key imageColorOff.
2015-10-08 19:33:02.553 AppName[45857:6557884] Failed to set (duration) user defined inspected property on (UIButton): [<UIButton 0x7fbceadd34a0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key duration.

最佳答案

由于选择的答案不是很详细,我会把它留在这里给有类似问题的人。

我遇到了类似的问题,即“无法在 (UITextField) 上设置 (selectedLineColor) 用户定义的检查属性:[ setValue:forUndefinedKey:]: 此类与键的键值编码不兼容选中的线条颜色。”

问题出在我的一个 UITextField 上,我最初将其类设置为 SkyFloatingLabelTextField,并在属性检查器中设置了一些自定义设置。当我删除该类时,文本字段仍保留自定义设置,这是导致错误的原因。

设置是在“用户定义的运行时属性”下的身份检查器中设置的。

我删除了框中的 key ,错误消失了。

enter image description here

关于ios - Swift 如何修复无法在 Please 上设置用户定义的检查属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33022486/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com