RxOptional icon indicating copy to clipboard operation
RxOptional copied to clipboard

use Collection instead of Occupiable

Open seasonZhu opened this issue 2 years ago • 1 comments

I see Occupiable.swift: I can't think of a way to combine these collection types. Suggestions welcomed! I think Swift Collection can instead of Occupiable.

import Foundation

public extension Collection {
    var isNotEmpty: Bool { !isEmpty }
}

So I delete Occupiable.swift, then use Collection+Rx.swift. But I also think developers use this extension in their app with same api, maybe it need optimize this api name.

seasonZhu avatar Jul 21 '22 07:07 seasonZhu

Warnings
:warning: It looks like code was changed without adding anything to the Changelog. If this is a trivial PR that doesn't need a changelog, add #trivial to the PR title or body.

Generated by :no_entry_sign: dangerJS

rxswiftcommunity[bot] avatar Jul 21 '22 07:07 rxswiftcommunity[bot]