Re: Tab Bar iPad App With Table View
Re: Tab Bar iPad App With Table View
- Subject: Re: Tab Bar iPad App With Table View
- From: Conrad Shultz <email@hidden>
- Date: Sun, 19 Jun 2011 01:27:11 -0700
(Somehow your mail client inserted my name in the subject line.)
Let's not get ahead of ourselves here. The OP stated they're totally new to the platform and as such it's probably ill-advised to have them start building a view hierarchy in code when it could be done satisfactorily in Interface Builder with a lot less head banging in the process.
(I am not opposed to designing in code - it's how I do _most_ of my interface work - but it's not the most productive way to spend one's time when getting off the ground.)
As an aside, from the description the OP gave I would surmise that a UINavigationController hosting a UITableView would better suit the requested design. If so, this is even more code to write and amplifies the utility of IB even more.
(Sent from my iPad.)
--
Conrad Shultz
www.synthetiqsolutions.com
On Jun 19, 2011, at 0:07, Sivakumar Kandappan <email@hidden> wrote:
> Hi
> For the the kind of view which you were mentioning you should create a
> standard or customised tableview controller and set the tabbar controllers
> property.After setting this add the tabbar view to the view which will
> show the tab bar. Once you click the tab bar button. Tableview controller
> load view will be called which will help to load all the items.
>
> UITabBarcontroller *tabbarcontroller=[UITabBarController alloc] init];
> tabbarcontroller.viewcontrollers=[NSArray
> arrayWithObjects:tablecontroller,nil];
> Self.view=tabbarcontroller.view;
> that¹s it I guess. The above code was not tested. I advise you to test it
>
> Cheers
> Sivakumar
>
> On 6/19/11 1:57 AM, "email@hidden"
> <email@hidden> wrote:
>
>> Conrad Shultz
>
>
> _______________________________________________
>
> 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