iPhone/iPad
èç¼ããããã§èªæ¸ãã¤ãããªã£ã¦ãã年代ãã©ããã£ã¦èªæ¸éãç¶æããããé»åæ¸ç±ã®è³¢ãæ´»ç¨æ³ãªã©
OnsenUIã¨AngularJSã使ã£ã¦ãã¿ã¹ã¯è¨æã¢ããªãä½ã£ã¦ã¿ãã®ã§ç´¹ä»ãã¾ãã
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â¦
常æãããæ¥ç¶ãåæã¨ããä»æ¥ã®ã¹ãã¼ããã©ã³ã§ããã¨ããã®iPhoneã§ã¯ããµã¼ãã¨éä¿¡ãããã¨ãåæã®ã¢ããªãä½ããã¨ãå¤ããå¤ãã®ï¼²ï¼³ï¼³ãªã¼ãã®ããã«ãã¢ããªã±ã¼ã·ã§ã³å é¨ã§éåæã«ãµã¼ãã¨éä¿¡ãã¦æ å ±ãåå¾ããiPhoneã®ãã¤ãã£ãã®ï¼µï¼©ãâ¦
iPhoneã¢ããªã«ããã¦ãç»åã®é²è¦§ãªã©ãããã²ã¼ã·ã§ã³ãã¼ã¨ã¹ãã¼ã¿ã¹ãã¼ãé ãããå ´åãããã¾ããããã«ãããã²ã¼ã·ã§ã³ãã¼ã¨ã¹ãã¼ã¿ã¹ãã¼ã表示ãã¦ããã¨ãããé»ã£ã½ãã¹ã¢ã¼ã¯ãããã£ãéæãªã¹ã¿ã¤ã«ãè¨å®ãã¦ãç»é¢ä¸æ¯ã«ç»åãªã©ã³ã³ãâ¦
iPhoneéçºã«ãããæ¨æºIDEãXCodeã使ãå§ãã¦éå£ããã®ã¯ããããã¨ã¦ã¤ã³ãã¦ãç¬ç«ãã¦è¡¨ç¤ºããããã¨ã ããããã¬ããã«ãç»é¢ãªã©å¥ã ã®ã¦ã¤ã³ãã¦ã¨ãã¦è¡¨ç¤ºãããã[ç°å¢è¨å®..]â[å ¨è¬]ã¿ãã®[ã¬ã¤ã¢ã¦ã]ãããªã¼ã«ã¤ã³ã¯ã³ãã«ããã°è§£æ±ºãããã¨â¦
XCode ã§Objective-Cã®ã³ã¼ããã¦ããããã¹ãããå ´åã http://developer.apple.com/tools/unittest.html ã§æ¸ããã¦ããå 容以å¤ã«ãä¸è¨ã®è¨å®ãå¿ è¦ããã¹ãã¿ã¼ã²ãã=>å³ã¯ãªãã¯[Get Info]ã[ãã«ã]ã¿ãã§ä¸è¨ã®è¨å®ãå¤æ´ããã Architectures Buiâ¦