Skip to content

Display user's initials to serve as either the placeholder or as the main profile picture view.

Notifications You must be signed in to change notification settings

thelastjedi/ProfilePicture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ProfilePicture

Display user's initials to serve as either the placeholder or as the main profile picture view.

Why?

Gender-neutral alternative to placeholder images for your app users.

How?

  • Import “ProfilePicture.h”

  • Setup profilepicture using the below method:

	-(void)loadUserImage:(id)image forUser:(NSString*)username;
  • Customise:
	@property (nonatomic, strong) UIFont  * initialsFont;
	@property (nonatomic, strong) UIColor * initialsColor;
	@property (nonatomic, assign) CGFloat   imageInset;
	@property (nonatomic, assign) BOOL      isSquare;
  • ProfilePicture-Example

profilepicture-example

About

Display user's initials to serve as either the placeholder or as the main profile picture view.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published