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 PCLead : NSObject | |
@property NSString *name; | |
@property NSString *surname; | |
@property NSString *company; | |
@end |
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
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { | |
return 7; | |
} | |
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { | |
static NSString *CellIdentifier = @"LeadCell"; | |
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath]; | |
return cell; | |
} |
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 PCLeadViewController () | |
@property (weak, nonatomic) IBOutlet UILabel *nameLabel; | |
@property (weak, nonatomic) IBOutlet UILabel *surnameLabel; | |
@property (weak, nonatomic) IBOutlet UILabel *companyLabel; | |
@property (strong, nonatomic) IBOutletCollection(UILabel) NSArray *captionLabels; | |
@property (strong, nonatomic) IBOutletCollection(UILabel) NSArray *labels; | |
@end |
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 PCLeadViewController () | |
@property (weak, nonatomic) IBOutlet UILabel *nameLabel; | |
@property (weak, nonatomic) IBOutlet UILabel *surnameLabel; | |
@property (weak, nonatomic) IBOutlet UILabel *companyLabel; | |
@end | |
- (void)viewDidLoad { | |
[super viewDidLoad]; |
NewerOlder