Signal-iOS/SignalServiceKit
Evan Hahn 083ec1ccba Fix SwiftLint is_disjoint violations
This fixes violations of [SwiftLint's `is_disjoint` rules][0], which
says that `set1.intersection(set2).isEmpty` should be replaced with
`set1.isDisjoint(with: set2)`.

I also took one additional step in a few cases: `isDisjoint` can be
called [with any `Sequence`][1], not just a `Set`. This let me remove
some conversions to `Set`. In other words:

```diff
-mySet.isDisjoint(with: Set(myArray))
+mySet.isDisjoint(with: myArray)
```

[0]: https://realm.github.io/SwiftLint/is_disjoint.html
[1]: https://developer.apple.com/documentation/swift/set/2853831-isdisjoint
2022-05-25 14:17:10 +00:00
..
protobuf Add OWSIdentityManager.shouldSharePhoneNumber(with:transaction:) 2022-05-19 14:20:53 -07:00
Resources Adjust disappearing message index 2022-04-27 12:25:10 -07:00
src Fix SwiftLint is_disjoint violations 2022-05-25 14:17:10 +00:00
tests Set the "share my number" flag when receiving a message at our PNI 2022-05-20 10:48:22 -07:00
Utilities More Python 3 script fixes 2022-03-24 10:28:27 -05:00
.clang-format Update clang-format with AllowShortEnumsOnASingleLine: false 2022-03-14 11:20:20 -07:00
.gitignore
.travis.yml
CONTRIBUTING.md Change references from master to main 2022-05-02 10:30:40 -05:00
LICENSE
README.md Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -08:00

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'