Custom Tableview cell and grouped tables

2009-11-19 Thread Mark Bateman
Hi,

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.


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Custom Tableview cell and grouped tables

2009-11-19 Thread Fritz Anderson
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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Custom Tableview cell and grouped tables

2009-11-19 Thread Mark Bateman
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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Custom Tableview cell and grouped tables

2009-11-19 Thread Luke the Hiesterman
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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/luketheh%40apple.com

This email sent to luket...@apple.com


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Custom Tableview cell and grouped tables

2009-11-19 Thread Mark Bateman
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 (Cocoa-dev@lists.apple.com)
 
 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:
 http://lists.apple.com/mailman/options/cocoa-dev/luketheh%40apple.com
 
 This email sent to luket...@apple.com
 

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Custom Tableview cell and grouped tables

2009-11-19 Thread Luke the Hiesterman
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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/luketheh 
%40apple.com


This email sent to luket...@apple.com






___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com