Using NSAnimation

2008-11-26 Thread Hrishikesh Muruk
I have a basic question about using NSAnimation. Here is what I am trying to do: My program shows a custom view and I want to animate an NSImage within that custom view. When the mouse is clicked within the program I want to move (animate) the image to a new point in the window. I have su

Using NSAnimation

2008-11-10 Thread Hrishikesh Muruk
I have a basic question about using NSAnimation. Here is what I am trying to do: My program shows a custom view and I want to animate an NSImage within that custom view. When the mouse is clicked within the program I want to move (animate) the image to a new point in the window. I have su

NSArray retaining and releasing

2008-05-02 Thread Hrishikesh Muruk
If I make an NSArray in the following manner: NSArray *newArray = [NSArray arrayWithArray:oldArray]; [newArray retain]; Now I it is my responsobolity to send a release message to newArray. But am I responsible to send release messages to the contents of newArray? If the oldArray contained