delphi IOS 简单类型转换

aUrl: NSString;

cmdurl: NSURL;

AbsoluteFileName: string;

cmdurl := NSURL.URLWithString(aUrl);

cmdurl:=TNSURL.Wrap(TNSURL.OCClass.URLWithString(StrToNSStr('http://www.ww.com')));

 

NSNewURL := TNSURL.Wrap(TNSURL.OCClass.fileURLWithPath(LPath));

URL := TNSUrl.Wrap(TNSUrl.OCClass.fileURLWithPath(StrToNSStr(AbsoluteFileName)));

URL := TNSUrl.Wrap(TNSUrl.OCClass.fileURLWithPath(StrToNSStr(FileName)));

 

Result.setHTTPMethod(NSStr(string('GET')));

 

string str;

 str:=UTF8ToString(URL.path.UTF8String)

 

NSString

NSStr(string('GET'))

 

 

 Result NSString;
 
Result := TNSString.Wrap(TNSString.Alloc.initWithUTF8String('title'));

 

 OSStatus AudioServicesCreateSystemSoundID ( CFURLRef inFileURL, SystemSoundID *outSystemSoundID ); 

void AudioServicesPlaySystemSound ( SystemSoundID inSystemSoundID );

 

function AudioServicesCreateSystemSoundID(inFileURL:CFURLRef;var soundID: integer):OSStatus;Cdecl;external libAudioToolbox Name _PU+'AudioServicesCreateSystemSoundID';

你可能感兴趣的:(delphi IOS 简单类型转换)