{"action":"created","issue":{"url":"https://api.github.com/repos/pluralsight/PSOperations/issues/39","labels_url":"https://api.github.com/repos/pluralsight/PSOperations/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/pluralsight/PSOperations/issues/39/comments","events_url":"https://api.github.com/repos/pluralsight/PSOperations/issues/39/events","html_url":"https://github.com/pluralsight/PSOperations/issues/39","id":127207226,"number":39,"title":"Operation missing in generated -Swift.h file","user":{"login":"niklassaers","id":133607,"avatar_url":"https://avatars.githubusercontent.com/u/133607?v=3","gravatar_id":"","url":"https://api.github.com/users/niklassaers","html_url":"https://github.com/niklassaers","followers_url":"https://api.github.com/users/niklassaers/followers","following_url":"https://api.github.com/users/niklassaers/following{/other_user}","gists_url":"https://api.github.com/users/niklassaers/gists{/gist_id}","starred_url":"https://api.github.com/users/niklassaers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niklassaers/subscriptions","organizations_url":"https://api.github.com/users/niklassaers/orgs","repos_url":"https://api.github.com/users/niklassaers/repos","events_url":"https://api.github.com/users/niklassaers/events{/privacy}","received_events_url":"https://api.github.com/users/niklassaers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-18T11:26:31Z","updated_at":"2016-01-22T09:14:39Z","closed_at":"2016-01-22T09:14:39Z","body":"Hi,\r\n\r\nin my project I used PSOperations, and I have subclassed ```Operation``` like so:\r\n```class NetworkBlockOperation : Operation { .... }```\r\nwhere I override ```execute()```\r\n\r\nI use PSOperations through CocoaPods, \r\n\r\nWhen I compile, my -Swift.h file contains:\r\n\r\n```\r\nSWIFT_CLASS(\"_TtC8MyProject21NetworkBlockOperation\")\r\n@interface NetworkBlockOperation : Operation\r\n- (void)execute;\r\n@end\r\n```\r\n\r\nbut Operation is not defined in that file, so I get a \"Cannot find interface declaration for 'Operation'\" build error. My subclass contains ```import PSOperations```, and Operation descends from NSOperation. Is there anything more I need to declare to have it compile the ObjC header? I don't really use it in ObjC, so if there is anything I can do to not have it appear in the header file, that would also solve my issue.\r\n\r\nCheers\r\n\r\n   Nik"},"comment":{"url":"https://api.github.com/repos/pluralsight/PSOperations/issues/comments/173856015","html_url":"https://github.com/pluralsight/PSOperations/issues/39#issuecomment-173856015","issue_url":"https://api.github.com/repos/pluralsight/PSOperations/issues/39","id":173856015,"user":{"login":"niklassaers","id":133607,"avatar_url":"https://avatars.githubusercontent.com/u/133607?v=3","gravatar_id":"","url":"https://api.github.com/users/niklassaers","html_url":"https://github.com/niklassaers","followers_url":"https://api.github.com/users/niklassaers/followers","following_url":"https://api.github.com/users/niklassaers/following{/other_user}","gists_url":"https://api.github.com/users/niklassaers/gists{/gist_id}","starred_url":"https://api.github.com/users/niklassaers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niklassaers/subscriptions","organizations_url":"https://api.github.com/users/niklassaers/orgs","repos_url":"https://api.github.com/users/niklassaers/repos","events_url":"https://api.github.com/users/niklassaers/events{/privacy}","received_events_url":"https://api.github.com/users/niklassaers/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T09:14:39Z","updated_at":"2016-01-22T09:14:39Z","body":"In the same -Swift.h file is:\r\n```\r\n#if defined(__has_feature) && __has_feature(modules)\r\n...\r\n@import PSOperations;\r\n...\r\n#endif\r\n```\r\n\r\nTurns out ```__has_feature(modules)``` returns false. So this is not a PSOperations problem at all. "}}