Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add note label for each day #81

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

Conversation

yuwen-yan
Copy link
Contributor

No description provided.

@yuwen-yan
Copy link
Contributor Author

@jmig a new feature, please help review :)

@yuwen-yan
Copy link
Contributor Author

Kindly ping, any feedback? @jmig

@@ -72,6 +73,22 @@ - (id)initWithFrame:(CGRect)frame
if (self) {
_date = nil;
_isToday = NO;

_noteLabel = [[UILabel alloc] init];
[self.noteLabel setFont:[UIFont systemFontOfSize:10.0]];
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we allow customization of this font using UIAppearance? That could be handy.

@jmig
Copy link
Contributor

jmig commented Oct 26, 2015

@ybbaigo Sorry for the delay, I think it is a great feature to add, thanks for the PR! I added a few comments, and I think it will make the code better.

Also while we're at it, would you mind adding some SnapshotTests for your feature? It's fairly easy and will improve the library even more. If you need help regarding this, let me know!

@yuwen-yan
Copy link
Contributor Author

Got it, thanks for your feedback, @jmig . Due to some reasons, I can't work on this feature today or tomorrow, and will try to submit the next PR with SnapshotTests later this week, just want to let you know.

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

Successfully merging this pull request may close these issues.

2 participants