IKFilterUIView - Problem with text fields
IKFilterUIView - Problem with text fields
- Subject: IKFilterUIView - Problem with text fields
- From: paul morel <email@hidden>
- Date: Tue, 9 Mar 2010 17:52:53 +0100
- Importance: Normal
Hi,-I am developping a program where I use an IKFilterUIView to manage the user interface for filters. I also created my own filter according to the core image filter tutorials in the Mac Dev Center.
So far I have the user interface and when I interact with the sliders it works pretty well. But as soon as I try to type a value for the parameters in the text field and press 'return' is doesn't work and the program stops and I can't do anything else. In the console I have an error : " MyProcessingFilter: MyProcessing: argument #1 (p) should be a CIVector object" , whereas the argument p is clearly defined as a NSNumber and has never been defined as a CIVector! But this happens only with my own filter. When I try the same thing with filters already installed there is no problem with this text field! So the bindings are correct. So is there someone who would have an idea of what I could do or check or anything?
I tested the filter with the ImageUnitAnalyzer and it passed! So I don't think it comes from the filter.
-By the way, do you know how it is possible to choose how to display the values in the same text field, i.e. if my parameter is an integer value I don't want to see '4.12222212' but '4' when I move the slider.
Thanks
Mav.
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969_______________________________________________
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