• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
why do this not work??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

why do this not work??


  • Subject: why do this not work??
  • From: Sascha Kuehn <email@hidden>
  • Date: Wed, 17 Dec 2003 23:42:10 +0100

i hope someone can help me with this script

+ (NSString*) checkList:(NSArray*) emailList data:(NSArray*) x
{
int i;
int j;
NSMutableArray *newList;

for(j=0; j<[x count]; j++)
{
NSString *temp1 = [[x objectAtIndex:j] objectAtIndex:0];
NSLog(@"temp1 = %@", temp1);

for(i=0; i<[emailList count]; i++)
{
NSString *temp2 = [[emailList objectAtIndex:i]
objectAtIndex:0];
NSLog(@"temp2 = %@", temp2);
if (![temp2 isEqual:temp1])
{
[newList addObject:[x objectAtIndex:j]];
}
//NSLog(@"newList = %@", newList);
}
}

return @"1";
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: why do this not work??
      • From: Chris Hanson <email@hidden>
    • Re: why do this not work??
      • From: lbland <email@hidden>
  • Prev by Date: NSComboBox and bindings
  • Next by Date: Can't instantiate
  • Previous by thread: NSComboBox and bindings
  • Next by thread: Re: why do this not work??
  • Index(es):
    • Date
    • Thread