{"action":"created","issue":{"url":"https://api.github.com/repos/JJSaccolo/UIActivityIndicator-for-SDWebImage/issues/23","repository_url":"https://api.github.com/repos/JJSaccolo/UIActivityIndicator-for-SDWebImage","labels_url":"https://api.github.com/repos/JJSaccolo/UIActivityIndicator-for-SDWebImage/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/JJSaccolo/UIActivityIndicator-for-SDWebImage/issues/23/comments","events_url":"https://api.github.com/repos/JJSaccolo/UIActivityIndicator-for-SDWebImage/issues/23/events","html_url":"https://github.com/JJSaccolo/UIActivityIndicator-for-SDWebImage/issues/23","id":79594921,"number":23,"title":"cocoapods / swift and SDWebImage imports","user":{"login":"desseim","id":2656595,"avatar_url":"https://avatars.githubusercontent.com/u/2656595?v=3","gravatar_id":"","url":"https://api.github.com/users/desseim","html_url":"https://github.com/desseim","followers_url":"https://api.github.com/users/desseim/followers","following_url":"https://api.github.com/users/desseim/following{/other_user}","gists_url":"https://api.github.com/users/desseim/gists{/gist_id}","starred_url":"https://api.github.com/users/desseim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desseim/subscriptions","organizations_url":"https://api.github.com/users/desseim/orgs","repos_url":"https://api.github.com/users/desseim/repos","events_url":"https://api.github.com/users/desseim/events{/privacy}","received_events_url":"https://api.github.com/users/desseim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-22T20:20:45Z","updated_at":"2016-04-12T14:24:18Z","closed_at":null,"body":"I tried to install `UIActivityIndicator-for-SDWebImage` through cocoapods and use it in a Swift project.\r\nAs far as I checked `pod install` did its job correctly and `UIActivityIndicator-for-SDWebImage` links to `SDWebImage.framework`.\r\nIn my project I\r\n```\r\nimport SDWebImage\r\nimport UIActivityIndicator_for_SDWebImage\r\n```\r\nbut the Swift compiler issues an error trying to build the `Objective-C module UIActivityIndicator-for-SDWebImage`.\r\nThat error being it not finding `UIImageView+WebCache.h` at its import statement in `UIImageView+UIActivityIndicatorForSDWebImage.h`, which looks like this:\r\n```\r\n#import \"UIImageView+WebCache.h\"\r\n```\r\n\r\nI referred to the [guide to cocoapods frameworks](http://blog.cocoapods.org/Pod-Authors-Guide-to-CocoaPods-Frameworks/) and after modifying the failing import statements to\r\n```\r\n#import <SDWebImage/UIImageView+WebCache.h>\r\n#import <SDWebImage/SDImageCache.h>\r\n```\r\n(`SDImageCache.h` was failing too) it compiled.\r\n\r\nI'm not experienced enough with the iOS toolchain and cocoapods yet to know whether the library files should actually be updated or if something is wrong with my project configuration, so \"please advise\" :)\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/JJSaccolo/UIActivityIndicator-for-SDWebImage/issues/comments/208932064","html_url":"https://github.com/JJSaccolo/UIActivityIndicator-for-SDWebImage/issues/23#issuecomment-208932064","issue_url":"https://api.github.com/repos/JJSaccolo/UIActivityIndicator-for-SDWebImage/issues/23","id":208932064,"user":{"login":"gorsash","id":4411782,"avatar_url":"https://avatars.githubusercontent.com/u/4411782?v=3","gravatar_id":"","url":"https://api.github.com/users/gorsash","html_url":"https://github.com/gorsash","followers_url":"https://api.github.com/users/gorsash/followers","following_url":"https://api.github.com/users/gorsash/following{/other_user}","gists_url":"https://api.github.com/users/gorsash/gists{/gist_id}","starred_url":"https://api.github.com/users/gorsash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorsash/subscriptions","organizations_url":"https://api.github.com/users/gorsash/orgs","repos_url":"https://api.github.com/users/gorsash/repos","events_url":"https://api.github.com/users/gorsash/events{/privacy}","received_events_url":"https://api.github.com/users/gorsash/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T14:24:18Z","updated_at":"2016-04-12T14:24:18Z","body":"+1 Swift is the future"}}