{"action":"created","issue":{"url":"https://api.github.com/repos/cloverstudio/CSGrowingTextView/issues/12","labels_url":"https://api.github.com/repos/cloverstudio/CSGrowingTextView/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/cloverstudio/CSGrowingTextView/issues/12/comments","events_url":"https://api.github.com/repos/cloverstudio/CSGrowingTextView/issues/12/events","html_url":"https://github.com/cloverstudio/CSGrowingTextView/pull/12","id":109136530,"number":12,"title":"Fixed textViewHeight calculation for iOS 9","user":{"login":"jameshurst","id":8225950,"avatar_url":"https://avatars.githubusercontent.com/u/8225950?v=3","gravatar_id":"","url":"https://api.github.com/users/jameshurst","html_url":"https://github.com/jameshurst","followers_url":"https://api.github.com/users/jameshurst/followers","following_url":"https://api.github.com/users/jameshurst/following{/other_user}","gists_url":"https://api.github.com/users/jameshurst/gists{/gist_id}","starred_url":"https://api.github.com/users/jameshurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameshurst/subscriptions","organizations_url":"https://api.github.com/users/jameshurst/orgs","repos_url":"https://api.github.com/users/jameshurst/repos","events_url":"https://api.github.com/users/jameshurst/events{/privacy}","received_events_url":"https://api.github.com/users/jameshurst/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-30T17:01:44Z","updated_at":"2015-10-01T10:42:38Z","closed_at":"2015-10-01T10:42:36Z","pull_request":{"url":"https://api.github.com/repos/cloverstudio/CSGrowingTextView/pulls/12","html_url":"https://github.com/cloverstudio/CSGrowingTextView/pull/12","diff_url":"https://github.com/cloverstudio/CSGrowingTextView/pull/12.diff","patch_url":"https://github.com/cloverstudio/CSGrowingTextView/pull/12.patch"},"body":"It seems that on iOS 9 if you round to the nearest 0.5 it won't show the second line of text since it thinks the `UITextView` isn't tall enough. The solution is to just `ceil` the lineHeight before multiplying by the number of lines."},"comment":{"url":"https://api.github.com/repos/cloverstudio/CSGrowingTextView/issues/comments/144691046","html_url":"https://github.com/cloverstudio/CSGrowingTextView/pull/12#issuecomment-144691046","issue_url":"https://api.github.com/repos/cloverstudio/CSGrowingTextView/issues/12","id":144691046,"user":{"login":"josipbernat","id":2537227,"avatar_url":"https://avatars.githubusercontent.com/u/2537227?v=3","gravatar_id":"","url":"https://api.github.com/users/josipbernat","html_url":"https://github.com/josipbernat","followers_url":"https://api.github.com/users/josipbernat/followers","following_url":"https://api.github.com/users/josipbernat/following{/other_user}","gists_url":"https://api.github.com/users/josipbernat/gists{/gist_id}","starred_url":"https://api.github.com/users/josipbernat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josipbernat/subscriptions","organizations_url":"https://api.github.com/users/josipbernat/orgs","repos_url":"https://api.github.com/users/josipbernat/repos","events_url":"https://api.github.com/users/josipbernat/events{/privacy}","received_events_url":"https://api.github.com/users/josipbernat/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T10:42:38Z","updated_at":"2015-10-01T10:42:38Z","body":"Thanks!"}}