Flight-School / AnyCodable

Type-erased wrappers for Encodable, Decodable, and Codable values
https://flight.school/books/codable
MIT License
1.28k stars 132 forks source link

Library Evolution Support #37

Closed bradleysmaskell closed 4 years ago

bradleysmaskell commented 4 years ago

Overview

Frameworks that support library evolution can have binary compatibility issues when pulling in AnyCodable.

Screen Shot 2020-06-24 at 10 12 03 AM

This work sets BUILD_LIBRARY_FOR_DISTRIBUTION to YES to enable library evolution support and marks all public structs as @frozen to get around SR-11969.

Closes #36

mattt commented 4 years ago

Sorry for not reviewing this sooner, @bradleysmaskell. This looks great! Thanks so much for your work on this PR.

mattt commented 4 years ago

Thanks again for your help with this, @bradleysmaskell. Your changes are now live in version 0.3.0.