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

Clarify how title-text delegate method is intended to be used #151

Merged
merged 5 commits into from
Feb 1, 2016

Conversation

cdzombak
Copy link
Contributor

As a followup from #142, this PR proposes a small API change and further documentation to clarify how our team believes this new avenue for customization should be used.

I've also slightly simplified some of the logic behind it and provided an example implementation in the Example app.

This helps clarify that this delegate method is intended to provide information about the user’s progress in a set of photos, not about a photo itself.
This helps clarify that this delegate method is intended to provide information about the user’s progress in a set of photos, not about a photo itself.
This helps clarify exactly what work can be skipped when we’re only showing one photo.
@dzlobin
Copy link
Contributor

dzlobin commented Feb 1, 2016

👍

dzlobin added a commit that referenced this pull request Feb 1, 2016
Clarify how title-text delegate method is intended to be used
@dzlobin dzlobin merged commit 66fede6 into develop Feb 1, 2016
@dzlobin dzlobin deleted the cdz/title-clarification branch February 1, 2016 14:31
* Returns a string to display as the title of a photo.
* Returns a string to display as the title in the navigation-bar area for a photo.
*
* This small area of the screen is not intended to display a caption or similar information about the photo itself. (NYTPhotoViewer is designed to provide this information in the capton view, and as such the `NYTPhoto` protocol provides properties for the title, summary, and credit for each photo.) Instead, consider using this delegate method to customize how your app displays the user's progress through a set of photos.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

information in the capton view

Typo here.

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

3 participants