{"action":"opened","issue":{"url":"https://api.github.com/repos/Alamofire/AlamofireImage/issues/177","repository_url":"https://api.github.com/repos/Alamofire/AlamofireImage","labels_url":"https://api.github.com/repos/Alamofire/AlamofireImage/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/Alamofire/AlamofireImage/issues/177/comments","events_url":"https://api.github.com/repos/Alamofire/AlamofireImage/issues/177/events","html_url":"https://github.com/Alamofire/AlamofireImage/issues/177","id":176230132,"number":177,"title":"[UITableViewCellContentView af_cancelImageRequest]: Unrecognized selector sent to instance","user":{"login":"CjStone10","id":4480887,"avatar_url":"https://avatars.githubusercontent.com/u/4480887?v=3","gravatar_id":"","url":"https://api.github.com/users/CjStone10","html_url":"https://github.com/CjStone10","followers_url":"https://api.github.com/users/CjStone10/followers","following_url":"https://api.github.com/users/CjStone10/following{/other_user}","gists_url":"https://api.github.com/users/CjStone10/gists{/gist_id}","starred_url":"https://api.github.com/users/CjStone10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CjStone10/subscriptions","organizations_url":"https://api.github.com/users/CjStone10/orgs","repos_url":"https://api.github.com/users/CjStone10/repos","events_url":"https://api.github.com/users/CjStone10/events{/privacy}","received_events_url":"https://api.github.com/users/CjStone10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-11T08:21:04Z","updated_at":"2016-09-11T08:21:04Z","closed_at":null,"body":"Hi, \r\nI need some help. I use AlamofireImage UIImageView extension to load some icons inside UITableView.\r\nMy project use some third party library written in Objective-C.\r\n\r\nCode: \r\nclass TableCell: UITableViewCell {\r\n    @IBOutlet weak var logo: UIImageView!\r\n    @IBOutlet weak var name: UILabel!\r\n\r\n    func setData(provider: ServiceProvider) {\r\n        name.text = provider.name\r\n        let url = NSURL(string: provider.logoUrl)!\r\n        self.logo.af_setImageWithURL(url)\r\n    }\r\n\r\n    override func prepareForReuse() {\r\n        super.prepareForReuse()\r\n\r\n        logo.af_cancelImageRequest()\r\n        logo.layer.removeAllAnimations()\r\n        logo.image = nil\r\n    }\r\n}\r\n\r\n\r\nError:\r\n-[UITableViewCellContentView af_cancelImageRequest]: unrecognized selector sent to instance 0x787ea430\r\n *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITableViewCellContentView af_cancelImageRequest]: unrecognized selector sent to instance 0x787ea430'\r\n*** First throw call stack:\r\n(\r\n\t0   CoreFoundation                      0x02eb1494 __exceptionPreprocess + 180\r\n\t1   libobjc.A.dylib                     0x03d6ee02 objc_exception_throw + 50\r\n\t2   CoreFoundation                      0x02ebb253 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275\r\n\t3   CoreFoundation                      0x02df089d ___forwarding___ + 1037\r\n\t4   CoreFoundation                      0x02df046e _CF_forwarding_prep_0 + 14\r\n\t5   AlamofireImage                      0x005d324c _TFE14AlamofireImageCSo11UIImageView25af_setImageWithURLRequestfTP9Alamofire21URLRequestConvertible_16placeholderImageGSqCSo7UIImage_6filterGSqPS_11ImageFilter__8progressGSqFT9bytesReadVs5Int6414totalBytesReadS5_24totalExpectedBytesToReadS5__T__13progressQueuePSo17OS_dispatch_queue_15imageTransitionOES_S0_15ImageTransition26runImageTransitionIfCachedSb10completionGSqFGVS1_8ResponseS3_CSo7NSError_T___T_ + 476\r\n\t6   AlamofireImage                      0x005d2f85 _TFE14AlamofireImageCSo11UIImageView18af_setImageWithURLfTCSo5NSURL16placeholderImageGSqCSo7UIImage_6filterGSqPS_11ImageFilter__8progressGSqFT9bytesReadVs5Int6414totalBytesReadS4_24totalExpectedBytesToReadS4__T__13progressQueuePSo17OS_dispatch_queue_15imageTransitionOES_S0_15ImageTransition26runImageTransitionIfCachedSb10completionGSqFGV9Alamofire8ResponseS2_CSo7NSError_T___T_ + 933\r\n"}}
{"actor":{"display_login":"CjStone10"}}