Re: How do I animate Core Graphics drawing?
Re: How do I animate Core Graphics drawing?
- Subject: Re: How do I animate Core Graphics drawing?
- From: email@hidden
- Date: Thu, 13 Feb 2014 18:50:24 +0900
This time with the list.
Sent from my iPhone
> On 2014/02/12, at 17:57, John Joyce <email@hidden> wrote:
>
> So, it was WWDC 2013 session 213 Best Practices for Cocoa Animation
> Some good stuff to get started there.
> That and 2010’s session 214 and 2012’s season 217.
> With those, you should be able to determine what’s going to work for you, and what’s going to be a short and long term solution.
>
>
>> On Feb 12, 2014, at 9:25 AM, Rick Mann <email@hidden> wrote:
>>
>>
>>> On Feb 11, 2014, at 16:20 , email@hidden wrote:
>>>
>>> If you don't find it first, I'll post the link later.
>>
>> Thanks, that would be great!
>>
>>> It talks about creating custom default animations for a custom view.
>>> They show a simple example of a red rect path animation the stroke width.
>>>
>>> Unfortunately asciiwwdc doesn't include the text of the PDFs associated with each video as far as I can tell and is just taking the transcript.
>>> The transcripts also are clearly automated (when provided by Apple as closed captions) and not always accurate. These things might hinder some searches.
>>> But even the PDFs don't include things like presenter notes and are sometimes very rough exports from Keynote.
>>>
>>> Sent from my iPhone
>>>
>>>>> On 2014/02/12, at 9:08, Rick Mann <email@hidden> wrote:
>>>>>
>>>>>
>>>>> On Feb 11, 2014, at 15:58 , email@hidden wrote:
>>>>>
>>>>> I don't recall the title but there was a recent WWDC video that includes this topic.
>>>>> It's not a one step process but not that hard either.
>>>>
>>>> Thanks. I searched asciiwwdc.com, but there are MANY videos discussing animation, and it wasn't clear which one I should watch. I'll look again when I have more time.
>>>>
>>>> Wish they had outlines.
>>>>
>>>>>
>>>>> Sent from my iPhone
>>>>>
>>>>>> On 2014/02/12, at 8:43, Rick Mann <email@hidden> wrote:
>>>>>>
>>>>>> In my app, I annotate a floor plan with lines of arbitrary length and location, capped with circles (like stretchy barbells). The UZ design calls for collapsing these into a single circle placed at the center of the line when they're not being edited. There can be many (probably not more than 10 or 20) of these lines scattered over the floor plan.
>>>>>>
>>>>>> I'd like to animate the collapse and expansion of these barbells, all at a time. They do not live in their own views, but rather are drawn in one large overlay view that spans the screen, in -drawRect:.
>>>>>>
>>>>>> Can I leverage Core Animation, or should I just make a timer and animate it myself (by repeatedly calling -setNeedsDisplay on my overlay view)?
>>>>>>
>>>>>> I could try to make these drawn with CAShapeLayers, but during editing, the user can drag one end or the other around arbitrarily. A layer that just bounds the barbell would have to dynamically change size as the user does this, or be sized full-screen, which might consume a lot of memory; I'm not sure.
>>>>>>
>>>>>> --
>>>>>> Rick
>>>>
>>>>
>>>> --
>>>> Rick
>>>
>>> _______________________________________________
>>>
>>> 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
>>
>>
>> --
>> Rick
>
_______________________________________________
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