2015-11-02から1日間の記事一覧
UICollectionViewFlowLayoutを継承し、layoutAttributesForElementsInRectをoverrideする。 superのlayoutAttributesForElementsInRectでattributeが帰ってくるのでその個々のframeを調整すれば良い。具体的には override func layoutAttributesForElementsI…
UICollectionViewFlowLayoutを継承し、layoutAttributesForElementsInRectをoverrideする。 superのlayoutAttributesForElementsInRectでattributeが帰ってくるのでその個々のframeを調整すれば良い。具体的には override func layoutAttributesForElementsI…