Can somebody fix this?
I want to use a path, but my name is in that path, so I want to change it but it gives a warning:
"Expression result unused"
I want to use this path:
NSString *paths = @"/Users/damianvandekauter/Documents/Pezani";
I change it to this path:
NSArray *PezaniPathFolder = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectoryPezani = [PezaniPathFolder objectAtIndex:0];
NSString *paths = (documentsDirectoryPezani, @"/Pezani/Telenet.zip");
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The last sentence says "Expression result unused".
________________________________________________________________________________ __________________________________
Xcode 6, objetive C, mac