Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

Thread: Memory Leaks..!
View Single Post
Old 07-03-2009, 04:38 AM   #9 (permalink)
_mubashir
Registered Member
 
Join Date: Jun 2009
Posts: 50
Default

And Here is the addProvider function that adds in a Provider object into the NSMutableArray. This is in appdelegate

Code:
- (void)addProvider:(Provider *)provider{
	
	if(arrProvider == nil)
	{
		NSMutableArray *Array = [[NSMutableArray alloc] init];
		self.arrProvider = Array;
		[Array release];
	}
    [arrProvider addObject:provider];
}
_mubashir is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,838
Threads: 89,209
Posts: 380,644
Top Poster: BrianSlick (7,129)
Welcome to our newest member, hariky007
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:53 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.