-
Notifications
You must be signed in to change notification settings - Fork 336
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
base: master
Are you sure you want to change the base?
Conversation
@jmig a new feature, please help review :) |
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]]; |
There was a problem hiding this comment.
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.
@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! |
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. |
No description provided.