Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for checking a Publication Profile conformance #19

Merged
merged 9 commits into from
Dec 13, 2021

Conversation

mickael-menu
Copy link
Member

Added

Shared

  • A new Publication.conforms(to:) API to identify the profile of a publication.
  • Support for the conformsTo RWPM metadata, to identify the profile of a Publication.

Deprecated

Shared

  • Publication.format is now deprecated in favor of the new Publication.conforms(to:) API which is more accurate.
    • For example, replace publication.format == .epub with publication.conforms(to: .epub) before opening a publication with the EPUBNavigatorViewController.

@mickael-menu mickael-menu temporarily deployed to LCP November 26, 2021 14:17 Inactive
@mickael-menu mickael-menu temporarily deployed to LCP December 8, 2021 13:47 Inactive
@mickael-menu mickael-menu merged commit 9a6ed32 into develop Dec 13, 2021
@mickael-menu mickael-menu deleted the feature/conforms-to branch December 13, 2021 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant