暫無描述

Parsable.swift 500B

    // // Parsable.swift // PaiAi // // Created by FFIB on 2017/9/29. // Copyright © 2017年 yb. All rights reserved. // import Foundation import ObjectMapper public protocol Parsable { } public protocol SingleParsable: Parsable { static func parse(data: [String:AnyObject]) -> Self } public protocol GroupParsable: Parsable { static func parse(datas: [String:AnyObject]) -> [Self] } extension GroupParsable { static func parse(datas: [String:AnyObject]) -> [Self] { return [] } }