Skip to content

LoadingShimmer does not cover IB interface views #29

@whoyawn

Description

@whoyawn

Actual Behaviour

There is no shimmer

image

Expected Behaviour

Shimmer should occur

Steps to reproduce it

  1. Create a view controller in storyboard
  2. Create views and outlets to the views.
  3. Set the background of the view to a different color and the created subviews to a different color.
  4. Connect the outlets.

Would you like to work on the issue?
No thank you.


import UIKit
import LoadingShimmer

class BugTest2ViewController: UIViewController {

    @IBOutlet var blackview: UIView!
    @IBOutlet var greenview: UIView!
    override func viewDidLoad() {
        super.viewDidLoad()
        LoadingShimmer.startCovering(blackview)
        LoadingShimmer.startCovering(greenview)
        // Do any additional setup after loading the view.
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions