{"action":"created","issue":{"url":"https://api.github.com/repos/nst/STTwitter/issues/234","labels_url":"https://api.github.com/repos/nst/STTwitter/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/nst/STTwitter/issues/234/comments","events_url":"https://api.github.com/repos/nst/STTwitter/issues/234/events","html_url":"https://github.com/nst/STTwitter/issues/234","id":116999897,"number":234,"title":"Is `size` really kind of NSString class ? (postMediaUploadData)","user":{"login":"EZ-NET","id":2109837,"avatar_url":"https://avatars.githubusercontent.com/u/2109837?v=3","gravatar_id":"","url":"https://api.github.com/users/EZ-NET","html_url":"https://github.com/EZ-NET","followers_url":"https://api.github.com/users/EZ-NET/followers","following_url":"https://api.github.com/users/EZ-NET/following{/other_user}","gists_url":"https://api.github.com/users/EZ-NET/gists{/gist_id}","starred_url":"https://api.github.com/users/EZ-NET/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EZ-NET/subscriptions","organizations_url":"https://api.github.com/users/EZ-NET/orgs","repos_url":"https://api.github.com/users/EZ-NET/repos","events_url":"https://api.github.com/users/EZ-NET/events{/privacy}","received_events_url":"https://api.github.com/users/EZ-NET/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-15T15:57:31Z","updated_at":"2015-12-29T09:34:20Z","closed_at":null,"body":"Hello, when I call `postMediaUploadData:fileName:uploadProgressBlock:successBlock:errorBlock:` method from **Swift** code using with STTwitterOS authentication in OS X 10.11, I encountered the following error.\r\n\r\n> -[__NSCFNumber length]: unrecognized selector sent to instance 0x2b8037\r\n\r\nThis error raise when `successBlock` is called, and the instance 0x2b8037 is variable named `size`.\r\n\r\nhttps://github.com/nst/STTwitter/blob/daec90ae5788cb7e8079d82b472c989d82f5e8a3/STTwitter/STTwitterAPI.m#L4335\r\n\r\nI think the problem might be occurred when the `size` is trying to bridge from NSString (In fact, NSNumber) to Swift Native String."},"comment":{"url":"https://api.github.com/repos/nst/STTwitter/issues/comments/167756149","html_url":"https://github.com/nst/STTwitter/issues/234#issuecomment-167756149","issue_url":"https://api.github.com/repos/nst/STTwitter/issues/234","id":167756149,"user":{"login":"EZ-NET","id":2109837,"avatar_url":"https://avatars.githubusercontent.com/u/2109837?v=3","gravatar_id":"","url":"https://api.github.com/users/EZ-NET","html_url":"https://github.com/EZ-NET","followers_url":"https://api.github.com/users/EZ-NET/followers","following_url":"https://api.github.com/users/EZ-NET/following{/other_user}","gists_url":"https://api.github.com/users/EZ-NET/gists{/gist_id}","starred_url":"https://api.github.com/users/EZ-NET/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EZ-NET/subscriptions","organizations_url":"https://api.github.com/users/EZ-NET/orgs","repos_url":"https://api.github.com/users/EZ-NET/repos","events_url":"https://api.github.com/users/EZ-NET/events{/privacy}","received_events_url":"https://api.github.com/users/EZ-NET/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T09:34:20Z","updated_at":"2015-12-29T09:34:20Z","body":"I tried to modify source code to handle some numeric values in API Response as NSInteger type instead of NSString* type. Because I think that it is appropriate to treat each integer value as NSInteger rather than NSString.\r\n\r\nCommit: 39add4f"}}