iOS的avatar初始化生成器:CDFInitialsAvatar

分享到:
使用简单的iOS avatar初始化生成器。高度可定制,但有默认值。

iOS的avatar初始化生成器:CDFInitialsAvatar

用法

Defaults mimic look of Apple's own implementation of initial avatars, found in Contact.app and Messages.app on iPhone or OS X. Thus, usage can be as simple those who lines:

CDFInitialsAvatar *initialsAvatar = [[CDFInitialsAvatar alloc] initWithRect: imageView.bounds fullName:@"Toto Tvalavadze"];
imageView.image = initialsAvatar.imageRepresentation; // actual drawing happens here

项目主页:http://www.open-open.com/lib/view/home/1425456902962

昵    称:
验证码:

相关文档: