group animation fire frame change?

  • 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.

    TTFN,

    -bd-
    http://bill.dudney.net/roller/objc
  • 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.
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today