| { |
| "name": "NSDate-ServerDate", |
| "version": "1.0", |
| "summary": "NSDate+ServerDate is a NSDate Category that allows you to make sure your time is synced up to a server regardless of the User's settings.", |
| "description": " \tNSDate+ServerDate\n ================\n\n NSDate+ServerDate is a NSDate Category that allows you to make sure your time is synced up to a remote server regardless of the User's local settings.\n \n It does this by performing a one-time-per-session HTTP HEAD Request to the supplied server, getting a \"Base\" date, and keep counting from there - Making sure you're in sync with the remote server even when the user's clock isn't.\n \n ## Definitions\n Modify ***_SD_SERVER*** If you want to sync your time to a specific server (e.g. your API server).\n \n Modify ***_SD_FORMAT*** If for some reason the Date format your HTTP Server returns is different than the one specified.\n \n USAGE\n -----\n ```objc\n NSDate *serverDate = [NSDate serverDate];\n ```\n\n An example Xcode project is part of this Repository.\n", |
| "homepage": "https://github.com/freak4pc/NSDate-ServerDate", |
| "license": "MIT", |
| "authors": { |
| "Shai Mishali": "freak4pc@gmail.com" |
| }, |
| "platforms": { |
| "ios": null |
| }, |
| "source": { |
| "git": "https://github.com/freak4pc/NSDate-ServerDate.git", |
| "tag": "v1.0" |
| }, |
| "source_files": "NSDate+ServerDate.**", |
| "exclude_files": "NSDate-ServerDateExample/**", |
| "requires_arc": true |
| } |