The code works perfectly. However the xib is outside of my story board. Can you show me how to create this example of red and blue without including the xib.
When I try to push the View Controller the system errors. What could be wrong? LionViewController is a UIViewController subclass , the View Controller identifier=LionViewController.
Thanks Tanner, I've been trying to push different views from cells for 2 weeks (i'm a newbie:), I have many pdf tutorials from professionals but none of them go into this important task (they just tell you how to call one nib file from all cells). Very well explained, i hope you can upload more tutorials on tableviews or database related.
One quick question.. is it ok to save a large data base using this method? I plan to add about views for each cell, with photos and text.
Hey! :) In part 2 of this tutorial, the way you show how to add text to the subclass by using IB label is the only way to add text? Can I add it somewhere in the source code?
/I create the subclassed View controller, #import "personViewController.h"
//the xib file is called PersonViewController.xib
PersonViewController *mPersonViewController = [[PersonViewController alloc] initWithNibName:@"PersonViewController" bundle:nil];
The code works perfectly. However the xib is outside of my story board. Can you show me how to create this example of red and blue without including the xib.
davepamn 3 weeks ago
what if you want to pushViewController to an existing ViewController that has been subclass in Xcode 4.2
davepamn 3 weeks ago
LionViewController *detailViewController = [[LionViewController alloc] initWithNibName:@"LionViewController" bundle:nil];
[self.navigationController pushViewController:detailViewController animated:YES];
When I try to push the View Controller the system errors. What could be wrong? LionViewController is a UIViewController subclass , the View Controller identifier=LionViewController.
davepamn 1 month ago
Thanks you so much you are a lifesaver + a saver of time could have taken me weeks to find this out but has only taken me a couple of hours thank you
C0D1NG 7 months ago
Thanks Tanner, I've been trying to push different views from cells for 2 weeks (i'm a newbie:), I have many pdf tutorials from professionals but none of them go into this important task (they just tell you how to call one nib file from all cells). Very well explained, i hope you can upload more tutorials on tableviews or database related.
One quick question.. is it ok to save a large data base using this method? I plan to add about views for each cell, with photos and text.
nekbeth 1 year ago
In RootViewController.h I typed everything like you and I get the error: Expected identifier or '(' before ',' token.
@interface RootViewController : UIViewController, *UITableViewDelegate UITableViewDataSource* { NSMutableArray *array;
{
}
@end
pmourad 1 year ago 2
Hey! :) In part 2 of this tutorial, the way you show how to add text to the subclass by using IB label is the only way to add text? Can I add it somewhere in the source code?
Thanks!
pmourad 1 year ago
Try my other channel tckdevelopment
TannerKilgore1 1 year ago
Same i really would love the source code , i cant see the code
morrybo12 1 year ago
Hey man good tutorial but i click on ur link for source code error 404 not found
CyThemes 1 year ago