Re: NSEnumerator -> NSPopupButton (was: Re: NSPipe / NSTask ls -> Array)
Re: NSEnumerator -> NSPopupButton (was: Re: NSPipe / NSTask ls -> Array)
- Subject: Re: NSEnumerator -> NSPopupButton (was: Re: NSPipe / NSTask ls -> Array)
- From: Andrew Farmer <email@hidden>
- Date: Sun, 16 Jul 2006 04:44:48 -0700
On 16 Jul 06, at 03:35, email@hidden wrote:
I added the NSEnumerator thing and after that i want to add the
devices
i found via NSFileManager / NSPredicate to an NSPopupButton.
as NSLog(@"%@", eachObject); correctly shows the values i want to be
added to my NSPopupButton i expect everything before that is okay,
but unfortunately this part:
[NSPopUpButton addItemWithTitle: [NSString eachObject]];
crashes my app.
What's the [NSString eachObject] for? That's trying to call a selector
called "eachObject" on the NSString class, which doesn't exist.
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden