Search

Showing posts with label Pragmatic. Show all posts
Showing posts with label Pragmatic. Show all posts

Core Animation for Mac OS X and the iPhone: Creating Compelling Dynamic User Interfaces (Pragmatic Programmers)

Great Price "Core Animation for Mac OS X and the iPhone: Creating Compelling Dynamic User Interfaces (Pragmatic Programmers)" for $18.82 Today



Core Animation is a powerful new Apple technology that debuted with Mac OS X Leopard. As it was later revealed, it was a technology that originated for the iPhone.

Core Animation is actually comprised of two different technologies:
1) An animation technology
2) A layering (compositing) technology

Core Animation makes it easy to animate a "view" object from point A to point B without having to write your own animation loop or timer callbacks. It can be as simple as just saying "move there" and Core Animation takes care of the rest.

The layering aspect is the part that caught my attention as an OpenGL developer. Basically, you can think of Core Animation as a textured rectangle engine, i.e. apply a 2D image on a quad, and then can transform it (translate, rotate, scale). Apple leverages OpenGL under the hood so this is all really fast...much faster than the traditional techniques which are CPU oriented instead of GPU oriented. But the real leverage of the technology comes from the fact that you can turn on Core Animation for any existing Apple widget so you can use their buttons and various views instead of reinventing the wheel making your own 2D image quads (not to mention event handling/responder chain).

Furthermore, because OpenGL is used as the back end for Core Animation, it is now finally possible to intermix previously unrelated UI pieces together in a single view. So for example, before it was really hard to superimpose an OpenGL view with a Quicktime view and a Cocoa view for building a sophisticated UI. The "layering" part of Core Animation is now the grand unification technology that allows all this to just work together because all can now be rendered via Core Animation layers which is all OpenGL at the bottom. (The technology was originally called LayerKit before Apple renamed it to Core Animation.)

I find this particularly compelling for building UI interfaces. Before I might do a lot of the hard painful work of writing 2D stuff in OpenGL directly that required fluid animation and speed. But now Core Animation provides a simple API to do this and already provides me powerful capabilities such as rendering high quality text (always a pain in OpenGL).

Unfortunately, documentation is hard to come by for Core Animation. I think it has hurt its adoption rate.

Enter Bill Dudney who has addressed that shortcoming by writing the book "Core Animation or Mac OS X and the iPhone".

