You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
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
7 years ago
.github Update ISSUE_TEMPLATE.md 7 years ago
Carthage@d69c75bfcf Update WebRTC to M68 7 years ago
Pods@4c3935aa74 Merge NSData categories. 7 years ago
Scripts restrict debug methods 7 years ago
SettingsBundle Update to the new GitHub organization name 7 years ago
Signal Faster conversation presentation. 7 years ago
Signal.xcodeproj Tweak tint for search bar icons in dark theme 7 years ago
Signal.xcworkspace Add IDE template macro for consistent headers 7 years ago
SignalMessaging DRY refactor 7 years ago
SignalServiceKit Use swift macros for main thread assert 7 years ago
SignalShareExtension Use swift macros for main thread assert 7 years ago
fastlane update ci to use latest XCode / fastlane 8 years ago
protobuf Clean up ahead of PR. 7 years ago
.clang-format format objc. 9 years ago
.gitattributes Supporting diffing of localizablestrings. 10 years ago
.gitignore track pod dependencies publicly 7 years ago
.gitmodules track pod dependencies publicly 7 years ago
.ruby-version track ruby version 7 years ago
.travis.yml CI runs SSK tests 8 years ago
BUILDING.md Update BUILDING.md 7 years ago
CONTRIBUTING.md Update the contribution guidelines. 7 years ago
Cartfile Remove Twisted Oak. 7 years ago
Cartfile.resolved Remove Twisted Oak. 7 years ago
Gemfile update ci to use latest XCode / fastlane 8 years ago
Gemfile.lock update fastlane to latest 7 years ago
LICENSE Update license. 8 years ago
MAINTAINING.md Update MAINTAINING.md 7 years ago
Makefile track pod dependencies publicly 7 years ago
Podfile Wait a week before nagging when a new release comes out 7 years ago
Podfile.lock Add convenience initializers to proto wrappers. 7 years ago
README.md Update the README. 7 years ago
SignalServiceKit.podspec Swift protos for Envelope 7 years ago

README.md

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