{"action":"closed","issue":{"url":"https://api.github.com/repos/EasySwift/EasyEmoji/issues/1","repository_url":"https://api.github.com/repos/EasySwift/EasyEmoji","labels_url":"https://api.github.com/repos/EasySwift/EasyEmoji/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/EasySwift/EasyEmoji/issues/1/comments","events_url":"https://api.github.com/repos/EasySwift/EasyEmoji/issues/1/events","html_url":"https://github.com/EasySwift/EasyEmoji/issues/1","id":176188507,"number":1,"title":"更快速的匹配结构","user":{"login":"R0uter","id":12182983,"avatar_url":"https://avatars.githubusercontent.com/u/12182983?v=3","gravatar_id":"","url":"https://api.github.com/users/R0uter","html_url":"https://github.com/R0uter","followers_url":"https://api.github.com/users/R0uter/followers","following_url":"https://api.github.com/users/R0uter/following{/other_user}","gists_url":"https://api.github.com/users/R0uter/gists{/gist_id}","starred_url":"https://api.github.com/users/R0uter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/R0uter/subscriptions","organizations_url":"https://api.github.com/users/R0uter/orgs","repos_url":"https://api.github.com/users/R0uter/repos","events_url":"https://api.github.com/users/R0uter/events{/privacy}","received_events_url":"https://api.github.com/users/R0uter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-10T16:34:52Z","updated_at":"2016-09-22T17:28:28Z","closed_at":"2016-09-22T17:28:28Z","body":"你这个简单粗暴的方案很有意思也很实用！\r\n\r\n这里有一个更快速的匹配方案：\r\n\r\n```\r\nfunc isEmoji(str:String) ->Bool {\r\n        let charset = NSCharacterSet(charactersInString: str)\r\n        if emojiSet.rangeOfCharacterFromSet(charset) != nil {\r\n            return true\r\n        }\r\n        return false\r\n    }\r\n```"}}
{"actor":{"display_login":"stubbornnessness"}}