File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,13 +33,16 @@ Call the following methods on any `UIImageView` instance to set the image:
3333+ ` - (void)setImageWithString:(NSString *)string `
3434+ ` - (void)setImageWithString:(NSString *)string color:(UIColor *)color `
3535+ ` - (void)setImageWithString:(NSString *)string color:(UIColor *)color circular:(BOOL)isCircular `
36+ + ` - (void)setImageWithString:(NSString *)string color:(UIColor *)color circular:(BOOL)isCircular fontWithName: (NSString *) fontName `
3637
3738` string ` is the string used to generate the initials. This should be a user's full name if available.
3839
3940` color ` is an optional parameter that sets the background color of the image. Pass in ` nil ` to have a color automatically generated for you.
4041
4142` isCircular ` is a boolean parameter that will automatically clip the image to a circle if enabled.
4243
44+ ` fontName ` is a NSString that specifies a custom font. See all String Identifiers for built in iOS fonts [ here] ( http://iosfonts.com ) .
45+
4346##### Example
4447
4548```
You can’t perform that action at this time.
0 commit comments