05 2011 档案
摘要://找出一个数组NSFileManager*fileManager=[NSFileManagerdefaultManager];NSString*defaultPath=[[NSBundlemainBundle]resourcePath];NSError*error;NSArray*directoryContents=[fileManagercontentsOfDirectoryAtPath:defaultPatherror:&error]//匹配字符串,反回结果,SELF==表示数组中每一个元素NSString*match=@"imagexyz-999.png";
阅读全文
摘要:When working withNSURLobjects, often times there are a number of values passed along with the URL. For example, a query string is often included as a means to embed HTML form data. This tip shows how to parse and print the values of a URL.The code below begins by defining a URL and is followed by lo
阅读全文

浙公网安备 33010602011771号