• 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: adding a page curl transition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding a page curl transition


  • Subject: Re: adding a page curl transition
  • From: Matt Neuburg <email@hidden>
  • Date: Mon, 14 Sep 2009 09:32:11 -0700
  • Thread-topic: adding a page curl transition

On Mon, 14 Sep 2009 13:57:32 +1000, Graham Cox <email@hidden>
said:
>
>On 14/09/2009, at 1:31 PM, Matt Neuburg wrote:
>
>> My question is simply this: what's the best strategy for
>> implementing this?
>> Unlike the Reducer tab view example, I don't have a view in advance
>> representing the future state of the window (i.e. what it will look
>> like
>> after the transition). I'm not substituting one view for another, I'm
>> altering the content of a whole bunch of fields at once and I want the
>> *whole* window to peel back to reveal the new values.
>>
>> I'm thinking this is probably such a common thing to want to do that
>> someone
>> has already been down this road. Thx - m.
>
>I've implemented this in a simple slideshow app that you can download
>the source for. I just use Core Image - no point trying to roll your
>own when the OS has a solution built right in - you need to have two
>images in memory, the current one and the next one to show

Ah, but the crux of my question is that I don't have "the next one to show".
I don't know what the window will look like when selecting a different core
data entity until I select it, and by then it's too late. That's why I'm
asking for a strategy...

For example, I can imagine something like this. Take a "screen shot" of the
window. Cover the whole window with a secondary window. Behind the secondary
window, move the primary window on to the next entity. Take a second "screen
shot" of the window. Now I *do* have a "before" and "after" pair of
pictures. Perform the page curl animation in the secondary window, and
remove it.

That seems very elaborate, so before I do that I'm checking to see whether
that strategy is on the right track. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings



_______________________________________________

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: adding a page curl transition
      • From: Uli Kusterer <email@hidden>
    • Re: adding a page curl transition
      • From: Graham Cox <email@hidden>
  • Prev by Date: Need Help : Iphone Dynamic behavior Tab Controller!
  • Next by Date: Text Searching system...
  • Previous by thread: Re: adding a page curl transition
  • Next by thread: Re: adding a page curl transition
  • Index(es):
    • Date
    • Thread