{"action":"closed","issue":{"url":"https://api.github.com/repos/castial/HYAlertController/issues/3","repository_url":"https://api.github.com/repos/castial/HYAlertController","labels_url":"https://api.github.com/repos/castial/HYAlertController/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/castial/HYAlertController/issues/3/comments","events_url":"https://api.github.com/repos/castial/HYAlertController/issues/3/events","html_url":"https://github.com/castial/HYAlertController/issues/3","id":195709992,"number":3,"title":"旋转屏幕的时候， 遮罩视图只遮住了一般。","user":{"login":"laughingg","id":11444704,"avatar_url":"https://avatars.githubusercontent.com/u/11444704?v=3","gravatar_id":"","url":"https://api.github.com/users/laughingg","html_url":"https://github.com/laughingg","followers_url":"https://api.github.com/users/laughingg/followers","following_url":"https://api.github.com/users/laughingg/following{/other_user}","gists_url":"https://api.github.com/users/laughingg/gists{/gist_id}","starred_url":"https://api.github.com/users/laughingg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laughingg/subscriptions","organizations_url":"https://api.github.com/users/laughingg/orgs","repos_url":"https://api.github.com/users/laughingg/repos","events_url":"https://api.github.com/users/laughingg/events{/privacy}","received_events_url":"https://api.github.com/users/laughingg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-15T03:42:42Z","updated_at":"2016-12-31T10:58:35Z","closed_at":"2016-12-31T10:58:35Z","body":"1. \r\n![snip20161215_23](https://cloud.githubusercontent.com/assets/11444704/21211080/72a6d442-c2bb-11e6-844c-16e401cbc7ea.png)\r\n\r\n2. 使用了三个 tableview .   可以考虑一下是否方案太臃肿。 可以考虑 UIStackView \r\n3. 三个弹出视图可以抽取一个父类出来。 这样可以省去很多代码\r\n4. HY_Constants 没有必要继承自 UIView . HY_Constants 没有用到 UIView 的任何东西。 单纯是一个工具类，不考虑继承可以使用结构体。\r\n5. 内部布局用到了 SnapKit lib .  从你布局代码的书写来看。 你可以自己以系统 autolayout  为基础写几个加约束的工具方法。（不是特别依赖其他第三方库，不建议在自己的第三方库中使用第三方库）\r\n   只有  HYAlertCell 和  HYShareCollectionCell 中的少量布局代码使用了 SnapKit"}}
{"actor":{"display_login":"castial"}}