iOS How to fill NSMutableArray with searchString?
===

I want to collect all `searchString` from UISearchBar when the user clicked the button "x" to a mutable array, but however it is being added no object to self.historyList....

In the method:

                - (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchString
            {
            	self.ss = searchBar.text;
            	
    //this is initialized in viewDidLoad method
            	//self.addSSFort = [[NSMutableArray alloc]init];
            	
            	[self.addSSFort addObject: self.ss];
            	
            	NSLog (@"addSSFort contains %@", self.addSSFort);
            	
            	//NSMutableArray *historyList = [[[NSMutableArray alloc]init]retain];
    //this one is initialized in viewDidLoad method
            	//self.historyList = [[NSMutableArray alloc]init];
            	
            	if ([self.ss length] == 0)
            	{
            // here it is never being added
            		[self.historyList addObject:[self.addSSFort objectAtIndex:[self.addSSFort count]-1]];
            	}
        }

