{"action":"created","issue":{"url":"https://api.github.com/repos/ninjaprox/NVActivityIndicatorView/issues/139","repository_url":"https://api.github.com/repos/ninjaprox/NVActivityIndicatorView","labels_url":"https://api.github.com/repos/ninjaprox/NVActivityIndicatorView/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/ninjaprox/NVActivityIndicatorView/issues/139/comments","events_url":"https://api.github.com/repos/ninjaprox/NVActivityIndicatorView/issues/139/events","html_url":"https://github.com/ninjaprox/NVActivityIndicatorView/issues/139","id":219098538,"number":139,"title":"Replacing existing UIActivityIndicator with NVActivityIndicatorView ","user":{"login":"pingpongdelay","id":19244377,"avatar_url":"https://avatars3.githubusercontent.com/u/19244377?v=3","gravatar_id":"","url":"https://api.github.com/users/pingpongdelay","html_url":"https://github.com/pingpongdelay","followers_url":"https://api.github.com/users/pingpongdelay/followers","following_url":"https://api.github.com/users/pingpongdelay/following{/other_user}","gists_url":"https://api.github.com/users/pingpongdelay/gists{/gist_id}","starred_url":"https://api.github.com/users/pingpongdelay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingpongdelay/subscriptions","organizations_url":"https://api.github.com/users/pingpongdelay/orgs","repos_url":"https://api.github.com/users/pingpongdelay/repos","events_url":"https://api.github.com/users/pingpongdelay/events{/privacy}","received_events_url":"https://api.github.com/users/pingpongdelay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-03T23:55:39Z","updated_at":"2017-04-04T17:15:02Z","closed_at":null,"body":"Hello, I have a UIActivityIndicator already set up and working on my application. The UIActivityIndicator displays on a cell while an image is loading - UITableView.\r\n\r\nI installed the cocoa pods for NVActivityIndicatorView and have the files integrated into my project, but I am confused with how to integrate it into the current code. Whenever I replaced “@IBOutlet weak var aiView: UIActivityIndicatorView!” with “@IBOutlet weak var aiView: NVActivityIndicatorView!”, the activity indicators would not show and the app would crash.\r\n\r\nUsing Swift 3.\r\n\r\nThank you!\r\n\r\n\r\n`class SubcategoryCell: UITableViewCell {\r\n    @IBOutlet weak var subcategoryImageView: UIImageView!\r\n    @IBOutlet weak var aiView: UIActivityIndicatorView!\r\n}`\r\n\r\n     func numberOfSections(in tableView: UITableView) -> Int {\r\n        return 1\r\n    }\r\n    \r\n    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {\r\n        return self.items.count\r\n    }\r\n    \r\n    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {\r\n        let cell = tableView.dequeueReusableCell(withIdentifier: \"Cell\") as! SubcategoryCell\r\n        \r\n        let item = self.items[indexPath.row]\r\n        \r\n        if let url = URL(string: item.url) {\r\n            cell.aiView.startAnimating()\r\n            cell.subcategoryImageView.kf.setImage(with: url, placeholder: nil, options: nil, progressBlock: nil, completionHandler: { (image, error, cacheType, url) in\r\n                cell.aiView.stopAnimating()\r\n            })\r\n        }\r\n        \r\n        return cell\r\n    }\r\n`"},"comment":{"url":"https://api.github.com/repos/ninjaprox/NVActivityIndicatorView/issues/comments/291569187","html_url":"https://github.com/ninjaprox/NVActivityIndicatorView/issues/139#issuecomment-291569187","issue_url":"https://api.github.com/repos/ninjaprox/NVActivityIndicatorView/issues/139","id":291569187,"user":{"login":"pingpongdelay","id":19244377,"avatar_url":"https://avatars3.githubusercontent.com/u/19244377?v=3","gravatar_id":"","url":"https://api.github.com/users/pingpongdelay","html_url":"https://github.com/pingpongdelay","followers_url":"https://api.github.com/users/pingpongdelay/followers","following_url":"https://api.github.com/users/pingpongdelay/following{/other_user}","gists_url":"https://api.github.com/users/pingpongdelay/gists{/gist_id}","starred_url":"https://api.github.com/users/pingpongdelay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingpongdelay/subscriptions","organizations_url":"https://api.github.com/users/pingpongdelay/orgs","repos_url":"https://api.github.com/users/pingpongdelay/repos","events_url":"https://api.github.com/users/pingpongdelay/events{/privacy}","received_events_url":"https://api.github.com/users/pingpongdelay/received_events","type":"User","site_admin":false},"created_at":"2017-04-04T17:15:02Z","updated_at":"2017-04-04T17:15:02Z","body":"I have not, will do that now.\r\n\r\nHow would I integrate the NVActivityIndicatorView into my current code? \r\n\r\nThank you very much."}}
{"actor":{"display_login":"pingpongdelay"}}