Releases: orchetect/swift-plist
Releases · orchetect/swift-plist
Release list
3.0.0
Note
The repository has been renamed from PListKit to swift-plist.
Please migrate your dependencies to use the new repository URL and module import name. See the README for more details.
Changes
AnyPList: Refactored as enum, removed redundantWrappedPListtype
2.0.3
2.0.2
2.0.1
2.0.0
PListKit 2.0.0
PListclass 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
PListclass is nowDictionaryPList(typealias forPList<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
AnyPListand unwrap it
1.2.0
- Adds support for Swift 5.7 by conditionally using
any PListValue - Added
PList.rootany(key:)getter and setter along side existing typed accessors PListArrayandPListDictionaryare now top-level types- Formatted codebase with SwiftFormat
- Unit tests improved
1.1.0
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
ConvertToPListArrayis nowRawArraycategory methodconvertedToPListArray()ConvertToPListDictionaryis nowRawDictionarycategory methodconvertedToPListDictionary()- Inline help updated
- Unit tests updated
- README updated
1.0.2
1.0.1
1.0.0
- 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