{"action":"opened","issue":{"url":"https://api.github.com/repos/Juanpe/SkeletonView/issues/74","repository_url":"https://api.github.com/repos/Juanpe/SkeletonView","labels_url":"https://api.github.com/repos/Juanpe/SkeletonView/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/Juanpe/SkeletonView/issues/74/comments","events_url":"https://api.github.com/repos/Juanpe/SkeletonView/issues/74/events","html_url":"https://github.com/Juanpe/SkeletonView/issues/74","id":335873626,"node_id":"MDU6SXNzdWUzMzU4NzM2MjY=","number":74,"title":"Skeleton won't automatically hide on TableViewCell","user":{"login":"gorkaman","id":33328703,"node_id":"MDQ6VXNlcjMzMzI4NzAz","avatar_url":"https://avatars3.githubusercontent.com/u/33328703?v=4","gravatar_id":"","url":"https://api.github.com/users/gorkaman","html_url":"https://github.com/gorkaman","followers_url":"https://api.github.com/users/gorkaman/followers","following_url":"https://api.github.com/users/gorkaman/following{/other_user}","gists_url":"https://api.github.com/users/gorkaman/gists{/gist_id}","starred_url":"https://api.github.com/users/gorkaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorkaman/subscriptions","organizations_url":"https://api.github.com/users/gorkaman/orgs","repos_url":"https://api.github.com/users/gorkaman/repos","events_url":"https://api.github.com/users/gorkaman/events{/privacy}","received_events_url":"https://api.github.com/users/gorkaman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-26T15:26:15Z","updated_at":"2018-06-26T15:26:15Z","closed_at":null,"author_association":"NONE","body":"⚠️ Please fill out this template when filing an issue.\r\n\r\n#### 🙏🏼 *Please check if it already exists other issue related with yours.*\r\n\r\nSet skelenotable true to content view and sub views on a UITableViewCell\r\n\r\n### What did you expect to happen?\r\n\r\nSince I'm implementing the protocol, I expected the cells to show the skeleton automatically without having to self.showAnimatedSkeleton() on the cell.\r\n\r\n### What happened instead?\r\n\r\nIf I don't use self.showAnimatedSkeleton() on the cell, nothing happens, but if I do the skeleton covers the content already loaded. I don't know how to have that behavior automatically when things asynchronously load. I know I can call hideSkeleton, but I thought it would be automatically when implementing the protocol.\r\n\r\n### Steps to reproduce the behavior\r\n\r\n1. Set cell contentView and sub views Skeletonable: true\r\n2. Implement protocol SkeletonTableViewDataSource\r\n    \r\nfunc numSections(in collectionSkeletonView: UITableView) -> Int {\r\n        return 1\r\n    }\r\n    \r\n    func collectionSkeletonView(_ skeletonView: UITableView, numberOfRowsInSection section: Int) -> Int {\r\n        return self.brands.count\r\n    }\r\n    \r\n    func collectionSkeletonView(_ skeletonView: UITableView, cellIdenfierForRowAt indexPath: IndexPath) -> ReusableCellIdentifier {\r\n        return \"BTCatalogCardTableViewCell\"\r\n    }\r\n\r\n3. Nothing happens unless I do self.showAnimatedSkeleton() on the cell and it never hides.\r\n\r\n### SkeletonView Environment\r\n\r\n**SkeletonView version: 1.2.1**\r\n**Xcode version: 9.4.1**\r\n**Swift version: 4**\r\n"}}
{"actor":{"display_login":"gorkaman"}}