-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Conversation
Wow! Amazing. |
This is really amazing! Edit: by the way, triggering long press gesture and tapping copy on a media cell causes a crash. Looking for a workaround. |
hello all: still haven't had a chance to look through this in-depth. just want to let you know i've seen it though. 👍 |
Hey @jessesquires, If one of the things holding you back is that i've addd All the best! |
@piercifani Why did you decide to use SDWebImage instead of AFNetworking? Was it because of the offline image caching? |
@laynemoseley exactly |
A feature request for this pull request :) Would be great to be able to easily handle differentiating the two standard cases of media bubble types, that of image and video. In the case of video type, simply overlaying a play button on the bubble. What do to on tap can be left to #374 didTapMessage:atIndexPath |
This is awesome! Using it now and it works great! Thanks! |
Nice to hear @tindercylinder, my cocoa pods isn't working at all. So i have to literally copy everything from all the 31 edited files in to the project... |
I'm usine it also. It is great !! Thanks for this amazing work. Kudos ! |
@iltercengiz just updated the component with a fix for the crash you found. Thanks! |
Conflicts: JSQMessagesViewController/Controllers/JSQMessagesViewController.m
…ate method expects
@piercifani Do you plan on adding support for videos media kind? |
@laynemoseley it's not in my backlog since I don't need them. However, adding support would be fairly simple, just adding two more kinds to |
@piercifani sorry for the newbie question, but is there a simple way to use your branch using Cocoapods? |
@ezrasuki - It's very easy to do.
|
@VincentSit Thanks I tried and it works fine but I couldn't get some of the features to work because the code I pulled from Cocoapods didn't contain some of the up-to-date commits mentioned at the top of this page, for example this: https://github.com/piercifani/JSQMessagesViewController/blob/dde28045f287b3bec52c422fc4923f2754676b3e/JSQMessagesViewController/Controllers/JSQMessagesViewController.m Do you know how I can use the code that has the updated version? |
@ezrasuki Try using the following code to use the latest commit:
|
Hi guys, Great job ! I think I have found a bug. I have try to deactivate the PressLong gesture recognizer when the messageData is kind of Media. But I have discovered that with a text cell and despite the right cellIdentifier (outgoingCellIdentifier) passed in - (UICollectionViewCell *)collectionView:(JSQMessagesCollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath, the text cell will become a media cell Very Strange behavior. Any idea ? I didn't manage to find a workaround. Thanks, EDIT : I have found my problem. The outgoing.xib pointed to the media ! No more problem now. |
Update JSQMessage.m
Conflicts: JSQMessagesViewController/Controllers/JSQMessagesViewController.m JSQMessagesViewController/Views/JSQMessagesCollectionView.h JSQMessagesViewController/Views/JSQMessagesCollectionViewCell.h JSQMessagesViewController/Views/JSQMessagesCollectionViewCell.m
Conflicts: JSQMessagesViewController/Controllers/JSQMessagesKeyboardController.m JSQMessagesViewController/Controllers/JSQMessagesViewController.m
@piercifani Thank you for the pull request, the media branch is working good besides a small thing, I've found a bug that I believe has to to with string size calculation, using your media branch I found out that chinese characters get cut off when they are more than 2 lines, like this: Do you have any insights on this? Thank you. updated The problem lies under
|
@piercifani I see, it looks like a tradeoff we will have to make right here. Nevertheless I found your PR very helpful, thank you for sharing. |
Hi @piercifani , I am trying to fix #264 here, I tried to do a manual merge on your JSQMessageCollectionViewCellIncomingMedia.xib and JSQMessageCollectionViewCellOutgoingMedia.xib based on 8a616d4?, but the commit has some slight different constraints than the ones you have here, and I don't know which one I should be changing. Can you help me here? |
UIImage
and from a remoteNSURL