PFQuery *queryBankList = [PFQuery queryWithClassName:@"Blood_Bank_Master"];
[queryBankList findObjectsInBackgroundWithBlock:^(NSArray *BankObjects, NSError *error)
{
if (!error)
{
[aBankInfo addObjectsFromArray:BankObjects];
} else
{
// Log details of the failure
NSLog(@"Error: %@ %@", error, [error userInfo]);
}
}];