this question has answer here:
mycollectionviewcontroller subclasses uicollectionviewcontroller, uicollectionviewdelegate , uicollectionviewdatasource. worked fine before switched swift 2.0. following error: "redundant conformance of mycollectionviewcontroller protocol uicollectionviewdatasource".
i checked official uicollectionview class reference still states have use both delegate , data source. if don't subclass delegate , data source seems app works. there in particular should note? or maybe updated official documentation?
uicollectionviewcontroller defines conforming uicollectionviewdelegate , datasource.
by declaring conformance again making redundant declaration.
if read error message it's telling you.
just delete delegate , datasource conformance subclass.
Comments
Post a Comment