iOS 开发时遇到的Error 记录

Thread 1: Fatal error: Dictionary literal contains duplicate keys
字典在定义的时候中包含了重复的key ,找到重复的key 删除即可

Ambiguous use of 'kArticleId'
可能是在定义了两个或多个相同名称的常量。

Raw value for enum case must be a literal
枚举值的原始值必须是文字值。

Constrained extension must be declared on the unspecialized generic type 'Array' with constraints specified by a 'where' clause

Protocol methods must not have bodies

Non-class type 'Array<Element>' cannot conform to class protocol 'RemoveObject'

Thread 1: Fatal error: Index out of range
数组越界

Unknown class _TtC9Carepilot19ExpandableTableView in Interface Builder file.

Cannot convert value of type '() -> _' to specified type 'UIView'

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容