Skip to content

Commit 32de9b3

Browse files
committed
Added new method to readme
1 parent 4a6a12f commit 32de9b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ 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`
36+
+ `- (void)setImageWithString:(NSString *)string color:(UIColor *)color circular:(BOOL)isCircular fontName:(NSString *)fontName`
3737

3838
`string` is the string used to generate the initials. This should be a user's full name if available.
3939

4040
`color` is an optional parameter that sets the background color of the image. Pass in `nil` to have a color automatically generated for you.
4141

4242
`isCircular` is a boolean parameter that will automatically clip the image to a circle if enabled.
4343

44-
`fontName` is a NSString that specifies a custom font. See all String Identifiers for built in iOS fonts [here](http://iosfonts.com).
44+
`fontName` is a string that specifies a custom font. Pass in `nil` to use the system font by default. The list of provided font identifiers can be found [here](http://iosfonts.com).
4545

4646
##### Example
4747

0 commit comments

Comments
 (0)