Loading...
Uploaded by MrGarrahan on Feb 23, 2011
This demo shows how, create an XIB and a view controller then flip between to views. PART 2 shows how to add a transition effect to the switching.Download Source fileshttp://www.garrahan.org/iphone_class_week4.php
Education
Standard YouTube License
good tutorial you got a clear voice
DancesofDragons 3 weeks ago
@DoctaMacn101 Were do you place that code?
UtubeIzFuny 1 month ago
@jaylopezkni I would use the single-view based application, it has all the necessary documents to do this.
@ptplatypus1 what template did you end up using? I'm having the same problem...
jaylopezkni 2 months ago
-.- my stupid Xcode dosnt have this beginning templates! its 4.2.1 and well geez i hate it!!!!
ptplatypus1 3 months ago
if i have 6 different uiviewcontrollers, how do i go back to the main one? thanks a lot
Alwa3edAlsadeq 4 months ago
@ak0mplis
yes, someone helped me out. he said that the new ios changed some things in the API and heres the code that worked
-(IBAction)back:(id)sender;{ if ([self respondsToSelector:@selector(dismissViewControllerAnimated:completion:)]) { NSLog(@"didTouchDoneButton 5.x"); [self dismissViewControllerAnimated:NO completion:nil]; } else { NSLog(@"didTouchDoneButton 4.x"); [self dismissModalViewControllerAnimated:NO]; }
}
DoctaMacn101 4 months ago
@DoctaMacn101 Were you able to resolve the error you were getting? I am getting the same error and am unable to resolve. thanks in advance.
ak0mplis 4 months ago
Sí me sirvió demasiado tu video. Sencillo y claro. Muchas gracias.
fct73 4 months ago
@MrGarrahan I had the same problem with the Go Back button not working in Xcode 4.2 I used storyboard for my first view instead of a xib file because 4.2 doesn't start you out with a xib file for view controller..im confused ):
Marshall0788 4 months ago in playlist More videos from MrGarrahan
Load more suggestions
good tutorial you got a clear voice
DancesofDragons 3 weeks ago
@DoctaMacn101 Were do you place that code?
UtubeIzFuny 1 month ago
@jaylopezkni I would use the single-view based application, it has all the necessary documents to do this.
UtubeIzFuny 1 month ago
@ptplatypus1 what template did you end up using? I'm having the same problem...
jaylopezkni 2 months ago
-.- my stupid Xcode dosnt have this beginning templates! its 4.2.1 and well geez i hate it!!!!
ptplatypus1 3 months ago
if i have 6 different uiviewcontrollers, how do i go back to the main one? thanks a lot
Alwa3edAlsadeq 4 months ago
@ak0mplis
yes, someone helped me out. he said that the new ios changed some things in the API and heres the code that worked
-(IBAction)back:(id)sender;{ if ([self respondsToSelector:@selector(dismissViewControllerAnimated:completion:)]) { NSLog(@"didTouchDoneButton 5.x"); [self dismissViewControllerAnimated:NO completion:nil]; } else { NSLog(@"didTouchDoneButton 4.x"); [self dismissModalViewControllerAnimated:NO]; }
}
DoctaMacn101 4 months ago
@DoctaMacn101 Were you able to resolve the error you were getting? I am getting the same error and am unable to resolve. thanks in advance.
ak0mplis 4 months ago
Sí me sirvió demasiado tu video. Sencillo y claro. Muchas gracias.
fct73 4 months ago
@MrGarrahan I had the same problem with the Go Back button not working in Xcode 4.2 I used storyboard for my first view instead of a xib file because 4.2 doesn't start you out with a xib file for view controller..im confused ):
Marshall0788 4 months ago in playlist More videos from MrGarrahan