• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom Tableview cell and grouped tables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom Tableview cell and grouped tables


  • Subject: Re: Custom Tableview cell and grouped tables
  • From: Luke the Hiesterman <email@hidden>
  • Date: Thu, 19 Nov 2009 11:19:16 -0800

You can't change the style of a table after it's been created. Only place to set the table's style is initWithFrame:style:

Luke

On Nov 19, 2009, at 11:17 AM, Mark Bateman wrote:

1. this is iphone
2. after i change the UItableview style to the "grouped style" the table continues to show as before a regular table with my custom cells but the tableview is not in the grouped style.


hope that makes my question much clearer.


On Nov 19, 2009, at 2:10 PM, Fritz Anderson wrote:

On 19 Nov 2009, at 12:45 PM, Mark Bateman wrote:

I have created a custom tableview cell and it works great, but when I choose the grouped view in the tableview nothing happens, what have I missed.

You've told us next to nothing, so you really haven't asked a question.


I can infer that you're talking about UITableView and UITableViewCell in the iPhone OS, but it's hard to tell. You don't actually say. Cocoa runs on both the iPhone OS and Mac OS X. You should say which.

What do you mean "nothing happens?" They don't draw? They take up space but are blank? They don't respond to touches? Their subviews don't behave as expected? They didn't respond to table-editing gestures? What did you expect to happen?

When it "worked great," did the table have sections? When you changed to the grouped style, did you add sections, and are you sure you're accounting for them?

Have you done anything for yourself to debug your problem? Have you run the app with the debugger? Have you set breakpoints in the relevant methods? Does anything show up in the Debugger Log? <http://whathaveyoutried.com/ >

	— F


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Custom Tableview cell and grouped tables
      • From: Mark Bateman <email@hidden>
References: 
 >Custom Tableview cell and grouped tables (From: Mark Bateman <email@hidden>)
 >Re: Custom Tableview cell and grouped tables (From: Fritz Anderson <email@hidden>)
 >Re: Custom Tableview cell and grouped tables (From: Mark Bateman <email@hidden>)

  • Prev by Date: Re: Custom Tableview cell and grouped tables
  • Next by Date: Re: Help with Background Tasks
  • Previous by thread: Re: Custom Tableview cell and grouped tables
  • Next by thread: Re: Custom Tableview cell and grouped tables
  • Index(es):
    • Date
    • Thread