Skip to content

Commit d986782

Browse files
Fix documentation (#642)
1 parent 86d2533 commit d986782

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Guides/Navigator/Navigator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ The Readium toolkit comes with several `Navigator` implementations for different
1616
| `CBZNavigatorViewController` | `divina` | Zipped Comic Book (`cbz`), Readium Divina (`.divina`) |
1717
| `AudioNavigator` | `audiobook` | Zipped Audio Book (`.zab`), Readium Audiobook (`.audiobook`, `.lcpa`) |
1818

19-
To find out which Navigator is compatible with a publication, refer to its [profile](https://readium.org/webpub-manifest/profiles/). Use `publication.conformsTo()` to identify the publication's profile.
19+
To find out which Navigator is compatible with a publication, refer to its [profile](https://readium.org/webpub-manifest/profiles/). Use `publication.conforms(to:)` to identify the publication's profile.
2020

2121
```swift
22-
if publication.conformsTo(.epub) {
22+
if publication.conforms(to: .epub) {
2323
let navigator = try EPUBNavigatorViewController(
2424
publication: publication,
2525
initialLocation: lastReadLocation,

0 commit comments

Comments
 (0)