How to set background color for specific section header?

Keep an NSArray of UIColor objects as an instance variable of your class (the view controller that acts as delegate/data source), say you call it sectionColors . You can initialize the colors in this array from values in your plist, or hard-code the colors.

You will need to use the passed-in section and relate it to one of the sections in your plist file. You will probably load a dictionary of the "section" as it exists in the plist (probably loaded based on it's position in an array being the same as section), and then use valueForKey:@"enabled" or similar in an if() check, and set your state accordingly.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions