Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Source dictionaries from file?



The alternative seems to be to use the Xcode template to write a ScreenSaver, and include the Quartz framework, load the composition, and go from there. If I create my array of dicts in the Cocoa ScreenSaver, can I bind it to a published port in the composition to access it?

See /Developer/Examples/Quartz Composer/Chart for an example

Working on a similar screen saver and this was the way I went. Doesn't take too long to do and is much more flexible. One other advantage is a user can just double-click the .saver bundle and they will be prompted in which user domain they wish to install it in.

Haven't done any work on it recently, but a few seed releases ago, I could pass the data in using KVC as either an NSDictionary or an NSArray. For some reason, I couldn't set an array of dictionaries. They structure index and key patches didn't parse the values. Could be fixed now as this was back in February or March.

Yes, it should work fine now.

________________________________________________________
Pierre-Olivier Latour                            email@hidden
Quartz Composer Architect                Graphics & Imaging Team

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Two (and a half) Questions (From: Jon Hull <email@hidden>)
 >Re: Two (and a half) Questions (From: Edward Brown <email@hidden>)
 >Source dictionaries from file? (From: "Fabian R. Lischka" <email@hidden>)
 >Re: Source dictionaries from file? (From: Benjamin Miller <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.