{"action":"created","issue":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1278","labels_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1278/labels{/name}","comments_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1278/comments","events_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1278/events","html_url":"https://github.com/jessesquires/JSQMessagesViewController/issues/1278","id":113173771,"number":1278,"title":"Warning: Conflicting return type in implementation of 'supportedInterfaceOrientations': 'NSUInteger' (aka 'unsigned int') vs 'UIInterfaceOrientationMask' (aka 'enum UIInterfaceOrientationMask') for the following","user":{"login":"nabil-takla","id":1653397,"avatar_url":"https://avatars.githubusercontent.com/u/1653397?v=3","gravatar_id":"","url":"https://api.github.com/users/nabil-takla","html_url":"https://github.com/nabil-takla","followers_url":"https://api.github.com/users/nabil-takla/followers","following_url":"https://api.github.com/users/nabil-takla/following{/other_user}","gists_url":"https://api.github.com/users/nabil-takla/gists{/gist_id}","starred_url":"https://api.github.com/users/nabil-takla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabil-takla/subscriptions","organizations_url":"https://api.github.com/users/nabil-takla/orgs","repos_url":"https://api.github.com/users/nabil-takla/repos","events_url":"https://api.github.com/users/nabil-takla/events{/privacy}","received_events_url":"https://api.github.com/users/nabil-takla/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/labels/questions%20&%20help","name":"questions & help","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-24T17:37:58Z","updated_at":"2015-10-29T05:34:13Z","closed_at":"2015-10-29T05:34:13Z","body":"I get the following warning when I compile JSQMessagesViewController.m:\r\n\r\nConflicting return type in implementation of 'supportedInterfaceOrientations': 'NSUInteger' (aka 'unsigned int') vs 'UIInterfaceOrientationMask' (aka 'enum UIInterfaceOrientationMask') for the following:\r\n\r\n- (UIInterfaceOrientationMask)supportedInterfaceOrientations\r\n{\r\n    if ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPhone) {\r\n        return UIInterfaceOrientationMaskAllButUpsideDown;\r\n    }\r\n    return UIInterfaceOrientationMaskAll;\r\n}\r\n\r\nI'd appreciate any help. Thanks!"},"comment":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/comments/152081248","html_url":"https://github.com/jessesquires/JSQMessagesViewController/issues/1278#issuecomment-152081248","issue_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1278","id":152081248,"user":{"login":"jessesquires","id":2301114,"avatar_url":"https://avatars.githubusercontent.com/u/2301114?v=3","gravatar_id":"","url":"https://api.github.com/users/jessesquires","html_url":"https://github.com/jessesquires","followers_url":"https://api.github.com/users/jessesquires/followers","following_url":"https://api.github.com/users/jessesquires/following{/other_user}","gists_url":"https://api.github.com/users/jessesquires/gists{/gist_id}","starred_url":"https://api.github.com/users/jessesquires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessesquires/subscriptions","organizations_url":"https://api.github.com/users/jessesquires/orgs","repos_url":"https://api.github.com/users/jessesquires/repos","events_url":"https://api.github.com/users/jessesquires/events{/privacy}","received_events_url":"https://api.github.com/users/jessesquires/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T05:34:13Z","updated_at":"2015-10-29T05:34:13Z","body":"Using Xcode 7 should not produce this warning.\r\n\r\nUnless, maybe, you compiling for iOS 7?"}}