{"action":"created","issue":{"url":"https://api.github.com/repos/forkingdog/UITableView-FDTemplateLayoutCell/issues/45","labels_url":"https://api.github.com/repos/forkingdog/UITableView-FDTemplateLayoutCell/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/forkingdog/UITableView-FDTemplateLayoutCell/issues/45/comments","events_url":"https://api.github.com/repos/forkingdog/UITableView-FDTemplateLayoutCell/issues/45/events","html_url":"https://github.com/forkingdog/UITableView-FDTemplateLayoutCell/issues/45","id":88620910,"number":45,"title":"ios8以上的系统cell.contentView.constraints 是个空数组","user":{"login":"zhaofucheng1129","id":5412198,"avatar_url":"https://avatars.githubusercontent.com/u/5412198?v=3","gravatar_id":"","url":"https://api.github.com/users/zhaofucheng1129","html_url":"https://github.com/zhaofucheng1129","followers_url":"https://api.github.com/users/zhaofucheng1129/followers","following_url":"https://api.github.com/users/zhaofucheng1129/following{/other_user}","gists_url":"https://api.github.com/users/zhaofucheng1129/gists{/gist_id}","starred_url":"https://api.github.com/users/zhaofucheng1129/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhaofucheng1129/subscriptions","organizations_url":"https://api.github.com/users/zhaofucheng1129/orgs","repos_url":"https://api.github.com/users/zhaofucheng1129/repos","events_url":"https://api.github.com/users/zhaofucheng1129/events{/privacy}","received_events_url":"https://api.github.com/users/zhaofucheng1129/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-16T05:15:32Z","updated_at":"2015-07-02T03:59:28Z","closed_at":null,"body":"使用Xib布局 registerNib:forCellReuseIdentifier:注册了Cell \r\n计算高度时 \r\nBOOL autoLayoutEnabled = cell.contentView.constraints.count > 0 && !cell.fd_enforceFrameLayout; \r\n这句中的cell.contentView.constraints 是个空数组 但是我用了AutoLayout了"},"comment":{"url":"https://api.github.com/repos/forkingdog/UITableView-FDTemplateLayoutCell/issues/comments/117898358","html_url":"https://github.com/forkingdog/UITableView-FDTemplateLayoutCell/issues/45#issuecomment-117898358","issue_url":"https://api.github.com/repos/forkingdog/UITableView-FDTemplateLayoutCell/issues/45","id":117898358,"user":{"login":"qchenqizhi","id":973316,"avatar_url":"https://avatars.githubusercontent.com/u/973316?v=3","gravatar_id":"","url":"https://api.github.com/users/qchenqizhi","html_url":"https://github.com/qchenqizhi","followers_url":"https://api.github.com/users/qchenqizhi/followers","following_url":"https://api.github.com/users/qchenqizhi/following{/other_user}","gists_url":"https://api.github.com/users/qchenqizhi/gists{/gist_id}","starred_url":"https://api.github.com/users/qchenqizhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qchenqizhi/subscriptions","organizations_url":"https://api.github.com/users/qchenqizhi/orgs","repos_url":"https://api.github.com/users/qchenqizhi/repos","events_url":"https://api.github.com/users/qchenqizhi/events{/privacy}","received_events_url":"https://api.github.com/users/qchenqizhi/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T03:59:28Z","updated_at":"2015-07-02T03:59:28Z","body":"都有代码了，直接改吧，现在这里是2选1，这个判断确实有点多余\r\n```objective-c\r\nBOOL autoLayoutEnabled = /*cell.contentView.constraints.count > 0 && */!cell.fd_enforceFrameLayout;\r\n```"}}