Skip to content

Skeleton View is Rendering at the wrong location #18

@kuyazee

Description

@kuyazee

Windless Version: 4.1.0
Xcode Version: 10.1
Installation Method: Cocoapods

Sample Video
ezgif-1-bcaa381abc00

There are no problems with the constraints. The button click's code is as follows

        click += 1
        if click % 2 == 0 {
            self.mainTableView.windless.start()
        } else {
            self.mainTableView.windless.end()
        }

Here's the UITableViewDataSource

    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return self.itemCount
    }

    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCell(withIdentifier: randomCell.identifier, for: indexPath)
        return cell
    }

    func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
        return 200
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions