You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`string` is the string used to generate the initials. This should be a user's full name if available.
39
40
@@ -43,6 +44,8 @@ Call the following methods on any `UIImageView` instance to set the image:
43
44
44
45
`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).
45
46
47
+
`textAttributes` is an NSDictionary that allows you to specify font, text color, shadow properties, etc., for the letters text, using the keys found in `NSAttributedString.h`.
Sets the image property of the view based on initial text, a specified background color, custom text attributes, and a circular clipping
69
+
70
+
@param string The string used to generate the initials. This should be a user's full name if available
71
+
@param color (optional) This optional paramter sets the background of the image. If not provided, a random color will be generated
72
+
@param isCircular This boolean will determine if the image view will be clipped to a circular shape
73
+
@param textAttributes This dictionary allows you to specify font, text color, shadow properties, etc., for the letters text, using the keys found in NSAttributedString.h
0 commit comments