On May 1, 2008, at 10:43 AM, stephen joseph butler wrote:
On Thu, May 1, 2008 at 12:03 PM, Matt Long <[EMAIL PROTECTED]
long.com>
wrote:
Stephen Butler pointed out that I need to use -[NSString
fileSystemRepresentation]. I have switched to this and it works. I
not real
familiar with this c
On Thu, May 1, 2008 at 10:43 AM, stephen joseph butler
<[EMAIL PROTECTED]> wrote:
> On Thu, May 1, 2008 at 12:03 PM, Matt Long <[EMAIL PROTECTED]>
> wrote:
>
>
> > Stephen Butler pointed out that I need to use -[NSString
> > fileSystemRepresentation]. I have switched to this and it works. I not
On Thu, May 1, 2008 at 12:03 PM, Matt Long <[EMAIL PROTECTED]>
wrote:
> Stephen Butler pointed out that I need to use -[NSString
> fileSystemRepresentation]. I have switched to this and it works. I not real
> familiar with this call, but it looks like it's working. I'll look into why
> this is the
Thanks for the help. The first response I got (Steve) was the correct
one for what I was needing. I didn't correctly schedule with the run
loop.
Here's a couple of points
Mike Fischer suggested that the operation was completing in less time
than the one second specified. This is a good tho
Am 01.05.2008 um 16:18 schrieb Michael Vannorsdel <[EMAIL PROTECTED]>:
I read over the docs for this function and not coming to the same
conclusions. Being an async function it should be implied the
callback will be used if the starting function succeeded.
The operative word being "should". N
On Wed, Apr 30, 2008 at 7:42 PM, Matt Long <[EMAIL PROTECTED]>
wrote:
>FSPathMakeRef( (const UInt8 *)[[sourceFilePath stringValue]
> cStringUsingEncoding:NSUTF8StringEncoding], &source, NULL );
>Boolean isDir = true;
>FSPathMakeRef( (const UInt8 *)[[destinationFilePath stringValue]
> c
I read over the docs for this function and not coming to the same
conclusions. Being an async function it should be implied the
callback will be used if the starting function succeeded. This is the
whole point of async operations and the only way to get status reports
from them besides ha
Am 01.05.2008 um 06:55 schrieb Matt Long <[EMAIL PROTECTED]>:
I execute this code and it successfully copies my file from source to
destination:
[snip]
status returns with no error. However my callback never gets called.
Why do you assume it should be called? You passed a minimum of 1
se
I noticed in some sample code (http://developer.apple.com/samplecode/
FSFileOperation/listing1.html), that after creating the
FSFileOperationRef, it calls FSFileOperationScheduleWithRunLoop,
specifying the current run loop. Just a guess that you're probably
not making that association so the
I execute this code and it successfully copies my file from source to
destination:
- (IBAction)startCopy:(id)sender;
{
FSFileOperationRef fileOp = FSFileOperationCreate(NULL);
FSRef source;
FSRef destination;
FSPathMakeRef( (const UInt8 *)[[sourceFilePath stringValue]
cStrin
10 matches
Mail list logo