• 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
Re: Layer needs display if presentation layer moves?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Layer needs display if presentation layer moves?


  • Subject: Re: Layer needs display if presentation layer moves?
  • From: Seth Willits <email@hidden>
  • Date: Tue, 28 Jan 2014 18:16:24 -0800

On Jan 28, 2014, at 5:26 PM, Kyle Sluder <email@hidden> wrote:

> The most straightforward way to do this is probably going to be creating
> a custom CAAnimation that drives the position of the views which are
> moving around, as well as a property of the "connections" layer that
> encodes the positions between which lines should be drawn. The
> connections layer can return YES for +needsDisplayForKey: for that "line
> endpoints" key.


Ok, well I think that's roughly what I'm fumbling my way through. To me there's nothing straightforward about it, though. Maybe I'm being dense, but it's just… not working.

I'll spare the long explanation of failures. Here's a simple project:
http://www.sethwillits.com/temp/CATest.zip

Click on the view and it moves the red square. While the square is moving, the goal is to have second layer continuously update so the line spins. If you have the time and can demonstrate the approach you've described I'd be very grateful. I've been at this for hours.


Still trying…

--
Seth Willits




_______________________________________________

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: Layer needs display if presentation layer moves?
      • From: Seth Willits <email@hidden>
References: 
 >Layer needs display if presentation layer moves? (From: Seth Willits <email@hidden>)
 >Re: Layer needs display if presentation layer moves? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Layer needs display if presentation layer moves?
  • Next by Date: Base Localization of tool tips not working anymore
  • Previous by thread: Re: Layer needs display if presentation layer moves?
  • Next by thread: Re: Layer needs display if presentation layer moves?
  • Index(es):
    • Date
    • Thread