2012/10/20 Cocoaåå¼·ä¼é¢è¥¿ã§ã®çºè¡¨è³æã§ããOS X ã® WebKit ã«ã¤ãã¦ã§ããRead less
WebKitã使ãæ¹æ³ãããããã§ãã NSMutableURLRequestã使ã£ã¦(ãããã)æãã·ã³ãã«ã«ãã㨠NSString* content = @"test=hoge&test2=moge"; NSURL* url = [NSURL URLWithString:@"http://www.hogemoge.com/index.php"]; NSMutableURLRequest* urlRequest = [[NSMutableURLRequest alloc]initWithURL:url]; [urlRequest setHTTPMethod:@"POST"]; [urlRequest setHTTPBody:[content dataUsingEncoding:NSUTF8StringEncoding]]; NSURLResponse* response; NSErr
OgreKit -- OniGuruma Regular Expression Framework for Cocoa -- ç®æ¬¡ æ¦è¦ ç°¡åãªä½¿ç¨ä¾ APIã®è©³ç´° To Do æ´æ°å±¥æ´ Download å ±åå¶ä½è è¬è¾ ãããã質åã¨ãã®åç 注æäºé æ¦è¦ OgreKitã¯Cocoaç¨æ£è¦è¡¨ç¾ãã¬ã¼ã ã¯ã¼ã¯ã§ãã OgreKitã¯Rubyã¨åçã®æ£è¦è¡¨ç¾å¦çæ©è½ã¨ãé«æ©è½æ¤ç´¢ããã«(screenshot)ãæä¾ãã¾ãã 製ä½ã»å ¬éã«è³ã£ãåæ©ã¯æ¬¡ã®éãã§ãã æ£è¦è¡¨ç¾ã¯é«åº¦ãªããã¹ãå¦çãè¡ãã¨ãã«å¿ é ã§ãããCocoa(ãCarbon)ã«ã¯æ£è¦è¡¨ç¾ãæ±ãæ©è½ãæ¬ ãã¦ãã¾ãããã®ãããç¬èªã«æ£è¦è¡¨ç¾å¦çæ©è½ãå®è£ ãã¦ããã½ãããæ°å¤ãè¦åãããã¾ãããããããããã®ã½ããã®ä¸»ç®çã¯æ£è¦è¡¨ç¾ãå®è£ ãããã¨ã§ã¯ããã¾ããããã½ãããã¨ã«æ£è¦è¡¨ç¾ã®è¨è¿°è¦åãã¾ã¡ã¾ã¡ã§ãã£ãããæ¥æ¬èªã®
Cocoaã¢ããªã±ã¼ã·ã§ã³ãã¡ããã¨ä»ä¸ããããã«ã¯ãInfo.plistãã¨ãInfoPlist.stringsããã¡ã¤ã«ã®è¨å®ãå¿ è¦ã ããã®è¨å®æ¹æ³ã«ã¤ãã¦ã¯ãããªã詳細ãªããã¥ã¡ã³ããæã£ã¦ãããï¼ç´ æ´ãããæ¥æ¬èªè¨³ã«æè¬ï¼ï¼ ãããã³ã³ã³ãã¼ã ãããã³ã³ã³ãã¼ã > å®è¡æè¨å®ã¬ã¤ãã©ã¤ã³ > ããããã£ãªã¹ã ãã¼ ãªãã¡ã¬ã³ã¹ ADC Home > æ¥æ¬èªç¿»è¨³ ADC Home > æ¥æ¬èªç¿»è¨³ > Cocoaã¢ããªã±ã¼ã·ã§ã³ãã¥ã¼ããªã¢ã« > ã¢ããªã±ã¼ã·ã§ã³ã®è¨å® > åºæ¬çãªããã¸ã§ã¯ãå±æ§ ãããä»ã¾ã§ãèªåã«ã¨ã£ã¦ã¯ã¡ãã£ã¨è©³ç´°éãã¦ãå¿ è¦ãªé ç®ã«ã¤ãã¦ã®å ¨ä½åãã¡ããã¨ç解ã§ãã¦ããªãç¶æ ã ã£ãã以ä¸ãèªåãå¿ è¦ãããªé¨åã ãã«éå®ããè¨å®æ¹æ³ã調ã¹ã¦ã¿ãã æ°è¦ããã¸ã§ã¯ãä½æç´å¾ã®Xcodeã®ããã©ã«ãè¨å®ã®ç¶æ æ°è¦ããã¸ã§ã¯ãã§Cocoa Applicati
ã¯ã©ã¤ã¢ã³ãå´ã®ããã°ã©ãã³ã° ã¯ã©ã¤ã¢ã³ãå´ã¯å¾ ã¤å¿ è¦ã¯ãªãï¼ ãã®ã¾ã¾ï¼ãµã¼ãã«æ¥ç¶ãï¼ããããã¡ãªããã¡ã§ããã¨å ±åããã°ããã ããªã®ã ï¼ ããã§ã¯ï¼å¾ ã¤ã¨ããã¾ã§ï¼ if((sockfd = socket(AF_INET, SOCK_STREAM, 0)) == -1) return; struct sockaddr_in server_addr; struct hostent* server_host; // clear with zero bzero((char *)&server_addr, sizeof(server_addr)); // initialize server_addr.sin_family = AF_INET; server_addr.sin_port = htons(port); // get host information server_host
BSDã使ã£ãSocketã§ã®éä¿¡ ã¨ããã®ãï¼MacOSXã§ã¯ã§ãããããï¼ ã¾ãï¼ä¸èº«ãBSDãªãã ããï¼å½ããåã£ã¦ããã°å½ããåãªãã ãï¼ ã¾ãï¼å ã«åèæç® ã»http://www.macdevcenter.com/pub/a/mac/2002/12/26/cocoa.html ã»http://yudoufu.velvet.jp/sock.html ã»http://www.cocoadev.com/index.pl?SocketClasses ã©ãããï¼NSFileHandleã使ãã®ãããããã ï¼ ãµã¼ãã¼å®è£ NSFileHandleã¨Socket APIãã«ãã»ã«åããåã«ï¼ã¨ããããï¼åç´ãªCã§å®è£ ãã¦ã¿ãï¼ ãµã¼ãã¼ã§ã®å¦çã¯ï¼(1)ã½ã±ããä½æâ(2)ã¯ã©ã¤ã¢ã³ãã®ã¢ã¯ã»ã¹ãå¾ ã¤â(3)ã¯ã©ã¤ã¢ã³ãã¨æ¥ç¶â(4)éä¿¡ã®æµãã«ãªãï¼ void main(vo
This is a command-line utility for examining the Objective-C runtime information stored in Mach-O files. It generates declarations for the classes, categories and protocols. This is the same information provided by using âotool -ovâ, but presented as normal Objective-C declarations, so it is much more compact and readable. Why use class-dump? Itâs a great tool for the curious. You can look at the
Blog Search when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${entry.path} [in template "__entry.ftlh" at line 3, column 25] - Reached through: #include "__entry.ftlh" [in template "entry.ftlh" at
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}