On Apr 27, 2011, at 11:40, Kevin Muldoon wrote:
> NSString *aliasName =
> @"ANewAliasTo_myFile.png";
...
> 2011-04-27 14:32:46.263 NDAliasesURLProject[3514:10b] And placed the alias
> here...
> /Users/kevin/Desktop/ANewAliasToMyFile.png
This isn't your code. Look at the alias file name in the log and the file name
in your code. That's probably not relevant to your problem, but posting log
output is an implicit claim that it comes from the posted code.
> Everything in the code looks right ...
This surely looks wrong:
> if( [[NDAlias aliasWithPath:filePath fromPath:aliasDirectory]
> writeToFile:aliasName] ) {
That doesn't seem like a sensible value for 'fromPath', and I don't see NDAlias
having a documented 'writeToFile' method at all, and (even if it did) shouldn't
you be specifying 'aliasPath', not 'aliasName'?
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]