-é·ãéãYandex.Browserã®éçºã«åŸäºããŠããŸããã å®éããã®ã¢ããªã±ãŒã·ã§ã³ã®éå§æéã®æé©åãããç§ã®ã¬ããŒããçãŸããŸããã
ãã©ãŠã¶ã§è§£æ±ºããåé¡ã¯ããã¹ãŠã®iOSã¢ããªã±ãŒã·ã§ã³ã«å ±éã§ãã é»è©±ã«åºãŠäœããå®è¡ãããšããããã2ã3ç§éã¹ãã©ãã·ã¥ç»é¢ã衚瀺ãããŸãã ç§ã®å人èšé²ä¿æè ã¯7ç§ã§ããã¢ããªã±ãŒã·ã§ã³ãåŒã³åºããŸããããé©ãã¹ãããšã§ããããªããéããŠçŸããåçãèŠãŠãããšããããªãã¯ãã§ã«ãã®ã¢ããªã±ãŒã·ã§ã³ã§ããããããšãå¿ããŠããŸããã
ãã©ãŠã¶ã¯ãããè²·ãäœè£ããããŸããã§ããã ãã©ãŠã¶ã«ã¯ãã¢ããªã±ãŒã·ã§ã³ãããã«å¿çããããšãå¿ èŠãšããå€ãã®ã·ããªãªããããŸãã ãŠãŒã¶ãŒã¯ãå®è¡äžã«ãã°ããããã©ãŠã¶ãéããæ€çŽ¢è¡ã«äœããå ¥åããåçãååŸããããå®è¡äžã«äœããèªãã ãã§ããå¿ èŠããããŸãã ãããããããªãã¯èµ°ãåã£ãŠããŸããå°äžéã®éè·¯ã§ãæéã«äœè£ããªãã®ã§ãããã€ãã®èšäºããŽã£ãããšå§ããŠèªãã§ããŸãã
åœç¶ã®ããšãªããããã©ãŠã¶ã«ã¯åé€ã§ããªãæ©èœããããŸãããã®ããããŠãŒã¶ãŒã¯è£œåã䜿çšããŸãã
ããã«ã競åä»ç€ŸãããŸãã ãããŠãç§ãã¡ã®äž»èŠãªç«¶äºçžæã®1ã€ã¯ãiOSã«çµã¿èŸŒãŸããSafariãã©ãŠã¶ã§ããããã¯100ãã³ã®éãã§ç§ãã¡ã«ããã£ãŠãããèŠããŠãããªããWindowsã®IEãšåãæ¯é çãªäœçœ®ãå ããŠããŸãã ãŸãã競åããå¿ èŠãããããããã©ãŠã¶ã®èµ·åæéãåžžã«ççž®ããå¿ èŠããããŸãã
ãã€ãŠããã¹ãŠã®éçºè ã«å åšããçŽ æŽãã§ãã®åé¡ã«åãçµã¿ãŸããã 圌ãã®æèŠã§ã¯ãäœããæé©åããã«ã¯ããããã¡ã€ã©ãŒãšå人çãªçµéšã§ååã§ãã
ããæç¹ã§ããããŒãžã£ãŒãç§ãã¡ã®ãšããã«æ¥ãŠãã¢ããªã±ãŒã·ã§ã³ãæãã§ãé床ãèœã¡ããã¹ãŠãæªããšèšããŸããã éçºè ã¯èšã£ã-ããŠãèŠãŠã¿ãŸããããæé©åããã¹ãŠãããŸãããã§ãããã
æé©åã ãã®çµæãã¢ã»ã³ããªãå®æããŸããããã¹ãã¯ã¹ããããŠã©ããã§è¡ãããŸãããããã¯ããã¹ãŠãæ£ããè¡ãããã©ãã§ãä¿®æ£ãããããã¹ãŠãéãèµ·åããããšã確èªããå¿ èŠãããããã§ãã ã¹ããããŠã©ããã䜿çšããŠã圌ãã¯éå§æéã枬å®ãããããçããªã£ãããšã確èªãããã¹ãŠãããŸããããŸããã
ãã®ã¢ãããŒãã¯ããã«é²åããŸããã ãã¹ã¿ãŒãæ€ããŠã¹ããããŠã©ãããäžãã代ããã«ããããªã®äœ¿çšãéå§ããŸããã æé©åã®åãšåŸã«ãããªãæ®åœ±ãããäºãã«ãªãŒããŒã©ãããããã¬ãŒã ããšã«èŠãŠãã©ã®ãã©ãŠã¶èŠçŽ ã衚瀺ãããããã©ã®ããã«åå¿ãããããã¹ãŠãããŸããããã©ããã確èªããŸããã
å°æ¥ããããŒãžã£ãŒã¯ãããªç·šéè ã®ããã«æããŸããã 圌ã¯ãã£ã³ã¹ã«é¢é£ããå¹æãå¹³æºåããããã«ãåã«5ã€ã®ãããªãæ®åœ±ããåŸã«5ã€ã®ãããªãæ®åœ±ãå§ããŸããã éå§æéã¯ç«æã®å€©æ°ã«äŸåããããšããããããã§ã¯äœãã§ããªãããšã誰ããç¥ã£ãŠããŸãã
ãããŒãžã£ãŒã¯ãããªãšãã£ã¿ãŒã®ã¹ãã«ãç¿åŸããŸããããããã¯åœ¹ã«ç«ã¡ãŸããã§ããã ãã®ã¢ãããŒãã«ã¯å€ãã®åé¡ããããŸããã
ãŸãããã¹ãŠãé ããªãå§ãããšãã«ã®ã¿æé©åãæãåºããŸããã æé©åãè¡ãããã°ãããããšããããã¹ãŠãäœäžããŸããã 誰ããä»ã®å€æŽãå ããæ°ããæ©èœãç»å Žããæéãçµã€ã«ã€ããŠåã³ãã¹ãŠãéåžžã«æªããªããŸãã ãããŠããããå¶åŸ¡ããããŒã«ããããŸããã§ããã ãŸããå¹æã倱ããããªãå Žåã¯ãç¶ç¶çãªç£èŠãè¡ãå¿ èŠããããŸãã æ®å¿µãªãããç§ãã¡ã䜿çšãããããªãªãã·ã§ã³ã¯ãåžžã«äœ¿çšããã®ã«ååãªåŽåãå¿ èŠãšããŸãã 圌ã¯ç§ãã¡ã«åããªãã£ãã
ãããã£ãŠãæ¬æ¥ã¯ãäœããã®çš®é¡ã®å¹æãå®éã«ååŸããé·æéç¶æããå Žåã«ãèµ·åæéãæé©åããããã»ã¹ãé©åã«æ§ç¯ããæ¹æ³ã«ã€ããŠèª¬æããŸãã
ãŸããã¡ããªãã¯ã«ã€ããŠèª¬æããŸããã¡ããªãã¯ããªããšãç¹ã«æé©åãªã©ã®ããã»ã¹ã¯ãŸã£ããäžå¯èœã§ãã
ç§ãã¡ã¯ãä»äººã®çµéšããèªåèªèº«ã«é©å¿ããããšãã§ãããã®ã«ã€ããŠè©±ããŸãã Fake UIãããžã§ã¯ãã«ã€ããŠã話ããŸããã-ããã®ãããã§ãæåéããŠãŒã¶ãŒã®é¡ãé£ã³åãããç§ãšäžç·ã«ä»äºããã£ãšæ©ãããšèšãã€ã³ã¿ãŒãã§ã€ã¹ãæ§ç¯ããããšãã§ããŸããã
ãããã¹ãããã®åé€ã«ã€ããŠç°¡åã«èª¬æããŸãã ããã¯ãå°ãªããšã1åã¯æé©åãè¡ã£ããã¹ãŠã®äººãå°ãç解ããŠãããããã¯ã§ãã å€ãã®åé¡ããããããæ zyãªãµãŒãã¹ãšãæçµçã«åŸãããè©äŸ¡ã«ã€ããŠã
ã¡ããªãã¯ããå§ããŸãããã ãã®ã¬ããŒãããåºãŠããæåã§æãéèŠãªããšã¯æ¬¡ã®ãšããã§ãã 䟿å©ãªã¡ããªãã¯ããªãéãããµããŒãããã䟿å©ãªæé©åãè¡ãããšã¯ã§ããŸããã ãããªã®äŸã ãããŒãžã£ãŒã¯åç»ã®çµ±èšæ å ±ãååŸããããã«å€ãã®æéãè²»ããå¿ èŠããããåžžã«æ®åœ±ããããšã¯ã§ããŸããã§ããã ãã®çµæããããäœããã®åœ¢ã§è¡ããããã¹ãŠã倱ãããæãéèŠãªããšã«ã¯ããã®æé©åã倱ãããééã§èŠã€ããããšãã§ããŸããã§ããã ãããã£ãŠãåçãæ®ãé »åºŠãé«ãã»ã©ãç§ãã¡ã«ãšã£ãŠè¯ãçµæã«ãªããŸãã
ã¡ããªãã¯ã¯ãå€ãã®å Žåãç°¡åã§ç解ãããããã®ã«ããå¿ èŠããããŸãã ãã©ãŠã¶ã«ã€ããŠã¯ãéžæãããã¹ãŠã®ã¡ããªãã¯ã2ã€ã®å€§ããªã°ã«ãŒãïŒãã©ã€ããªãšã»ã«ã³ããªïŒã«åå²ããŸããã äž»ãªãã®ã¯ããŠãŒã¶ãŒãçŽæ¥æãããã®ã§ããããã©ãŠã¶ã®æèŠã«åœ±é¿ãäžãããã®ãšã圌ãèŠããã®ã§ãã ãããã¯å®éçã§ããå¿ èŠããããæ°å€ãæ±ãã®ã¯ç°¡åã§ããå¹³æ¹æ ¹ãå ç®ãæžç®ãæžç®ããããšãã§ããŸãããç§ã¯å人çã«ã¯è©ŠããŠããŸããã ãããŠæãéèŠãªããšã¯ããããã¯å®¢èŠ³çã§ãªããã°ãªããŸããã ã¹ããããŠã©ããä»ãã®ãã¹ã¿ãŒã®äŸã瀺ããããã«ãããŸãã«ãå€ãã®ç¢ºççèŠå ã¯ãããããããæ¹åã®å¹æã瀺ãã®ã§ã¯ãªããã¡ããªãã¯ãçªã®å€ã®æž©åºŠã瀺ãå§ãããšããäºå®ã«ã€ãªãããŸãã
åºæ¬çãªææšã¯ã補åéçºããã»ã¹ã§æ¹åããããã®ã§ãã è£å©ã¡ããªãã¯ããããŸãã ãããã¯ãéçºè ã®äžçã«ãã§ã«ååšããŠããããšãé€ããŠãã¡ã€ã³ã®ãã®ãšéåžžã«äŒŒãŠããŸãã ãããã¯ãŠãŒã¶ãŒã«ã¯è¡šç€ºãããªããã®ã§ãããéçºè ã¯éåžžã®æ°ãããã¯ããã«å€ãã補åã§äœãèµ·ãã£ãŠããããéç¥ãããŸãã
Yandex.Browserã§ã¯ã4ã€ã®ã¡ããªãã¯ãéžæããŸããã ãããã®ãã¡ã®2ã€ã¯è£å©çã§ãããéçºè ã®ããã«ååšãã2ã€ã¯ã¡ã€ã³ã§ãã
ãããã®ã¡ããªãã¯ã¯ãã¹ãŠããŠãŒã¶ãŒãã¢ããªã±ãŒã·ã§ã³ã¢ã€ã³ã³ãçªããç¬éããçµéããç§æ°ãæ¡ä»¶ä»ãã§ç€ºãæ°å€ã§ãã
æåã«åããã€ã³ãã¯ãMainãéå§ããç¬éã§ãã 2ã€ç®ã¯ãRootViewControllerããŠã£ã³ããŠéå±€ã«è¡šç€ºãããããã«ãã¥ãŒã衚瀺ããããšããã«ã ViewWillAppearãå®è¡ãããŠãããã€ã³ããååŸããŸãã
3çªç®ã®ã¡ããªãã¯ã¯ViewDidAppearã§ãã 4çªç®ã«èå³æ·±ãã®ã¯ãViewDidAppearã®æåŸã«ãDispatch Asyncãããã¯ã䜿çšããŠã¡ã€ã³ã¹ã¬ããã§å®è¡ããããšã§ãã ãããŠããããå®æããç¬éãããã¯4çªç®ã®ããžã·ã§ã³ã§ããããããUI ReadyãšåŒã³ãæãéèŠã§ãã å°æ¥çã«é »ç¹ã«äœ¿çšããŸãã ãããŠãããã«é¢ããåºæ¬çãªèŠç©ãããè¡ããŸãã
ãããã®åæ°åã®æå³ã«ã€ããŠç°¡åã«èª¬æããŸãã ã¡ã€ã³ã¯æãç解ãããããã®ã瀺ããŠããŸã-ããã¯ã¢ããªã±ãŒã·ã§ã³ãèµ·åããç¬éã§ãç»åå šäœãã¡ã¢ãªã«èµ·åãããããŒããåæåãè¡ãããåçã«ããŒããããã©ã€ãã©ãªã«é¢ãããã¹ãŠãããã«ãããŸãã ãããžã§ã¯ãã«ããŒãããã©ã€ãã©ãªã®å¹æã瀺ããŠããŸãã
ãã®åŸãèªç¶ã«applicationïŒdidFinishLaunchingWithOptionsãå®è¡ãããŸãã å°æ¥äœ¿çšãããããã€ãã®ãµãŒãã¹ãæ§æããããã®åŸãViewDidAppearã®ç¬éãæ¥ãŸãã
ãããã£ãŠãViewDidAppearã®2çªç®ã®æ°åã¯ãæ§æãããç¬èªã®ã«ã¹ã¿ã ãŠãŒã¶ãŒãµãŒãã¹ã®å¹æã瀺ããŠããŸãã
ViewDidAppearã¯ãã¡ã€ã³ã¡ããªãã¯ãããŠãŒã¶ãŒãæçµçã«ç»é¢äžã§äœæ¥ããããšããŠããã¢ããªã±ãŒã·ã§ã³ã®ã€ã³ã¿ãŒãã§ã€ã¹ãèŠãç¬éã瀺ããŠããããã§ãã
ãããŠæåŸã«ãUI Readyã ã€ã³ã¿ãŒãã§ã€ã¹ã衚瀺ãããæç¹ã§ãã¡ã€ã³ã¹ã¬ããã§å®è¡ããå¿ èŠããã倧éã®ã³ãŒãã«ãã£ãŠãããã¯ãããå¯èœæ§ããããŸãã ãã®ããããŠãŒã¶ãŒã¯èŠãããšãã§ããŸããã觊ããããšã¯ã§ããŸããã
ã¡ã€ã³ã¹ã¬ããããããã¯ããäºå®ã®4çªç®ã®UIæºåå®äºã¡ããªãã¯ã¯ãæçµçã«ã¢ã³ããŒããããã¿ã€ãã³ã°ã瀺ãããŠãŒã¶ãŒã¯ã¢ããªã±ãŒã·ã§ã³ãšå¯Ÿè©±ã§ããŸãã
ç§ãã¡ãå éãããäž»ãªä»®èª¬ã¯ãUI Readyã¡ããªãã¯ã¹ãã€ãŸããŠãŒã¶ãŒãã¢ããªã±ãŒã·ã§ã³ã§äœæ¥ã§ããç¬éãæžãããšããŠãŒã¶ãŒã¯ããã«æ°ã¥ããããã圌ã«ãšã£ãŠè¯ãããšã ãšç解ãã補åããã楜ããããšãã§ãããšããããšã§ãã ããã¯ãåççãªã©ã®è£œåã¡ããªãã¯ãå¢å ããããšãæå³ããŸãã ã€ãŸããã°ã©ãã®çžé¢é¢ä¿ã確èªããå¿ èŠããããŸããUIReadyã®éå§æéãçããªãã補åã®ã¡ããªãã¯ãé«ããªããŸãã
æé©åã®å¹æãè©äŸ¡ããããã«ãéçºè ããã¡ããªãã¯ãåéããŸãã éçºè ãäœããè¡ããšããã«ããã®ã¢ã»ã³ããªãååŸããŸãããã«ãªã¯ãšã¹ãããã¹ã¿ãŒã«åå ããåŸããã¹ã¿ãŒããã¢ã»ã³ããªã絶ããåéããç¹å¥ãªãã¹ãã¹ã¿ã³ãã«éä¿¡ããŸãã ããã¯éåžžã®Macã§ãããã€ã¹ãæ¥ç¶ãããŠãããããã¯ãŒã¯ã«æ¥ç¶ãããŠããŸããiOS8ããŒã¹ã®iPad Miniãåœææããã¬ãŒããããã£ãããã€ã¹ã§ããã ã¢ã»ã³ããªãã€ã³ã¹ããŒã«ãããæ°çŸåèµ·åããŸãã 4ã€ã®ãã¹ãŠã®ã¡ããªãã¯ã®æ°å€ãååŸãããã³ã«ãããããåéããå¹³ååããŠç¹å¥ãªã¹ã¿ã³ãã«éä¿¡ããŸããããã§ããããã®æ°å€ããæéã®çµéã«äŒŽãçŸããå€åã®ã°ã©ããäœæãããŸãã åŸã§ãããã®ã°ã©ãã衚瀺ããŸãã
ãããã®æ°å€ã䜿çšããŠããããžã§ã¯ãã«å ããŠããå€æŽãäœã«ã€ãªããã®ãããã°ããç解ããŸãã
åœç¶ããŠãŒã¶ãŒã«å¯ŸããŠãããè¡ãããŠãŒã¶ãŒã¡ããªãã¯ãåéããŸãã å¿åçµ±èšã®éä¿¡ãèš±å¯ãããŠãŒã¶ãŒã¯ããããã®çªå·ãååŸããŠèªåèªèº«ã«éä¿¡ããŸãã åœç¶ããŠãŒã¶ãŒã«ã¢ããªã±ãŒã·ã§ã³ã200åå®è¡ããããã«äŸé Œããããšã¯ã§ããŸãããããŠãŒã¶ãŒã®æ°ã¯åºæ¬çã«ã©ã³ãã æ§ã®åœ±é¿ãæé€ããŸãã
ã¡ããªãã¯ãéèŠã§ããããšããç解ãã ããã ãããŠããã®ãããªã¿ã¹ã¯ãçºçãããšããããªãã¯ãã®ã¢ããã€ã¹ãåããŸãã
ç§ãã¡ãä»ã®äººã ããæ¡çšããçµéšã«ã€ããŠã¯ããŸããååã®ãã³ã©ã€ã»ãªãã°ã«ãã®ã¬ããŒã ãiOSã¢ããªã±ãŒã·ã§ã³ã®èµ·åæéã®æé©åããåç §ããããšæããŸãã
ãŸããåçã©ã€ãã©ãªã®ããŒããªã©ãã·ã¹ãã ã®èµ·åæéã«é¢ãããã®ã§ããæåã«è¿°ã¹ãããã«ãã¡ã€ã³ã®ã¡ããªãã¯ã¯ã€ã¡ãŒãžãããŒãããŸãã ããã§ã¯ãã¹ãŠãéåžžã«ãã説æãããŠããŸãããŸãã圌ã®ã¢ããã€ã¹ã掻çšãããã©ãŠã¶ãŒã«åçã©ã€ãã©ãªãæšãŠããã¹ãŠãçµ±èšçã«ãªã³ã¯ãããŠããŸãã
åœç¶ãSwiftãæŸæ£ããŸããããããããã¹ãŠè¡ã£ãåŸãiOS 7ãæ®ã£ãŠãããããSwiftã®ãµããŒãã¯ã¡ããªãã¯ã«å€§ãã圱é¿ãããã¹ãŠã®æ°ãå€§å¹ ã«å¢å ããŸããã ç§ãã¡ã¯ããã䜿ãããšããŸããããæé·ãèŠãŠããã®èããããã«æŸæ£ããŸããã
é©ãã¹ãããšã«ãããã©ãŒãã³ã¹ã®åäžã¯ãåã«æªåŠçã®ãªãœãŒã¹ãããªãœãŒã¹ã転éããããšã瀺ããã ãã§ãã ãããŠãé·ãæŽå²ãæã€ãããžã§ã¯ãã§ã¯ã誰ããããå¿ èŠãšããªããšããäºå®ã®ããã«äœã觊ããªãå Žåããããžã§ã¯ãã«æªå å·¥ã®ãªãœãŒã¹ããŸã ããå Žåãããã¯é¢é£ããå¯èœæ§ããããxcassetsã«ãããã転éããããšããå§ãããŸãããã©ãŒãã³ã¹ã®åäžã
æ®å¿µãªãããéå§æéã«æªåœ±é¿ãäžããã©ã€ãã©ãªããããŸãã ã©ããããè€æ°ã®è² è·ãšåæ§ã®ãã®ããããšããäºå®ã®ããã«ã ãŸããFacebook SDKã®äœ¿çšæã«ããã«ééããŸãããFacebookSDKã§ã¯ãé 延èªã¿èŸŒã¿ãšé 延ãã€ã³ãã£ã³ã°ã䜿çšããŸããããã®ã©ã€ãã©ãªã§ã¯ããã®ã©ã€ãã©ãªãšçŽæ¥å¯Ÿè©±ãããDial Dãªã©ã䜿çšããŸãã
ååã»ã©ããŒãã³ã¢ãªäººã¯ããŸããã å€ãã®çŸããåçããããŸãã
ãã©ãŠã¶ã®æåã®åé¡ã¯ã«ãŒãã«ã®åé¡ã§ãã å€ãã®äººã¯ããã©ãŠã¶ãŒãChromiumã³ã¢ã«åºã¥ããŠããããšãç¥ã£ãŠããããçã£ãŠããŸããç§ãã¡ã®ã³ãŒããããããã¹ã¯ããããã©ãŠã¶ãŒãšã¢ãã€ã«ãã©ãŠã¶ãŒã®éãè¡ãæ¥ããå€ãã®æ©èœãæäŸããŸããããããªãã§ã¯ãã©ãŠã¶ãŒã¯ããŸã圹ã«ç«ã¡ãŸããã
iOSããŒãžã§ã³ã®åé¡ã¯ãiOSã®ã³ã¢ãã¢ããªã¹ã§ããããšã§ãã ããã¯å€§éã®ã³ãŒãã§ãããåæã«ããŒãããããã°ããåäœããŸãããæçµçã«ããŒããããŠåããŠãŠãŒã¶ãŒã«äœããã®æ©èœãæäŸã§ããŸãã
ããã«èããããšã¯äžå¯èœã§ããã ãŠãŒã¶ãŒã¯ãã§ã«ã€ã³ã¿ãŒãã§ã€ã¹ãèŠãŠããããã§ãããã«ãŒãã«ã¯èµ·åãããã€ã³ã¿ãŒãã§ã€ã¹ã¯ããã¯ãããŠãããããäœãã§ããŸããã
ç§ãã¡ã¯ããã«ã€ããŠäœããããããšã«ããŸããã
ç§ãã¡ãæåã«èããã®ã¯ããããèŠãå Žåã¯ã©ãã§ããããïŒ ã«ãŒãã«ã®é床ãäœäžããå Žåã¯ãç Žæ£ããã ãã§åé¡ã¯ãããŸããããã¹ãŠåé¡ãããŸããã
è©ŠãããããŸããã§ãã ã«ãŒãã«ã倧éã®åå©çšæ©èœãæäŸããå ŽåããããæšãŠãããšã¯ãŒããããããæžãããšãæå³ããããšã¯æããã§ãããããªãèªèº«ã§ã ãããè¡ãã®ã¯ç¡æå³ã§ãããåäœããã³ãŒããæšãŠãŠãåäœãæªãå¥ã®ã³ãŒããæžããŸãã
ç§ãã¡ã¯å察ã«è¡ããŸããã ãããªãã§ã¯äœãã§ããªãã«ãŒãã«äŸåã®UIãããå ŽåããŠãŒã¶ãŒã«å¥ã®UIãæäŸããŠãã ããã ãããããã¹ãŠãã§ããããã§ã¯ãããŸããããã«ãŒãã«ããªããŠãå®å šã«åäœããããšãã§ããã¢ããªã±ãŒã·ã§ã³ããã°ããéããŠãã®äžã§äœããããå¿ èŠããããšãã«ããŠãŒã¶ãŒã¯ã¢ãŒãã«åºæã®ã¹ã¯ãªããã®ã»ãããå®è¡ã§ããŸãã
åœç¶ã察話åã§ãããæžã蟌ã¿ãå¯èœã§ãããã«ãŒãã«ãããŒãããããšããã«ééçã«å€§ããªUIã«åãæ¿ããå¿ èŠããããŸãã
deviantartãžã®ãªã³ã¯
Omniboxã®ãããªã³ã³ããŒãã³ãã®äŸã§ãããã©ã®ããã«è¡ããŸãããïŒ
ãã©ãŠã¶ã¯ãWebViewãšãªã¯ãšã¹ããå ¥åããããã®ããã¹ããã£ãŒã«ãã§æ§æãããŠããããšã誰ããç¥ã£ãŠãããçã£ãŠããŸãã åœç¶ãããã¯ããã§ã¯ãããŸããã èŠæ±ãå ¥åãããã£ãŒã«ãã¯ãOmniboxãšåŒã°ããŸãã ã«ãŒãã«ã¯ãæšæž¬ããããã«ãã©ãŒããããããURLãããã°ã¬ã¹ããŒã䜿çšããäœæ¥ãªã©ãå€ãã®ãã®ãæäŸããŸããããããªãã§ã¯ãOmniboxã¯ããŸãæ©èœããŸããã§ããã ããããç§ãã¡ã¯ãŠãŒã¶ãŒã«éå§åã«äœãââãå ¥åããæ©äŒãäžããããšæ¬åœã«æãã§ããŸããã
倧ããªOmniboxã2ã€ã«åããŸããã å€ãOmniboxã¢ãã«ã¯ãŸã£ããåããŸãŸã§ãã³ã¢ã§ãæ©èœããŸããã 次ã«ãå®å šã«åãé¢ãããæ°ããã¢ãã«ãé 眮ãããã£ãã·ã¥ãããããŒã¿ãåŠçãããããã1ã€ã®å€§ããªã³ã³ããžããã«çµåããŠãã«ãŒãã«ãããŒãããããã©ããã«å¿ããŠåŒã³åºããã«ãŒãã£ã³ã°ããŸããã
ã«ãŒãã«ãããŒãããããŸã§ãç§ãã¡ã®åŒã³åºãã¯ãã£ãã·ã¥ãããOmniboxã«è¡ããããããçããæ¥ãŸããã ã«ãŒãã«ãèµ·åãããšããã«åãæ¿ããŸããã
ãŠãŒã¶ãŒããã©ãŠã¶ãã¢ã³ããŒããããšãã«äœããå£ããŠãããšæããªãããã«ãåã³èµ·åããŠç©ºã®Omniboxã確èªããŸããããããããã£ã±ãã ã£ããããå°ããªãã£ãã·ã¥ãäœæããŸããã ã«ãŒãã«ã«äŸåãã倧ããªOmniboxããã®ãã£ãã·ã¥ã«æžã蟌ã¿ããã£ãã·ã¥ãããOmniboxã¯ãäžæãããšããã«ãã®ãã£ãã·ã¥ããèªã¿åãããŠãŒã¶ãŒã«ãã£ãã·ã¥ã®ç¶æ ãäžããŸããã
ã·ãŒã ã¬ã¹ãªåãæ¿ãããµããŒãããããã«ãã«ãŒãã«ãæçµçã«èµ·åãããšãã«ãOmniboxã®ãã£ãã·ã¥ç¶æ ãå®éã«éåžžãšåæãããå°ããªã³ã³ããŒãã³ããäœæããŸããã ãããŠããŠãŒã¶ãŒã«ãšã£ãŠã¯ããã¹ãŠã圌ããã©ãŠã¶ãèµ·åããããã«èŠãããã©ãŠã¶ã§äœããéå§ãããã©ãŠã¶ã¯æ©èœããŸãã 圌ã¯åãæ¿ãã®ç¬éã«ããæ°ã¥ããŸããã
åæã«ãã€ã³ã¿ãŒãã§ãŒã¹ã¯ã¯ããã«éãèµ·åãå§ããŸããã å ã»ã©èšã£ãããã«ãã«ãŒãã«ã®éå§åã«ãUserInteractionEnabled = nullãå®è¡ããŸãããããããã芪æãªããŠãŒã¶ãŒãããªãã¯äœãããŸããã ããã§UserInteractionãæå¹ã«ãªããåé¡ãæ®ã£ãŠããããšãããããŸããã
æ®å¿µãªããšã«ãã«ãŒãã«ã«å ããŠãç§ãã¡ã¯ç¬èªã®ãµãŒãã¹ãäœæããŸããã ãããã®ããã€ãã¯ã«ãŒãã«ã«ãäŸåããŠãããã«ãŒãã«ãæçµçã«å®è¡ãããŠããããšã瀺ãã³ãŒã«ããã¯ã賌èªããã®ãéåžžã«å¥œãã§ããã
ã«ãŒãã«ãèµ·åããæç¹ã§ããããã®ãã¹ãŠã®ãµãŒãã¹ã¯åãã§åæåãããã¡ã€ã³ã¹ã¬ãããè©°ãŸãããŸããããã®çµæãã€ã³ã¿ãŒãã§ãŒã¹ãããããããããšããåãããããšã¯å¯èœã§ãããã¡ã€ã³ã¹ã¬ããã¯è©°ãŸããåäžã®ã¡ãã»ãŒãžã¯æž¡ãããŸããã
ãããªæãã§ããã ãããã®æ¡ä»¶ä»ããµãŒãã¹ã¯2ããŒã¹ãããããã§äœããè¡ããæã«ã¯å€ãã®ããšãè¡ããŸããã 1ã€ãŸãã¯2ã€ãããŸããããããã¯åé¡ã§ã¯ãããŸããã§ããããæ©èœã®æ°ã®å¢å ã«äŒŽãããããã®æ°ã¯åžžã«å¢å ããŠããŸããã
Chromium.performAfterStartupèªäœã¯äœãããŸããã§ãããChromium.performAfterStartupã¯ãµãã¹ã¯ã©ã€ããããã¹ãŠã®ã³ãŒã«ããã¯ãååŸãã倧ããªãã±ããã§ã¡ã€ã³ã¹ããªãŒã ã«èšé²ããŸããã ã¡ã€ã³ã¹ã¬ããã§20ã®ãµãŒãã¹-æ®å¿µãªãããäœããããªããã°ãªããŸããã§ããã
ãã®ããããã¹ãŠã®ãµãŒãã¹ãäžåºŠã«èµ·åããããšãæåŠããŸããã æåã«è¡ã£ãã®ã¯ãäžéšã®ãµãŒãã¹ãChromiumã®åŸ æ©ãåæ¢ããåŸæ¥å»¶æãããããšã§ãã
åºæ¬çã«ãããã¯ãŠãŒã¶ãŒãå¿ èŠãšããªãããããã«å¿ èŠãšããªãçµ±èšããã®ä»ã®ãã®ã«é¢é£ãããã¹ãŠã§ãã 延æã§ãããã®ã¯ãã¹ãŠã延æããŸããã
延æã§ããªããµãŒãã¹ã«ã€ããŠã¯ãäžåºŠã«1ã€ãã€éå§ããããšã«ããŸãããã¡ã€ã³ã¹ã¬ããã«ãµãŒãã¹ã®èµ·åééã§äœããã¯ã©ã³ã¯ããæ©äŒãäžããã ãã§ãã ãããã£ãŠããŠãŒã¶ãŒã¯é ããã€ã³ã¿ãŒãã§ãŒã¹ããæã£ãŠããŸããããåæã«åœŒã¯åœŒãšå¯Ÿè©±ããæ©äŒããããŸããã ãããŠåœŒã¯å°ã幞ãã«è¿ã¥ããã
ããã«ããæ zyãªãµãŒãã¹ãç»å Žããããã幞çŠã¯çåœã§ããã
é 延ãµãŒãã¹ã®åé¡ã¯ãèµ·åæéãå®çŸ©ãããŠããªãããšã§ãã äžæ¹ã§ã¯ãããã¯åé¡ã§ã¯ãããŸããããé 延ãµãŒãã¹ã䜿çšã§ãããããæ¬åœã«å¿ èŠãªæç¹ãŸã§ãã®èµ·åã延æããå¿ èŠãããããããããã®å©ç¹ã§ãã ããããæ referringãªãµãŒãã¹ã¯ããäºããåç §ããäºãã«è§Šãåãã巚倧ãªãã³ãã«ã«éãŸãã矀è¡ã®äžãèµ°ãå§ããŸãããã®å Žæã«ã¯ããã®æ serviceãªãµãŒãã¹ã«èª€ã£ãŠè§Šããå Žåã«å¥ã®å Žæã«ç§»åã§ãããããã¹ãããããããŸãã , , â , , .
, , . , - , .
, , , . , - . , , .
, , , Promise. , .
.
. , . â . ? , , , , - . , , â , , - â , 7- .
50%, 70% 90%. , .
, , . , .
, .
, . , . , , , , .
, .
Swift , . , Main. , â , , Swift. Swift, .
. , . , : , , pull request, . , . , , , , , . - - , , .
çµè«ãšããŠãæåã®ææšããããŠæ¬¡ã«æé©åã®ã¿ãã¡ããªãã¯ããªããã°ããã¹ãŠã®æé©åã¯é ããæ©ãã倱ãããããã¯ééããªãããªããšããªãã®ãŠãŒã¶ãŒãæããã®ã§ã¯ãããŸãããåãäœæ¥ãæ°åè¡ãã®ã¯ç¡æå³ã§ããããŠãŒã¶ãŒã¯ã¢ããªã±ãŒã·ã§ã³ãããã«èµ·åããã®ãæ¬åœã«å¥œãã§ã7ç§éã¹ãã©ãã·ã¥ç»é¢ãèŠãããªãã®ã§ããããããšã