Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skeleton View is Rendering at the wrong location #18

Open
kuyazee opened this issue Jan 21, 2019 · 1 comment
Open

Skeleton View is Rendering at the wrong location #18

kuyazee opened this issue Jan 21, 2019 · 1 comment

Comments

@kuyazee
Copy link

kuyazee commented Jan 21, 2019

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
    }
@ParkGwangBeom
Copy link
Owner

@kuyazee Sorry for the late review. I have been busy company. We'll review that error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants