Last active
December 28, 2015 18:59
-
-
Save matteom/7546844 to your computer and use it in GitHub Desktop.
Table view cell for leads
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface PCLeadCell () | |
@property (weak, nonatomic) IBOutlet UILabel *nameLabel; | |
@property (weak, nonatomic) IBOutlet UILabel *companyLabel; | |
@end | |
@implementation PCLeadCell | |
- (void)setLead:(PCLead *)lead { | |
_lead = lead; | |
self.nameLabel.text = [lead.name stringByAppendingFormat:@" %@", lead.surname]; | |
self.companyLabel.text = lead.company; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment