groups

name language licence
NSTreeNode indexPathOfNodeWithRepresentedObject Objective-C MIT
Convert a number to text Perl MIT
Exact Table Cell Value Double-Clicked (through Bindings) Objective-C Other
Animating Progress Indicator in Menu Objective-C Other
NSDate Additions for Time Intervals since System Startup Objective-C Other
Pop Contextual Menu on standard button mouseDown: Objective-C Other
watchpoint for properties Other Other
NSObject executeAfterDelay:handler: Objective-C MIT

< 1 2 3 4 >



language: Objective-C
licence: Other

Animating Progress Indicator in Menu

options: view full snippetsend to code collector
#import "MyApp.h"


@implementation MyApp

-(id) init
{
	self = [super init];
	if( self != nil )
	{
		NSTimer *timer = [NSTimer timerWithTimeInterval:0.1 target:self selector:@selector( bumpMainRunLoop: ) userInfo:nil repeats:YES];
		[[NSRunLoop currentRunLoop] addTimer:timer forMode:NSEventTrackingRunLoopMode];
	}
	
	return( self );
	
(Continues...)