{"action":"created","issue":{"url":"https://api.github.com/repos/fancymax/AutoCompleteTextField/issues/1","repository_url":"https://api.github.com/repos/fancymax/AutoCompleteTextField","labels_url":"https://api.github.com/repos/fancymax/AutoCompleteTextField/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/fancymax/AutoCompleteTextField/issues/1/comments","events_url":"https://api.github.com/repos/fancymax/AutoCompleteTextField/issues/1/events","html_url":"https://github.com/fancymax/AutoCompleteTextField/issues/1","id":191163446,"number":1,"title":"NSTextView port throws error: invalid numeric value to CoreGraphics","user":{"login":"futurist","id":159167,"avatar_url":"https://avatars.githubusercontent.com/u/159167?v=3","gravatar_id":"","url":"https://api.github.com/users/futurist","html_url":"https://github.com/futurist","followers_url":"https://api.github.com/users/futurist/followers","following_url":"https://api.github.com/users/futurist/following{/other_user}","gists_url":"https://api.github.com/users/futurist/gists{/gist_id}","starred_url":"https://api.github.com/users/futurist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/futurist/subscriptions","organizations_url":"https://api.github.com/users/futurist/orgs","repos_url":"https://api.github.com/users/futurist/repos","events_url":"https://api.github.com/users/futurist/events{/privacy}","received_events_url":"https://api.github.com/users/futurist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-23T00:42:02Z","updated_at":"2016-11-26T01:06:30Z","closed_at":null,"body":"When port this lib into `NSTextView`, using Swift 3.0, as below:\r\n\r\nhttps://github.com/futurist/cutecmd-mac/blob/4486b868cf057713704566deb304a79609632d30/cutecmd-mac/AutoCompleteTextField.swift\r\n\r\nI have a bug reported as below:\r\n\r\n> Nov 23 08:22:25  cutecmd-mac[6516] <Error>: Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored.Please fix this problem.\r\n\r\nThis happens when the `self.getCompletionArray` returned a complete different array as before.\r\n\r\nI've googled and told that it's due to `NSPopover`, but I'm not sure.\r\n\r\nTo reproduce it, download and run the repo, input \r\n\r\n**s** (will popup Safari etc.)\r\n**Backspace** (clear the input)\r\n**q** (this will throw above error)\r\n\r\n**Xcode 8, macOS  10.11.6**\r\n\r\nWhat's going on? help needed for the port into **NSTextView**\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fancymax/AutoCompleteTextField/issues/comments/263036741","html_url":"https://github.com/fancymax/AutoCompleteTextField/issues/1#issuecomment-263036741","issue_url":"https://api.github.com/repos/fancymax/AutoCompleteTextField/issues/1","id":263036741,"user":{"login":"futurist","id":159167,"avatar_url":"https://avatars.githubusercontent.com/u/159167?v=3","gravatar_id":"","url":"https://api.github.com/users/futurist","html_url":"https://github.com/futurist","followers_url":"https://api.github.com/users/futurist/followers","following_url":"https://api.github.com/users/futurist/following{/other_user}","gists_url":"https://api.github.com/users/futurist/gists{/gist_id}","starred_url":"https://api.github.com/users/futurist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/futurist/subscriptions","organizations_url":"https://api.github.com/users/futurist/orgs","repos_url":"https://api.github.com/users/futurist/repos","events_url":"https://api.github.com/users/futurist/events{/privacy}","received_events_url":"https://api.github.com/users/futurist/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T01:06:30Z","updated_at":"2016-11-26T01:06:30Z","body":"The [Swift 3.0 update](https://github.com/fancymax/AutoCompleteTextField/commit/bd2f691e39a2cbf4244f10bcc732684344bfced2) also have this problem in my mac:\r\n\r\n![2016-11-26 8 55 34](https://cloud.githubusercontent.com/assets/159167/20637122/94c039c8-b3b7-11e6-834b-be3d7065a656.png)\r\n"}}
{"actor":{"display_login":"futurist"}}