• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UIView animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIView animation


  • Subject: UIView animation
  • From: Christian Ziegler <email@hidden>
  • Date: Fri, 03 Sep 2010 00:11:43 +0200

Hi all,

I could use your help because I'm running out of ideas!

Here's the situation. I got this custom view on screen which I want to remove from the screen by moving it outside the left border of the screen. However at the same time, I want to move it back in from the right side but at a different y-Coordinate. So for instance it moves out at y=44 and at the same time it moves back in from the other side at y=0.

I tried several approaches and the most promising (I reckon) is to create a copy of the view. This is not so easy though because UIView does not implement NSCopying. My custom view also has subviews and well the animation apparently gets a little confused if you animate two different (equal but different object) views which share the same subviews.

Has anybody the slightest idea how I could achieve this? Every tip is welcome :)!

Cheers
Chris
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: UIView animation
      • From: Ricky Sharp <email@hidden>
    • Re: UIView animation
      • From: Wyatt Webb <email@hidden>
  • Prev by Date: Core Data fetch performance, design pattern sought
  • Next by Date: Re: CALayer -drawInContext and GCD
  • Previous by thread: Re: Core Data fetch performance, design pattern sought
  • Next by thread: Re: UIView animation
  • Index(es):
    • Date
    • Thread