0

我需要添加为 pod 吗?我需要使用 RxCocoa UI 绑定创建一个分段的 tableView。我一直无法找到正确的文档来实现它。提前致谢

这是我的 Podfile

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'NetworkLayer-Rx' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for NetworkLayer-Rx
  pod 'RxAlamofire'
  pod 'RxSwift'
  pod 'RxCocoa'

  target 'NetworkLayer-RxTests' do
    inherit! :search_paths
    # Pods for testing
  end

end

在此处输入图像描述

4

1 回答 1

0

是的,RxDataSources 是一个单独的 pod,因此您需要将它添加到您的 Podfile 中。

RxDataSources repo 上解释了安装: https ://github.com/RxSwiftCommunity/RxDataSources#installation

于 2018-06-04T12:40:37.133 回答