Bill Dudney covers it all, from simple animation and layer-backed views (i.e. using Core Animation with traditional NSView's on Mac) to using Core Animation layers directly for more powerful and expressive capabilities.

For anybody needing to deal directly with Core Animation, I think this book is a must-have.

However, I have seen some criticisms of the book, mostly from iPhone developers. So I want to be clear on what this book is about (or not about).

This book is specifically geared towards Core Animation, not Cocoa or iPhone programming in general. (Dudney is working on a general iPhone book which is worth looking at.) And knowledge of just Core Animation is not sufficient to build an entire application. This book is best suited for those people who want to make superior and elegant UIs to differentiate their products (or simplify implementation in my case), and not settle for run-of-the-mill looking UIs. For example, he builds a simple Front Row like interface as one of his more advanced code examples. But also to be clear, as much as I wish we had such a thing, this is not an elite Cocoa tips & tricks book or gems book so the focus is learning Core Animation (via mostly simple isolated examples), not doing elaborate example projects.

There is a single chapter on iPhone at the end of the book. There are not a lot of differences between pure Core Animation on Leopard and iPhone, so iPhone doesn't really need a whole lot of discussion. However, this also underscores that the book was really written with a Mac centric focus. The first section of the book covers using Core Animation with NSViews which is an important topic on Mac, but irrelevant to iPhone developers. When the book moves into dealing with Core Animation layers directly, this information is directly applicable to iPhone developers. But I can understand that iPhone developers may experience frustration at needing to work with Mac examples in these sections rather than iPhone examples. But the examples are fairly simple and to the point so you generally don't need to focus on the infrastructure differences between Cocoa and Cocoa Touch. Still, if you are an iPhone only developer, you might want to hold off on this book purchase unless your need to understand Core Animation is great and you can live with the fact that a significant portion of this book does not apply to you.

One other criticism I've seen is that the photos in the printed book are not in color. I can say that the e-book version is at least in color, though I personally don't think color is all that important for the topic material. (You might argue motion is important for animation, but I don't know how to address that in book form, short of making a flip-book.)

I do hope he will do something to address the new features in Snow Leopard and newer versions of iPhone OS whether it be a blog entry or an update to a book.

Core Animation for Mac OS X and the iPhone: Creating Compelling Dynamic User Interfaces (Pragmatic Programmers) Features

  • ISBN13: 9781934356104
  • Condition: NEW
  • Notes: Brand New from Publisher. No Remainder Mark.



Rating :
Price : $34.95
Offer Price : $18.82



Core Animation for Mac OS X and the iPhone: Creating Compelling Dynamic User Interfaces (Pragmatic Programmers) Overviews

Mac OS X Leopard introduces a fantastic new technology that makes writing applications with animated and cinematic user interfaces much easier. We'll explore this new technology by starting with the familiar concepts you already know from the pre-Leopard development kits.

Then we'll see how they apply to the new frameworks and APIs. We'll build on your existing knowledge of Cocoa and bring you efficiently up to speed on what Core Animation is all about.

With this book in hand, you can add Core Animation to your Cocoa applications, and make stunning user interfaces that your user's will be showing off to their friends.

Affordable Price at Store Check Price Now!



Customer Review


I wanted to love this book - Christopher Drum - Berkeley, CA USA
I wrote up a long, detailed breakdown of the failures of this book on my blog at [....], but here's the short version.
The book needs a few things to be successful, especially in light of the new crop of Cocoa developers coming around thanks to the iPhone. Most start with the definitiveCocoa(R) Programming for Mac(R) OS X (3rd Edition) by Aaron Hillegass and move on to learn about specific framework technologies. As such, certain stylistic and programming conventions that have come to represent "Cocoa programming best-practices" are not adhered to at all. Sample projects are lazy in scope, despite the author's stated intention to "spark our imagination." Sample code is often full of ivars and methods that aren't even used in the project. No memory management seems to be used at all. Code fluctuates between using "traditional" bracket notation and dot notation from project to project. And I could go on...

The author's writing is incredibly redundant, and the book could use an editor who isn't afraid to slash and burn. There are long passages that say nothing, and certain concepts and statements that come up again and again. Where on the one hand the author wants us to feel free to make "gaudy" things to learn how to integrate Core Animation into the future of interface design, he spends the better part of the book warning us against doing exactly that. He seems truly terrified that he's unlocking Pandora's Box upon the development community and will be personally held responsible if things start going wrong in Cocoa projects from now, forward. I humbly suggest this isn't the author's role in my life as a developer.

Perhaps my biggest beef with the book is that its target audience is ill-defined. It is definitely not an introduction to Cocoa, but it also tries too hard to hold the hand of more experienced developers. So its too easy for those with Cocoa experience, but too hard for those without experience.

I would really love to see this book re-imagined as a logical next-step from the Hillegass book and dig in deeply to Core Animation. Develop three or four deep, original projects, explain the code development in detail, build on the best-practices Hillegass teaches, and cater exclusively to a development community that understands Objective-C and how to use the Cocoa frameworks without fear.




Related to Items You've Viewed




*** Product Information and Prices Stored: May 07, 2010 12:18:10


Recommend : All About Bicycle Trailers - Best Deals, Discounts Best Deals, Reviews On Bike Bicycle Trailer Best Price And Reviews On Glass Television Stands Best Price And Reviews On LCD Television Stands

Read more

iPhone SDK Development (The Pragmatic Programmers)

Great Price "iPhone SDK Development (The Pragmatic Programmers)" for $21.00 Today



Walk down a city street, and in a short time, you'll most likely bump into someone who holds an iPhone. This device, which was formally introduced by Steve Jobs in January of 2007, has become one of the most coveted and loved handheld gadgets today. In fact, with the hardware on its third iteration and with its OS at version 3.0, it seems unimaginable to think what the world would be without it.

Without a doubt, one of the reasons for the iPhone's major success can be attributed to the involvement and support of thousands of third party software developers who create applications which run on the iPhone. These independent developers primarily serve to augment in a major way what is essentially Apple's limited number of built-in apps. There are now over hundreds of thousands of third party apps designed for the iPhone which has been downloaded billions of times.

While this number appears staggering, there seems to be no sign that the community of third party developers is slowing down. After all, as we know now, with the success of a number of iPhone apps, creating a small piece of software for the iPhone can result to a not-so-small fortune. And if you think that there's no more room for another app, think again. Once in a while, there comes out of nowhere a new app that is so unique and so amazing that iPhone users simply cannot resist downloading. And so, while Apple likes to advertise that "there's an app for that," there is definitely still room for newer and better iPhone apps.

If you have an idea for an app that you want to use on your iPhone but isn't out there yet, or even if you have a better idea for an app that's already out there, well, there's a software app for that--the iPhone SDK. First thing to do is to sign up with Apple to be one of its iPhone app developers (if you haven't done so yet). And then, pick out the "pragmatic" //iPhone 3.0 SDK Development// book by Bill Dudney and Chris Adamson. This is one big book, but it's not scary. Step-by-step, and at your own speed, you'd be guided through the tools and APIs that you can use to create your own software. Packed with useful examples, this book will give you both the big-picture concepts and the everyday "gotcha" details that developers need in order to make the most of the beauty and power of the iPhone OS platform. And with more than fifty sample programs written for iPhone SDK 3.0, this is one book that goes beyond the basic that will help you succeed in creating an app on today's most important mobile platform, the iPhone.

Reviewed by Dominique James

iPhone SDK Development (The Pragmatic Programmers) Features

  • ISBN13: 9781934356258
  • Condition: NEW
  • Notes: Brand New from Publisher. No Remainder Mark.



Rating :
Price : $38.95
Offer Price : $21.00



iPhone SDK Development (The Pragmatic Programmers) Overviews

Packing the power of desktop applications into a small mobile device, the iPhone SDK offers developers the ability to create dynamic, visually-appealing, and highly-capable mobile applications, using the same APIs and tools that Apple uses for its own applications.

However, harnessing that power means learning new tools, new APIs, and even a whole new programming language.

iPhone SDK Development is a Pragmatic guide to get you started developing applications for iPhone and iPod touch. With it, you'll get a complete understanding of the tools and techniques needed to succeed on the platform:

Use the XCode IDE to manage your source code, images, sounds, database files, and other application resources, building your app and deploying it onto your own device for testing.

Develop your user interface the visual, code-free way, with Interface Builder.

Master the iPhone's unique user interface components, including tables, tab bars, navigation bars, and the multi-touch interface.

Connect your iPhone to the outside world with networking, exploit the power of a relational database with SQLite, and rock out with first-class support for audio and video.

Make use of the iPhone's unique mobile APIs, like geolocation and the motion-sensing accelerometer

Use XCode's powerful performance and debugging tools to eliminate memory leaks, zombies, and other hazards.

* Understand the process for packaging your application for end-user distribution through Apple's App Store.

With explanations of the big picture and an eye to the little details that you'll need, iPhone SDK Development will help you succeed on today's most important mobile platform.

Affordable Price at Store Check Price Now!



Customer Review


Excellent book for beginners - RoryM - Chicago, IL USA
Wanted to develop an iPhone application, but had never done any iPhone or even Mac programming before. Excellent step-by-step instructions and detailed examples. Well tested sample code and examples that were surprisingly deep and useful. Can't say enough about how good this book really is. Took me from being a rookie to someone who can now effectively develop - and have enough background to use the Apple reference material to get to the next level.


Good introductory book - Amol Kher - Austin, Texas USA
As a completely new Mac programmer, this book was very easy and helped me gently ease into the topics with ample examples and logical flow.

I recommend it to anyone who wants to write an iPhone app.



Related to Items You've Viewed




*** Product Information and Prices Stored: May 02, 2010 10:59:07


Related : BUY "Cat And Dog Collars" NOW!! All About Cat And Dog Collars Best Deals, Reviews On Trailer For Bicycle Best Deals And Reviews On Cocoa Programming Tutorials Books Best Price And Reviews On 24 Fiberglass Extension Ladder

Read more