• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using CIFilter and IKFilterUIView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using CIFilter and IKFilterUIView


  • Subject: Using CIFilter and IKFilterUIView
  • From: Graham Cox <email@hidden>
  • Date: Mon, 10 Nov 2008 09:21:58 +1100

I'm using CIFilter to perform some special effects in my app, and I'm using IKFilterUIView to provide the interactive parameters to this. Leaving aside the problem of this UI being all over the place, layout- wise, I'm also having difficulty understanding what I need to do to actually make a functional system here.

IKFilterUIView uses an NSObjectController internally to connect the CIFilter to the UI controls. That seems fine, but then what? How can I get notified when the filter has changed and so update the objects that use the filter "live"? It looks as if I'll already have to modify my data model to handle this, since previously I created the CIFilter on the fly as needed and just stored its name and attributes dictionary in my object - looks like I need to cache the actual filter. But it's still not clear how I can pick up any change to the filter when the UI changes it via the controller. KVO possibly, but on what property? CIFilter has very few, and none that appear to be KVO compatible.

Stumped,


Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >IKFilterUIView uiConfiguration values - huh? (From: Graham Cox <email@hidden>)
 >Re: IKFilterUIView uiConfiguration values - huh? (From: Nathan Kinsinger <email@hidden>)
 >Re: IKFilterUIView uiConfiguration values - huh? (From: Graham Cox <email@hidden>)

  • Prev by Date: Cocoa and NSLog
  • Next by Date: Re: Cocoa and NSLog
  • Previous by thread: Re: IKFilterUIView uiConfiguration values - huh?
  • Next by thread: Observing NSArrayController selectionIndex always returns null
  • Index(es):
    • Date
    • Thread