• 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: Finding user's Music folder (and others)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding user's Music folder (and others)?


  • Subject: Re: Finding user's Music folder (and others)?
  • From: Rick Mann <email@hidden>
  • Date: Thu, 17 Sep 2009 20:18:54 -0700


On Sep 17, 2009, at 20:15:43, Michael Babin wrote:

On Sep 17, 2009, at 10:03 PM, Rick Mann wrote:

Hmm. I take it back. I can't get code calling NSSearchPathForDirectoriesInDomains() to compile.

NSArray* paths = NSSearchPathForDirectoriesInDomains (NSMusicDirectory, NSUserDomainMask, false);

error: 'NSMusicDirectory' was not declared in this scope

What do I need to do to get NSMusicDirectory?

Are you building with the 10.6 SDK? NSMusicDirectory is available in 10.6 and later, according to the docs and the header file (NSPathUtilities.h).

Well, I thought I had, but I tried again just to be sure. That's the trick. I just overlooked the line that said "10.6". Thanks!


--
Rick

_______________________________________________

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


  • Follow-Ups:
    • Re: Finding user's Music folder (and others)?
      • From: Steve Christensen <email@hidden>
References: 
 >Finding user's Music folder (and others)? (From: Rick Mann <email@hidden>)
 >Re: SOLVED Finding user's Music folder (and others)? (From: Rick Mann <email@hidden>)
 >Re: Finding user's Music folder (and others)? (From: Rick Mann <email@hidden>)
 >Re: Finding user's Music folder (and others)? (From: Michael Babin <email@hidden>)

  • Prev by Date: Re: Finding user's Music folder (and others)?
  • Next by Date: Re: Finding user's Music folder (and others)?
  • Previous by thread: Re: Finding user's Music folder (and others)?
  • Next by thread: Re: Finding user's Music folder (and others)?
  • Index(es):
    • Date
    • Thread