arashpayan / appirater

A utility that reminds your iPhone app's users to review the app.

Home Page:http://arashpayan.com/blog/2009/09/07/presenting-appirater/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ratingConditionsHaveBeenMet - micro optimizations

ewechsler opened this issue · comments

It is better to move at least to checks: "// has the user already rated the app?" and "// has the user previously declined to rate this version of the app?" to method head. They are cheaper than time interval checks so after application is rated (or rating was declined by user) the check won't waste the processor time that much as creating NSDate and NSTimeInterval objects.