zoukankan      html  css  js  c++  java
  • 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';

    StrToNSUrl
  • 相关阅读:
    无锁编程(五)
    Linux Kernel CMPXCHG函数分析
    无锁编程(四)
    无锁编程(三)
    无锁编程(二)
    无锁编程(一)
    无锁编程
    Linux同步机制
    Linux同步机制
    bootstrap css编码规范
  • 原文地址:https://www.cnblogs.com/cb168/p/5147985.html
Copyright © 2011-2022 走看看