Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 976 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 976 Bytes

kFriendCircleView

An iOS View to help cleanly display a group of friends in a flat style. Now with ARC!

Gif Screenshot

How to Use:

  1. Create a KFRiendCircleView, either in IB or in code using initWithFrame:Pictures:Usernames:
  2. (Mainly for use in IB) add more users using addUser: withImage:
  3. Set the selected user
  4. DONE!

Ex:

in ViewController.h:

@property (strong, nonatomic) IBOutlet KFriendCircleView *circle;

in viewController.m:

//set to show the triangular selector below the selected user
self.circle.showSelector = YES;

//add users
[self.circle addUser:@"kkoser" withImage:[UIImage imageNamed:@"Test.png"]];
[self.circle addUser:@"kkoser" withImage:[UIImage imageNamed:@"Test.png"]];

[self.circle animate]; //this animates in all of the images from a blank view
self.circle.selected = 0; //set the selected