Avatar
あとまあ DataSource プロトコルにビューを隠蔽したい気持ちもある protocol XxxViewDataSource { func numberOfCells(in view: XxxView) -> Int } ではなく protocol XxxViewDataSource { protocol Sender: class { } func numberOfCells(in view: Sender) -> Int } みたいな感じにしたい