ProjectManager  0.2
Instance Methods | List of all members
NSString(RelativePathUtilities) Category Reference

Instance Methods

(NSString *) - stringByConstructingRelativePathTo:
 Builds a relative path from the path represented by the receiver to the path in ‘otherPath’. More...
 
(NSString *) - stringByConcatenatingWithPath:
 Builds a minimalized path which results when the path represented by the receiver and ‘otherPath’ are concatenated. More...
 

Method Documentation

◆ stringByConcatenatingWithPath:

- (NSString *) stringByConcatenatingWithPath: (NSString *)  otherPath

Builds a minimalized path which results when the path represented by the receiver and ‘otherPath’ are concatenated.

For example, let the receiver be "/foo/bar" and otherPath = @"../foobar". Then the returned result would be @"/foo/foobar". In case ‘otherPath’ is an absolute path, this method simply returns ‘otherPath’.

Returns
The concatenated and minimized result path.

◆ stringByConstructingRelativePathTo:

- (NSString *) stringByConstructingRelativePathTo: (NSString *)  otherPath

Builds a relative path from the path represented by the receiver to the path in ‘otherPath’.

Returns
The resulting relative path.

The documentation for this category was generated from the following files: