Try the search, it's linked to some great forums

Monday, July 11, 2011

Solar Sinter - So hot, I want one!


Markus Kayser - Solar Sinter Project from Markus Kayser on Vimeo.

Friday, July 8, 2011

Outstanding snippets to do

animation block
affineTransform
delegate
custom font installation
view hierarchy
(id)sender
popovers

OldWeather.org - Citizen Science

Another way cool citizen science project.  This one has you transcribe wind & weather data from old British ship logs.  The data is then plugged into climate modeling programs.

http://www.oldweather.org/

Thursday, July 7, 2011

Animation block with completion code

This method allow you to string together animation features;
-(void)photoLoopAnimation
{
    // FADE block animation method - THIS contains the basic animation features   
    [UIView animateWithDuration:1.2 delay:delaySeconds
                        options:UIViewAnimationOptionAllowUserInteraction       
                     animations:^{
                         viewTop.alpha = 0.0;
                         viewBottom.alpha = 1.0;
                     }
                     completion:^(BOOL finished) {       // remove both views & loop to slideShowSwitch
                         [viewTop removeFromSuperview]; 
                         [viewBottom removeFromSuperview];
                         [viewTop release];
                         [viewBottom release];
                         [self photoLoop];
                     }];   
}

The completion: parameter allows you to branch to other functions ONCE the animation is complete.  The animation block runs on a background thread, and does NOT pause execution of the rest of the code

Tuesday, July 5, 2011

NSLog debugger statements - proper use of;

Use these # statements for NSLog debugger statements so that they DON'T execute on final apps;
#ifdef DEBUG
    NSLog(@"Setup popover should display %@",  anyObject);
#endif

The %@ displays the name (actually descriptor) of anyObject object.  Good for troubleshooting!