I Added TableView And all subviews Programmatically and Using Coordinator Delegate so There is no Storyboard or xib files. and registered cell like below
tableview.register(SearchTableViewCell.self, forCellReuseIdentifier: "searchcell")
and set tableview, cell and all subviews isSkeletonable to true.
It replace my subviews with grey boxes
TableVIew with visible cells frozen to death.
I am not using interface builder.
SkeletonView version: 1.1.1
Xcode version: 9.3
Swift version: 4
Same issue here.
I don't use storyboards/xibs. I add my tableView in viewDidLoad and like you, set its constraints, register my custom cell, set all subviews isSkeletonable to true but when I call view.showAnimatedSkeleton() in viewDidLoad or viewWillAppear it doesn't work (no animation) while it works in viewDidAppear.
With a cell xib, like in the example, it works in each method.
EDIT: See this project to see the issue: https://github.com/grifas/SkeletonViewIssue
Hi @grifas and @aboutsajjad, I'm going to check it asap 馃檪
Hi @Juanpe Have you some news ?
@aboutsajjad I think I found a solution. I call in viewDidLoad:
DispatchQueue.main.async {
self.view.showAnimatedSkeleton()
}
@grifas it helped, thanks
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.
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.
Most helpful comment
Hi @grifas and @aboutsajjad, I'm going to check it asap 馃檪