The ultimate Core Graphics resource


Liberate your application

Now works on all architectures, and without hiccups!

Can’t get enough of window transitions? Love a little eye candy? Well, you’re in luck. The Core Graphics Framework and Xcode Project Template make adding the fantastic Core Graphics function to your app a breeze. In fact, it’s even more complete than the tutorial, and already has more features in it before you write a single line of code! It doesn’t stop there, however. This framework powerful enough to use the genie effect. That’s right. That awesome Mac OS X transform you can get when you minimize an application. Core Graphics contains a wealth of resources. You really have to check it out.

Point. Click. Zoom!

The CGS Framework is a an implementation of transitions, transforms and everything Core Graphics. It includes the definitions and implementations for the methods, so that using a transition or transform is as simple as calling a single method! For example, scaling a window is as simple as a “- scale: about:” call on the window, and rotating it just requires a single “- rotate: about:”. In the same way, Core Graphics is laid bare with this framework, for you to utilize at your pleasure!

Don't lift a finger

The framework does all the work for you, but even then, it gets simpler. Source for a sample app is included which means that you can create Core Graphics projects straight away by building on top of it. This saves you, the developer time in adding and linking the Framework, and reading and implementing the Core Graphics class in Interface Builder, as well as adding the framework to your project. A single double-click on the sample project and it’s all done for you. What more could you ask? Download a copy and check it out today. You’ll be surprised how powerful it is.

Gimme already!

Now a universal binary for your developing pleasure!

CGS Framework + Sample App

Once downloaded, open CoreGFX.app to view some of the possible effects. You can copy the source folder to hard drive if you need to build a Core Graphics enabled app. Enjoy the wonderfulness, and I hope you have fun!


Any queries, fire away.

Make sure you understand that some of the functions of Core Graphics used in this framework are undocumented, internal APIs that Apple haven’t released. (Calm down. It’s not illegal). Having said that, apps like Quicksilver would be quite bland without the use of the undocumented Core Graphics functions, so exercise your discretion.

This project relies heavily on work by Wade Tregaskis and his Rotating Windows.

© 2006 Ankur Kothari.


Back to Top ↑

32 Comments so far

Leave a comment

Pages: [1] 2 » Show All

  1. 1

    I really can’t believe this! Thank you so much!

  2. 2

    Thanks so much for this, but I actually wasn’t able to get it working. It looks like the NSWindow+Transforms.h file isn’t being seen in the application, since every button I push results in a console message saying that NSWindow won’t respond to the function that is trying to be called.

    I’m running this on my MacBook, so it could be an Intel problem. All the other Core Animation posts here have been great (I’ve already implemented the AnimatingTabView in one of my applications) and I would love to see this framework working. Thanks for any help!

Pages: [1] 2 » Show All

RSS feed for comments on this post. TrackBack URI

Leave a comment

Comments may be edited for formatting.