Re: NSURLRequest

2009-10-10 Thread Michael Dautermann
On Oct 10, 2009, at 7:36 AM, DKJ wrote: I've got an NSArray that I initialise with data from a plist stored on a remote webserver. I've been doing it like this: NSURL *url = [NSURL URLWithString:@"http://www.server.com/ data.plist"]; NSArray *myArray = [NSArray arrayWithContentsOf

Re: real verses Virtual memory

2009-10-10 Thread Michael Dautermann
On Oct 10, 2009, at 7:37 AM, jon wrote: I have an app that run's a process every 20 seconds during the day... is there a way to force it to use real memory rather than virtual? because it runs every 20 seconds, and is defaulting to normal memory allocation, it has a lot of disk swapping

Re: real verses Virtual memory

2009-10-10 Thread Michael Dautermann
On Oct 10, 2009, at 8:24 AM, jon wrote: it loads a website, to see if there are changes to the website, it then does a lot of work, the large memory things, like the "webView" are just one instance, and are not deallocating... (uses just that one instance over and over again, not ma

Re: File Extensions Problem

2008-08-22 Thread Michael Dautermann
On Aug 22, 2008, at 2:29 AM, Adil Saleem wrote: Hi, I want to display in a tableview, list of all media files (audio, video files) present in a certain directory. Currently what i am doing is that i am getting the file names in an NSMutableArray using NSFileManager function directoryCont

Re: NSString and special characters

2008-08-22 Thread Michael Dautermann
On Aug 22, 2008, at 4:00 AM, Vladimir Sokolov wrote: But when I pass for example >...myapplication test$test param1 got "testest" instead of ""test$test" It means as I understand that $ is interpreted as special character. $ usually expands (or allows access to) a variable in a shell. Try

Re: kern/locks.h

2009-04-07 Thread Michael Dautermann
>I'm working on a project for the iPhone > >original it was c++ based and has the following lines > >#include >#include > >It comes back with >No such file or directory > >Yet I have >Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/locks.h >Library/Frameworks/Kernel.framework/Versio

Re: Ideas required on testing an application install

2009-06-25 Thread Michael Dautermann
On Thursday, June 25, 2009, at 11:04AM, "Ramakrishna Vavilala" wrote: >I just finished converting (rewriting) a windows application to work >on Mac OSX. I made a package for my application. Now I want to test it >on a clean machine. >What kind of strategy should I use to do same level of test

Re: Hiding a running application

2009-06-26 Thread Michael Dautermann
>My app does some processing at quit time that can take a few minutes, so I >thought it would be nice to remove the gui from the user¹s attention so they >don¹t think they can still interact with the program just because there is a >window and a menu visible. So, I hide the main window and the men