/ Published in: Objective C
                    
                                        This is exactly what I was looking for since I come from web development
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 //If you come from a web development background, you're probably more used to hex color //strings. Put this macro at the top of your .m file, after the imports #define UIColorFromRGB(rgbValue) [UIColor \ colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \ green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \ blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0] //Now you can simply write cell.textColor = UIColorFromRGB(0xFF3366);
URL: http://www.reigndesign.com/blog/liven-up-your-boring-uitableview-part-1/
Comments
                    Subscribe to comments
                
                