|
|
#1 |
|
Problem in path control?
Hi all,
i m using path control to display the path of folder. but some time the control is not display when i open my window or when i m trying to set path. like this. Code:
//here _logFilesFolder is the referencing outlet of path control. Preferences* pref = [Preferences sharedInstance]; [pref setupDefaultLogFilesFolder]; [_logFilesFolder setURL: [NSURL URLWithString:[pref logFilesFolder]]]; |
|
|
|
0
|
|
|
#2 |
|
Start by breaking down the complex expression into it's components, and logging them.
Code:
Preferences* pref = [Preferences sharedInstance]; NSLog(@"pref=%@", pref); [pref setupDefaultLogFilesFolder]; NSString* logFilesFolderPath = [pref logFilesFolder]; NSLog(@"logFilesFolderPath=%@", logFilesFolderPath); NSURL* logFilesFolderURL = [NSURL URLWithString:logFilesFolderPath]; NSLog(@"logFilesFolderURL=%@", logFilesFolderURL); NSLog(@"_logFilesFolder=%@", _logFilesFolder); [_logFilesFolder setURL:logFilesFolderURL]; What do they show you when the control won't display? |
|
|
|
0
|
|
|
#3 |
|
thanks its done now.
|
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| How to Spread stacks in Mission Control | nick123222 | Mac OS X 10.7 Lion | 13 | Jan 21, 2012 11:29 AM |
| Library path errors after Apple software update. | Alan S | MacBook Pro | 1 | Aug 22, 2011 08:11 PM |
| font problem in Safari | iFeras | Mac Basics and Help | 7 | Feb 7, 2011 12:45 PM |
| Flash player controler problem in Firefox 3? | Ride9650 | Mac Applications and Mac App Store | 3 | Jul 25, 2008 02:07 AM |
| Problem passing paths with spaces to NSTask | HiRez | Mac Programming | 2 | Nov 21, 2006 12:11 PM |
All times are GMT -5. The time now is 01:28 AM.






Linear Mode

