Ah, thank you.

On Aug 4, 2014, at 16:15 , David Duncan <[email protected]> wrote:

> 
>> On Aug 4, 2014, at 4:10 PM, Rick Mann <[email protected]> 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
>> [email protected]
>> 
>> 
>> 
>> _______________________________________________
>> 
>> Cocoa-dev mailing list ([email protected])
>> 
>> 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 [email protected]
> 
> --
> David Duncan
> 


-- 
Rick Mann
[email protected]



_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to