Tuesday, June 28, 2011

Question: What does this "^" symbol mean?

Saw a few tutorials (e.g. this one from the App Code Blog) using this "new" method for animation that works only on iOS4 and above... Don't quite understand what the hell does that "^" symbol mean.... Looks like still got lots of things to learn...


    [UIView animateWithDuration:0.5 delay:0.0 options: UIViewAnimationCurveEaseOut
                     animations:^
     {
         navigationBar.frame = navBarFrame;
     }
                     completion:^(BOOL finished)
     {
         NSLog(@"Done!");
     }
     ];

0 comments:

Post a Comment