PListKit

Swift library for easily reading/writing plist (Property List) files.

MIT License

Stars
29
Committers
2

Bot releases are visible (Hide)

PListKit - 2.0.2 Latest Release

Published by orchetect 11 months ago

  • Fixed bug when setting an array nested within a dictionary (#9)
  • Updated unit tests
PListKit - 2.0.1

Published by orchetect about 2 years ago

  • Fixed: DictionaryPList setting a dictionary as a value to a root key failed (#8)
PListKit - 2.0.0

Published by orchetect about 2 years ago

PListKit 2.0.0

  • PList class can now have any plist value type as its root element, not just dictionary
  • Full documentation: browse online or view them directly in Xcode by selecting Product → Build Documentation
  • Various improvements

Migration from 1.2.0

  • The old PList class is now DictionaryPList (typealias for PList<PListDictionary>)
  • In order to read a plist file that is not known ahead of time to have a dictionary root, you can load it into AnyPList and unwrap it
PListKit - 1.2.0

Published by orchetect about 2 years ago

  • Adds support for Swift 5.7 by conditionally using any PListValue
  • Added PList.root any(key:) getter and setter along side existing typed accessors
  • PListArray and PListDictionary are now top-level types
  • Formatted codebase with SwiftFormat
  • Unit tests improved
PListKit - 1.1.0

Published by orchetect almost 3 years ago

Many improvements across the library.

Note that there are API-breaking changes, but they are minimal. In all cases, API simply changed or was improved.

  • Inits are now throwing inits instead of failable Optionals
  • .load(...) methods are now inits instead
  • Added (string:) and (dictionary: RawDictionary) inits
  • Safe, conditionally-typed index subscripts are now available on PListArray (see README for details)
  • Mutable subscripts now yield for direct mutation
  • ConvertToPListArray is now RawArray category method convertedToPListArray()
  • ConvertToPListDictionary is now RawDictionary category method convertedToPListDictionary()
  • Inline help updated
  • Unit tests updated
  • README updated
PListKit - 1.0.2

Published by orchetect about 3 years ago

  • Removed unnecessary external dependency. The library is now self-contained.
PListKit - 1.0.1

Published by orchetect almost 4 years ago

Bumped dependency version for performance improvements

PListKit - 1.0.0

Published by orchetect about 4 years ago

  • Library renamed to PListKit (previously OTPList)
  • New functional path traversal through the .root property
  • Swift Package Manager (SPM) support added
  • Multiplatform support for macOS, iOS, tvOS and watchOS
  • Complete unit tests added
  • README and inline documentation updated
PListKit - 0.1.0 - Original OTPList playground

Published by orchetect about 4 years ago

Repo contents before renaming repo from OTPList to PListKit.