{"action":"closed","issue":{"url":"https://api.github.com/repos/ibireme/YYKeyboardManager/issues/8","repository_url":"https://api.github.com/repos/ibireme/YYKeyboardManager","labels_url":"https://api.github.com/repos/ibireme/YYKeyboardManager/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/ibireme/YYKeyboardManager/issues/8/comments","events_url":"https://api.github.com/repos/ibireme/YYKeyboardManager/issues/8/events","html_url":"https://github.com/ibireme/YYKeyboardManager/issues/8","id":164808848,"number":8,"title":"对这个判断有点疑问","user":{"login":"ColinHwang","id":18043169,"avatar_url":"https://avatars.githubusercontent.com/u/18043169?v=3","gravatar_id":"","url":"https://api.github.com/users/ColinHwang","html_url":"https://github.com/ColinHwang","followers_url":"https://api.github.com/users/ColinHwang/followers","following_url":"https://api.github.com/users/ColinHwang/following{/other_user}","gists_url":"https://api.github.com/users/ColinHwang/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinHwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinHwang/subscriptions","organizations_url":"https://api.github.com/users/ColinHwang/orgs","repos_url":"https://api.github.com/users/ColinHwang/repos","events_url":"https://api.github.com/users/ColinHwang/events{/privacy}","received_events_url":"https://api.github.com/users/ColinHwang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-11T10:44:17Z","updated_at":"2016-07-12T03:20:32Z","closed_at":"2016-07-12T03:20:32Z","body":"你好，看源码时，对_getKeyboardViewFromWindow:方法的判断有点疑问：\r\n  ```\r\n// UITextEffectsWindow\r\nif (windowName.length != 19) return nil;\r\nif (![windowName hasPrefix:@\"UI\"]) return nil;\r\nif (![windowName hasSuffix:@\"TextEffectsWindow\"]) return nil;\r\n```\r\n为何不用：\r\n`if (![windowName isEqualToString:@\"UITextEffectsWindow\"]) return nil;`\r\n\r\n这两种判断有什么区别吗？"}}
{"actor":{"display_login":"ColinHwang"}}