Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.3 KB

CHANGELOG.md

File metadata and controls

36 lines (23 loc) · 1.3 KB

Change Log

All notable changes to this project will be documented in this file. Default adheres to Semantic Versioning.


2.1.0 (01/07/2018)

Summary

This release introduces adds a new clear() method that adds a method for deleting Default objects.

Thanks @nitrag for putting this together!

Changes

  • clear() method has been added for removing objects managed by Default from database.

2.0.0 (11/20/2017)

Summary

The release's focus is about shortening the read / write method names and adding support for having a default value for when the value being read is currently not stored in the users defaults.

Changes

  • Writing an object to UserDefaults with Default is now accomplished with: write() or write(withKey:)
  • Reading an object from UserDefaults is now accomplished with read() or read(forKey:)
  • defaultValue has been added to the protocol, the default implementation returns nil can be customized to return a default value when nothing exists in defaults.

1.0.0 (10/19/2017)

Summary

This is the first release of this library! Please see the README to learn more!