Re: [iOS] setting table style for root view controller of a navigation controller

2010-12-02 Thread Jack Carbaugh
The controller won't have a way to specify the style of the uitableview, but the actual instantiated uitableview in the XIB will however ... select the uitableview from the list view of the xib contents and you can select it's style in the inspector. inline: Screen shot 2010-12-02 at 8.44.14

Re: [iOS] setting table style for root view controller of a navigation controller

2010-12-02 Thread Matt Neuburg
On Dec 1, 2010, at 6:58 PM, Donald Hall wrote: I have come to the conclusion that what I wanted to do is not easily done unless the table view controller has its own nib file. In IB if you don't specify that the table view controller that is the root view controller of a navigation

Re: [iOS] setting table style for root view controller of a navigation controller

2010-12-02 Thread glenn andreas
On Dec 2, 2010, at 11:47 AM, Matt Neuburg wrote: On Dec 1, 2010, at 6:58 PM, Donald Hall wrote: I have come to the conclusion that what I wanted to do is not easily done unless the table view controller has its own nib file. In IB if you don't specify that the table view controller

Re: [iOS] setting table style for root view controller of a navigation controller

2010-12-02 Thread Matt Neuburg
On Dec 2, 2010, at 11:33 AM, glenn andreas wrote: Actually, it does a number of things for you: I didn't say it didn't do anything. I said it didn't do anything you couldn't easily do yourself. 1) It flashes the scroll bar correctly when the view appears Which you can easily do by

Re: [iOS] setting table style for root view controller of a navigation controller

2010-12-02 Thread BareFeetWare
On 01/12/2010, at 5:02 PM, Donald Hall wrote: the root view controllers for each navigation controller are custom UITableViewControllers. What is the best way to set the style of the table views? I want at least one of my table views to have a grouped style, but I can see no easy way of

Re: [iOS] setting table style for root view controller of a navigation controller

2010-12-01 Thread Jack Carbaugh
set the style property of the table view to UITableViewStyleGrouped controller.view.style = UITableViewStyleGrouped http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UITableView_Class/Reference/Reference.html On Dec 1, 2010, at 1:02 AM, Donald Hall wrote: Hi all, I

Re: [iOS] setting table style for root view controller of a navigation controller

2010-12-01 Thread Roland King
That property is read only. On 01-Dec-2010, at 8:23 PM, Jack Carbaugh wrote: set the style property of the table view to UITableViewStyleGrouped controller.view.style = UITableViewStyleGrouped

Re: [iOS] setting table style for root view controller of a navigation controller

2010-12-01 Thread Jack Carbaugh
You are correct ... my apologies ... you can set the table style in the XIB or when programmatically with the initWithFrame:style: initWithFrame:style: On Dec 1, 2010, at 8:17 AM, Roland King wrote: That property is read only. On 01-Dec-2010, at 8:23 PM, Jack Carbaugh wrote: set the

Re: [iOS] setting table style for root view controller of a navigation controller

2010-12-01 Thread Matt Neuburg
On Wed, 1 Dec 2010 00:02:00 -0600, Donald Hall d...@appsandmore.com said: What is the best way to set the style of the table views? I want at least one of my table views to have a grouped style, but I can see no easy way of specifying this. You don't see: (1) table view's initWithFrame:style:

Re: [iOS] setting table style for root view controller of a navigation controller

2010-12-01 Thread Donald Hall
Matt, Jack, and Roland, Thanks for your replies. I have come to the conclusion that what I wanted to do is not easily done unless the table view controller has its own nib file. In IB if you don't specify that the table view controller that is the root view controller of a navigation

[iOS] setting table style for root view controller of a navigation controller

2010-11-30 Thread Donald Hall
Hi all, I have a tab bar based iOS application. The controllers for each tab bar item are UINavigationControllers, and the root view controllers for each navigation controller are custom UITableViewControllers. What is the best way to set the style of the table views? I want at least one of