Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: QCView loadCompositionFromFile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QCView loadCompositionFromFile



I'm trying to load a composition into a QCView using the
loadCompositionFromFile. I was obtaining the path from a NSOpenPanel but
loadCompositionFromFile was returning NO. I tried passing in a hard coded
path as a parameter, getting the same result NO. I'm sure the paths are
right as I could open the compositions in the terminal with the 2 paths.
Any ideas to what I am doing wrong?

Could you please post some code and maybe the path you're using? Something has to be wrong, otherwise you wouldn't get that error.
Also, when passing a path that works in the terminal, did you consider that any whitespaces are escaped in the terminal while they shouldn't be escaped in your code?


Cheers,

Marco
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >QCView loadCompositionFromFile (From: <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.