mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
22 lines
635 B
Objective-C
22 lines
635 B
Objective-C
#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
|