Skip to content

Commit

Permalink
Reverted pods
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericJacobs committed Dec 29, 2014
1 parent 4104112 commit 94599a4
Show file tree
Hide file tree
Showing 24 changed files with 13,959 additions and 13,964 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,15 +331,12 @@ - (void)finishSendingMessageAnimated:(BOOL)animated {

[[NSNotificationCenter defaultCenter] postNotificationName:UITextViewTextDidChangeNotification object:textView];

[self.collectionView.collectionViewLayout invalidateLayoutWithContext:[JSQMessagesCollectionViewFlowLayoutInvalidationContext context]];
[self.collectionView reloadData];

[self.collectionView performBatchUpdates:^{
[self.collectionView.collectionViewLayout invalidateLayoutWithContext:[JSQMessagesCollectionViewFlowLayoutInvalidationContext context]];
[self.collectionView reloadData];
} completion:^(BOOL finished){
if (self.automaticallyScrollsToMostRecentMessage) {
[self scrollToBottomAnimated:animated];
}
}];
if (self.automaticallyScrollsToMostRecentMessage) {
[self scrollToBottomAnimated:animated];
}
}

- (void)finishReceivingMessage
Expand All @@ -351,14 +348,12 @@ - (void)finishReceivingMessageAnimated:(BOOL)animated {

self.showTypingIndicator = NO;

[self.collectionView performBatchUpdates:^{
[self.collectionView.collectionViewLayout invalidateLayoutWithContext:[JSQMessagesCollectionViewFlowLayoutInvalidationContext context]];
[self.collectionView reloadData];
} completion:^(BOOL finished){
if (self.automaticallyScrollsToMostRecentMessage) {
[self scrollToBottomAnimated:animated];
}
}];
[self.collectionView.collectionViewLayout invalidateLayoutWithContext:[JSQMessagesCollectionViewFlowLayoutInvalidationContext context]];
[self.collectionView reloadData];

if (self.automaticallyScrollsToMostRecentMessage) {
[self scrollToBottomAnimated:animated];
}
}

- (void)scrollToBottomAnimated:(BOOL)animated
Expand Down
2 changes: 1 addition & 1 deletion Manifest.lock
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ EXTERNAL SOURCES:

CHECKOUT OPTIONS:
JSQMessagesViewController:
:commit: 9dffc05aa72ad701ecb038a2833cdf53df4b16d7
:commit: ed9858bd6df609bba83b21a029701cbf13682981
:git: https://github.com/dtsbourg/JSQMessagesViewController
SocketRocket:
:commit: d0585af165
Expand Down

0 comments on commit 94599a4

Please sign in to comment.