Skeletonview: hideSkeleton error

Created on 26 Jun 2019  路  4Comments  路  Source: Juanpe/SkeletonView

what's the correct way to hide Skeleton

IMG_0005 is

awaiting user input given up 鉂攓uestion

Most helpful comment

For now, I found a solution is that you can call hideSkeleton() method in cellForRowAt indexPath for cell object.

Example:

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCell(withIdentifier: "cell") as! CustomTableViewCell
        cell.hideSkeleton()
        return cell
}

All 4 comments

Hi @adelbios, you need to call hideSkeleton using the same view when you start to show it.

@adelbios, any news about this issue?

For now, I found a solution is that you can call hideSkeleton() method in cellForRowAt indexPath for cell object.

Example:

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCell(withIdentifier: "cell") as! CustomTableViewCell
        cell.hideSkeleton()
        return cell
}

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kak2008 picture kak2008  路  4Comments

pauloec picture pauloec  路  7Comments

son picture son  路  4Comments

guidev picture guidev  路  4Comments

kimsonwong picture kimsonwong  路  6Comments