You are on page 1of 2


// RecipesAppDelegate.m
// Recipes
// Created by Santpal Dhillon on 2/21/09.
// Copyright __MyCompanyName__ 2009. All rights reserved.

#import "RecipesAppDelegate.h"
#import "RootViewController.h"
#import "Recipes.h"

@implementation RecipesAppDelegate

@synthesize window;
@synthesize navigationController;
@synthesize recipes;

- (void)applicationDidFinishLaunching:(UIApplication *)application {

Recipes *Lentils = [[Recipes alloc] initWithName:@"Lentils"

description:@"This recipe can be used for any sort of lentils (Dal),
chickpeas (chhole) or beans (Rajmah).
(1) Boil the lentils, chickpeas or beans. You can also use canned
(2) Finely chop 1-2 onions, 1-2 pieces of garlic and ginger.
(3) Put two tablespoons of oil in fry pan/cooking pan, add mixture
from step 2.
(4) When the onions are brown, add 1-2 tomatoes.
(5) Add quarter tablespoon of turmeric powder or curry powder, salt,
chilli or pepper according to taste.
(6) Add the boiled lentils and a little bit of water. Heat for 5-10
Garnish with fresh coriander"];
Recipes *VegCurry = [[Recipes alloc] initWithName:@"VegCurry"
description:@"This recipe can be used for Potato Cauliflower (Aloo Gobi),
Carrots Peas (Gajar Mattar), Potatoes Peas (Aloo Matar)"];
Recipes *ChickenCurry = [[Recipes alloc] initWithName:@"ChickenCurry"
description:@"This recipe"];
Recipes *LambCurry = [[Recipes alloc] initWithName:@"LambCurry"
description:@"This recipe"];
Recipes *Rice = [[Recipes alloc] initWithName:@"Rice"
description:@"This recipe"]; = [[NSMutableArray alloc]


// Configure and show the window

[window addSubview:[navigationController view]];
[window makeKeyAndVisible];

- (void)applicationWillTerminate:(UIApplication *)application {
// Save data if appropriate

- (void)dealloc {
[navigationController release];
[window release];
[super dealloc];