Search code examples
iosswiftjsqmessagesviewcontroller

Swift How can i make custom cell for the collection of jsqmessageViewcontroller


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


Solution

  • 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 }