xcode instruments screwing up paths

Luminary
Posts: 5,125
Joined: 2002.04
Post: #5
SDLMain.m's Cocoa; you can do it much more easily:

Code:
NSString *resourcePath = [[NSBundle mainBundle] resourcePath];
[[NSFileManager defaultManager] changeCurrentDirectoryPath:resourcePath];

But Najdorf already has that code or similar; the problem was it wasn't being called Rasp

http://blog.onesadcookie.com/2007/12/fin...files.html
Quote this message in a reply
Post Reply 


Messages In This Thread
xcode instruments screwing up paths - OneSadCookie - Sep 7, 2008 02:08 PM
Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Viewing console output while running an app in Instruments TomorrowPlusX 1 3,152 Oct 5, 2011 04:51 AM
Last Post: TomorrowPlusX
  Xcode and library search paths WhatMeWorry 4 5,881 Dec 11, 2006 04:09 PM
Last Post: WhatMeWorry
  Fixing Include Paths vbuser1338 4 2,820 May 28, 2006 05:15 PM
Last Post: vbuser1338