ãã¼ã©ã®äºä¾ã§è¦ãã幸ããªãã¼ã ã¥ããã®7ãæ¡ããªã¼ãã¼ãç¥ã£ã¦ããããã幸ç¦åº¦ã¨ææã両ç«ãããã¤ã³ã
ã¯ããã¾ãã¦ãå°åºé¥åã§ãã1984å¹´çã¾ããæ°æ½è²ã¡ãæ±äº¬å¨ä½ãå¨ä¿ã®ä»æãã¡ã³ã§ãããé½å æåç©é¤¨ã«ã¦å¤ã®æºæ §ã«åºä¼ãæ¥ã ãéãå³æ¸é¤¨å¸æ¸ãå ¼æç家ããã»ãã¨ããã«è§¦ãã¦âèªç±âãçãããââã寺ãèå°ã®ã¾ã£ãããããããã¯ã¼ã¯ã·ã§ãã Temple 主宰ã column ï¼http://www.huffingtonpost.jp/yoko-koide/ twitter ï¼https://twitter.com/yokokoide facebook ï¼https://www.facebook.com/koideyoko.w âãåãåããã¯ãã¡ã ========================================================= âä»é±ã®ãã»ãã¨ããã®ãã¨ã° âªæ¾ã¦ã°æã«æºã¦ãï¼éå â« å æ¥ã大åãªå人ããããããªã¡ã¼ã«ãå±ãã¾ããã ããã ã¼ã£
Auto Layout UIScrollViewã¨Auto Layout ãã®3 â å¯å¤ãµã¤ãºã®Custom View ååã®ã¤ã¥ãååã§intrinsicContentSizeã§æ£ãããµã¤ãºãè¿ãã°ããã¾ãã¹ã¯ãã¼ã«ãããã¨ã説æãã¾ãããä»åã¯ãã¹ã¯ãã¼ã«ããViewã®ãµã¤ãºãå¯å¤ããå ´å横ç»é¢å¯¾å¿ã«ã¤ãã¦èª¬æãã¾ãããµã³ãã«ã³ã¼ãhttps://github.com/stac⦠UIScrollViewã¨Auto Layout ãã®2 â Custom View ååã®ã¤ã¥ãä»åã¯Custom ViewãScrollViewã§åä½ãããæ¹æ³ã説æãã¾ããCustom Viewãèªèº«ã®ãµã¤ãºãè¿ãããã«ããAuto Layoutç°å¢ã§ã¯ãUIScrollView#contentSizeã¯ãã¹ã¯ãã¼ã«ããViewï¼UIScrollVie⦠UIScrollViewã¨Auto Layou
Xcode 6 ã®æ°ããä»çµã¿ã§ãã Size Class ã使ãã iPad (Universal) iPhone 6 (4.7 inch) iPhone 6 Plus (5.5 inch) ã®è¤æ°ç»é¢ãµãã¼ããè¡ãªã£ãéã®æççãªã¡ã¢éã§ãã åãã Xcode 6 ãã Asset Catalog ã§ãã¯ã¿ã¼å½¢å¼ããµãã¼ã ãããããã«ãªã£ãã®ã§ããã¡ãã«ã¤ãã¦ããã£ããã¨çãæ¸ãã¦ããã¾ãã â»ã¡ãªã¿ã« Size Class ããã¯ã¿ã¼å½¢å¼ç»åã®ä½¿ç¨ã¯ iOS 8 以ä¸ç¸ãã§ã¯ããã¾ãããåã« Xcode 6 ã®æ°æ©è½ã¨ããã ããªã®ã§ã åæç¥èãã¤ãã Size Classsã¨ã¯ ã¯ã©ã¹ã¡ã½ããããã®ä¸è¨è¨äºãæ¥æ¬èªãå³è§£å ¥ãã§ã¨ã¦ãããããããã§ãã ãã«ãããã¤ã¹å¯¾å¿ã®æ°æ©è½ãTrait Collectionã Size Class æ©è½ã使ã£ã¦è¤æ°ç»é¢ãµã¤ãºå¯¾å¿ããæé ã®ã
iOS 7ããViewã¯å ¨ç»é¢è¡¨ç¤ºãããã©ã«ãã«ãªãã¾ãããä»åã¯ãã®ç解ã¨å¯¾å¿ã«ã¤ãã¦ã iOS 6 / 7両æ¹å¯¾å¿ã®è¨äºã¯ããã¿ãããã®ã§ãæ¬è¨äºã§ã¯Xcode 5ã§iOS 7以éã®ã¿å¯¾å¿ãããã¨ãåæã«ãã¦æ¸ãã¾ãã StoryboardãAuto Layoutã®ä½¿ãæ¹ã®è©±ã¯æ¬çã§ã¯ãªãã®ã§å²æãã¦ãã¾ãã Auto Layoutã«ã¤ãã¦ã¯ããã¡ãã®è¨äºãåèã«ãã¦ãã ããã ãµã³ãã«ã³ã¼ã: https://github.com/stack3/iOS7FullScreenViewSamples Viewã¨StatusBar/NavigationBar/Toolbarã®æ§æ iOS 7以å StatusBarãNavigationBarã¨Toolbarã®éã«Viewã表示ããã¦ãã¾ããã iOS 7ãã iOS 7ããã¯Viewã®ä¸ã«StatusBarãNavigationBarãT
俺ã«ãã³ã³ããã¼ã©ã¼è§¦ããããï¼ ããã°ã©ãã¼ãªã®ã«ãã®ã¨ãããã£ããããã³ãã¨ã³ãããããã£ã¦ããã¾ãããWP-Dã¯ãªã¢ã§ãï¼ ãã¿ã¾ãããç§ã«ãã³ã³ããã¼ã©ã¼å´ã触ããã¦ãã ããã è¡ãå¹´ãæ¥ãå¹´ãä»å¹´ï¼å¹´ãæ¯ãè¿ããã ä»å¹´ããããããã£ããªï½ WP-Dã¡ã³ãã¼ã«æ··ãã¦é ãã¦æ¸ç±ã®å·çã«ãåå ããã¦ããã£ãããããªã¼ã©ã³ã¹ï¼å¹´ç®ã¯ç®ã¾ãããããæ¬å½ã«ãã£ã¨ããéã®ï¼å¹´ã§ããã ããã§ä»å¹´æå¾ã®ã¯ãªã¢ã®æ稿ã¯ãèªèº«ã®åãã¦ã®ããªã¼ã©ã³ã¹çæ´»ãæ¯ãè¿ãã¤ã¤ãããªã¼ã©ã³ã¹ã¨ã³ã¸ãã¢ï¼ãã¶ã¤ãã¼å«ãï¼ã®æ§ã ãªã¯ã¼ã¯ã¹ã¿ã¤ã«ã«ã¤ãã¦æ¸ãããã¨æãã¾ãã å»å¹´ã®ã¯ãªã¹ãã¹ã¤ãã«ãããã°ã©ãã¼35æå®å¹´èª¬ãã«ã¤ãã¦æ¸ãã å»å¹´ã®ã¯ãªã¹ãã¹ã¤ãã«åç»å ´ãã¦ããããªããããã°ã©ãã¼35æå®å¹´èª¬ãã«ã¤ãã¦èªã£ã¦ãã¾ãã¾ããããï¼ï¼ä»£çµäºã¸ã®ã«ã¦ã³ããã¦ã³ãããããå§ã¾ããèªåãããã£ã¨è¥ãããã°ã©ãã¼ã®
iOS 7ã«ãªã£ã¦ãããå ¨ç»é¢è¡¨ç¤ºãåºæ¬ã«ãªãã¾ãããã¾ãXcode 5ã«ãªã£ã¦ãããInterface Builder(以ä¸IB)ã®Auto Layouté¢é£ã®UIãã¬ã©ãªã¨å¤ããã¾ããã ä»åã¯æ°åã«ããã£ã¦iOS 7 + Xcode 5 + Auto Layoutã«ã¤ãã¦ã解説ãã¦ããããã¨æãã¾ãã ããããªãããUIRectEdgeNoneã使ã£ãæ¹æ³ãæ¸ãã¦ã¾ãããã1ViewController + 1Storyboardã®çµã¿åããã®æ¹ãè¯ãã¨æãã¾ããã®ã§ãè¨äºãè¨æ£ãã¾ããã 2013/11/3 ã¾ãiOS 7ã§Viewãå ¨ç»é¢ã«ãªã£ããã¨ã«é¢ããç解ãã¾ã ã®äººã¯ããã¡ãã®è¨äºããå ã«èªãã ã»ããããããããã¾ããã iOS 7ã®å ¨ç»é¢å¯¾å¿ ä¸è¨ã®è¨äºã«æ¸ããããã«ã å ¨ç»é¢å¯¾å¿ã¯Storyboard + Auto Layoutã§è¡ã 1ç»é¢ã¯1ViewControll
ã¨ã¯ãäºæ©å ã®æªæ¥ãèªã¿ãæ°ããæ代ãç©æ¥µçã«åãéãã¦ãããã¨ãã人ãã¡ã®ã³ãã¥ããã£ã§ããããã©ãããã©ã¼ã ã§ãã TheWaveã¨ã¯ãäºæ©å ã®æªæ¥ãèªã¿ãæ°ããæ代ãç©æ¥µçã«åãéãã¦ãããã¨ãã人ãã¡ã®ã³ãã¥ããã£ã§ããããã©ãããã©ã¼ã ã§ããæ ¸ã«ãªã£ã¦ããã®ã¯ãTechWave塾æ¹ãTheWave湯å·å¡¾ã®å¡¾é·ã§ãã湯å·é¶´ç« ã¨ãå塾ã®å¡¾çOBã»OGãã¡ããã 湯å·é¶´ç« ã¨å¡¾çã«éå®ãããããã§ã¯ãªããåãããã«äºæ©å ã®æªæ¥ãèªã¿ãæ°ããæ代ãç©æ¥µçã«åãéãã¦ãããã¨ãã人ãã¡ããåãè¾¼ãã 大ããªã³ãã¥ããã£ãç®æãã¾ãã ã¾ããã©ãããã©ã¼ã ã¨ãã¦ããã®ã¯ããã®ããã°TheWave.jpä¸ã§åããããªå¿ãæã£ã人ãã¡ã®æ´»åãè¨äºã¨ãã¦åãä¸ãããã¨ã§ããããã人ãã¡ã®æ´»åãæ¯æ´ããããæ°ããããã¸ã§ã¯ãã®ç«ã¡ä¸ããæ¨é²ãããã¨ãç®æãã¦ããããã§ãã
iPhone6 㨠iPhone6 Plus ãçºå£²ã«ãªããæ¬æ ¼çã« iOS ã§ã Android ã®ããã«è¤æ°è§£å度ã«å¯¾å¿ããããæ¹ãããªãã¨ãããªããªã£ã¦ãã¾ããã iPhone5S ã¾ã§ã¯ãç¸¦å¹ ã伸ã³ãã ãã ã£ãã®ã§ããªãã¨ãªã Auto Layout ã使ã£ã¦ãã¦ãåé¡ã¯è¡¨é¢åãã¥ããã£ãã®ã§ããã iPhone6 ã§æ¨ªå¹ ã伸ã³ã¦ãã¾ã£ããã¨ã§ãé©å½ã« Auto Layout ã使ã£ã¦ã³ã¼ãã£ã³ã°ãã¦ããã¨æ®å¿µãªãã¨ã«ãªã£ã¦ããã¢ããªãçµæ§ããã¾ãã åã iPhone ã¢ããªãéçºãã¦ããã®ã§ãã®ãããã¯çµæ§æ°ã使ã£ã¦ã¯ãããã§ããããããããèªåã®ããæ¹ãã»ãã¨ã«æ£ããã®ããããçåãªã¨ãããããã¾ãã ããã§ãä»ã®èªåã®ããæ¹ãæãã¦ãä¸ã® iPhone ã¢ããªéçºè ã®äººã«çªã£è¾¼ãã§ããããã°ã¨æãè¨äºãæ¸ããã¨ã«ãã¾ããã ééã£ã¦ããç®æãããã¨æãã¾ãã®ã§ããã³ãã³ãã
ãã¥ã¼ãçééã«ä¸¦ã¹ã å®ç¾æ¹æ³ã¯Apple å ¬å¼ã®ããã¥ã¡ã³ãï¼PDFï¼ã«æ¸ããã¦ããã®ã§ããããã®éãã«ãã£ã¦ãç§ã®ç°å¢ã§ã¯ä¸æãåä½ãã¾ããã§ããã ãã£ã¦ãç¾å¨ã®ææ°ç°å¢ Xcode 6.1 ã§ã®å®ç¾æ¹æ³ããç´¹ä»ãã¾ãã æ¹æ³ ï¼å®éã«ç»é¢ã«ç¾ããï¼æ¬ä½ãã¥ã¼ãããã¤ãä½ã ãããããã²ã¨ã¤å¤ãæ°ã®ã¹ãã¼ãµãã¥ã¼ãä½ã ã¹ãã¼ãµãã¥ã¼ã端ã«ç½®ããæ¬ä½ãã¥ã¼ã¨äº¤äºã«ä¸¦ã¹ã ç»é¢ã®å·¦å´ããå³å´ã«åãã£ã¦ã次ã®ãããªãã¿ã¼ã³ã§ä¸¦ã¶ spacer1 | view1 | spacer2 | view2 | spacer3 ã¹ãã¼ãµãã¥ã¼ã«å¶ç´ãè¨ãã¦ãããããé·ããåãã«ãªãããã«ãã å é ã®ã¹ãã¼ãµãã¥ã¼ããã³ã³ãããã¥ã¼ã¸ã®åå´ï¼leadingï¼å¶ç´ãä½ã æ«å°¾ã®ã¹ãã¼ãµãã¥ã¼ããã³ã³ãããã¥ã¼ã¸ã®å¾å´ï¼tailingï¼å¶ç´ãä½ã ããã«ãã¹ãã¼ãµãã¥ã¼ã¨æ¬ä½ãã¥ã¼ã®éã«ãå¶ç´ãä½ã ã¤
ããã©ã«ãã®é¸æè¢ã¯AutoresizingMaskã«ãã¦ãã¾ããiOS5ã¾ã§ã¯ãããGUIã«ããå®è£ ã®å¯ä¸ã®é¸æè¢ã§ãããã³ã¼ãã«ããå®è£ ããããã¨ããã£ã¦ãã大ä½ã¯ãã¡ãã¨ä½µç¨ãã¦ãã¾ãã AutoresizngMaskã®æ³¨æç¹ UIViewControllerã®viewã«UIãã¼ããé ç½®ãã¦ããã¾ããããã®æã«ãUIã®ãããã¯åä½ï¼æ©è½çãè¦è¦çãªã¾ã¨ã¾ãï¼ãUIViewã§ç®¡çãã¦ããã¾ããããããã¨ãã®ãããã¯ããããã表示ã»é表示ãã¢ãã¡ã¼ã·ã§ã³ãªã©ãããã¨ãã«ãããããªãã¾ããå¾ããããããé ç½®ã«ãããã¨ããã¨ãçµæ§ãªæéã«ãªãã®ã§ãæèçã«ã©ããã¼ã¨ãªãUIViewãå ¥ãã¦ããã¾ãã æåã¯ã¨ã£ã¤ãã«ããã®ã§ãããæ £ããã¨ç´ æ©ãé ç½®åºæ¥ã¾ããããµã¤ãºéããå ·ä½çã«è¨ãã¨iPhone5ã¨5以åã®é«ãã®éããå¸åããã®ã«ä¾¿å©ã§ããç¸å¯¾çãªä½ç½®ã®æå®ãå¯è½ã§ãããã«ãã£ã¦é«ãã®éã
ä»ãã frame æèè±å´ã®æ Xcode 4 / iOS 6 ããåå¨ãã¦ãã Auto Layout ã§ãããã å½æ㯠Interface Builder ã® Auto Layout 対å¿ãä¸ã ã²ã©ãã使ãã®ãè¾ãã£ãè¨æ¶ãããã¾ãã ãããªãªãåã¯é 調㫠layoutSubviews ã«å¾åãã¦ãã£ãããã§ããã iPhone 6/iPhone 6 plus ãã¤ãã«ç»å ´ããSize Class ã¨ããæ°ããæ¦å¿µãæå ¥ãã ç¾ç¶ã§ã¯ééããªã2å¹´åã¨ã¯æ¯ã¹ç©ã«ãªããªãã¬ãã«ã§ Universal ã¢ããªã¯ä½ãããããªãã¾ãããï¼ãã ã iOS 8 å°ç¨ã¢ããªã®ã¿ï¼ ããç¨åº¦ã®ãã¶ã¤ã³ãã¿ã¼ã³ãæã«ç¨æãã¦ããæ¹ãæéãçãã¾ãã ããã§ã¯ Auto Layout ãç¨ããã¬ã¤ã¢ã¦ãã«é¢ããã¦ã¼ã¹ã±ã¼ã¹æ¯ã«ç°¡æ½ã«æ¸ãã¦ãã¾ãã®ã§ã ãããç¥ã£ã¦ãããã¿ãããªã®ããã£ããé©å®èªã¿é£ã°
åç½®ã æè¿Auto Layoutã®è¨äºãããç®ã«ããäºãå¤ãã®ã§ãããViewãçééã«ä¸¦ã¹ãè¨äºã¯ãããªãã¨ç解ã§ããªãã£ããããèªåããµã³ãã«ã³ã¼ããåãããããã¦ç解ãã¦ãã£ãå 容ãæ¸ãã¦ã¿ã¾ãã ãã£ããã«ãªã£ãè¨äºï¼ãå®è·µ Auto Layoutã http://blog.jarinosuke.com/entry/auto-layout-best-practice ãµã³ãã«ãè¶ çµ¶åèã«ãªã£ãï¼ãCocoaã®æ¥ã - Autolayoutã§ãã¥ã¼ãçééã«ä¸¦ã¹ãã http://cocoadays.blogspot.jp/2014/01/autolayout_7.html å ¬å¼ãªãã¡ã¬ã³ã¹ã«ãããï¼è±èªï¼ https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/Autolayo
@tomzoh ã«ããã第13åãpotatotips(iOS/AndroidéçºTipså ±æä¼) ã®çºè¡¨è³æã§ãã #potatotipsRead less
人ã¯å¦ç¿ããããè¨æ¶ãããããã¨ãã«ãè³ã®ä¸ã§DNAãç ´å£ãã¦ããã¨åãã£ãã ããã¾ãç´ããªãå ´åã¯ãã¡ã¼ã¸ãæ®ã£ã¦ãã¾ããã¨ã«ãªããèªç¥çã®è¬ã«ãã¤ãªãããããããªãã ãç±³å½ããµãã¥ã¼ã»ããå·¥ç§å¤§å¦ï¼MITï¼ã®ç 究ã°ã«ã¼ãããæåç§å¦èªã®ã»ã«èªãªã³ã©ã¤ã³çã«2015å¹´ï¼æï¼æ¥ã«å ±åããã éºä¼åãæ´»çºã«ãã¦ãã ãªãDNAãç ´å£ããããã»ã¹ããããã¨ããã°ãéè¦ãªéºä¼åã®åããæ´»çºã«ã§ããããã ãå¦ç¿ã¨è¨æ¶ã«ä¼´ã£ã¦ãè³ã«ããã¦å¿ è¦ãªæ©è½ãæå¹ã«ãã¦ããã¨ãããã®ã ã ã人ã¯å¹´ãåãã«å¾ã£ã¦ããã®DNAæå·ã修復ããè½åãå¼±ã¾ã£ã¦ãã¾ããçµæã¨ãã¦éåã¸ã¨ã¤ãªãã£ã¦ããã¨ãè¦ãããã 700ã®éºä¼åã§å¤å ç 究ã°ã«ã¼ãã¯ç¥çµç´°èã使ã£ã¦ãDNAã®ç ´å£ã«ä¼´ã£ã¦å¤åã®èµ·ããéºä¼åãæ¤è¨¼ããã ãDNAç ´å£ã«ã¤ãªããåå¦åã§ç´°èãå¦çãããã§æ´»çºã«ãªã£ãDNAãåæ ããRNAãéãããããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}