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: Enumerated list of CIFilter names?



The filter names should not change, as long as you're using the filter name for identification and not the Display Name. I wouldn't use an index to that array, because not only could they add new filters but the order is implementation specific and may change :)

On Feb 8, 2007, at 12:00 PM, Roland Torres wrote:

I'd like to assign a unique (unchanging) identifier to each possible CIFilter type, so that a user can drag and drop filters from a GUI palette. When I use +filterNamesInCategories:nil, I get back an NSArray with all filters in all categories, about 100 in all. However, I suspect that the filter names in this list are subject to change from one OS release to the next, so I can't rely on a filter's index in this array for unique identification.

Is there a header file somewhere that has an enumerated list of the CIFilter names? Or is there a preferred way to do this?

Roland

_______________________________________________
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

 _______________________________________________
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: 
 >Enumerated list of CIFilter names? (From: Roland Torres <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.