Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

KardelSharpeye

macrumors member
Original poster
Apr 28, 2009
56
0
Hello,

I am just trying to give an object a glow by using the CALayer shadowColor but i cant find out how to successfully do it. The more I look the more confusing I got. Somehow I came to CIFilter but when I try to use this it says CIFilter is undeclared (first use in this function). I believe that CIFilter is in Quartzcore.framework and i have imported in my list of frameworks as well as my implementation file.

Please help.

Thanks.
 
by making an image that has a glowing/shadow effect? my guess :D I don't think there is a built in function to do it
 
tehres shadowColor for CALayer and filters for CIFilter but i JUST dont know how to set those values...
 
CALayer's shadow* properties are only available in Mac OS X and aren't defined in the iPhone OS headers, but the filters one is. However, according to the docs:
While the CALayer class exposes this property, Core Image is not available in iPhone OS. Currently the filters available for this property are undefined.​
 
lol DOH! so there is no way huh...=(

EDIT:

is there any visual effect that i can use to show the user that an object is selected?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.