I have a tableView with attached Detail page. In the detail page is a Indexed TableView. One of the items(cases) requires a text wrap....Is there a way to Wrap text in a specific TableView case? See Code Below. Any help would be greatly appreciated. Thank you.
- (UITableViewCell *)tableViewUITableView *)tv cellForRowAtIndexPathNSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
}
switch(indexPath.section)
{
case 0:
cell.text = alabel.name;
cell.font=[UIFont fontWithName"Courier" size:15.0];
break;
case 1:
cell.text = alabel.date;
cell.font=[UIFont fontWithName"Courier" size:15.0];
break;
Thank you.
- (UITableViewCell *)tableViewUITableView *)tv cellForRowAtIndexPathNSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
}
switch(indexPath.section)
{
case 0:
cell.text = alabel.name;
cell.font=[UIFont fontWithName"Courier" size:15.0];
break;
case 1:
cell.text = alabel.date;
cell.font=[UIFont fontWithName"Courier" size:15.0];
break;
Thank you.