Swift How can i make custom cell for the collectio

2019-05-31 14:29发布

i wold like to get explanation on how to do it, what classes to subclass . what to override and so on. for the of jsqmessageViewcontroller framework

for example outgoing cell , how to build my out layout and labels

any help will be appreciate

and yes i did search for it didn't find a lot info about that

2条回答
时光不老,我们不散
3楼-- · 2019-05-31 14:47

Just create a custom cell or xib and then when implementing the JSQ framework just use your custom cell in the

override func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell { //Configure your cell here return //yourCustomCell }

查看更多
登录 后发表回答