Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page >

スタンドアロンのコンポジションを作成する

Quartz Composerのコンポジションは、スタンドアロンのアプリケーションに保存し、再生することができます。本章では、Interface BuilderのQuartz Composerパレットを紹介し、Cocoaアプリケーションの一部であるQCViewにコンポジションを読み込む方法について説明します。この作業は、コードを記述しなくても実行できます。新しいCocoaアプリケーションを作成し、アプリケーションウインドウにQCViewが表示されるようにInterface Builderでnibファイルに変更を加え、読み込むQuartz Composerのコンポジションを指定するだけです。コンパイルしたCocoaアプリケーションを起動すると、コンポジションが自動的に再生されます。

スタンドアロンのコンポジションを作成するには、以下の手順に従います。

  1. “Cocoaアプリケーションを作成する”

  2. “Quartz Composerパレットをインストールする”

  3. “MainMenu.nibファイルに変更を加える”

  4. “Cocoaアプリケーションをビルドする”

スタンドアロンのコンポジションを作成する練習をさらにしたい場合は、“例:Dancing Cubeコンポジション”を参照してください。

Quartz Composerのアプリケーションプログラミングインターフェイスは、次の場所にあります。

/System/Library/Frameworks/Quartz.framework/QuartzComposer.framework



< Previous PageNext Page >


Last updated: 2006-12-05




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice