iOS
MENTAã«ç»é²ãã¦ã¡ã³ãã£ã¼åéãã¦ãã¾ããiOSã¢ããªéçºã®ãç¸è«ã«ä¹ãã¾ãã
ã製ä½å®ç¸¾ããªã³ã©ã¤ã³ãµãã³ãã·ããã¹ãã®iOSã¢ããªãæ å½ãã¾ããã
ãã®åå¹´éãéçºãæ å½ããVoiceLink®ã¨ããã¢ããªããªãªã¼ã¹ããã¾ããã VoiceLink®ã¨ã¯ï¼ VoiceLink®ã¯å¤äººæ°ã®é³å£°ã°ã«ã¼ãé話ãåºæ¥ãã¹ãã¼ããã©ã³ã¢ããªã§ãã facebookã¢ã«ã¦ã³ããæã£ã¦ãã人ãªã誰ã§ãç¡æã§ä½¿ãã¾ãã
fbsimctlã使ã£ãiOSã·ãã¥ã¬ã¼ã¿ã®è¤æ°èµ·åããã¹ãã»ãããã°ã®å¹çåã
ååã®ã¨ã³ããªã¼ã§ãStoryboardã使ã£ããããã¿ã¤ãã³ã°ããªã¹ã¹ã¡ããã®ã§ãããä¸é¨ã³ã¼ããæ¸ãã¦ããå¦çãããã¾ãã ponpoko1968.hatenablog.com ãããã¿ã¤ãå ±æãµã¼ãã¹ã®Prottã§ã¯ãä½ã£ããããã¿ã¤ãããã¬ãã¥ã¼ããã¨ããç»é¢ãã¿ããããã¨â¦
Storyboardã使ã£ã¦iOSã¢ããªããããã¿ã¤ãã³ã°ããã¡ãªããã«ã¤ãã¦ã
æä½AEDãããç¥æ¸ãç¥æ¸å¸é·å®ä¾ä¼è¦ã§ç´¹ä»ããã¾ããã
sourcekittenãããã¯ã¨ã³ãã«ä½¿ã£ã¦ãEmacsã®auto-complteã§Swiftã®èªåè£å®ãåºæ¥ãããã«ãªãã¾ããã
ãªã¼ãã³ãã¼ã¿ãæ´»ç¨ãã¦ç¥æ¸å¸å ã®AEDè¨ç½®å ´æãé²è¦§ããã¢ããªãä½ãã¾ããã
ç´ä¸å¹´ååã«ããå½æ¥ã«ã¬ã³ãã¼ãã¨ããiOSã¢ããªããªãªã¼ã¹ãã¾ããã ponpoko1968.hatenablog.com ä»åãããapple watchã«å¯¾å¿ããã¾ãããã°ã©ã³ã¹ã§å人ã®èåç»ã表示ãããã¿ãããã¦ã¢ããªãèµ·åããã¨ãè·æ¥ã»è©æ¸ãä»ãã§è¡¨ç¤ºããã¾ãã å½æ¥ã«ã¬â¦
iOS8ã§å°å ¥ãããWKWebViewã§ãã¼ã¸é·ç§»ãå¶å¾¡ããæ¹æ³ã«ã¤ãã¦
è·å ´ã®ãã¶ã¤ãã¼ãããèåãªæå人ã»æ´å²ä¸ã®äººç©ã®å½æ¥ã®èåç»ãæ¥ãããã«ã¬ã³ãã¼ã«ãã¾ããã http://www.creema.jp/exhibits/show/id/264009 ãããã¢ããªã«ãã¦ããããããããã¨ãããã¨ã§ãç§ãiOSã®ããã°ã©ãã³ã°ãæ å½ãããªãªã¼ã¹ã®éã³ã¨ãªâ¦
å½ããã°ã®ã¢ã¯ã»ã¹ãã°ãè¦ã¦ããã¨ãshouldStartLoadWithRequestã«ã¤ãã¦æ¸ãããUIWebViewå ã®ç»é¢é·ç§»ãããã¯ããããå§åçã«äººæ°ã³ã³ãã³ãã§ããããã§ãã ããã§ãå¿ç¨ç·¨ã¨ãã¦ãã¢ããªå ã®UIWebViewç»é¢ã§ãwebãµã¤ãä¸ã®ãã¡ã¤ã«ã¸ã®ãã¦ã³ãã¼â¦
ãæ¥çµã½ããã¦ã§ã¢ã2012å¹´6æå·ã§ãiOSéçºã®ä¸çã§ã¯æåãªfladdictãã¨æ·±æ´¥è²´ä¹æ°ãããã¹ãã¤ããã使ã£ããç´ãã¼ã¹ã§iPhoneã¢ããªããã¶ã¤ã³ããæ¹æ³ãç´¹ä»ãã¦ãã¾ããå¸è²©ããã¦ãããã¹ãã¤ããã®ãã¡ã5cm x 7.5cmã®ãã®ããiPhoneç»é¢ã®å®ãµã¤ãºâ¦
è·å ´ã®æè¡çºè¡¨ä¼ã§iOSéçºé¢é£ã§çºè¡¨ããã¨ãããObjective-Cã§ã®éçºã«å¯¾ãã¦é«ããã¼ãã«ãæãã¦ãã人ãå¤ãããã ã£ãã®ã§ãå°ãã§ãiOSéçºã«èå³ãæã£ã¦ããããããFAQãæ¸ãã¦ã¿ã¾ããã Original Update by nickcastonguay Q. ä½ãå¿ è¦ï¼ Xcodeâ¦
iOSã¢ããªãä½ã£ã¦ãã¦ãå®è¡ä¸ã®ã¢ããªã®ãã¼ã¸ã§ã³ãç¥ããããã¨ãããã¾ããä»äººããã®ä¸å ·åå ±åãªãããèããå ´åã«ã¯ã¾ããã¼ã¸ã§ã³ãç¥ãããã¨æãã¾ãã ãããã£ãé½åãããããã®ã¢ããªã«ã¤ãã¦ãã®ãããªç»é¢ãç¨æãããã¨ãå¤ãã¨æãã¾ãâ¦
iPhoneç¨PDF/Zip/Rarãªã¼ãã¢ããªãã¯ãªãããªã¼ãã¼ãã±ãããããªãªã¼ã¹ãã¾ããã å§å¦¹åã§ããiPadçãã¯ãªãããªã¼ãã¼ãã®ç¹å¾´ã§ããã ã»ãã¼ã¸ãã¯ãªãããã ã»Evernoteé£æº ã»ä½ç½ã®åãåãã»æ¡å¤§ ã»é·æ¼ãæ¡å¤§ ã«å ãã ã»ã³ã³ãã©ã¹ãèª¿æ´ ã»ç½â¦
ãããããªã¼ãã¼ãããã°ã«ç´¹ä»ããã¾ããï¼é»åæ¸ç±ãåãåã£ã¦Evernoteã«ããããä¿ååºæ¥ãiPadã¢ããªç»å ´ç¾éºãªã¹ã¯ãªã¼ã³ã·ã§ããæºè¼ã®ãããããã解説ã¾ã§ä»ãã¦ããã ãã¦ãæè¬ææ¿ã§ãã ãããããªã¯ã¨ã¹ããé æ´ããã®ã§ãä»å¾ã®æ©è½è¿½å ã®åâ¦
iPadç¨PDFãªã¼ãã¢ããªãããããããªã¼ãã¼ãããªãªã¼ã¹ãã¾ããã çè ã¯ä»¥åããããããããèªçãã§å¤ãITéèªãå°èª¬ã»æ°æ¸ãPDFåãã¦ãã¾ãããiPadããªãªã¼ã¹ãããã¨ããæ©éè³¼å ¥ãã¦ããã¾ã§ãç©ãèªããã¦ããæ¬ãèªããã¨ããã®ã§ãããä»ã²ã¨â¦
å½ããã°ã®ã¢ã¯ã»ã¹ã解æãã¦ããã¨ããUIWebViewå ã®ç»é¢é·ç§»ãããã¯ããããããé²è¦§ããã¦ããããã§ããä»åãUIWebViewé¢é£ã§å°ãæ¸ãã¦ã¿ã¾ããæºå¸¯Webãã¼ã¸ããµã¼ãå´ã®å¤æ´ãªãiPhone/iPadã§èªã¿ããã表示ãããã¨ãããã¨ã¯ãããããã¨æãã¾â¦
ç§ã¯ãiOS/Objective-Cã®ã³ã¼ãã£ã³ã°ã«ã¯å°ãEmacsã使ã£ã¦ãã¾ããä¸è¨ããã°ã®ãããã§ããªãå¿«é©ãªObjective-Cã®ã³ã¼ãã£ã³ã°ç°å¢ãæã«å ¥ãã¾ããã(1) Emacs 㧠iPhone ã¢ããªéçºãå¿«é©ã«ããããã®è¨å®ãã è¥å¹²æ°ã«ãªãã¨ããã¨ãã¦ãauto-complete-â¦
å æ¥è¦ãããã¢ããªã§ãUITableViewã®ãããé¨åãã¿ããããã¨ããã®ãããã«å±ããã»ã«ã伸ã³ç¸®ã¿ããã¨ããåä½ãããã¾ããã ã©ããã£ã¦ããã®ã調ã¹ã¦ã¿ã¦ãã©ãããä¸ã®åç»ã®ãããªåããå®è£ ã§ããã®ã§ãå ±æãã¾ãã https://dl.dropboxusercontenâ¦
ä»åã¯ãPDFææ¸ã®ç®æ¬¡æ å ±ãåå¾ããæ¹æ³ã«ã¤ãã¦è¨ãã¾ããã¢ã¦ãã©ã¤ã³ãã®ãã®ã¯PDFã«ã¿ãã°ã®ãOutlinesãããåå¾ã§ãã¾ãããã®ã¨ã³ããªã¯æ¨æ§é ã«ãªã£ã¦ããã®ã§ãæ·±ãåªå ã§ããFirstãé ç®ãã¹ãã£ã³ããæ¨ãã¹ãã£ã³ãçµãã£ãããNextãé ç®ãã¹â¦
ãã©ã³ãæ å ±ããæåã³ã¼ããå¾ãæ¹æ³ã§ããã¾ããFontæ å ±ã¯ãã®ãã©ã³ãã使ç¨ãããã¼ã¸ã®Resourceã¨ãã¦ç»é²ããã¦ããã®ã§ããã®æ å ±ãåãåºãã¾ãã CGPDFPageRef page; // page ãã¼ã¸ãªãã¸ã§ã¯ããåå¾ããã CGPDFDictionaryRef pageDict = CGPDâ¦
ååã®ç¶ãã§ããponpoko1968.hatenablog.com PDFã®æååæç»å½ä»¤ã¯ãTJãTjæ¼ç®åã®ãªãã©ã³ãæååã®ã¨ã³ã³ã¼ãã¨ãã£ã©ã¯ã¿ã»ããã¯ãå ã ã£ã¦å®è¡ãããTmãªãã¬ã¼ã¿ã®ãã©ã³ãã®æå®ã«å¾ã£ã¦ãã¾ãã ãã¨ãã°ã /C2_0 1 Tf 0 Tc 4.093 0 Td <0DFA0F6â¦
ååã®ã¨ã³ããªã§ãXCodeã®ãããã¬ä¸ã§OCUnitã®ãã¹ããå®è¡ãããã¨æ¸ããããUIã絡ã¾ãªããããªãã¸ãã¯ãã¹ãã§ããã°æãã®å¤ç°¡åã«å®ç¾ã§ããã®ã§å ±æãã¾ããæ°è¦ã¿ã¼ã²ããã¨ãã¦Cocoa Touchã¢ããªã±ã¼ã·ã§ã³ã追å ã ã¿ã¼ã²ãããå³ã¯ãªãã¯ãæ å ±â¦
å°ãã¿ã§ããããæ¬æ¥ã®ã¦ããããã¹ãã®è¶£æ¨ã¨ã¯ãã¨ãªãããåä½ãããããããªãã¯ã©ã¹ãAPIã試ãã¦ã¿ãã¨ããªã©ã試è¡é¯èª¤ããªããã³ã¼ããæ¸ãã¦ããã¨ãã«ããã¹ãããã°ã©ã ãæ¸ãã¦è©¦ãã¦ã¿ã¦ã¯ãæ¸ãæãã¦ã¾ãå¥ã®æ¹æ³ã試ãããã¨ãé¸æçã«ãã¹â¦
æå¤ã¨æ¥æ¬èªã®ã¨ã³ããªãå°ãªãã®ã§ã¡ã¢ãPDFãã¼ã¸ã®è¡¨ç¤ºãªã©ãã¬ã³ããªã³ã°ãã¦ç»åã¤ã¡ã¼ã¸ãçæããã®ã«é常ã«æéãããã£ã¦ã¦ã¼ã¶ããªãã£ãæããå ´åããããããããªã¬ã³ããªã³ã°ããç»åã¤ã¡ã¼ã¸ããã£ãã·ã¥ã¨ãã¦ç½®ãã¦ããããããããiOSãâ¦
ãã®æã®ã¢ããªä½ã£ã¦ãã人ã«ã¯æ¢ç¥ã®ãã¨ãªãã ãããã©ããã®ãããã§ã¢ã¸ã¢è¨èªåã§ä½ãããPDFããæ½åºããããã¹ããæååãããã¨ãã話é¡ããã£ã¦ãä¸è¨ã®æ¹æ³ã§ä¸å¿è§£æ±ºã§ããã½ãã®ã§ã¡ã¢ã "TJ"ã"Tj"ã®ãªãã¬ã¼ã¿ã³ã¼ã«ããã¯ããã static voiâ¦
ãã使ãããã ãã©ãã¶ãæ¯åå¿ããã®ã§ãsnippetã¡ã¢ã // ããã¥ã¡ã³ããã©ã«ãã®ãã¹æååãåå¾ NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *aDirectory = [paths objectAtIndex:0â¦