github jessesquires/JSQMessagesViewController 5.3.0
Release 5.3.0

latest releases: 7.3.5, 7.3.4, 7.3.3...
10 years ago

What's new

  • Improved handling of the copy menu (UIMenuController) for a cell (activated by a long press gesture on a cell). It is now much more reliable and does not dismiss the keyboard when appearing.
  • You can now add your own custom menu options/actions to the menu! Simply override the following delegate methods in your view controller subclass. Don't forget to call super at the end of each.
- (BOOL)collectionView:(UICollectionView *)collectionView shouldShowMenuForItemAtIndexPath:(NSIndexPath *)indexPath;

- (BOOL)collectionView:(UICollectionView *)collectionView canPerformAction:(SEL)action forItemAtIndexPath:(NSIndexPath *)indexPath withSender:(id)sender;

- (void)collectionView:(UICollectionView *)collectionView performAction:(SEL)action forItemAtIndexPath:(NSIndexPath *)indexPath withSender:(id)sender;
  • New properties available on JSQMessagesCollectionViewCell! The following private properties have now been exposed. Use with caution. See the most recent documentation for details.
@property (weak, nonatomic, readonly) UIView *messageBubbleContainerView;
@property (weak, nonatomic, readonly) UIView *avatarContainerView;
  • The following has been removed from JSQMessagesCollectionViewCell. (Due to the changes regarding the UIMenuController above)
@property (weak, nonatomic, readonly) UILongPressGestureRecognizer *longPressGestureRecognizer;

Issues resolved

Don't miss a new JSQMessagesViewController release

NewReleases is sending notifications on new releases.