Re: Checking One Array Against Another
Re: Checking One Array Against Another
- Subject: Re: Checking One Array Against Another
- From: Pierce Freeman <email@hidden>
- Date: Sat, 29 Nov 2008 10:47:03 -0800
- Thread-topic: Checking One Array Against Another
NSMutableSet *openApplicationsSet = [NSSet setWithArray:openApplications];
NSSet *allowedApplicationsSet = [NSSet
setWithArray:applicationsAllowedMutableArray];
NSMutableSet *badApplicationsSet = [openApplicationsSet
minusSet:allowedApplicationsSet];
NSAlert * askToContinue = [NSAlert alertWithMessageText:@"Warning!"
defaultButton:@"Continue"
alternateButton:@"Quit"
otherButton:nil
informativeTextWithFormat:@"Quit %@.", badApplicationsSet];
Sincerely,
Pierce F.
On 11/29/08 10:41 AM, "Klaus Backert" <email@hidden> wrote:
>
> On 29.11.2008, at 19:30, Pierce Freeman wrote:
>
>> Klaus:
>>
>> For whatever reason, Xcode is telling me that "error: void value not
>> ignored
>> as it ought to be" when I try to make badApplicationsSet a mutable
>> set.
>
> Please. Show. Your. Code.
>
> Klaus
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden