macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

CFURLCreateCopyAppendingPathComponent

CFURLRef  CFURLCreateCopyAppendingPathComponent ( 
           CFAllocatorRef   allocator , 
           CFURLRef   url , 
           CFStringRef   pathComponent , 
           Boolean   isDirectory );

解説

返り値

引数

( CFAllocatorRef )allocator
( CFURLRef )url
( CFStringRef )pathComponent
( Boolean )isDirectory

クラス

CFURL

Function

使用可能

10.0

参照

例文

downloadPath = CFURLCreateCopyAppendingPathComponent(kCFAllocatorDefault, destinationFolder, fileName, false);
    assert(downloadPath != NULL);
    CFRelease(fileName);