Hopefully this is a nice, easy, problem for you to ponder on a Thursday evening.

I'm opening a document as follows:

- (BOOL)readFromData:(NSData *)pData
              ofType:(NSString *)pTypeName
               error:(NSError **)pOutError
{
    
    if ([pTypeName compare:@"CPro"] == NSOrderedSame)
    {
        //Nothing to do (yet)
    }
    else if ([pTypeName compare:@"Zip"] == NSOrderedSame)
    {
        contentData = pData;
        decode = YES;
        return YES;
    }
    return NO;
}

Later (in windowControllerDidLoadNib), I try to get the file path - but I turn 
up a blank (it returns null):

NSLog(@"%@",[self fileURL]);

Very strange.  And yet the file does get processed correctly - it's just that I 
can't display all the useful information that I'd like to be able to display.

Any ideas?

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to