sindresorhus / Defaults

💾 Swifty and modern UserDefaults
https://swiftpackageindex.com/sindresorhus/Defaults/documentation/defaults
MIT License
2k stars 120 forks source link

Remove `DefaultsBaseKey` #123

Closed sindresorhus closed 1 year ago

sindresorhus commented 1 year ago

Just realized we don't really need it.

@hank121314 Can you think of any reason to keep it?

hank121314 commented 1 year ago

I think AnyKey is enough to use. Can not figure out the use-case that need to declare name: string and suite: UserDefaults as protocol.