Closed Igor-Palaguta closed 3 years ago
You can try if case .empty = enumValue {
Hey @Igor-Palaguta, sorry for the issue. I'd love to get this fixed asap. Ideally by not exposing that to the user, but for now a simple rename from .empty
to e.g. __swiftyUserDefaultsIsEmpty
would be enough - would you or @ky1vstar be up for a PR?
Hello @sunshinejr , yes sure let me prepare PR
Thanks
@Igor-Palaguta FYI I just merged #279 and released 5.3.0 to CocoaPods with a rename. Will think about a better solution that ideally will remove the public protocol, but to quickly fix it for your use-case I think it's enough. Let me know if it helped!
Thank you @sunshinejr
Love this library so much, but found that after adding it
empty
fromOptionalType
shadows application'sempty
cases from enums, e.g.:So, unfortunately had to remove it