• 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
Re: NSEnumerator -> NSPopupButton (was: Re: NSPipe / NSTask ls -> Array)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: NSPipe / NSTask ls -> Array (From: Prachi Gauriar <email@hidden>)
 >Re: NSPipe / NSTask ls -> Array (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: NSPipe / NSTask ls -> Array
  • Next by Date: [OT] Unit tests?
  • Previous by thread: Re: NSPipe / NSTask ls -> Array
  • Next by thread: Re: NSEnumerator -> NSPopupButton (was: Re: NSPipe / NSTask ls -> Array)
  • Index(es):
    • Date
    • Thread