{"action":"created","comment":{"url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/pulls/comments/86407647","pull_request_review_id":7069036,"id":86407647,"diff_hunk":"@@ -651,6 +651,17 @@ typedef void (^SwrveResourcesUpdatedListener) ();\n  */\n -(int) userUpdate:(NSDictionary*)attributes;\n \n+/*! Sends a single Date based user state to Swrve\n+ *\n+ * See the REST API docs for the user event for a detailed description of the\n+ * semantics of this call.\n+ *\n+ * \\param name The identifier for the user update\n+ * \\param date The NSDate value associated\n+ * \\returns SWRVE_SUCCESS if the call was successful, otherwise SWRVE_ERROR.\n+ */\n+- (int) userUpdate:(NSString *)name withDate:(NSDate *) date;","path":"SwrveSDK/SDK/Track/Swrve.h","position":13,"original_position":13,"commit_id":"5469cb277db3974f8f5cf5eda29fcc582d6426fd","original_commit_id":"5469cb277db3974f8f5cf5eda29fcc582d6426fd","user":{"login":"dominicmarmionswrve","id":9349545,"avatar_url":"https://avatars.githubusercontent.com/u/9349545?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicmarmionswrve","html_url":"https://github.com/dominicmarmionswrve","followers_url":"https://api.github.com/users/dominicmarmionswrve/followers","following_url":"https://api.github.com/users/dominicmarmionswrve/following{/other_user}","gists_url":"https://api.github.com/users/dominicmarmionswrve/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicmarmionswrve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicmarmionswrve/subscriptions","organizations_url":"https://api.github.com/users/dominicmarmionswrve/orgs","repos_url":"https://api.github.com/users/dominicmarmionswrve/repos","events_url":"https://api.github.com/users/dominicmarmionswrve/events{/privacy}","received_events_url":"https://api.github.com/users/dominicmarmionswrve/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2016-11-03T18:07:29Z","updated_at":"2016-11-03T18:07:29Z","html_url":"https://github.com/Swrve/swrve-ios-sdk/pull/201#discussion_r86407647","pull_request_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/pulls/201","_links":{"self":{"href":"https://api.github.com/repos/Swrve/swrve-ios-sdk/pulls/comments/86407647"},"html":{"href":"https://github.com/Swrve/swrve-ios-sdk/pull/201#discussion_r86407647"},"pull_request":{"href":"https://api.github.com/repos/Swrve/swrve-ios-sdk/pulls/201"}}},"pull_request":{"url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/pulls/201","id":91973652,"html_url":"https://github.com/Swrve/swrve-ios-sdk/pull/201","diff_url":"https://github.com/Swrve/swrve-ios-sdk/pull/201.diff","patch_url":"https://github.com/Swrve/swrve-ios-sdk/pull/201.patch","issue_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/issues/201","number":201,"state":"open","locked":false,"title":"[ios] 14539 Type Based API for Date ","user":{"login":"adam-govan","id":2587626,"avatar_url":"https://avatars.githubusercontent.com/u/2587626?v=3","gravatar_id":"","url":"https://api.github.com/users/adam-govan","html_url":"https://github.com/adam-govan","followers_url":"https://api.github.com/users/adam-govan/followers","following_url":"https://api.github.com/users/adam-govan/following{/other_user}","gists_url":"https://api.github.com/users/adam-govan/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-govan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-govan/subscriptions","organizations_url":"https://api.github.com/users/adam-govan/orgs","repos_url":"https://api.github.com/users/adam-govan/repos","events_url":"https://api.github.com/users/adam-govan/events{/privacy}","received_events_url":"https://api.github.com/users/adam-govan/received_events","type":"User","site_admin":false},"body":"As part of this story, I had to add the ability to pass a NSDate as the User Update event. \r\n\r\nthere is a new function: \r\nand for  one: \r\n`- (int) userUpdate:(NSString *) name withDate:(NSDate *) date;`\r\n\r\n@Sergio-Mira / @dominicmarmionswrve  / @seaders ","created_at":"2016-11-02T13:54:53Z","updated_at":"2016-11-03T18:07:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9f593e1018cd21e4ec98b17993902be638e0a13","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/pulls/201/commits","review_comments_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/pulls/201/comments","review_comment_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/issues/201/comments","statuses_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/statuses/5469cb277db3974f8f5cf5eda29fcc582d6426fd","head":{"label":"Swrve:14539-ios-type-based-api-date","ref":"14539-ios-type-based-api-date","sha":"5469cb277db3974f8f5cf5eda29fcc582d6426fd","user":{"login":"Swrve","id":445249,"avatar_url":"https://avatars.githubusercontent.com/u/445249?v=3","gravatar_id":"","url":"https://api.github.com/users/Swrve","html_url":"https://github.com/Swrve","followers_url":"https://api.github.com/users/Swrve/followers","following_url":"https://api.github.com/users/Swrve/following{/other_user}","gists_url":"https://api.github.com/users/Swrve/gists{/gist_id}","starred_url":"https://api.github.com/users/Swrve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swrve/subscriptions","organizations_url":"https://api.github.com/users/Swrve/orgs","repos_url":"https://api.github.com/users/Swrve/repos","events_url":"https://api.github.com/users/Swrve/events{/privacy}","received_events_url":"https://api.github.com/users/Swrve/received_events","type":"Organization","site_admin":false},"repo":{"id":23786728,"name":"swrve-ios-sdk","full_name":"Swrve/swrve-ios-sdk","owner":{"login":"Swrve","id":445249,"avatar_url":"https://avatars.githubusercontent.com/u/445249?v=3","gravatar_id":"","url":"https://api.github.com/users/Swrve","html_url":"https://github.com/Swrve","followers_url":"https://api.github.com/users/Swrve/followers","following_url":"https://api.github.com/users/Swrve/following{/other_user}","gists_url":"https://api.github.com/users/Swrve/gists{/gist_id}","starred_url":"https://api.github.com/users/Swrve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swrve/subscriptions","organizations_url":"https://api.github.com/users/Swrve/orgs","repos_url":"https://api.github.com/users/Swrve/repos","events_url":"https://api.github.com/users/Swrve/events{/privacy}","received_events_url":"https://api.github.com/users/Swrve/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Swrve/swrve-ios-sdk","description":"Swrve iOS SDK","fork":false,"url":"https://api.github.com/repos/Swrve/swrve-ios-sdk","forks_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/forks","keys_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/teams","hooks_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/hooks","issue_events_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/events","assignees_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/tags","blobs_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/languages","stargazers_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/stargazers","contributors_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/contributors","subscribers_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/subscribers","subscription_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/subscription","commits_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/merges","archive_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/downloads","issues_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/labels{/name}","releases_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/deployments","created_at":"2014-09-08T10:24:36Z","updated_at":"2016-08-11T14:40:42Z","pushed_at":"2016-11-03T16:48:24Z","git_url":"git://github.com/Swrve/swrve-ios-sdk.git","ssh_url":"git@github.com:Swrve/swrve-ios-sdk.git","clone_url":"https://github.com/Swrve/swrve-ios-sdk.git","svn_url":"https://github.com/Swrve/swrve-ios-sdk","homepage":"http://www.swrve.com","size":8070,"stargazers_count":8,"watchers_count":8,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":11,"forks":17,"open_issues":11,"watchers":8,"default_branch":"release-4_6_2"}},"base":{"label":"Swrve:14498-type-based-api-date","ref":"14498-type-based-api-date","sha":"2678ecd9e0a986423e530b1d4df72f5f80da25fd","user":{"login":"Swrve","id":445249,"avatar_url":"https://avatars.githubusercontent.com/u/445249?v=3","gravatar_id":"","url":"https://api.github.com/users/Swrve","html_url":"https://github.com/Swrve","followers_url":"https://api.github.com/users/Swrve/followers","following_url":"https://api.github.com/users/Swrve/following{/other_user}","gists_url":"https://api.github.com/users/Swrve/gists{/gist_id}","starred_url":"https://api.github.com/users/Swrve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swrve/subscriptions","organizations_url":"https://api.github.com/users/Swrve/orgs","repos_url":"https://api.github.com/users/Swrve/repos","events_url":"https://api.github.com/users/Swrve/events{/privacy}","received_events_url":"https://api.github.com/users/Swrve/received_events","type":"Organization","site_admin":false},"repo":{"id":23786728,"name":"swrve-ios-sdk","full_name":"Swrve/swrve-ios-sdk","owner":{"login":"Swrve","id":445249,"avatar_url":"https://avatars.githubusercontent.com/u/445249?v=3","gravatar_id":"","url":"https://api.github.com/users/Swrve","html_url":"https://github.com/Swrve","followers_url":"https://api.github.com/users/Swrve/followers","following_url":"https://api.github.com/users/Swrve/following{/other_user}","gists_url":"https://api.github.com/users/Swrve/gists{/gist_id}","starred_url":"https://api.github.com/users/Swrve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swrve/subscriptions","organizations_url":"https://api.github.com/users/Swrve/orgs","repos_url":"https://api.github.com/users/Swrve/repos","events_url":"https://api.github.com/users/Swrve/events{/privacy}","received_events_url":"https://api.github.com/users/Swrve/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Swrve/swrve-ios-sdk","description":"Swrve iOS SDK","fork":false,"url":"https://api.github.com/repos/Swrve/swrve-ios-sdk","forks_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/forks","keys_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/teams","hooks_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/hooks","issue_events_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/events","assignees_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/tags","blobs_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/languages","stargazers_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/stargazers","contributors_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/contributors","subscribers_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/subscribers","subscription_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/subscription","commits_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/merges","archive_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/downloads","issues_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/labels{/name}","releases_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/Swrve/swrve-ios-sdk/deployments","created_at":"2014-09-08T10:24:36Z","updated_at":"2016-08-11T14:40:42Z","pushed_at":"2016-11-03T16:48:24Z","git_url":"git://github.com/Swrve/swrve-ios-sdk.git","ssh_url":"git@github.com:Swrve/swrve-ios-sdk.git","clone_url":"https://github.com/Swrve/swrve-ios-sdk.git","svn_url":"https://github.com/Swrve/swrve-ios-sdk","homepage":"http://www.swrve.com","size":8070,"stargazers_count":8,"watchers_count":8,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":11,"forks":17,"open_issues":11,"watchers":8,"default_branch":"release-4_6_2"}},"_links":{"self":{"href":"https://api.github.com/repos/Swrve/swrve-ios-sdk/pulls/201"},"html":{"href":"https://github.com/Swrve/swrve-ios-sdk/pull/201"},"issue":{"href":"https://api.github.com/repos/Swrve/swrve-ios-sdk/issues/201"},"comments":{"href":"https://api.github.com/repos/Swrve/swrve-ios-sdk/issues/201/comments"},"review_comments":{"href":"https://api.github.com/repos/Swrve/swrve-ios-sdk/pulls/201/comments"},"review_comment":{"href":"https://api.github.com/repos/Swrve/swrve-ios-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Swrve/swrve-ios-sdk/pulls/201/commits"},"statuses":{"href":"https://api.github.com/repos/Swrve/swrve-ios-sdk/statuses/5469cb277db3974f8f5cf5eda29fcc582d6426fd"}}}}
{"actor":{"display_login":"dominicmarmionswrve"}}