¡@

Home 

2014/10/15 ¤U¤È 10:04:41

iphone Programming Glossary: bordercolor

UITableView cornerRadius with border performance issues on iOS

http://stackoverflow.com/questions/11224955/uitableview-cornerradius-with-border-performance-issues-on-ios

on iOS I have some interesting notice with scrolling performance on UITableView with cornerRadius borderWidth and borderColor enabled. self.tableView.layer.cornerRadius 10.f self.tableView.layer.borderWidth 1.0f self.tableView.layer.borderColor UIColor.. borderColor enabled. self.tableView.layer.cornerRadius 10.f self.tableView.layer.borderWidth 1.0f self.tableView.layer.borderColor UIColor whiteColor .CGColor If I remove borderWidth and borderColor than scrolling gets 60 FPS no problem. As long as I.. 1.0f self.tableView.layer.borderColor UIColor whiteColor .CGColor If I remove borderWidth and borderColor than scrolling gets 60 FPS no problem. As long as I add those two properties to layer FPS drops. Does anyone have a suggestion..

How do I fade in /out a rectangle or text?

http://stackoverflow.com/questions/1939841/how-do-i-fade-in-out-a-rectangle-or-text

fadeOutAnimation forKey @ animateOpacity If all you want to do is fade in out a border around a view try animating the borderColor property of the UIView's layer same as the above CABasicAnimation only replacing opacity with borderColor and the toValue..

How to customize the background/border colors of a grouped table view cell?

http://stackoverflow.com/questions/400965/how-to-customize-the-background-border-colors-of-a-grouped-table-view-cell

CustomCellBackgroundViewPosition @interface CustomCellBackgroundView UIView UIColor borderColor UIColor fillColor CustomCellBackgroundViewPosition position @property nonatomic retain UIColor borderColor fillColor @property.. UIColor borderColor UIColor fillColor CustomCellBackgroundViewPosition position @property nonatomic retain UIColor borderColor fillColor @property nonatomic CustomCellBackgroundViewPosition position @end CustomCellBackgroundView.m Created by Mike.. context CGRect rect float ovalWidth float ovalHeight @implementation CustomCellBackgroundView @synthesize borderColor fillColor position BOOL isOpaque return NO id initWithFrame CGRect frame if self super initWithFrame frame Initialization..