$ (srcroot)/prefixheader.pch Auto-fit PCH Address
__weak __block typeof (self) weakself = self;
__weak typeof (self) weakself = self;
#define DN_DEBUG_LOG (FMT, ...)
{NSLog (@ "%s [line%d]" FMT), __pretty_function__, __line__, # #__VA_ARGS__);}
Nsdictionary *ifs = [self fetchssidinfo];
NSString *ssid = [[IFS objectforkey:@ "SSID"] lowercasestring];
NSString *ssid =ifs[@ "SSID"];
NSLog (@ "ifs--%@, WiFi device name--%@", Ifs,ssid);
-(ID) fetchssidinfo {
Nsarray *ifs = (__bridge_transfer ID) cncopysupportedinterfaces ();
NSLog (@ "Supported interfaces:%@", IFS);
ID info = nil;
For (NSString *ifnam in IFS) {
Info = (__bridge_transfer ID) cncopycurrentnetworkinfo ((__bridge cfstringref) Ifnam);
NSLog (@ "%@ =%@", Ifnam, info);
if (info && [info count]) {break;}
}
return info;
}
This sentence is supported by the Chinese character URL compilation
NSString *strdn = [Urlstr stringbyaddingpercentescapesusingencoding:nsutf8stringencoding];
IOS essay tips weak self print current class row number, multi-person development automatically adapt PCH address, get device UID information