{"action":"opened","issue":{"url":"https://api.github.com/repos/xhzengAIB/MessageDisplayKit/issues/235","labels_url":"https://api.github.com/repos/xhzengAIB/MessageDisplayKit/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/xhzengAIB/MessageDisplayKit/issues/235/comments","events_url":"https://api.github.com/repos/xhzengAIB/MessageDisplayKit/issues/235/events","html_url":"https://github.com/xhzengAIB/MessageDisplayKit/issues/235","id":89015981,"number":235,"title":"layoutOtherMenuViewHiden方法bug？","user":{"login":"haifenghuang","id":4425219,"avatar_url":"https://avatars.githubusercontent.com/u/4425219?v=3","gravatar_id":"","url":"https://api.github.com/users/haifenghuang","html_url":"https://github.com/haifenghuang","followers_url":"https://api.github.com/users/haifenghuang/followers","following_url":"https://api.github.com/users/haifenghuang/following{/other_user}","gists_url":"https://api.github.com/users/haifenghuang/gists{/gist_id}","starred_url":"https://api.github.com/users/haifenghuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haifenghuang/subscriptions","organizations_url":"https://api.github.com/users/haifenghuang/orgs","repos_url":"https://api.github.com/users/haifenghuang/repos","events_url":"https://api.github.com/users/haifenghuang/events{/privacy}","received_events_url":"https://api.github.com/users/haifenghuang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-17T13:25:47Z","updated_at":"2015-06-17T13:25:47Z","closed_at":null,"body":"`XHMessageTableViewController.m`文件中，layoutOtherMenuViewHiden方法中有下面这段语句：  \r\n\r\n```objc\r\n        __block CGRect otherMenuViewFrame;\r\n        \r\n        void (^InputViewAnimation)(BOOL hide) = ^(BOOL hide) {\r\n            inputViewFrame.origin.y = (hide ? (CGRectGetHeight(self.view.bounds) - CGRectGetHeight(inputViewFrame)) : (CGRectGetMinY(otherMenuViewFrame) - CGRectGetHeight(inputViewFrame)));\r\n            self.messageInputView.frame = inputViewFrame;\r\n```\r\n\r\n其中`(CGRectGetMinY(otherMenuViewFrame)`中的otherMenuViewFrame没有初始化，编译时报警告如下:\r\n`XHMessageTableViewController.m:886:120: Passed-by-value struct argument contains uninitialized data (e.g., via the field chain: 'origin.x')`  \r\n请帮忙解决一下？"}}