Added: 2 years ago
From: muhayimana
Views: 11,198
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

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];

  • 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];

  • @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

  • 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

  • oh, okay. i got it to work thanks.

  • way to go man! Kigali 4 ever

  • in UIAmphibiansTableViewControlle­r.m

  • @muhayimana Thanks again! :-)

  • Thank you so very much for time and effort! Question: where did you create the NSArray arrayWithObjects:@"Frogs", @"Toads", @"Newts" etc. at?

  • @ClydeB3 So very sorry . . . I found the answer myself. AGAIN - THANK YOU for you time and effort.

  • Hey! I loved the tutorial, but is there a way to make the images different, and the title (2nd header) different from the content?

  • Comment removed

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