Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Examples/iOS Example/Sources/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ extension ViewController: SkeletonTableViewDataSource {
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "CellIdentifier", for: indexPath) as! Cell
cell.label1.text = "cell -> \(indexPath.row)"
cell.textField.isHidden = indexPath.row == 0
return cell
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ extension UIView {

func startTransition(transitionBlock: @escaping () -> Void) {
guard let transitionStyle = _currentSkeletonConfig?.transition,
transitionStyle != .none else {
transitionStyle != .none,
// transition causes hidden view to show
!isHidden else {
transitionBlock()
return
}
Expand Down