Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 10-05-2010, 07:30 PM   #1 (permalink)
Registered Member
 
Join Date: Oct 2010
Posts: 7
heyrick is on a distinguished road
Default AdvancedTableViewCells and UITabBar

Hi everyone,

Very simple, but maybe difficult to answer question.
How do you include an AdvancedTableViewCells (à la AppStore) inside a tab bar item?

(Just like the App Store Top 25 tab bar item)

Thanks for your help !
heyrick is offline   Reply With Quote
Old 10-05-2010, 07:32 PM   #2 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

Table cells have nothing to do with tab bars, so you're going to have to be more specific.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 10-06-2010, 04:33 AM   #3 (permalink)
Registered Member
 
Join Date: Oct 2010
Posts: 7
heyrick is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
Table cells have nothing to do with tab bars, so you're going to have to be more specific.
Easily put, I would like to have an exemple on how to realize the same thinf as the top 25 view of the app store application.

Thanks for your help
heyrick is offline   Reply With Quote
Old 10-06-2010, 09:21 AM   #4 (permalink)
Registered Member
 
iMerlin's Avatar
 
Join Date: Aug 2010
Posts: 25
iMerlin is on a distinguished road
Default

Quote:
Originally Posted by heyrick View Post
Easily put, I would like to have an exemple on how to realize the same thinf as the top 25 view of the app store application.

Thanks for your help
From what I can tell, the Top 25 has a TabBarController on the bottom and a UINavigationBar with a nested segmented control at the top. Aside from that, the table uses customized UITableViewCell which you can learn more about here....

Custom UITableViewCell in IB Matt Galloway's iPhone Apps
and here...
Using UITableViewCell with InterfaceBuilder Agile Developer, Berlin, Germany
and here...
create UITableViewCell - Google Search

Also, Apple's sample code for the CoreDataRecipe app has custom UITableViewCells built.
iMerlin is offline   Reply With Quote
Old 10-06-2010, 06:22 PM   #5 (permalink)
Registered Member
 
Join Date: Oct 2010
Posts: 7
heyrick is on a distinguished road
Default

Thanks a lot for your help and time, iMerlin !
I will see if that information fits my needs !

Bye for now...

heyrick
La voie numrique.com
heyrick is offline   Reply With Quote
Old 10-11-2010, 02:33 PM   #6 (permalink)
Registered Member
 
Join Date: Oct 2010
Posts: 7
heyrick is on a distinguished road
Default

I'm not sure how to implement the Table view inside my Tab bar App.
Bellow is the basic code for my tab bar app and after that is my functionnal code for my advanced table view app (but not yet inside a tab).

How do I change my App Delegate .h and .m ?


My Tab bar App
// File: AppDelegate.h

#import <UIKit/UIKit.h>
@interface AppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
UITabBarController *rootController;
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet UITabBarController *rootController;
@end


// File: AppDelegate.m


#import "AppDelegate.h"
@implementation AppDelegate

@synthesize window;
@synthesize rootController;
- (void)applicationDidFinishLaunchingUIApplication *)application {
// Override point for customization after app launch
[window addSubview:rootController.view];
[window makeKeyAndVisible];
}
- (void)dealloc {
[rootController release];
[window release];
[super dealloc];
}
@end

AdvancedTableViewCells

// File: AdvancedTableViewCellsAppDelegate.h

@interface AdvancedTableViewCellsAppDelegate : NSObject <UIApplicationDelegate>
{
UIWindow *window;
UINavigationController *navigationController;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet UINavigationController *navigationController;

@end



// File: AdvancedTableViewCellsAppDelegate.m


#import "AdvancedTableViewCellsAppDelegate.h"
#import "RootViewController.h"


@implementation AdvancedTableViewCellsAppDelegate

@synthesize window;
@synthesize navigationController;


#pragma mark -
#pragma mark Application lifecycle

- (void)applicationDidFinishLaunchingUIApplication *)application
{
[window addSubview:[navigationController view]];
[window makeKeyAndVisible];
}


#pragma mark -
#pragma mark Memory management

- (void)dealloc
{
[navigationController release];
[window release];
[super dealloc];
}

@end
heyrick is offline   Reply With Quote
Old 10-11-2010, 02:44 PM   #7 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 13
gavinb80 is on a distinguished road
Default

I'm sorry, but on the top 25 there isn't a tableview nested in the navigation controller. Are you referring to the 3 buttons that have 'top paid', 'top free', and 'top grossing' on them?
gavinb80 is offline   Reply With Quote
Old 10-11-2010, 03:08 PM   #8 (permalink)
Registered Member
 
Join Date: Oct 2010
Posts: 7
heyrick is on a distinguished road
Default

Quote:
Originally Posted by gavinb80 View Post
I'm sorry, but on the top 25 there isn't a tableview nested in the navigation controller. Are you referring to the 3 buttons that have 'top paid', 'top free', and 'top grossing' on them?
No, I only want to know how to nest the list view inside a tab bar controller.
heyrick is offline   Reply With Quote
Old 10-11-2010, 03:11 PM   #9 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

See the table view link in my signature. The tab bar is irrelevant.

If you have no idea how to make a tab bar app, and that's what it is sounding like, then simply make a new project using the tab-based template and observe how it works.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Reply

Bookmarks

Tags
app store, item, tab bar, view cells

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 350
7 members and 343 guests
headkaze, mistergreen2011, nobstudio, Objective Zero, rayjeong, revg, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,655
Threads: 94,116
Posts: 402,889
Top Poster: BrianSlick (7,990)
Welcome to our newest member, pungs
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:13 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0