Core Animation: Simplified Animation Techniques for Mac and by Marcus Zarra

By Marcus Zarra

Attempted Dudney's publication first and again it since it was once nearly completely for the Mac and never iPhone - spent many pages at the animator proxy which doesn't exist at the iPhone. So, i used to be comfortable to work out this publication released via remarkable and a professional authors. even if, this one's going again to Amazon too.

First of all, this booklet is quite dear for under ~200 pages, a lot of it code and long directions on constructing initiatives. i guess the price is due to the colour printing on nearly each web page (code examples, screenshots).

Second, a lot of this booklet is directed completely to Mac devs with just a token 18 web page bankruptcy devoted to the iPhone that frankly doesn't even fit the standard of documentation and examples supplied through Apple (for free).

Part I with Chapters 1 & 2 is sweet to very good, yet bankruptcy three which covers simple Animation doesn't point out iPhone even as soon as and back spends loads of time at the Animation Proxy item. bankruptcy four discusses Keyframe Animation and does provide one solid instance for the iPhone (there could be DOZENS of these in a publication on middle Animation for the iPhone). although, Chapters 6, 7, eight & nine disguise issues no longer on hand at the iPhone in any respect for a complete of seventy eight pages (remember out of ~200 pages) for over a 3rd of the ebook. bankruptcy eleven talks approximately interacting with a mouse and keyboards (again, now not for an iPhone).

So, i am nonetheless awaiting a publication on middle Animation for the iPhone with out code that begins with "NSxxx" that teaches me the best way to make my very own view transitions (e.g. like in a slide presentation), dissects a number of real-world examples of average makes use of of animation acceptable for the iPhone utilizing layers extra, and UIView tools much less, and was once now not first written basically for the Mac and converted a little bit to entice iPhone devs (Core Animation really got here first to the iPhone OS in accordance with this book).

Show description

Read Online or Download Core Animation: Simplified Animation Techniques for Mac and iPhone Development PDF

Similar media books

Mobile TV: DVB-H, DMB, 3G Systems and Rich Media Applications

Solely devoted to cellular television, this publication presents an in depth perception to cellular multimedia characterised effective compression concepts, protocols formalized by way of 3GPP or 3GPP2, services of broadcast, and cellular networks for supplying multimedia content material. community requisites equivalent to spectrum; chipsets, software program and handsets which allow multimedia prone; supply systems and content material defense applied sciences which supply profit coverage are coated intimately.

CGI Filmmaking: The Creation of Ghost Warrior

"One individual, desktops, six months … twenty-two mins" half "art-of," half "how-to," CGI Filmmaking: The production of Ghost Warrior explores how one artist created a feature-quality, 22-minute lively movie in six months of creation. the hot developments in robust, but inexpensive courses for 3D animation and compositing make such an project attainable.

Additional resources for Core Animation: Simplified Animation Techniques for Mac and iPhone Development

Sample text

0, it will be located at the bottom-left corner. bounds The bounds property animates the shape of the bounding rectangle. It does not affect the layer’s position. frame The frame property is not animated in a layer. You can set this parameter and the layer’s internal value with change; however, you won’t see the actual animation. If you want to animate a layer’s bounds, that is, its bounding rectangle, use the bounds property. If you want to change the position, use the position property. On views and windows, setting frame causes the bounding frame to animate.

For example, if you try to load your views on top of the current view by adding them as subviews instead of using a navigation controller stack, your design will be difficult to maintain from a coding standpoint, and the flow of the application will disorient your end user. Instead, when you create new views, use view controllers and push and pop them on and off of the navigation stack as specified in the iPhone HIG. What Should I Animate? 23 When Should I Use Core Animation? User Input If you need to capture input from the user, use a standard control—which is based on either an NSView on the Mac or a UIView on the iPhone.

Listing 3-6 demonstrates how to do this. 0f] forKey: kCATransactionAnimationDuration] [layer setBounds:bounds]; [CATransaction commit]; 3 [CATransaction begin] [CATransaction setValue:[NSNumber numberWithBool:YES] forKey: kCATransactionDisableActions] [layer setBounds:bounds]; [CATransaction commit]; 32 CHAPTER 3 Basic Animations As you might suspect, we can also animate properties of a layer explicitly. To achieve the exact same effect as we did with the code in Listing 3-6, we can instead use the code in Listing 3-7.

Download PDF sample

Rated 4.17 of 5 – based on 37 votes