Is't there a "NSActivityIndicatorView" for Mac OS X like the UIActivityIndicatorView for iOS?
How can I show a spinning "gear" during long activities?
You can use NSProgressIndicator.
Here is an initialization of it.
NSProgressIndicator* indicator = [[[NSProgressIndicator alloc] initWithFrame:NSMakeRect(20, 20, 30, 30)] autorelease];
[indicator setStyle:NSProgressIndicatorSpinningStyle];
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.