{"action":"opened","issue":{"url":"https://api.github.com/repos/binhvl/surveys-project/issues/5","repository_url":"https://api.github.com/repos/binhvl/surveys-project","labels_url":"https://api.github.com/repos/binhvl/surveys-project/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/binhvl/surveys-project/issues/5/comments","events_url":"https://api.github.com/repos/binhvl/surveys-project/issues/5/events","html_url":"https://github.com/binhvl/surveys-project/issues/5","id":185270673,"number":5,"title":"Why loading data from an Util class?","user":{"login":"olivierobert","id":696529,"avatar_url":"https://avatars.githubusercontent.com/u/696529?v=3","gravatar_id":"","url":"https://api.github.com/users/olivierobert","html_url":"https://github.com/olivierobert","followers_url":"https://api.github.com/users/olivierobert/followers","following_url":"https://api.github.com/users/olivierobert/following{/other_user}","gists_url":"https://api.github.com/users/olivierobert/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierobert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierobert/subscriptions","organizations_url":"https://api.github.com/users/olivierobert/orgs","repos_url":"https://api.github.com/users/olivierobert/repos","events_url":"https://api.github.com/users/olivierobert/events{/privacy}","received_events_url":"https://api.github.com/users/olivierobert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-26T00:52:57Z","updated_at":"2016-10-26T00:52:57Z","closed_at":null,"body":"First, the API requests are managed in singleton classes which is good 👍 But I do not see the advantage of having an Util class to call the Manager class.\r\n\r\nin `AppDelegate`:\r\n```\r\n[RequestDataUtils loadDataFromAPI];\r\n``` \r\n\r\nWhy not calling directly:\r\n```\r\n[[SAUserService sharedInstance] getSurveysFromAPI]\r\n```\r\n\r\nI understand there is some logic to cache data and binding to notification center but it's strange to manage this as a Util class. I'd rather expend the manager class to cater to these needs."}}
{"actor":{"display_login":"olivierobert"}}