Skip to content

Commit 4ce7382

Browse files
committed
added readme
1 parent 4835388 commit 4ce7382

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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
```

0 commit comments

Comments
 (0)