{"action":"created","issue":{"url":"https://api.github.com/repos/MortimerGoro/MGSwipeTableCell/issues/233","repository_url":"https://api.github.com/repos/MortimerGoro/MGSwipeTableCell","labels_url":"https://api.github.com/repos/MortimerGoro/MGSwipeTableCell/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/MortimerGoro/MGSwipeTableCell/issues/233/comments","events_url":"https://api.github.com/repos/MortimerGoro/MGSwipeTableCell/issues/233/events","html_url":"https://github.com/MortimerGoro/MGSwipeTableCell/issues/233","id":177771399,"number":233,"title":"Swift 3.0 - type conflict","user":{"login":"thedc89","id":4841004,"avatar_url":"https://avatars.githubusercontent.com/u/4841004?v=3","gravatar_id":"","url":"https://api.github.com/users/thedc89","html_url":"https://github.com/thedc89","followers_url":"https://api.github.com/users/thedc89/followers","following_url":"https://api.github.com/users/thedc89/following{/other_user}","gists_url":"https://api.github.com/users/thedc89/gists{/gist_id}","starred_url":"https://api.github.com/users/thedc89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedc89/subscriptions","organizations_url":"https://api.github.com/users/thedc89/orgs","repos_url":"https://api.github.com/users/thedc89/repos","events_url":"https://api.github.com/users/thedc89/events{/privacy}","received_events_url":"https://api.github.com/users/thedc89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-19T12:27:49Z","updated_at":"2016-10-21T12:10:49Z","closed_at":null,"body":"```\r\n let btn:MGSwipeButton = MGSwipeButton(title: \"\", icon: img, backgroundColor: nil, insets: ins, callback: {\r\n            (sender: MGSwipeTableCell!) -> Bool in\r\n            \r\n            self.pageTextField.isHidden = false\r\n            self.pageTextField.respectiveCellNumber = (indexPath as NSIndexPath).row\r\n            self.pageTextField.becomeFirstResponder()\r\n            self.customControl.isHidden = true\r\n            self.view.bringSubview(toFront: self.pageTypeView)\r\n\r\n            return true\r\n            })\r\n        \r\n```\r\n\r\nReturns a following error:\r\n\r\n>  Cannot convert value of type '(MGSwipeTableCell!) -> Bool' to expected argument type 'MGSwipeButtonCallback!'\r\n\r\nHow to edit it to make it work?"},"comment":{"url":"https://api.github.com/repos/MortimerGoro/MGSwipeTableCell/issues/comments/255363886","html_url":"https://github.com/MortimerGoro/MGSwipeTableCell/issues/233#issuecomment-255363886","issue_url":"https://api.github.com/repos/MortimerGoro/MGSwipeTableCell/issues/233","id":255363886,"user":{"login":"Shoshin23","id":2094133,"avatar_url":"https://avatars.githubusercontent.com/u/2094133?v=3","gravatar_id":"","url":"https://api.github.com/users/Shoshin23","html_url":"https://github.com/Shoshin23","followers_url":"https://api.github.com/users/Shoshin23/followers","following_url":"https://api.github.com/users/Shoshin23/following{/other_user}","gists_url":"https://api.github.com/users/Shoshin23/gists{/gist_id}","starred_url":"https://api.github.com/users/Shoshin23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shoshin23/subscriptions","organizations_url":"https://api.github.com/users/Shoshin23/orgs","repos_url":"https://api.github.com/users/Shoshin23/repos","events_url":"https://api.github.com/users/Shoshin23/events{/privacy}","received_events_url":"https://api.github.com/users/Shoshin23/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T12:10:49Z","updated_at":"2016-10-21T12:10:49Z","body":"I'm facing the same issue @jarkoAndroid. I've implemented both the solutions and also studied the example by @MortimerGoro. My cells load but the moment I click on them, the app breaks. \r\n\r\nAny thoughts on fixing this? I'm running my app on iOS 10. Anything I'm missing?"}}
{"actor":{"display_login":"Shoshin23"}}