iPhone SDK 3.1 Interface Builder Tutorial Part2/3

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
11,203
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 16, 2009

This is part 2 of how to quicky build a Iphone App that use UITabBar and UITableViewController. Mostly done with interface builder and connecting classes to the graphic elements!
http://www.muhaye.com/downloads

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (muhayimana)

  • Hi, muhayimana great tutorials, do u have any apps on the app store?

    Also I was wondering after I typed in the following:

    cell.textLabel.text = [(self.lists objectAtIndex:indexPath.row] retain]; cell.imageView.image = self.icon;

    I got three errors including:

    expected ')' before 'objectAtIndex'

    expected ':' before ']' token

    confused by earlier errors, bailing out

    Can anyone please help me, this is REALLy important

  • @songsrme3

    cell.textLabel.text = [[self.lists objectAtIndex:indexPath.row] retain];

    not

    cell.textLabel.text = [(self.lists objectAtIndex:indexPath.row] retain];

  • What is it that you type at 2:57? is it:

    -(void)viewDidLoad{

    Because it's not working for me...

    I have Xcode 3.2.1

  • It's a method! Give you a change to do something when the view did load. Should also work with your 3.2.1

  • in UIAmphibiansTableViewControlle­r.m

see all

All Comments (20)

Sign In or Sign Up now to post a comment!
  • where can i download this? the link seems to be broken

  • Comment faire pour avoir l'image de la grenouille avec la rangée de la grenouille et l'image du salamandre avec le salamandre...

  • Excellent tutorial muhayimana. Learning a lot. One question if you can help. Its much appreciated.

    Re: cell.textLabel.text = [[self.lists objectatIndex:indexPath.row] retain];

    I'm getting a warning; 'NSArray' may not respond to '-objectatIndex'. App crashes if I ignore the warning. The apple documentation says that objectatIndex must be overridden but the tutorial does not mention that. I am building w/ xcode ver.3.2.4, sdk 4.1 for iphone 4.1 and this is my first app :-).

  • Hi, Ngendo, I love your tutorials.

    I've come across a build failure, though. At 3:09 at the bottom of the amphibian list, where it says:

    nil];

    It gives me a red error nitofication and says "Invalid operands to binary"

    do you know how I can fix this? Thanks

  • This is great. Do you have any example on how to load data from xml or DB?

    Would be nice if you show in this build how to load data in the table and details from xml or DB

    Thanks in advance

  • // ... // Pass the selected object to the new view controller. [self.navigationController pushViewController:detailViewC­ontroller animated:YES]; [detailViewController release]; */

    }

    This code isn't in your video and must be unique to 4.0, what should I do?

    Delete it or add something

  • #pragma mark -

    #pragma mark Table view delegate

    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSInd­exPath *)indexPath { // Navigation logic may go here. Create and push another view controller. /* <#DetailViewController#> *detailViewController = [[<#DetailViewController#> alloc] initWithNibName:@"<#Nib name#>" bundle:nil];

  • @songsrme3 Thankyou very much I still have other errors for some reason, I'm using 4.0 xcode. Can you please send me all the code you used in the videos so I don't make any mistakes

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more