From 6f5437ee0da44ff5da775f243c94fda2b11bd25e Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Tue, 29 Aug 2017 11:25:44 -0400 Subject: [PATCH] Revisit the [UIScrollView _adjustContentOffsetIfNecessary] issue. Fix glitches in the initial scroll state in message view. Don't reset scroll state when returning to the message view. // FREEBIE --- Podfile | 4 ++-- Podfile.lock | 10 +++++++--- Signal.xcodeproj/project.pbxproj | 14 +++++++------- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/Podfile b/Podfile index 9f44466e1..070f1f1e2 100644 --- a/Podfile +++ b/Podfile @@ -5,8 +5,8 @@ target 'Signal' do pod 'ATAppUpdater' pod 'AxolotlKit', git: 'https://github.com/WhisperSystems/SignalProtocolKit.git' #pod 'AxolotlKit', path: '../SignalProtocolKit' - #pod 'JSQMessagesViewController', git: 'https://github.com/WhisperSystems/JSQMessagesViewController.git', branch: 'signal-master' - pod 'JSQMessagesViewController', path: '../JSQMessagesViewController' + pod 'JSQMessagesViewController', git: 'https://github.com/WhisperSystems/JSQMessagesViewController.git', branch: 'signal-master' + #pod 'JSQMessagesViewController', path: '../JSQMessagesViewController' pod 'PureLayout' pod 'OpenSSL', git: 'https://github.com/WhisperSystems/OpenSSL-Pod' pod 'Reachability' diff --git a/Podfile.lock b/Podfile.lock index 78db27f8a..a7e9977a0 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -114,7 +114,7 @@ PODS: DEPENDENCIES: - ATAppUpdater - AxolotlKit (from `https://github.com/WhisperSystems/SignalProtocolKit.git`) - - JSQMessagesViewController (from `../JSQMessagesViewController`) + - JSQMessagesViewController (from `https://github.com/WhisperSystems/JSQMessagesViewController.git`, branch `signal-master`) - OpenSSL (from `https://github.com/WhisperSystems/OpenSSL-Pod`) - PureLayout - Reachability @@ -125,7 +125,8 @@ EXTERNAL SOURCES: AxolotlKit: :git: https://github.com/WhisperSystems/SignalProtocolKit.git JSQMessagesViewController: - :path: ../JSQMessagesViewController + :branch: signal-master + :git: https://github.com/WhisperSystems/JSQMessagesViewController.git OpenSSL: :git: https://github.com/WhisperSystems/OpenSSL-Pod SignalServiceKit: @@ -137,6 +138,9 @@ CHECKOUT OPTIONS: AxolotlKit: :commit: 6e9d5e8c3dc87e397b4b7485172507b0990a22dd :git: https://github.com/WhisperSystems/SignalProtocolKit.git + JSQMessagesViewController: + :commit: 868cf70fae0f3b54c3cfa7773ef03578d209b668 + :git: https://github.com/WhisperSystems/JSQMessagesViewController.git OpenSSL: :commit: b2d3c149102032a09aefbfb470885db4aa83efad :git: https://github.com/WhisperSystems/OpenSSL-Pod @@ -167,6 +171,6 @@ SPEC CHECKSUMS: UnionFind: c33be5adb12983981d6e827ea94fc7f9e370f52d YapDatabase: cd911121580ff16675f65ad742a9eb0ab4d9e266 -PODFILE CHECKSUM: 4a6db311736b5ab36b660af813dcdf0af62da48c +PODFILE CHECKSUM: 2f847bb25e70d1d376f38cf21ae08624fa6ed67d COCOAPODS: 1.3.1 diff --git a/Signal.xcodeproj/project.pbxproj b/Signal.xcodeproj/project.pbxproj index 35f9e9b95..974283381 100644 --- a/Signal.xcodeproj/project.pbxproj +++ b/Signal.xcodeproj/project.pbxproj @@ -2062,13 +2062,13 @@ ); inputPaths = ( "${SRCROOT}/Pods/Target Support Files/Pods-Signal/Pods-Signal-resources.sh", - "${PODS_ROOT}/../../JSQMessagesViewController/JSQMessagesViewController/Assets/JSQMessagesAssets.bundle", - "${PODS_ROOT}/../../JSQMessagesViewController/JSQMessagesViewController/Controllers/JSQMessagesViewController.xib", - "${PODS_ROOT}/../../JSQMessagesViewController/JSQMessagesViewController/Views/JSQMessagesCollectionViewCellIncoming.xib", - "${PODS_ROOT}/../../JSQMessagesViewController/JSQMessagesViewController/Views/JSQMessagesCollectionViewCellOutgoing.xib", - "${PODS_ROOT}/../../JSQMessagesViewController/JSQMessagesViewController/Views/JSQMessagesLoadEarlierHeaderView.xib", - "${PODS_ROOT}/../../JSQMessagesViewController/JSQMessagesViewController/Views/JSQMessagesToolbarContentView.xib", - "${PODS_ROOT}/../../JSQMessagesViewController/JSQMessagesViewController/Views/JSQMessagesTypingIndicatorFooterView.xib", + "${PODS_ROOT}/JSQMessagesViewController/JSQMessagesViewController/Assets/JSQMessagesAssets.bundle", + "${PODS_ROOT}/JSQMessagesViewController/JSQMessagesViewController/Controllers/JSQMessagesViewController.xib", + "${PODS_ROOT}/JSQMessagesViewController/JSQMessagesViewController/Views/JSQMessagesCollectionViewCellIncoming.xib", + "${PODS_ROOT}/JSQMessagesViewController/JSQMessagesViewController/Views/JSQMessagesCollectionViewCellOutgoing.xib", + "${PODS_ROOT}/JSQMessagesViewController/JSQMessagesViewController/Views/JSQMessagesLoadEarlierHeaderView.xib", + "${PODS_ROOT}/JSQMessagesViewController/JSQMessagesViewController/Views/JSQMessagesToolbarContentView.xib", + "${PODS_ROOT}/JSQMessagesViewController/JSQMessagesViewController/Views/JSQMessagesTypingIndicatorFooterView.xib", "${PODS_ROOT}/SAMKeychain/Support/SAMKeychain.bundle", "${PODS_ROOT}/../SignalServiceKit/src/Security/PinningCertificate/textsecure.cer", "${PODS_ROOT}/../SignalServiceKit/src/Security/PinningCertificate/GIAG2.crt",