//
//  searchResultTableCell.m
//  tuber
//
//  Created by ドラッサル 亜嵐 on 2016/06/09.
//  Copyright © 2016年 ドラッサル 亜嵐. All rights reserved.
//

#import "searchResultTableCell.h"

@implementation searchResultTableCell

- (UILabel *)textLabel {
    return self.customTitle;
}

- (UILabel *)detailTextLabel {
    return self.customTitleDetail;
}

- (void) layoutSubviews {
    [super layoutSubviews];
    /*
    self.textLabel.frame = CGRectMake(self.frame.size.height / 3 * 4 + 5,
                                      4.0,
                                      self.frame.size.width - self.frame.size.height / 3 * 4 - 5,
                                      self.textLabel.frame.size.height);
    self.detailTextLabel.frame = CGRectMake(self.frame.size.height / 3 * 4 + 5,
                                            8.0 + self.textLabel.frame.size.height,
                                            self.frame.size.width - self.frame.size.height / 3 * 4 - 5,
                                            self.detailTextLabel.frame.size.height);
     */
    //self.customTitle.preferredMaxLayoutWidth = self.customTitle.frame.size.width;
    [self layoutIfNeeded];
}

@end
