Skip to content

Commit 82d232a

Browse files
author
Francisco Rojas
committed
Add border to profile image in profile page
1 parent 10d37e8 commit 82d232a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

TwitterClient/Controllers/ProfileViewController.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Copyright © 2015 Francisco Rojas. All rights reserved.
77
//
88

9+
#import <QuartzCore/QuartzCore.h>
910
#import "ProfileViewController.h"
1011
#import "ComposerController.h"
1112
#import "TweetDetailsViewController.h"
@@ -72,6 +73,11 @@ - (void)viewDidLoad {
7273

7374
[self fetchUserTimeLine];
7475

76+
[self.profileImageView.layer setBorderColor: [[UIColor whiteColor] CGColor]];
77+
[self.profileImageView.layer setBorderWidth: 3.0];
78+
self.profileImageView.layer.cornerRadius = 5;
79+
self.profileImageView.clipsToBounds = YES;
80+
7581
}
7682

7783
- (void)didReceiveMemoryWarning {

0 commit comments

Comments
 (0)