We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm having trouble setting a custom font on my KILabel.
Here's my code:
self.myLabel = [[KILabel alloc] init]; self.myLabel.text = @"Some random text"; self.myLabel.font = [UIFont fontWithName:@"HelveticaNeue-Light" size:12.4]; self.myLabel.textColor = [UIColor colorWithRed:0.000 green:0.000 blue:0.000 alpha:1]; [self.myLabel sizeToFit];
Any idea how I can set a custom font and font size?
The text was updated successfully, but these errors were encountered:
I just took a closer look at the code and realized I need to be setting the font property before setting the text.
Sorry, something went wrong.
No branches or pull requests
I'm having trouble setting a custom font on my KILabel.
Here's my code:
Any idea how I can set a custom font and font size?
The text was updated successfully, but these errors were encountered: