Add member count to flock section

Issue #41 resolved
Weston Bustraan repo owner created an issue

No description provided.

Comments (5)

  1. Weston Bustraan reporter
     -(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
    {
        UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, tableView.frame.size.width, 18)];
        /* Create custom view to display section header... */
        UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(10, 5, tableView.frame.size.width, 18)];
        [label setFont:[UIFont boldSystemFontOfSize:12]];
         NSString *string =[list objectAtIndex:section];
        /* Section header is in 0th index... */
        [label setText:string];
        [view addSubview:label];
        [view setBackgroundColor:[UIColor colorWithRed:166/255.0 green:177/255.0 blue:186/255.0 alpha:1.0]]; //your background color...
        return view;
    }
    
  2. Rachel

    @wbustraan

    I see this was resolved, but where can you view the Member Count? I cannot see how many birds are in my flock without counting.

  3. Log in to comment