Without looking at any other possibly available methods, one way would be to 
create an NSURL with +URLWithString:relativeToURL:. Then, take the path out of 
the resulting NSURL using -path.

Regards,

Ivan Vučica
via phone

> On 19 Sep 2013, at 15:52, Riccardo Mottola <[email protected]> wrote:
> 
> Hi,
> 
> I am chasing a strange error in ProjectCenter that drives me crazy.
> 
> Depending on how a project was opened, PC misbehaved. I tracked it down to 
> certain paths depending on the project path being absolute vs. relative. 
> Especially creations!
> 
> What's the best way (= portable also to windows) to get the absolute path of 
> a file or directory? I looked for methods in NSFileManager but found no easy 
> route.
> 
> Riccardo
> 
> _______________________________________________
> Discuss-gnustep mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to