• 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: folder contents to popup button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: folder contents to popup button


  • Subject: Re: folder contents to popup button
  • From: Damien Bobillot <email@hidden>
  • Date: Mon, 22 Aug 2005 00:49:17 +0200


Le 21 août 05 à 22:13, Mike Abdullah a écrit :


Hi, in my app, I have a popup button. What I need is for the button's menu to show the name of every file in the folder:

    ~/Library/MyApp

What would be the best way of accomplishing this? Ideally, the box would be able to update itself when the folder contents change, but this really isn't necessary, I'm quite happy to only check upon start-up. Also, it would be nice if the list only showed applescript files from that folder, but once again this isn't strictly necessary.


Listing a folder content :
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ ObjC_classic/Classes/NSFileManager.html


--
Damien Bobillot

_______________________________________________
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: 
 >folder contents to popup button (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: How to draw a 1 pixel bezierPath
  • Next by Date: Help! Lost in XCode...
  • Previous by thread: folder contents to popup button
  • Next by thread: Is there some kind of multi-NIB delegate pass-through?
  • Index(es):
    • Date
    • Thread