• 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: NSFileManager Preference Pane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileManager Preference Pane


  • Subject: Re: NSFileManager Preference Pane
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 30 Mar 2006 11:43:29 -0500


In addition, it'd be a lot easier to diagnose your problem if you'd post the code you're using ... :-)


--
I.S.


On Mar 30, 2006, at 11:33 AM, Mike Blaguszewski wrote:

On Mar 30, 2006, at 9:18 AM, Robert Crawford wrote:

I am trying to call the NSFileManager inside a preference pane, when I add the code to do this the preference pane will not load, what could cause this?

I assume you mean an NSPreferencePane, right? There's no reason NSFileManager calls shouldn't work there. Have you tried running it in the debugger? If you add System Preferences as a custom executable and set it as the active executable from the Project menu, you should be able to set breakpoints in initWithBundle:, willSelect, etc. (caveat: haven't completely tested this approach; I used to use gdb directly for it.)


If it's just a preference pane inside your own app, then it should be even easier to debug. You're probably doing something that's throwing an exception (which some NSFileManager methods can). Trying setting a symbolic breakpoint on -[NSException raise].

--
Mike Blaguszewski / Ambrosia Software, Inc.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ 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: 
 >NSFileManager Preference Pane (From: Robert Crawford <email@hidden>)
 >Re: NSFileManager Preference Pane (From: Mike Blaguszewski <email@hidden>)

  • Prev by Date: RE: NSWorkspace launchedApplications
  • Next by Date: Re: NSImage Path
  • Previous by thread: Re: NSFileManager Preference Pane
  • Next by thread: Double click in QTMovieView
  • Index(es):
    • Date
    • Thread