Ah, thank you. On Aug 4, 2014, at 16:15 , David Duncan <david.dun...@apple.com> wrote:
> >> On Aug 4, 2014, at 4:10 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> I'm setting the constant of a center-y-in-container constraint in a [UIView >> animateWith…] block, but it doesn't animate; it just jumps to the offset >> location. Any idea what I might be doing wrong? The code is pretty >> straightforward… >> >> https://pastee.org/edgsf > > Constraints are like recipes for layout, they don’t perform the actual layout > themselves. You need to force layout on the affected view (by calling > -layoutIfNeeded on it) within the animation block to generate the animation. > >> I tried calling -animateWithDuration directly, and enqueueing it on the main >> queue (as seen here). Same result. >> >> Any help would be much appreciated. >> >> >> -- >> Rick Mann >> rm...@latencyzero.com >> >> >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/cocoa-dev/david.duncan%40apple.com >> >> This email sent to david.dun...@apple.com > > -- > David Duncan > -- Rick Mann rm...@latencyzero.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com