Signal-iOS/SignalUI/Payments
Jordan Rose 4f06a6d8a5 Fix incorrect uses of NotificationCenter block-based API
The block-based API returns a token that needs to be explicitly
unregistered, *and* the block should not capture 'self' strongly.
The fixes in this PR come in three flavors:

1. Switch to the selector-based API, sometimes taking advantage of
   the fact that extra arguments to an Objective-C method can be
   safely discarded (because they are passed at +0).

2. Save the observer token and unregister in deinit.

3. Comment why it's safe to leave the observer registered forever
   in this particular case.
2022-08-02 17:43:52 -07:00
..
DebugLogger+Payments.swift Avoid setters that don’t read newValue 2022-07-12 13:39:43 -07:00
MobileCoinAPI.swift Remove unneeded breaks 2022-06-03 17:52:28 +00:00
MobileCoinAPI+Configuration.swift Use shorter fog report URI in wallet 2022-05-09 08:11:42 -05:00
Payments.swift Move MobileCoin SDK to SignalUI. 2021-11-02 14:26:04 -03:00
PaymentsFormat.swift Fix typos 2022-03-18 11:31:06 -07:00
PaymentsImpl.swift Initial story sending support 2022-06-10 22:28:03 -04:00
PaymentsProcessor.swift Fix incorrect uses of NotificationCenter block-based API 2022-08-02 17:43:52 -07:00
PaymentsReconciliation.swift Fix incorrect uses of NotificationCenter block-based API 2022-08-02 17:43:52 -07:00
PaymentsUI.swift replaced NSLocalizedStringFromAppBundle with OWSLocalizedString 2022-03-08 10:17:25 +01:00