- Joined
- Oct 11, 2011
- Messages
- 46
- Reaction score
- 0
- Points
- 6
- Your Mac's Specs
- 13" MacBook Pro 2.4 GHz 8 GB Ram 250 GB HD, iPhone 4/S 64 GB, iPhone 3GS 16 GB, iPad 16 GB Wi-Fi
I'm working on a tableview/navigation on my tab bar app. and I've been following this tutorial trying to implement it on my app (Beginning Storyboards in iOS 5 Part 1 | Ray Wenderlich)
it gets a sigbart error from this coding:
I've used the data sharing example also from duncan
Sharing data between view controllers and other objects - iPhone Dev SDK Forum (dead link removed)
it only bugs out when i add that coding, which i need it for my table view as it gets data from a web service by barcode scan.
can i have that in my view controller instead of the app delegate?
it gets a sigbart error from this coding:
Code:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
ImageStrings* theDataObject = [self theImageClass];
theDataObject.prodTableArray = [NSMutableArray arrayWithCapacity:20];
FourthSales *prodSales = [[FourthSales alloc] init];
prodSales.prodCode = [NSString stringWithFormat:@"%@", [theDataObject.prodTableArray objectAtIndex:1 ]];
// Override point for customization after application launch.
return YES;
}
I've used the data sharing example also from duncan
Sharing data between view controllers and other objects - iPhone Dev SDK Forum (dead link removed)
it only bugs out when i add that coding, which i need it for my table view as it gets data from a web service by barcode scan.
can i have that in my view controller instead of the app delegate?