{"action":"created","issue":{"url":"https://api.github.com/repos/rambler-ios/The-Book-of-VIPER/issues/21","repository_url":"https://api.github.com/repos/rambler-ios/The-Book-of-VIPER","labels_url":"https://api.github.com/repos/rambler-ios/The-Book-of-VIPER/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/rambler-ios/The-Book-of-VIPER/issues/21/comments","events_url":"https://api.github.com/repos/rambler-ios/The-Book-of-VIPER/issues/21/events","html_url":"https://github.com/rambler-ios/The-Book-of-VIPER/issues/21","id":135739277,"number":21,"title":"Add info about connecting modules from objc to swift","user":{"login":"iSevenDays","id":3992716,"avatar_url":"https://avatars.githubusercontent.com/u/3992716?v=3","gravatar_id":"","url":"https://api.github.com/users/iSevenDays","html_url":"https://github.com/iSevenDays","followers_url":"https://api.github.com/users/iSevenDays/followers","following_url":"https://api.github.com/users/iSevenDays/following{/other_user}","gists_url":"https://api.github.com/users/iSevenDays/gists{/gist_id}","starred_url":"https://api.github.com/users/iSevenDays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iSevenDays/subscriptions","organizations_url":"https://api.github.com/users/iSevenDays/orgs","repos_url":"https://api.github.com/users/iSevenDays/repos","events_url":"https://api.github.com/users/iSevenDays/events{/privacy}","received_events_url":"https://api.github.com/users/iSevenDays/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rambler-ios/The-Book-of-VIPER/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-23T13:36:48Z","updated_at":"2016-02-23T16:19:33Z","closed_at":null,"body":"For example we have ImageGalleryStory as a name of our module.\r\n\r\nThen\r\n\r\nImageGalleryStoryViewController.swift\r\n\r\n```\r\nclass ImageGalleryStoryViewController : UIViewController, ImageGalleryStoryViewInput\r\n\r\nvar output: ImageGalleryStoryViewOutput!\r\n```\r\n\r\nmust be\r\n\r\n`@objc var output: ImageGalleryStoryViewOutput!\r\n` \r\n\r\nand\r\n\r\n`protocol ImageGalleryStoryViewOutput`\r\n\r\nmust be \r\n\r\n`@objc protocol ImageGalleryStoryViewOutput`\r\n\r\nOr else -moduleInput is not callable from objective c."},"comment":{"url":"https://api.github.com/repos/rambler-ios/The-Book-of-VIPER/issues/comments/187770212","html_url":"https://github.com/rambler-ios/The-Book-of-VIPER/issues/21#issuecomment-187770212","issue_url":"https://api.github.com/repos/rambler-ios/The-Book-of-VIPER/issues/21","id":187770212,"user":{"login":"iSevenDays","id":3992716,"avatar_url":"https://avatars.githubusercontent.com/u/3992716?v=3","gravatar_id":"","url":"https://api.github.com/users/iSevenDays","html_url":"https://github.com/iSevenDays","followers_url":"https://api.github.com/users/iSevenDays/followers","following_url":"https://api.github.com/users/iSevenDays/following{/other_user}","gists_url":"https://api.github.com/users/iSevenDays/gists{/gist_id}","starred_url":"https://api.github.com/users/iSevenDays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iSevenDays/subscriptions","organizations_url":"https://api.github.com/users/iSevenDays/orgs","repos_url":"https://api.github.com/users/iSevenDays/repos","events_url":"https://api.github.com/users/iSevenDays/events{/privacy}","received_events_url":"https://api.github.com/users/iSevenDays/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T16:19:33Z","updated_at":"2016-02-23T16:19:33Z","body":"Thanks!"}}