{"action":"created","comment":{"url":"https://api.github.com/repos/box/box-ios-sdk/pulls/comments/49522218","id":49522218,"diff_hunk":"@@ -159,6 +159,20 @@ - (void)performRequestWithCompletion:(BOXItemArrayCompletionBlock)completionBloc\n     }\n }\n \n+- (void)performRequestWithCached:(BOXItemArrayCompletionBlock)cacheBlock\n+                       refreshed:(BOXItemArrayCompletionBlock)refreshBlock\n+{\n+    if (cacheBlock) {\n+        if ([self.cacheClient respondsToSelector:@selector(retrieveCacheForFolderRequest:completion:)]) {","path":"BoxContentSDK/BoxContentSDK/Requests/BOXSearchRequest.m","position":8,"original_position":8,"commit_id":"ca5ad33b2f3368f433d5a5fc836bd2e9d200f26c","original_commit_id":"ca5ad33b2f3368f433d5a5fc836bd2e9d200f26c","user":{"login":"RicoYao","id":940711,"avatar_url":"https://avatars.githubusercontent.com/u/940711?v=3","gravatar_id":"","url":"https://api.github.com/users/RicoYao","html_url":"https://github.com/RicoYao","followers_url":"https://api.github.com/users/RicoYao/followers","following_url":"https://api.github.com/users/RicoYao/following{/other_user}","gists_url":"https://api.github.com/users/RicoYao/gists{/gist_id}","starred_url":"https://api.github.com/users/RicoYao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RicoYao/subscriptions","organizations_url":"https://api.github.com/users/RicoYao/orgs","repos_url":"https://api.github.com/users/RicoYao/repos","events_url":"https://api.github.com/users/RicoYao/events{/privacy}","received_events_url":"https://api.github.com/users/RicoYao/received_events","type":"User","site_admin":false},"body":"@selector(retrieveCacheForSearchRequest)","created_at":"2016-01-12T22:12:31Z","updated_at":"2016-01-12T22:12:31Z","html_url":"https://github.com/box/box-ios-sdk/pull/163#discussion_r49522218","pull_request_url":"https://api.github.com/repos/box/box-ios-sdk/pulls/163","_links":{"self":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/comments/49522218"},"html":{"href":"https://github.com/box/box-ios-sdk/pull/163#discussion_r49522218"},"pull_request":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/163"}}},"pull_request":{"url":"https://api.github.com/repos/box/box-ios-sdk/pulls/163","id":55825107,"html_url":"https://github.com/box/box-ios-sdk/pull/163","diff_url":"https://github.com/box/box-ios-sdk/pull/163.diff","patch_url":"https://github.com/box/box-ios-sdk/pull/163.patch","issue_url":"https://api.github.com/repos/box/box-ios-sdk/issues/163","number":163,"state":"open","locked":false,"title":"IOS-10122 - ensure search works in offline mode","user":{"login":"adempsey","id":3188130,"avatar_url":"https://avatars.githubusercontent.com/u/3188130?v=3","gravatar_id":"","url":"https://api.github.com/users/adempsey","html_url":"https://github.com/adempsey","followers_url":"https://api.github.com/users/adempsey/followers","following_url":"https://api.github.com/users/adempsey/following{/other_user}","gists_url":"https://api.github.com/users/adempsey/gists{/gist_id}","starred_url":"https://api.github.com/users/adempsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adempsey/subscriptions","organizations_url":"https://api.github.com/users/adempsey/orgs","repos_url":"https://api.github.com/users/adempsey/repos","events_url":"https://api.github.com/users/adempsey/events{/privacy}","received_events_url":"https://api.github.com/users/adempsey/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-12T22:11:26Z","updated_at":"2016-01-12T22:12:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa1071a2ef7449c9d4be6935d0eacd581c79d56c","assignee":{"login":"thuyBox","id":10490103,"avatar_url":"https://avatars.githubusercontent.com/u/10490103?v=3","gravatar_id":"","url":"https://api.github.com/users/thuyBox","html_url":"https://github.com/thuyBox","followers_url":"https://api.github.com/users/thuyBox/followers","following_url":"https://api.github.com/users/thuyBox/following{/other_user}","gists_url":"https://api.github.com/users/thuyBox/gists{/gist_id}","starred_url":"https://api.github.com/users/thuyBox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thuyBox/subscriptions","organizations_url":"https://api.github.com/users/thuyBox/orgs","repos_url":"https://api.github.com/users/thuyBox/repos","events_url":"https://api.github.com/users/thuyBox/events{/privacy}","received_events_url":"https://api.github.com/users/thuyBox/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/box/box-ios-sdk/pulls/163/commits","review_comments_url":"https://api.github.com/repos/box/box-ios-sdk/pulls/163/comments","review_comment_url":"https://api.github.com/repos/box/box-ios-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/box/box-ios-sdk/issues/163/comments","statuses_url":"https://api.github.com/repos/box/box-ios-sdk/statuses/ca5ad33b2f3368f433d5a5fc836bd2e9d200f26c","head":{"label":"box:searchoffline","ref":"searchoffline","sha":"ca5ad33b2f3368f433d5a5fc836bd2e9d200f26c","user":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"repo":{"id":33955225,"name":"box-ios-sdk","full_name":"box/box-ios-sdk","owner":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/box/box-ios-sdk","description":"iOS SDK for the Box Content API","fork":false,"url":"https://api.github.com/repos/box/box-ios-sdk","forks_url":"https://api.github.com/repos/box/box-ios-sdk/forks","keys_url":"https://api.github.com/repos/box/box-ios-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/box/box-ios-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/box/box-ios-sdk/teams","hooks_url":"https://api.github.com/repos/box/box-ios-sdk/hooks","issue_events_url":"https://api.github.com/repos/box/box-ios-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/box/box-ios-sdk/events","assignees_url":"https://api.github.com/repos/box/box-ios-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/box/box-ios-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/box/box-ios-sdk/tags","blobs_url":"https://api.github.com/repos/box/box-ios-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/box/box-ios-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/box/box-ios-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/box/box-ios-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/box/box-ios-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/box/box-ios-sdk/languages","stargazers_url":"https://api.github.com/repos/box/box-ios-sdk/stargazers","contributors_url":"https://api.github.com/repos/box/box-ios-sdk/contributors","subscribers_url":"https://api.github.com/repos/box/box-ios-sdk/subscribers","subscription_url":"https://api.github.com/repos/box/box-ios-sdk/subscription","commits_url":"https://api.github.com/repos/box/box-ios-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/box/box-ios-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/box/box-ios-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/box/box-ios-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/box/box-ios-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/box/box-ios-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/box/box-ios-sdk/merges","archive_url":"https://api.github.com/repos/box/box-ios-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/box/box-ios-sdk/downloads","issues_url":"https://api.github.com/repos/box/box-ios-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/box/box-ios-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/box/box-ios-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/box/box-ios-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/box/box-ios-sdk/labels{/name}","releases_url":"https://api.github.com/repos/box/box-ios-sdk/releases{/id}","created_at":"2015-04-14T20:26:08Z","updated_at":"2016-01-12T19:40:37Z","pushed_at":"2016-01-12T22:11:26Z","git_url":"git://github.com/box/box-ios-sdk.git","ssh_url":"git@github.com:box/box-ios-sdk.git","clone_url":"https://github.com/box/box-ios-sdk.git","svn_url":"https://github.com/box/box-ios-sdk","homepage":"","size":1828,"stargazers_count":21,"watchers_count":21,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":4,"forks":16,"open_issues":4,"watchers":21,"default_branch":"master"}},"base":{"label":"box:master","ref":"master","sha":"d750f3a1931cf0e8ecc2e6b5f9dadda37444c0b1","user":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"repo":{"id":33955225,"name":"box-ios-sdk","full_name":"box/box-ios-sdk","owner":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/box/box-ios-sdk","description":"iOS SDK for the Box Content API","fork":false,"url":"https://api.github.com/repos/box/box-ios-sdk","forks_url":"https://api.github.com/repos/box/box-ios-sdk/forks","keys_url":"https://api.github.com/repos/box/box-ios-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/box/box-ios-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/box/box-ios-sdk/teams","hooks_url":"https://api.github.com/repos/box/box-ios-sdk/hooks","issue_events_url":"https://api.github.com/repos/box/box-ios-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/box/box-ios-sdk/events","assignees_url":"https://api.github.com/repos/box/box-ios-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/box/box-ios-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/box/box-ios-sdk/tags","blobs_url":"https://api.github.com/repos/box/box-ios-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/box/box-ios-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/box/box-ios-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/box/box-ios-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/box/box-ios-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/box/box-ios-sdk/languages","stargazers_url":"https://api.github.com/repos/box/box-ios-sdk/stargazers","contributors_url":"https://api.github.com/repos/box/box-ios-sdk/contributors","subscribers_url":"https://api.github.com/repos/box/box-ios-sdk/subscribers","subscription_url":"https://api.github.com/repos/box/box-ios-sdk/subscription","commits_url":"https://api.github.com/repos/box/box-ios-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/box/box-ios-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/box/box-ios-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/box/box-ios-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/box/box-ios-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/box/box-ios-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/box/box-ios-sdk/merges","archive_url":"https://api.github.com/repos/box/box-ios-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/box/box-ios-sdk/downloads","issues_url":"https://api.github.com/repos/box/box-ios-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/box/box-ios-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/box/box-ios-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/box/box-ios-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/box/box-ios-sdk/labels{/name}","releases_url":"https://api.github.com/repos/box/box-ios-sdk/releases{/id}","created_at":"2015-04-14T20:26:08Z","updated_at":"2016-01-12T19:40:37Z","pushed_at":"2016-01-12T22:11:26Z","git_url":"git://github.com/box/box-ios-sdk.git","ssh_url":"git@github.com:box/box-ios-sdk.git","clone_url":"https://github.com/box/box-ios-sdk.git","svn_url":"https://github.com/box/box-ios-sdk","homepage":"","size":1828,"stargazers_count":21,"watchers_count":21,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":4,"forks":16,"open_issues":4,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/163"},"html":{"href":"https://github.com/box/box-ios-sdk/pull/163"},"issue":{"href":"https://api.github.com/repos/box/box-ios-sdk/issues/163"},"comments":{"href":"https://api.github.com/repos/box/box-ios-sdk/issues/163/comments"},"review_comments":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/163/comments"},"review_comment":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/163/commits"},"statuses":{"href":"https://api.github.com/repos/box/box-ios-sdk/statuses/ca5ad33b2f3368f433d5a5fc836bd2e9d200f26c"}}}}