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

Simplify requirements for enabling autoRefreshFromNetwork #4

Open
blakewatters opened this issue Aug 16, 2012 · 0 comments
Open

Simplify requirements for enabling autoRefreshFromNetwork #4

blakewatters opened this issue Aug 16, 2012 · 0 comments

Comments

@blakewatters
Copy link
Member

When autoRefreshFromNetwork is set to YES the autoRefreshRate must also be set in order for the autoRefresh to work. I think this can be simplified by only setting the autoRefreshRate. So by default autoRefreshRate = 0 and any non zero rate would turn autoRefreshFromNetwork on.

A minor point on the variable name: since the autoRefreshRate is of type NSTimeInterval perhaps a more congruous name for the variable could be "autoRefreshInterval".

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

No branches or pull requests

1 participant