A mutable URL load request that bridges to and you use when you need reference semantics or other Foundation-specific behavior.
Please note: this article is part of the older "Objective-C era" on Cocoa with Love. I don't keep these articles up-to-date; please be wary of broken code or potentially out-of-date information. Read "A new era for Cocoa with Love" for more. On Unix platforms, a common approach for Base64 encoding is to use libcrypto (the OpenSSL library). However, like most C libraries, you need to wrap it to int
Cocoaã®ä½æ°ãªãå©ç¨ä¾ããã³ã³Tipãã¨ãã¦ã¾ã¨ãã¾ããã ãã³ã³ãã¨ã¯Cocoaã®ãã¨ã§ããWWDCãªã©ã§ãCocoaãã«å¯¾ããAppleæè¡è ã®çºé³ã¯ã»ã¨ãã©ãã³ã³ãã¨ããèãããªãã®ã§ãããªã¿ã¤ãã«ã¨ãã¾ããã Cocoaã¯å¤æ©è½ãªãã¬ã¼ã ã¯ã¼ã¯ã§ããå¿ è¦ãªæ©è½ãè¨å¤§ãªè³æã®ã©ãã«ããã®ãè¦ã¤ããããªããã¨ãããã¾ãããã³ã³Tipããããªæã«ãå½¹ã«ç«ã¦ã°ã¨æãã¾ãã ã³ã³Tipã¯ãã¨ãã¨MOSAã®ãCocoaå®ç¨ã»ããã¼ãã®ãµã³ãã«ã½ã¼ã¹å ã«ã³ã¡ã³ãã¨ãã¦æ¸ãã¦ãã説æã«çªå·ãä»ããç©ã§ãã çªå·ã¯åãªãèå¥åã§ãã ããã§ã¯ã½ã¼ã¹ã®ä¸é¨ãã示ããªãã®ã§ãããã«ããé¨åãããããããã¾ãããéæå çãã¦ããã¤ããã§ãã â 2008å¹´1æ4æ¥ã11ãã20ã追å ãã¾ããã ã³ã³Tipã11ãã20
WSSEèªè¨¼ã«å¿ è¦ãªã㨠ãªã¯ã¨ã¹ãã®HTTPãããã«ã次ã®å 容ãå«ãã¦éä¿¡ãã¾ãã Username ã¦ã¼ã¶ã¼åã(ã¯ã¦ãªã¢ã«ã¦ã³ãã®id) Nonce HTTPãªã¯ã¨ã¹ãæ¯ã«çæããã»ãã¥ãªãã£ã»ãã¼ã¯ã³*1 Created Nonceãä½æãããæ¥æãISO-8601表è¨ã§è¨è¿°ãããã® PasswordDigest Nonce, Created, ãã¹ã¯ã¼ã(ã¯ã¦ãªã¢ã«ã¦ã³ãã®ãã¹ã¯ã¼ã)ãæååé£çµãSHA1ã¢ã«ã´ãªãºã ã§ãã¤ã¸ã§ã¹ãåãã¦çæãããæååããBase64ã¨ã³ã³ã¼ãããæåå ã¯ã¦ãªãã¤ã¢ãªã¼AtomPubã¨ã¯ - ã¯ã¦ãªãã¼ã¯ã¼ã ãã¤ã³ãã¨ãã¦ã¯ä»¥ä¸ã®ï¼ç¹ãCocoa(Objective-C)ã§ã©ãå®ç¾ãããã¨ãããã¨ã«ãªãã¾ãã SHA-1 ãã¤ã¸ã§ã¹ã Base64ã¨ã³ã³ã¼ã ISO-8601表è¨ã®æ¥æ SHA-1 ãã¤ã¸ã§ã¹ããçæãã OpenSSLã®ã©
ä»åã¯NSDateã«ã«ãã´ãªã¼ã使ã£ã¦Base64ã®ã¨ã³ã³ã¼ãã»ãã³ã¼ãæ©è½ã追å ãã¾ãã ãã¹ãã¢ããªã¯ä»¥ä¸ã®ãããªç»é¢ã§ããï¼Encodeçµæ表示ä¸ï¼ å·¦ä¸ã®æåã³ã¼ãæå®ã¯ã¨ã³ã³ã¼ããããããã¹ãããã³ã¼ãããã¨ãã®ãªãªã¸ãã«ã®æåã³ã¼ããæå®ãããã®ã§ããï¼ä¸å³ã¯ä¸å³ã§ã¨ã³ã³ã¼ãããçµæããã³ã¼ãããçµæï¼ Base64ã®ã¨ã³ã³ã¼ãã»ãã³ã¼ãç¨ã«ãã´ãªã¼ NSDataã«è¿½å ããã¡ã½ããã¯ä»¥ä¸ã®ï¼ã¤ã§ãã // Base64æååããã³ã¼ãããNSDataãªãã¸ã§ã¯ããçæãã(ASCIIæååãã) + (NSData *)dataWithBase64CString:(const char *)pcBase64 length:(long)lLength; // Base64æååããã³ã¼ãããNSDataãªãã¸ã§ã¯ããçæãã(NSStringãã) + (NSData *)dat
Cocoa ã¯ããã®ä¸æ©ãã ãã¯ããã« ãMacOSXã«ãªã£ã¦ããããã°ã©ãã³ã°ç°å¢ãç¡æã§æã«å ¥ãããã«ãªãã¾ãããå¦å²ã§ãæ°ä¸åã¯ããã½ããï¼CodeWarriorãªã©ï¼ãè¦å´ãã¦è²·ã£ã¦ããæã¨ã¯éä¸ã®æãããã¾ãã ãã£ããã¿ããªãã ããã¡ãã£ã¨ãã£ã¦ã¿ããï¼ã¨èå³ãæãããæ¹ã¯å¤ãã®ã§ã¯ãªããã¨æãã¾ãã ç¾å¨Cocoaã«é¢ãã¦åªããæ¬ãããã¤ãåºçããã¦ãã¾ãããã©ããããã°ã©ãã³ã°ãç¹ã«Cã«é¢ãã¦åºç¤çãªç¥èãè¦æ±ããã¾ããã§ã¯ã¾ãã¯Cãåå¼·ãã¦ã¿ãããã¨æã£ã¦ãWindowsããã¼ã¹ã«ãã説æã°ããã§ï¼ã³ã¼ããã®ãã®ã¯åããªã®ã§ããï¼å®å ¨ãªåå¿è ã«ã¯ãMacã§ã¯ã©ãããã°è¯ãã®ï¼ãã¨æå¤ã«æ·å± ãé«ãã®ãç¾ç¶ã§ãã ããã§ã¯ãå®å ¨ãª0ãããå§ããã人åãã«ç°¡åãªã¬ã¤ããæä¾ãããã¨æãã¾ãã ãªãä¸æ¦ã«ããã°ã©ãã³ã°ã¨ãã£ã¦ãç¾å¨Macã®ãã¹ã¯ãããã¢ããªã±ã¼ã·ã§
ãã¾ãããªãããXCode 3.0ã«ç§»è¡ãã¦ã¿ãã Interface Builderãããªãæä½ãå¤ãã£ã¦ãã¦ãçµæ§æ¸æã£ãã®ã§æ¸ãã®ããã¦ãããã 以åã¯Interface Builderä¸ã®ã¤ã³ã¹ãã¯ã¿ã§Classãä½æãã¦ãInstanceåãã¦ãGUIãã¼ãã¨OutletãActionããã©ãã°ã§çµã¶ã¨ããããæ¹ã ã£ããä»åã®å¤æ´ã§ã¤ã³ã¹ãã¯ã¿ä¸ã§Classã¨ãInstanceã¨ããç¡ããªã£ã¦ããã®ã§ä¸ç¬åç¶ã¨ãã¦ãã¾ã£ããä»ã¾ã§ã¨å ¨ãç°ãªãå³ã®ãããªã¤ã³ã¿ã¼ãã§ã¤ã¹ã«ãªã£ã¦ãã¾ã£ãããã ã ä¾ãã°ããã¾ã¾ã§éãMVCã®Controllerã«ãããã¯ã©ã¹ãä½ãããæãæ£è§£ã¯ã¤ã³ã¹ãã¯ã¿ããCocoaã®Object & Controllersã®ä¸ããObjectããã©ãã°ãã¦ãã¦å³ã®ããã«ç½®ããããã¦Id Inspectorãéãã¦ãClass Actionsã¨Class Out
ãã¡ãã¯ç¬èªãã¡ã¤ã³ããã¬ã³ã¿ã«ãµã¼ãã¼ããã¬ããæ¥ç¶å°ç¨ä¼å¡ã¾ã§ãã¼ã¿ã«ãµãã¼ãã®ãããã¤ãã¼ãBiG-NETã§ãã ãã¤ãå¼ç¤¾ã¦ã¼ã¶ã¼ã®ãã¼ã¸ã«ã¢ã¯ã»ã¹ããã¦é ãã¾ãã¦ãããã¨ããããã¾ãã http://www.big.or.jp/~crane/cocoa/8000_link/index.html 404 Not Found (ãã¡ã¤ã«ãè¦ã¤ããã¾ãã) ç³ã訳ãããã¾ããããã客æ§ãã¢ã¯ã»ã¹è¦æ±ããã¾ããä¸è¨ãã¼ã¸ã¯ãç¾å¨ã¢ã¯ã»ã¹ãåºæ¥ã¾ããã å¼ç¤¾ã§ã¯ããªãã¢ã¯ã»ã¹ã§ããªãã®ãã¨è¨ã第ä¸è ããã®ãåãåããã«ã¯ãçããããã¨ãåºæ¥ã¾ããã ãããã®ãã¼ã¸ã®é¢ä¿è ããåç¥ã§ããããé£çµ¡ãåã£ã¦ã¿ããã¨ããè¦ãè´ãã¾ãã ä½åã容赦ä¸ããã
ããã¯ã®éçºç°å¢ã¯æ¿å¤ãã¦ã¾ããã¾ããã ãã®ãã¼ã¸ã§ã¯Cocoaã使ã£ãMacOSXããã°ã©ã éçºã®æ¯æ´ãµã¤ãã§ãã å¹ççã«ããããã¨è§£èª¬ããããã«æ§ã ãªæ¹ã®ãã¼ã¸ã¸ãªã³ã¯ããããã¨èãã¦ãã¾ãã Cocoaã³ãã¯ã·ã§ã³ã¯ã³ã³ã¢éçºã®æãæ©ã¨ãã¦ããã°ããã¦ããã ãã¾ãã£ã ã©ããã¿ãªãã¾å¾¡ååããé¡ããã¾ãã ã§ã¯ã§ã¯ã¾ããã¾ããï½ã ãã£ã¨å¿ãã¦ã¾ãããCocoaéçºã«ããã¦ä½¿ç¨ããè¨èªã¯ãObjective-Cã ã¾ãã¯ãJavaãã§ãã ç§ã¯ãObjective-Cã ã§éçº ãè¡ãèããªã®ã§ãã®ãã¼ã¸ããObjective-Cã ä¸å¿ã¨ãªãã¾ãã ãäºæ¿é¡ãã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}