And rewrite and simplify the rest of deletion logic appropriately. (Thanks to Nora for the strategy.) There is one tough case here: database updates have happened /externally/ (say, from a disappearing message expiring), in which case the database will be updated but the MediaGallery model will not. In this case we've broken the invariant that we have the correct count for each month-section, and need to put a hold on database access until the model has been updated. The only effect of this is in the page-based media VC, where we'll exit out of the browser rather than advancing to the next item if the item we were looking at was deleted /and/ the next item hasn't been loaded yet. (This can happen if you're at the start of a message with many items and the whole message gets deleted.) |
||
|---|---|---|
| .. | ||
| protobuf | ||
| Resources | ||
| src | ||
| tests | ||
| Utilities | ||
| .clang-format | ||
| .gitignore | ||
| .travis.yml | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
SignalServiceKit
SignalServiceKit is an Objective-C library for communicating with the Signal messaging service for iOS & OS X
To use SignalServiceKit via CocoaPods add the following to your Podfile
pod 'SignalServiceKit', git: 'https://github.com/signalapp/Signal-iOS.git'