iPhone SDK 3.1 Interface Builder Tutorial Part2/3
Uploader Comments (muhayimana)
All Comments (20)
-
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
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 1 year ago
@songsrme3
cell.textLabel.text = [[self.lists objectAtIndex:indexPath.row] retain];
not
cell.textLabel.text = [(self.lists objectAtIndex:indexPath.row] retain];
muhayimana 1 year ago
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
thejames94 2 years ago
It's a method! Give you a change to do something when the view did load. Should also work with your 3.2.1
muhayimana 2 years ago
in UIAmphibiansTableViewController.m
muhayimana 2 years ago