sunshinejr / SwiftyUserDefaults

Modern Swift API for NSUserDefaults
http://radex.io/swift/nsuserdefaults/static
MIT License
4.85k stars 366 forks source link

Comparing an optional value to a non-optional value causes a fatal error #176

Closed z3bi closed 5 years ago

z3bi commented 5 years ago

I have opened a PR that adds a test to demonstrate the issue https://github.com/radex/SwiftyUserDefaults/pull/175

sunshinejr commented 5 years ago

Just released 4.0.0-alpha.3. Thanks again @z3bi for helping me out with a test case, let me know if this helps and/or you'll find another bug!