Sound -> option + <volume-up/down/mute>
Spaces -> option + <Dashboard/Spaces>
Display -> option + <Brightness Up/Down>
Notes from a developer
if ( thing != NULL )
{
thing->doSomething();
thing->doSomethingElse();
thing->doSomethingMore();
}
if ( !thing )
return;
thing->doSomething();
thing->doSomethingElse();
thing->doSomethingMore();
if (value == otherValue)
{
thing->doSomething();
}
else
{
thing->doSomethingElse();
}
if (value == otherValue)
{
thing->doSomething();
return;
}
thing->doSomethingElse();
-(id)init
{
self = [super init];
if (self != nil) {
// initialization code
} else {
[self release];
return nil;
}
return self;
}
-(id)init
{
if ((self = [super init]) == nil )
{
[self release];
return nil;
}
// initialization code
return self;
}