I was trying to write up an app when I got a syntax error. I'm new to this (as in I've never written much code) and could use some help. :[
Could someone who knows what they're doing please help me?
Code:
//
// Prefix header for all source files of the 'Pixel Car App' target in the 'Pixel Car App' project
//
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#endif
//RootViewController.m;
@implementation[applicationDidFinishLaunching int] (UIApplication *)application
@end
{
pvController = [PickerViewController alloc] initWithNibName:@"Car Select" bundle:[NSBundle mainBundle]];
[window addSubview:pvController.view];
// Override point for customization after application launch
[window makeKeyAndVisible];
}
//Pixel_Car_AppAppDelegate.m
[arrayCars int][initWithNibName];
[arrayCars addObject:@"Nissan Skyline"];
[arrayCars addObject:@"Nissan 350Z"];
[arrayCars addObject:@"Volkswagen GTi"];
[arrayCars addObject:@"Green"];
[arrayCars addObject:@"Blue"];
[arrayCars addObject:@"Indigo"];
[arrayCars addObject:@"Violet"];
}