{"action":"created","issue":{"url":"https://api.github.com/repos/ZhipingYang/UUChatTableView/issues/61","repository_url":"https://api.github.com/repos/ZhipingYang/UUChatTableView","labels_url":"https://api.github.com/repos/ZhipingYang/UUChatTableView/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/ZhipingYang/UUChatTableView/issues/61/comments","events_url":"https://api.github.com/repos/ZhipingYang/UUChatTableView/issues/61/events","html_url":"https://github.com/ZhipingYang/UUChatTableView/issues/61","id":177783759,"number":61,"title":"新的方案","user":{"login":"mgoofyy","id":14250683,"avatar_url":"https://avatars.githubusercontent.com/u/14250683?v=3","gravatar_id":"","url":"https://api.github.com/users/mgoofyy","html_url":"https://github.com/mgoofyy","followers_url":"https://api.github.com/users/mgoofyy/followers","following_url":"https://api.github.com/users/mgoofyy/following{/other_user}","gists_url":"https://api.github.com/users/mgoofyy/gists{/gist_id}","starred_url":"https://api.github.com/users/mgoofyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgoofyy/subscriptions","organizations_url":"https://api.github.com/users/mgoofyy/orgs","repos_url":"https://api.github.com/users/mgoofyy/repos","events_url":"https://api.github.com/users/mgoofyy/events{/privacy}","received_events_url":"https://api.github.com/users/mgoofyy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-19T13:25:24Z","updated_at":"2016-09-20T11:33:38Z","closed_at":null,"body":"其实有个新的方案来做聊天列表的，我看gitHub主把系统时间消息和文本消息等一起做到一个cell里面去了，其实以后的代码耦合度是很高的，一旦新的功能拓展，例如需要添加类似qq的警告信息(\"陌生好友添加请注意安全\")这些消息，可能又要放到一个cell去做，久而久之，cell的文件的代码量可想而知，\r\n\r\n班门弄斧一下，其实github主可以选择把cell抽离出来写，例如Message消息一个cell，系统提示消息一个cell，and其他的cell。每个cell对应着不同的model。这样就会清晰很多了。处理的时候。model传给cell。由cell来处理不同的数据源"},"comment":{"url":"https://api.github.com/repos/ZhipingYang/UUChatTableView/issues/comments/248275942","html_url":"https://github.com/ZhipingYang/UUChatTableView/issues/61#issuecomment-248275942","issue_url":"https://api.github.com/repos/ZhipingYang/UUChatTableView/issues/61","id":248275942,"user":{"login":"ZhipingYang","id":9360037,"avatar_url":"https://avatars.githubusercontent.com/u/9360037?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhipingYang","html_url":"https://github.com/ZhipingYang","followers_url":"https://api.github.com/users/ZhipingYang/followers","following_url":"https://api.github.com/users/ZhipingYang/following{/other_user}","gists_url":"https://api.github.com/users/ZhipingYang/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhipingYang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhipingYang/subscriptions","organizations_url":"https://api.github.com/users/ZhipingYang/orgs","repos_url":"https://api.github.com/users/ZhipingYang/repos","events_url":"https://api.github.com/users/ZhipingYang/events{/privacy}","received_events_url":"https://api.github.com/users/ZhipingYang/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T11:33:37Z","updated_at":"2016-09-20T11:33:37Z","body":"你说的是，这个其实是很简易的IM；确实是很有必要添加系统消息的cell；有一点我不大明白，你是想把时间剥离出来做个cell还是？"}}
{"actor":{"display_login":"ZhipingYang"}}