NSDictionary *attribute = @{NSFontAttributeName: [UIFont systemFontOfSize:17]};
CGSize size = [_cards[1][i] boundingRectWithSize:CGSizeMake(1000, 40) options: NSStringDrawingTruncatesLastVisibleLine | NSStringDrawingUsesLineFragmentOrigin | NSStringDrawingUsesFontLeading attributes:attribute context:nil].size;
NSLog(@"%f",size.width);
CGSize size = [_cards[1][i] boundingRectWithSize:CGSizeMake(1000, 40) options: NSStringDrawingTruncatesLastVisibleLine | NSStringDrawingUsesLineFragmentOrigin | NSStringDrawingUsesFontLeading attributes:attribute context:nil].size;
NSLog(@"%f",size.width);