[BREAKGLASS] A private messenger for iOS. https://signal.org
Go to file
Michael Kirk 7e8b2e3034 Faster conversation presentation.
There are multiple places in the codebase we present a conversation.

We used to have some very conservative machinery around how this was done, for
fear of failing to present the call view controller, which would have left a
hidden call in the background. We've since addressed that concern more
thoroughly via the separate calling UIWindow.

As such, the remaining presentation machinery is overly complex and inflexible
for what we need.

Sometimes we want to animate-push the conversation. (tap on home, tap on "send message" in contact card/group members)
Sometimes we want to dismiss a modal, to reveal the conversation behind it (contact picker, group creation)
Sometimes we want to present the conversation with no animation (becoming active from a notification)

We also want to ensure that we're never pushing more than one conversation view
controller, which was previously a problem since we were "pushing" a newly
constructed VC in response to these myriad actions. It turned out there were
certain code paths that caused multiple actions to be fired in rapid succession
which pushed multiple ConversationVC's.

The built-in method: `setViewControllers:animated` easily ensures we only have
one ConversationVC on the stack, while being composable enough to faciliate the
various more efficient animations we desire.

The only thing lost with the complex methods is that the naive
`presentViewController:` can fail, e.g. if another view is already presented.
E.g. if an alert appears *just* before the user taps compose, the contact
picker will fail to present.

Since we no longer depend on this for presenting the CallViewController, this
isn't catostrophic, and in fact, arguable preferable, since we want the user to
read and dismiss any alert explicitly.

// FREEBIE
2018-08-24 08:54:23 -06:00
.github Update ISSUE_TEMPLATE.md 2018-05-22 13:34:02 -04:00
Carthage@d69c75bfcf Update WebRTC to M68 2018-07-25 13:01:51 -06:00
fastlane update ci to use latest XCode / fastlane 2017-07-11 16:36:50 -04:00
Pods@4c3935aa74 Merge NSData categories. 2018-08-09 13:59:36 -04:00
protobuf Clean up ahead of PR. 2018-08-07 13:20:22 -04:00
Scripts restrict debug methods 2018-08-23 10:16:40 -06:00
SettingsBundle Update to the new GitHub organization name 2018-02-13 10:52:07 -05:00
Signal Faster conversation presentation. 2018-08-24 08:54:23 -06:00
Signal.xcodeproj Tweak tint for search bar icons in dark theme 2018-08-22 12:00:44 -06:00
Signal.xcworkspace Add IDE template macro for consistent headers 2018-07-25 11:55:27 -04:00
SignalMessaging DRY refactor 2018-08-23 10:39:55 -06:00
SignalServiceKit Use swift macros for main thread assert 2018-08-23 10:29:49 -06:00
SignalShareExtension Use swift macros for main thread assert 2018-08-23 10:29:49 -06: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 track pod dependencies publicly 2018-02-12 12:49:09 -08:00
.gitmodules track pod dependencies publicly 2018-02-12 12:49:09 -08:00
.ruby-version track ruby version 2018-06-07 10:21:41 -06:00
.travis.yml CI runs SSK tests 2017-07-21 13:58:57 -04:00
BUILDING.md Update BUILDING.md 2018-08-06 16:02:15 -06:00
Cartfile Remove Twisted Oak. 2018-07-23 13:24:33 -04:00
Cartfile.resolved Remove Twisted Oak. 2018-07-23 13:24:33 -04:00
CONTRIBUTING.md Update the contribution guidelines. 2018-05-22 13:19:09 -04:00
Gemfile update ci to use latest XCode / fastlane 2017-07-11 16:36:50 -04:00
Gemfile.lock update fastlane to latest 2018-07-17 18:17:25 -06:00
LICENSE Update license. 2017-04-11 18:09:16 -04:00
MAINTAINING.md Update MAINTAINING.md 2018-05-22 13:21:54 -04:00
Makefile track pod dependencies publicly 2018-02-12 12:49:09 -08:00
Podfile Wait a week before nagging when a new release comes out 2018-08-08 10:26:00 -06:00
Podfile.lock Add convenience initializers to proto wrappers. 2018-08-08 13:08:47 -04:00
README.md Update the README. 2018-06-14 15:36:14 -04:00
SignalServiceKit.podspec Swift protos for Envelope 2018-07-25 13:04:26 -06:00

Signal for iOS

Signal is a messaging app for simple private communication with friends.

Available on the App Store

Translation

Help us translate Signal! The translation effort happens on Transifex

Contributing Code

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

Contributing Ideas

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

SignalServiceKit

Check out the SignalServiceKit README for details about using SignalServiceKit in your own app.

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

Copyright 2014-2018 Open Whisper Systems

Licensed under the GPLv3: http://www.gnu.org/licenses/gpl-3.0.html