我有一个 TableVC,它有类别,当您点击一个类别时,它会将您带到其中的项目。但是当我这样做时,当应用程序崩溃时,我会得到以下多个错误分组:
1.
初始化 newrealm 时出错,错误域=io.realm 代码=1“提供的架构版本 0 小于上次设置的版本 1。” UserInfo={NSLocalizedDescription=提供的架构版本 0 小于上次设置的版本 1。,错误代码=1}
2.
2018-08-01 12:56:06.152225-0400 Todoey[35380:4690261] Interface Builder 文件中的未知类 SwipeTableViewCell。
3.
无法将“UITableViewCell”(0x1096e3580)类型的值转换为“SwipeCellKit.SwipeTableViewCell”(0x106d231d0)。
4.
2018-08-01 12:56:06.153831-0400 Todoey[35380:4690261] 无法将“UITableViewCell”(0x1096e3580)类型的值转换为“SwipeCellKit.SwipeTableView6d”(0x100261)。
这是我得到一个 -Thread 1: 信号 SIGABRT-
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "Cell", for: indexPath) as! SwipeTableViewCell
cell.delegate = self
return cell
}
Run Code Online (Sandbox Code Playgroud)
请帮忙
| 归档时间: |
|
| 查看次数: |
2521 次 |
| 最近记录: |