Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

custom text colors #1

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

custom text colors #1

wants to merge 12 commits into from

Conversation

hezi
Copy link

@hezi hezi commented Sep 26, 2011

hi, added support for custom text colors.
both delegate methods are optional, with default color being white as it is now.

self.itemCount = [dataSource numberOfItemsForMenu:self];
self.backgroundColor = [dataSource backgroundColorForMenu:self];
self.selectedImage = [dataSource selectedItemImageForMenu:self];
_textColor = _selectedTextColor = [UIColor whiteColor];
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should create accessors for any iVars. Accessing them is not recommended.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants