• 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
IKFilterUIView binding?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IKFilterUIView binding?


  • Subject: IKFilterUIView binding?
  • From: Albert Martin <email@hidden>
  • Date: Wed, 25 Feb 2009 16:38:31 -0500

I am having trouble getting an IKFilterUIView to bind to it's CIFilter. I don't get any compile or runtime errors, but when I'm editing the settings in the IKFilterUIView it doesn't update the CIFilter settings that are being applied to a CALayer. Here's the code ... what am I doing wrong?

// setting up the CIFilter
filterContainer_Bloom = [CIFilter filterWithName:@"CIBloom"];
[filterContainer_Bloom setDefaults];

// setting up the IKFilterUIView
filterSettings_Bloom = [filterContainer_Bloom viewForUIConfiguration: [self createOptionsDictionary] excludedKeys:[NSArray arrayWithObject:@"inputImage"]];
[filterSettingsContainerView addSubview: filterSettings_Bloom];


// binding the IKFilterUIView to the CIFilter
[filterContainer_Bloom bind:@"inputRadius" toObject: [filterSettings_Bloom filter] withKeyPath:@"inputRadius" options:nil];


// adding the CIFilter to the CALayer filter array
[effectsArray addObject: filterContainer_Bloom];
_______________________________________________

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


  • Prev by Date: Re: NSTableView Cell edit values.
  • Next by Date: Re: NSTableView Cell edit values.
  • Previous by thread: Re: Cocoa Support for Mail
  • Next by thread: makeKeyAndOrderFront Crashing
  • Index(es):
    • Date
    • Thread