nsprogressindicator Questions

8

Solved

What is the best way to change the color of NSProgressIndicator, is there an easier way than just to subclass it and then draw the whole component by myself? Basically what I want to do is to have...
Collaborate asked 19/7, 2015 at 21:15

2

Solved

I want to use an NSProgressIndicator to show some progress. But I couldn't find a method which increases the bar of that control. I did also not find an example on the web. let progressbar = NSPro...
Edris asked 5/7, 2016 at 21:16

4

When I set my progress indicator's background to green, it works as expected. Code: loadingIndicator.wantsLayer = true loadingIndicator.layer?.backgroundColor = NSColor.greenColor().CGColor Res...
Combings asked 28/4, 2016 at 21:26

1

Solved

I hve following cycle in my app var maxIterations: Int = 0 func calculatePoint(cn: Complex) -> Int { let threshold: Double = 2 var z: Complex = .init(re: 0, im: 0) var z2: Complex = .init(...
Cavell asked 9/10, 2016 at 20:13

1

Solved

So I've got a simple UI, A Start button, some text/labels, and a progress bar. When the Start button is click, the NSProgressIndicator should animate. Here's my code: @synthesize progressBar = pro...
Especial asked 13/2, 2013 at 19:24

2

I'm creating an application which should show a progress bar in the dock icon. Currently I have this, but it's not working: NSProgressIndicator *progressIndicator = [[NSProgressIndicator alloc] i...
Lavatory asked 23/10, 2010 at 16:26

4

Solved

What I have is NSTask running a long premade shell script and I want the NSProgressIndicator to check on how much is done. I've tried many things but just can't seem to get it to work. I know how t...
Newport asked 17/1, 2012 at 2:35

2

Solved

NSProgressIndicator has methods called startAnimation: and stopAnimation:, but no method that I can find to check the state (whether it is currently animating or not). How would you do it?
Multiped asked 31/8, 2011 at 15:22

3

Solved

I'm trying to use a NSProgressIndicator (indeterminate) inside of a statusbar-menu. I'm using an NSView-object as view for the menuitem, and then subviews the progress indicator to display it. But ...
Osber asked 12/1, 2011 at 16:11

1

Solved

It appears after much searching that there seems to be a common problem when trying to do a file copy and show a progress indicator relative to the amount of the file that has been copied. After sp...
Cammycamomile asked 24/9, 2010 at 4:39
1

© 2022 - 2024 — McMap. All rights reserved.