No Description

PhotoRepository.swift 453B

    // // PhotoRepository.swift // PaiaiDataKit // // Created by FFIB on 2019/1/2. // Copyright © 2019 FFIB. All rights reserved. // import Foundation import RxSwift protocol PhotoRepository { func load(page: Int) -> Single<NetworkArrayData<PhotoItem>> func upload(data: Data) -> Single<PhotoItem> } extension PhotoRepository { func upload(data: Data) -> Single<PhotoItem> { fatalError("The function is not implemented") } }