Re: Custom Tableview cell and grouped tables
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:25:20 -0800
You should post a sample project demonstrating your problem. Saying
you're changing the style in the nib and it's not being reflected in
the app isn't a whole lot to go on.
Luke
On Nov 19, 2009, at 11:23 AM, Mark Bateman wrote:
I'm referring to changing the style in the NIB prior to compiling,
not on the fly in the application, if that helps.
On Nov 19, 2009, at 2:19 PM, Luke the Hiesterman wrote:
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:
@apple.com
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