so i'm attempting my first core animation... decided to start small... so i have an empty window, which i would like to see animate with the window's zoom.
1- i've enabled a layer for the content view of the myWindow in IB.
2- i've hijacked (?) the default zoom function by adding the following void code to the myWindow.m file:
... and that's as far as i got so far.. hah.. i know i'm suppose to write [OBJECT animator] to employ core animation, so i guess i'm just looking for the actual zoom code... or maybe i'm totally going about this the wrong way, since i'm under the impression that core animation should be easier than this or more straight forward? any thoughts?
1- i've enabled a layer for the content view of the myWindow in IB.
2- i've hijacked (?) the default zoom function by adding the following void code to the myWindow.m file:
Code:
-(void)zoom:(id)sender
{
//Trigger zoom functions by writing in console.
NSLog (@"zoom code");
}
... and that's as far as i got so far.. hah.. i know i'm suppose to write [OBJECT animator] to employ core animation, so i guess i'm just looking for the actual zoom code... or maybe i'm totally going about this the wrong way, since i'm under the impression that core animation should be easier than this or more straight forward? any thoughts?