Skip to content

Strange shapes / artifacts #2

Description

@seanhess

Hi there, beautiful progress indicator. I'm getting some strange artifacts though (see below)

I set up the view in interface builder, using constraints to lay it out. Then the following code to control it:

    @IBOutlet weak var progressView: DAProgressOverlayView!

    override func viewDidLoad() {
        ...
        self.progressView.displayOperationWillTriggerAnimation()
    }

    func videoCompletedFrames(completed: Int32, ofTotal total: Int32) {
        let percent = Float(completed) / Float(total)
        dispatch_async(dispatch_get_main_queue()) {
            self.progressView.progress = CGFloat(percent)
        }
    }

one
two
three

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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