• 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: NSPathControl not displaying icons initially
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPathControl not displaying icons initially


  • Subject: Re: NSPathControl not displaying icons initially
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 14 Sep 2009 15:32:35 -0700

On Sep 14, 2009, at 15:14, Markus Spoettl wrote:

[myPathControl setURL:[NSURL URLWithString:NSHomeDirectory()]];

Try:

	[myPathControl setURL:[NSURL fileURLWithPath:NSHomeDirectory()]];

IIRC, the path control needs to know that the URL is a file URL.


_______________________________________________

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: NSPathControl not displaying icons initially
      • From: Markus Spoettl <email@hidden>
References: 
 >NSPathControl not displaying icons initially (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Overriding managedObjectContext for a new Persistent Document
  • Next by Date: Re: NSPathControl not displaying icons initially
  • Previous by thread: NSPathControl not displaying icons initially
  • Next by thread: Re: NSPathControl not displaying icons initially
  • Index(es):
    • Date
    • Thread