Signal-iOS/SignalMessaging
Evan Hahn a941c82c14
Prefer isEmpty with strings
This change may improve performance slightly but should have no other
user impact.

`myString.isEmpty` is faster than `myString.count == 0` or equivalent,
because computing `count` may require iterating over the string.

I tried to fix all occurrences of this.

Tested this by sending a message in a group and doing a full
re-registration, just in case I broke something there.
2022-11-01 17:53:46 -05:00
..
attachments Prefer isEmpty with strings 2022-11-01 17:53:46 -05:00
calls Change license to AGPL 2022-10-13 08:25:37 -05:00
categories Change license to AGPL 2022-10-13 08:25:37 -05:00
contacts Move system contact names to ContactRecord 2022-10-26 15:00:36 -07:00
Donations Add FiatMoney type 2022-10-26 17:04:51 -05:00
environment Fetch and persist remote megaphones 2022-10-26 15:03:08 -07:00
groups Prefer isEmpty with strings 2022-11-01 17:53:46 -05:00
Notifications Change license to AGPL 2022-10-13 08:25:37 -05:00
Payments [Payments] Show alert if client is outdated 2022-10-25 15:43:43 -07:00
profiles Remove unused string/data comparison methods 2022-10-27 18:46:22 -05:00
Storage Service Move system contact names to ContactRecord 2022-10-26 15:00:36 -07:00
Subscriptions DonationUtilities doesn't need to be an NSObject 2022-10-28 15:51:26 -07:00
test Add FiatMoney type 2022-10-26 17:04:51 -05:00
utils Add accessibilityLabel to items in PhotoLibrary 2022-11-01 10:46:33 -07:00
Info.plist
SignalMessaging-Prefix.pch Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalMessaging.h Change license to AGPL 2022-10-13 08:25:37 -05:00