[BREAKGLASS] A private messenger for iOS. https://signal.org
Go to file
Michelle Linington fea0215f05 IOS-838: ConversationInputTextView cursor adjustments don't behave properly
At the moment, when trying to drag the input/selection cursor(s) in
the ConverationInputTextView, as soon as you reach the top or bottom
edge of a draft with >4 lines, you'll immediately scroll to the very top
or the very bottom.

This is because we're currently overriding the default implementation of
setContentOffset:animated: to always perform the adjustment without
animation. We do this because we don't want the animated content offset
adjustment to interfere with the growing the bounds of the text view.
This can cause the text to overshoot the updated bounds pre-iOS 13.

But we only grow the text view in response to the text changing. So
instead of disabling all content offset animations, we can get away with
just disabling content offset animations while the text is changing.

So this commit:
- Sets a flag between -textViewShouldChange... and -textViewDidChange:
- On iOS 13 and later, we'll always respect the animate argument of
  setContentOffset:animated:
- Pre-iOS 13, we'll ignore the animate parameter if the flag is set
2020-12-10 14:23:30 -08:00
.github GitHub: Speed up checking out a repository when linting 2020-10-23 16:01:18 -07:00
fastlane Update changelog for 5.0.1 2020-12-09 15:10:47 -08:00
NotificationServiceExtension "Bump build to 5.0.1.0." 2020-12-09 14:57:58 -08:00
Pods@470d4b5d0a Update to RingRTC 2.8.8 2020-12-09 14:10:30 -08:00
Scripts Send a group call update message when joining and leaving a group call 2020-11-19 16:02:22 -08:00
Signal IOS-838: ConversationInputTextView cursor adjustments don't behave properly 2020-12-10 14:23:30 -08:00
Signal.xcodeproj Display a toast for speaker view 2020-12-07 15:08:49 -08:00
Signal.xcworkspace PR feedback: Also update default copyright year 2020-07-06 14:42:47 -07:00
SignalMessaging Alert user of safety number changes in group call 2020-12-08 12:59:56 -08:00
SignalServiceKit Feature flags for .production. 2020-12-08 23:41:47 -08:00
SignalShareExtension "Bump build to 5.0.1.0." 2020-12-09 14:57:58 -08:00
ThirdParty Update to RingRTC 2.8.8 2020-12-09 14:10:30 -08:00
.clang-format format objc. 2016-07-14 23:15:06 -07:00
.gitattributes Supporting diffing of localizablestrings. 2015-09-14 12:26:47 +02:00
.gitignore Migrate schema to add CDN key and number and add CDN2 constants 2020-04-14 08:53:59 -07:00
.gitmodules Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -08:00
.ruby-version bump ruby version 2019-01-07 12:51:35 -07:00
.swiftlint.yml SwiftLint: attributes should be on preceding lines 2020-11-02 13:59:42 -08:00
BUILDING.md The Application Group string is located in TSConstants.swift. 2020-06-23 19:09:49 -07:00
CONTRIBUTING.md Update donation link in contribution instructions 2020-08-19 15:12:03 -05:00
Gemfile Fix readlink from cocoapods-binary 2020-01-02 12:03:57 -08:00
Gemfile.lock Update to the latest version of fastlane 2020-07-22 17:46:43 -07:00
Jenkinsfile ci labels PRs with GH title 2019-01-11 10:53:22 -07:00
LICENSE Update license. 2017-04-11 18:09:16 -04:00
MAINTAINING.md PR Feedback 2020-01-02 12:06:44 -08:00
Makefile add pristine_dependencies task 2020-01-08 14:30:31 -07:00
Podfile Update pods 2020-11-12 17:31:10 -08:00
Podfile.lock Update to RingRTC 2.8.8 2020-12-09 14:10:30 -08:00
README.md Revert some of the bigger README changes for now, until we can do a deeper review 2019-06-11 17:14:04 -07:00
SignalServiceKit.podspec Switch Argon2 pod name 2020-10-15 15:55:49 -07:00

Signal iOS

Signal is a free, open source, messaging app for simple private communication with friends.

Available on the App Store

Also available on Android and Desktop.

Questions?

For troubleshooting and questions, please visit our support center or unofficial community forum.

Contributing Bug Reports

We use GitHub for bug tracking. Please search existing issues and create a new one if the issue is not yet tracked. For Android users, please use the Signal for Android issue tracker.

Contributing Translations

Help us translate Signal! The translation effort happens on Transifex.

Contributing Code

Instructions on how to setup your development environment and build Signal-iOS can be found in BUILDING.md. Other useful instructions for development can be found in the Development Guide wiki page. We also recommend reading the contribution guidelines.

Contributing Ideas

Have something you want to say about Signal Foundation projects or want to be part of the conversation? Get involved in the community forum.

Cryptography Notice

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.

The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.

License

Licensed under GPLv3

Copyright 2014-2019 Open Whisper Systems

Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc., registered in the U.S. and other countries.