小编Mis*_*ear的帖子

RxRealm pod 更新后在 RxRealm.swift 中构建编译错误:类型“List<Element>”不符合协议“NotificationEmitter”

这是文件 RxRealm.swift 的顶部部分。(文件中的其他地方都没有编译错误,也没有“观察”函数。

//
//  RxRealm extensions
//
//  Copyright (c) 2016 RxSwiftCommunity. All rights reserved.
//  Check the LICENSE file for details
//  Created by Marin Todorov
//

import Foundation
import RealmSwift
import RxSwift

public enum RxRealmError: Error {
  case objectDeleted
  case unknown
}

// MARK: Realm Collections type extensions

/**
 `NotificationEmitter` is a protocol to allow for Realm's collections to be handled in a generic way.

 All collections already include a `addNotificationBlock(_:)` method - making them conform to …
Run Code Online (Sandbox Code Playgroud)

realm ios cocoapods swift

5
推荐指数
1
解决办法
1507
查看次数

标签 统计

cocoapods ×1

ios ×1

realm ×1

swift ×1