{"action":"created","issue":{"url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/311","labels_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/311/comments","events_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/311/events","html_url":"https://github.com/slackhq/SlackTextViewController/issues/311","id":118768834,"number":311,"title":"Inverted issue","user":{"login":"markst","id":274318,"avatar_url":"https://avatars.githubusercontent.com/u/274318?v=3","gravatar_id":"","url":"https://api.github.com/users/markst","html_url":"https://github.com/markst","followers_url":"https://api.github.com/users/markst/followers","following_url":"https://api.github.com/users/markst/following{/other_user}","gists_url":"https://api.github.com/users/markst/gists{/gist_id}","starred_url":"https://api.github.com/users/markst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markst/subscriptions","organizations_url":"https://api.github.com/users/markst/orgs","repos_url":"https://api.github.com/users/markst/repos","events_url":"https://api.github.com/users/markst/events{/privacy}","received_events_url":"https://api.github.com/users/markst/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/slackhq/SlackTextViewController/labels/can't%20repro","name":"can't repro","color":"fbca04"},{"url":"https://api.github.com/repos/slackhq/SlackTextViewController/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-25T06:14:55Z","updated_at":"2015-11-25T06:34:10Z","closed_at":null,"body":"On first appear, all my cells are the wrong way around. If I scroll them out of view & back into view they are fine...\r\n\r\n![simulator screen shot 25 nov 2015 17 13 03](https://cloud.githubusercontent.com/assets/274318/11389776/d85e4e04-9397-11e5-9a82-0884d801412a.png)\r\n\r\nI'm setting the transform on `willDisplayCell:` as well as trying it on `cellForRowAtIndexPath:`. \r\n\r\n```objc\r\n- (void)tableView:(UITableView *)tableView willDisplayCell:(nonnull UITableViewCell *)cell forRowAtIndexPath:(nonnull NSIndexPath *)indexPath\r\n{\r\n    // Cells must inherit the table view's transform\r\n    // This is very important, since the main table view may be inverted\r\n    cell.transform = inverted ? CGAffineTransformMake(1, 0, 0, -1, 0, 0) : CGAffineTransformIdentity;\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/comments/159510575","html_url":"https://github.com/slackhq/SlackTextViewController/issues/311#issuecomment-159510575","issue_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/311","id":159510575,"user":{"login":"markst","id":274318,"avatar_url":"https://avatars.githubusercontent.com/u/274318?v=3","gravatar_id":"","url":"https://api.github.com/users/markst","html_url":"https://github.com/markst","followers_url":"https://api.github.com/users/markst/followers","following_url":"https://api.github.com/users/markst/following{/other_user}","gists_url":"https://api.github.com/users/markst/gists{/gist_id}","starred_url":"https://api.github.com/users/markst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markst/subscriptions","organizations_url":"https://api.github.com/users/markst/orgs","repos_url":"https://api.github.com/users/markst/repos","events_url":"https://api.github.com/users/markst/events{/privacy}","received_events_url":"https://api.github.com/users/markst/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T06:34:10Z","updated_at":"2015-11-25T06:34:10Z","body":"```objc\r\n- (void)viewWillAppear:(BOOL)animated\r\n{\r\n    [super viewWillAppear:animated];\r\n\r\n    [self.commentsTableViewManager.collectionManager reload];\r\n}\r\n\r\n- (void)viewDidAppear:(BOOL)animated\r\n{\r\n    [super viewDidAppear:animated];\r\n    \r\n    [self.tableView reloadData];\r\n}\r\n```"}}