Commit Graph

18 Commits

Author SHA1 Message Date
Matthew Chen
c1139a3a28 Fix many leaks in the view controllers.
// FREEBIE
2017-07-26 11:59:00 -04:00
Matthew Chen
eaacac9d8b DRY up common table cell patterns.
// FREEBIE
2017-07-21 14:49:12 -04:00
Matthew Chen
693e74e868 Adapt conversation settings view to RTL.
// FREEBIE
2017-07-21 14:49:12 -04:00
Matthew Chen
7135895c1c Modify TSStorageManager to use separate shared read and write connections.
// FREEBIE
2017-07-05 17:01:28 -04:00
Matthew Chen
b316e18cfa Ensure contact delegate helper is set during initialization.
// FREEBIE
2017-05-12 11:42:38 -04:00
Matthew Chen
0c4351a908 Use SignalAccount class to sync contacts.
// FREEBIE
2017-05-05 20:57:35 -04:00
Matthew Chen
363d84fd2d Update “new conversation” view to use OWSTableView, contacts view helper, etc.
// FREEBIE
2017-05-05 10:42:42 -04:00
Michael Kirk
b24cf29189 don't request contacts until necessary
Most commonly this will be after hitting the "compose" button

But also we'll do it in the SignalViewController once you've received a
message.

- get rid blocking contacts nag
- use Contacts framework simplifies logic
- remove dead AB code

// FREEBIE
2017-05-04 09:47:04 -04:00
Matthew Chen
f71ec9f7cb Respond to CR.
// FREEBIE
2017-05-02 11:16:34 -04:00
Matthew Chen
6801963a1b Add SignalAccount class.
// FREEBIE
2017-05-02 09:28:50 -04:00
Matthew Chen
93700f1044 Extract labels for phone numbers.
// FREEBIE
2017-05-02 09:28:50 -04:00
Matthew Chen
f5cd39ea35 Apply ContactsViewHelper to SelectThreadViewController.
// FREEBIE
2017-05-02 09:28:02 -04:00
Matthew Chen
61f59067b6 Improve contact-related views.
* Add support for contacts with more than one Signal account using ContactAccount class.
* Use OWSTableViewController in contact-related views.
* Let users add non-contacts to groups.
* Improve the "new group" and "edit group" views.
* Add utility methods for displaying alerts.
* Warn users before discarding unsaved changes in "edit group" view.
* Pull out "contact view helper" to de-duplicate common logic among contact-related views.
* Pull out "group view helper" to de-duplicate common logic among group-related views.
* Pull out new base class for view used to add accounts to groups or the block list.

// FREEBIE
2017-05-02 09:28:02 -04:00
Matthew Chen
d081df9ded Respond to CR.
// FREEBIE
2017-04-26 15:44:21 -04:00
Matthew Chen
93eed73530 Respond to CR.
// FREEBIE
2017-04-26 14:35:49 -04:00
Matthew Chen
5c0c9b533e Respond to CR.
// FREEBIE
2017-04-26 13:29:56 -04:00
Matthew Chen
e75ed5e477 Respond to CR.
// FREEBIE
2017-04-26 13:29:56 -04:00
Matthew Chen
6e36ce97a5 Let users share imported files to a thread or contact of their choice.
// FREEBIE
2017-04-26 13:29:56 -04:00