Help us understand the problem. What is going on with this article?
åæãiPhoneã¢ããªãä½ããããªããã§ã¯ãªããã売ããã¢ããªãä½ãä¼ç»åãããã¤ã±ã¦ãUIãä½ããã¶ã¤ã³åããªãã«ããã¢ããªéçºã«å¿ è¦ãªObjective-Cã®æè¡åãã ããã£ã¦ãæå³ãªããããã§ããã人åããåæ2å··ã®ãã¯ãããã¦ããããªã¹ã¹ã¡æ¬éãã¯èªèº«ã®èæ¸ã身å ã®æ¬ãè¦ããããã®ãã¸ã·ã§ã³ãã¼ã¯çãªé¸æ¸ãããããã溢ãããããåããããããã訴ããæ¬ã¯å¿ è¦ã¯ãªããè²·ãã¨ãã¦ã1åã§ååã åãããããæ¬ãããªãã¨èº«ã«ã¤ããªããªããçµå±ä½ãããã®ã¯ããã®ç¨åº¦ãã®ãã®ã«çã¾ããããã¦ããã®ç¨åº¦ããä½ãã人ã¯æ¢ã«ããããããããããAppleç¨ãç¡é§ã«ããã ããå ¬å¼ããã¥ã¡ã³ãæ¥æ¬èªããã¥ã¡ã³ã - Apple Developer æ¥æ¬èªåãããå ¬å¼ããã¥ã¡ã³ããå ¨ã¦ãèªãã®ã¯é£ãããããObjective-C ããã°ã©ãã³ã°è¨èªããObjective-Cã«ããããã°ã©ãã³ã°ããèªã
iOSã¢ããªãéçºãã¦ãã¦ãä¾å¤ãçºçãã¦ã¢ããªãã¯ã©ãã·ã¥ãã¦ãã¾ããã¨ããã°ãã°ããã¾ãã Xcodeã§ã¯ãã¯ã©ãã·ã¥æã«å¾ãããæ å ±ãå°ãªãã®ã§ãåå 究æã«æéãããã£ã¦ãã¾ãã¾ãã ãããªã¨ãã¯ããNSSetUncaughtExceptionHandlerãã使ç¨ããã¨ä¾¿å©ã§ãã ã¾ãã試ãã«ãããããä¾å¤ãããã¨çºçããã¦ã¿ã¾ãã - (void)viewDidLoad { [super viewDidLoad]; // ããã§ãããã¨ä¾å¤ãçºçããã¦ã¿ã¾ãã [[NSArray array] objectAtIndex:0]; } å®è¡ããã¨ä»¥ä¸ã®ããã«ãªãã¾ãã ãUIApplicationMainãã§æ¢ã¾ã£ã¦ãã¾ã£ã¦ãç¶æ³ããããããã¾ããã ãNSRangeExceptionããçºçãããã¨ãããã¯ãããã¾ãããããå°ãæ å ±ã欲ããã¨ããã§ãã ããã§ããNSSetUnc
ããããWebã¨iOS/Andoroid Native Appã®èåããããã§ãã¾ããï¼ ãã©ã¦ã¶ã³ã³ãã¼ãã³ã(WebViewã¨ãã)ã®JSããiOSã®ãã¤ãã£ãæ©è½ãå¼ã³åºãã¹ã¿ã¤ã«ãæµè¡ã£ã¦ãã¾ãï¼ PhoneGapã¨ãFacebookã¢ããªã¨ããï¼ èªåã¯åæã«JS-Native Bridgeã¨å¼ãã§ããã®ã§ããï¼ ããã£ã¦ã©ããã£ã¦ãã®ã£ã¦è©± Googleå çã§ãuiwebview nativeãã§ããã㨠UIWebViewã§Webã¨ãã¤ãã£ããç¸äºé£æºãããæ¹æ³ã«ã¤ã㦠iPhoneã®ãã¤ãã£ãæ©è½ãWebViewããå¼ã³åºãæ¹æ³ ããããè¨äºãåºã¦ãã¾ã ããããã« Obj-C â JS [webView stringByEvaluatingJavaScriptFromString:@"JSCode"] JS â Obj-C webView:shouldStartLoadW
ãã¢ã³ãã®ç¹å¾´ æ¶èå¹æãæç¶ãã ã¯ãã¬ã®åå ã¨ãªãèã100%é¤è ããªã¤ã®å ã«ãªãæ±èªä½ãããã㯠ãªããªã人ã«è¨ããªãæ©ã¿ã§ããä½èâ¦ä¸ã§ãã¯ãã¬ã§æ©ãã§ãã人ã¯ç·å¥³åããå¤ãã§ããã¯ãã¬ã®ããªã¤ã¯äººããå«ãããããããæè¡ãæ¤è¨ãã¦ãã人ããã¾ãããã ã§ããã¯ãã¬ã®æè¡ãããåã«ãã¯ãã¬å¯¾çã«ãªããã¢ã³ãã試ãã¦ã¿ãããããªã¤ãæ¹åããããã¨ããå£ã³ããçºè¦ãã¾ããã å£ã³ãã®ããã«æ¬å½ã«ã¯ãã¬ãæ¹åãããã®ãããã¢ã³ãã®å¹æãæåã«ã¤ãã¦èª¿æ»ãã¾ããã®ã§ãç´¹ä»ãã¾ãã å ¬å¼ãµã¤ãã¯ã³ãã© ãã¢ã³ãã¯ã©ããªäººã«åãã¦ããã®ï¼ ãããªäººã«ãããã ã¯ãã¬ã§æ©ãã§ãã人 å¸è²©ã®æ¶èç¨åã§å¹æãæããªãã£ã人 ã¯ãã¬ã®ããªã¤ã解æ¶ãããã®ã§æç¶åããããã®ãæ¢ãã¦ãã人 ãã¢ã³ãã¯ãå»è¬é¨å¤åã®ã¯ãã¬å¯¾çã®ããªãã©ã³ãã¯ãªã¼ã ã§ãã®ã§ããã©ãã°ã¹ãã¢ãªã©ã«å£²ããã¦ããä¸è¬ã®ããªãã©ã³
ææåã¨ã³ããªã®ãªã¹ãã¯ã æ®éã®å¤§å¦çã§ããã¡ãã£ã¨åå¼·ããã°iPhoneã¢ããªãä½ã£ã¦ãã¡ãã£ã¨ãããå°é£ãã稼ããã¨ãæ¡å¤ç°¡åã«ã§ãããï¼ã¨ãã話ãåå¿è åãã«æ¸ããï¼ iPhoneã¢ããªéçºåå¿è ã¨ãã£ã¦ããObjective-Cãåå¼·ããã¾ã§ã«ä»ã®ããã°ã©ãã³ã°è¨èªã®çµé¨ããã大å¦çã®è©±ã§ãã ã¹ãã㯠1992å¹´çã¾ãã®æ å ±ç³»å¤§å¦çã 大å¦ã®ææ¥ã§ããã°ã©ã ãå¤å°ãã£ã¦ãã¾ãããObjective-Cã¯ä¸å触ãã¦ãã¾ããã®ã§ãiPhoneã¢ããªéçºã¯å®å ¨ã«ç¬å¦ã§ãã以ä¸ç¥ãç¶ã ãªãªã¼ã¹ããã¢ã㪠ä¸ã¶æã¡ãã£ã¨ã®éãç¬å¦ã§Objective-Cãåå¼·ããå æ¥ã¢ããªããªãªã¼ã¹ãããã¨ãã§ãã¾ããã ã¿ããã§ãã² Ren Sakamoto ä¾¡æ ¼ï¼ 0å posted with sticky on 2012.8.6 ã¾ããè¶ çµ¶ãã ããªãã¢ããªã§ããããã¯ããã¦ããã¾ãããï¼ App
ããã¸ã§ã¯ããä½æãã ã¾ããXcodeãèµ·åãã¦ãâCreate a new Xcode projectâ ãã¯ãªãã¯ãã¾ãã âSingle View Applicationâ ãã¯ãªãã¯ãã¦é¸æãã¾ãã âNextâ ãã¿ã³ãã¯ãªãã¯ãã¾ãã âProduct Nameâ ã« âTwitterAppâ ã¨å ¥åããâDevice Familyâ 㧠âiPhoneâ ãé¸æãã¾ãã âUse Storyboardsâ 㨠âUse Automatic Reference Countingâ ã®ãã§ãã¯ãå ¥ãã¦ã âInclude Unit Testsâ ã®ãã§ãã¯ã¯å¤ãã¦ä¸ããã å³ä¸ã«ãã âNextâ ãã¿ã³ãã¯ãªãã¯ãã¾ãã ä¿åå ´æãèãããã®ã§ãé©å½ãªå ´æãæå®ããå³ä¸ã«ãã âCreateâ ãã¿ã³ãã¯ãªãã¯ãã¾ãã ä½æããããã¸ã§ã¯ãããXcodeã®ã¦ã£ã³ãã¦ã§éããã¾
ãã®ãã¼ã¸ã¯ãiOSï¼iPhoneï¼iPadï¼iPod touchï¼ã¢ããªéçºè ï¼ããã°ã©ãã®ããã®ãiOS SDKã®APIã®ä½¿ç¨ã³ã¼ãä¾ã®è¨äºãæ¢ããããããã«ãããªã³ã¯éã§ãããã¬ã¼ã ã¯ã¼ã¯ãã¨ã«è¡¨ã§ã¾ã¨ãã¦ããã¾ããã¡ã½ãããããããã£ãªã©Objective-Cã®APIã®ä½¿ãæ¹ã®åèã«ãã¦ãã ããã ï¼ ITã«ã³ã¼ãä¾ã®è¨äºãæ²è¼ãã¦ããã¯ã©ã¹ï¼ãããã³ã«ï¼é¢æ°ããã¬ã¼ã ã¯ã¼ã¯ã ããããªã¹ãã«ã¯æãã¦ãã¾ããããä»å¾æ°ãã«iOS SDKã®ä½¿ç¨ã³ã¼ãä¾ãããè¨äºãå ¬éãããããæ¹è¨ãã¦ããäºå®ã§ãã ãã¬ã¼ã ã¯ã¼ã¯ã®ä¸¦ã³é ã¯ãæ¨æºã®ãiOS Developer Libraryãã¨åæ§ã«ãã¦ãã¾ãã Frameworks Cocoa Touch Layer Event Kit UI Game Kit iAd Map Kit UI Kit New! Media Layer Assets Li
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}