FROM : Troy Stephens
DATE : Tue Nov 13 22:32:15 2007
On Nov 12, 2007, at 4:13 PM, Bill Dudney wrote:
> Hello All,
>
> I would like to have a group animation fire when the frame is
> changed, however it does not appear to work. I have a group
> animation that rotates a view and scales up the frame concurrently.
> When I attach the group to the frameRotation property everything
> works as expected. When I attach the group to the frame property the
> group is not fired (however the frame does animate through the
> change).
>
> Anyone else seen this?
>
> This seems to be me to be a bug but I wanted to run it by the list
> before submitting a bug.
Try attaching your animation to either "frameOrigin" or "frameSize"
instead.
Those are the primitive properties in NSView's model of things, with
"frame" being more of a convenience for getting or setting both at
once. View property animation treats frameOrigin and frameSize as the
primitives as well, to facilitate their being animated potentially
independently of one another.
--
Troy Stephens
Cocoa Frameworks
Apple, Inc.
DATE : Tue Nov 13 22:32:15 2007
On Nov 12, 2007, at 4:13 PM, Bill Dudney wrote:
> Hello All,
>
> I would like to have a group animation fire when the frame is
> changed, however it does not appear to work. I have a group
> animation that rotates a view and scales up the frame concurrently.
> When I attach the group to the frameRotation property everything
> works as expected. When I attach the group to the frame property the
> group is not fired (however the frame does animate through the
> change).
>
> Anyone else seen this?
>
> This seems to be me to be a bug but I wanted to run it by the list
> before submitting a bug.
Try attaching your animation to either "frameOrigin" or "frameSize"
instead.
Those are the primitive properties in NSView's model of things, with
"frame" being more of a convenience for getting or setting both at
once. View property animation treats frameOrigin and frameSize as the
primitives as well, to facilitate their being animated potentially
independently of one another.
--
Troy Stephens
Cocoa Frameworks
Apple, Inc.
| Related mails | Author | Date |
|---|---|---|
| Bill Dudney | Nov 13, 01:13 | |
| Troy Stephens | Nov 13, 22:32 |






Cocoa mail archive

