mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
635 B
Matlab
22 lines
635 B
Matlab
|
12 years ago
|
#import "CountryCodeTableViewCell.h"
|
||
|
|
|
||
|
|
@implementation CountryCodeTableViewCell
|
||
|
|
|
||
|
|
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
|
||
|
|
self = [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class])
|
||
|
|
owner:self
|
||
|
|
options:nil] firstObject];
|
||
|
|
return self;
|
||
|
|
}
|
||
|
|
|
||
|
|
- (NSString *)reuseIdentifier {
|
||
|
|
return NSStringFromClass([self class]);
|
||
|
|
}
|
||
|
|
|
||
|
|
- (void)configureWithCountryCode:(NSString *)code andCountryName:(NSString *)name {
|
||
|
|
_countryCodeLabel.text = code;
|
||
|
|
_countryNameLabel.text = name;
|
||
|
|
}
|
||
|
|
|
||
|
|
@end
|