Cocoaåå¼·ä¼é¢è¥¿ï¼54ã§CoreDataã«ã¤ãã¦è©±ãã¦ãã¾ãã
第54回 Cocoa勉強会関西 ã§ãCoreDataã«ã¤ãã¦è©±ããã¦ãã¾ããã
ï¼è¡è¦ç´
- CoreDataã®ãã¼ã¹ã¯RDBMSããã¼ã¿ãã¼ã¹çéã®ç¥èãCoreDataã§ã®éçºã«æ´»ãããï¼
- Atomicityï¼ååæ§ï¼ãæ°ã«ãããï¼
- ãã¼ã¿ã®ããã¯ã¢ããã¯è¶ éè¦
ã©ããªè©±ï¼
ãã¢ã§ä½¿ã£ããµã³ãã«ã¢ããªã®ã½ã¼ã¹ã³ã¼ãã¯ãこちらï¼Githubï¼
ViewController.m
ã®éä¸ã«ããã#define WITHOUT_ATOMICITY
ãã®è¡ãã³ã¡ã³ãã¢ã¦ããããããªãã£ãããã¦ãæåã®å¤åãã楽ãã¿ä¸ããã
ãªãããã®è©±ããããã¨æã£ãã®ã
2013å¹´ã®ååé ã ã£ãã¨æãã¾ãããAustraliaã®AppStoreã§ã©ã³ãã³ã°ä¸ä½ã«å±
ãã¢ããªã®ä¸ã§ãMonopolyï¼ã¢ãããªã¼ï¼ã¨ããã²ã¼ã ãããã¾ããããåç¥ã®æ¹ãå¤ããã¨æãã¾ãããMonopolyã¯ç±³å½çã¾ãã®åå
ã²ã¼ã ã§ããããã®iOSçãæµè¡ã£ã¦ãã訳ã§ãã
MONOPOLY on the App Store on iTunes
â»ãªããæ¥æ¬ã®ã¹ãã¢ã§ã¯è¦å½ããã¾ããã権å©é¢ä¿ã§ããããï¼ï¼
ãã®ã²ã¼ã ã¯ã2åããæ大8åï¼iOSã¢ããªã§ã¯æ大4åï¼ã®ãã¬ã¤ã¤ã¼ãé çªã«ãµã¤ã³ããéããæ¢ã¾ã£ããã¹ã«æ¸ãããæ示ã«å¾ã£ãããåå°ãè³¼å
¥ããããä»äººãææãã¦ããåå°ã«æ¢ã¾ãã°ããã®åå°ã«ãã建ç©ã®è±ªè¯ãã«å¿ãã¦ãéãæ¯æãã¨ããã²ã¼ã ã§ãåµåè¶
éã«é¥ãã¨ã²ã¼ã ãªã¼ãã¼ã§ãã
åãiOSçã§éãã§ããã¨ããµã¤ã³ããæ¯ã£ã¦ãèªåã®é§ããæå¾ç¨ãæ¯æãããã¹ã«æ¢ã¾ãã¯ãã ã£ãã®ã§ãããæå¾ç¨ãæ¯æãç´åã§ã¢ããªãã¯ã©ãã·ã¥ãããã¨ãããã¾ãããã¢ããªãç«ã¡ä¸ãç´ãã¨ãèªåã®é§ã¯ãæå¾ç¨ãæ¯æãããã¹ã«ãã£ãã®ã§ãããææéã¯æ¸ã£ã¦ãã¾ããã§ããã
ããã£ã¦ããããã§ããããã¢ããªãkillãããã¨ã§ãå«ãªãµã¤ã³ãã®ç®ãåºã¦ããããåé¿ãããã¼ãï¼ã¤ã«ãµãï¼ãå¯è½ã«ãªã£ã¦ãã¾ãã¾ãã
ããããæå¾ç¨ãæ¯æããã¹ã«æ¢ã¾ãããã¨ã¨ãæå¾ç¨ãå®éã«æ¯æãããã¨ã®ï¼ã¤ã®äºå®ã«ã¯ååæ§ãæãããªããã°ãªããªãã®ã§ãããæå¾ç¨ãæ¯æããã¹ã«æ¢ã¾ããäºå®ãçºçããã®ãªãã°ãå¿ ããæå¾ç¨ãå®éã«æ¯æããäºå®ãçºçããããã®æ å ±ï¼ã¾ãã¯ãã®äºå®ã®çµæï¼ãæ°¸ç¶çã«ä¿åãããªããã°ãªããªãã®ã§ãã
ãã®ããã«ã©ã³ãã³ã°ã®ä¸ä½ã«åè¨ãããããªã¢ããªã§ãããã®ãããªå®è£ ããã¦ããããã§ããã°ãä¸ã®ä¸ã®ã¢ããªã®å¤ããä¼¼ããããªåé¡ãæ±ãã¦ããã®ããããã¾ãããCocoaçéã®çããã«åãã¦ãã©ã³ã¶ã¯ã·ã§ã³å¦çã®ååæ§ã«ã¤ãã¦ã話ããã®ã¯ä¾¡å¤ããããã¨ã ã¨èããä»åã®è©±ãæã¡åºããã¨æãã«è³ãã¾ããã
次ã«çºè¡¨ããã¨ãã«ã¯ãIsolationï¼æä»å¶å¾¡ï¼ç¬ç«æ§ï¼ã«ä¸»ç¼ãç½®ãã話ããããã¨æãã¾ãã
çºè¡¨æã®ãã©ãã«
åã®çºè¡¨ã®ç´åã¯ä¼æ©æéã ã£ãã®ã§ãå£ä¸ã§ãã£ããã¨æºåããã¦ãã¾ããã
ã¨ããããMac(MacBookPro early 2010)ãããã¸ã§ã¯ã¿ã«æ¥ç¶ããã¨ãåä½ãå°ããããããªãã¾ããã
- ç»é¢å ¨ä½ã¯ä¸ç¬éããªã£ãï¼ããã¾ã§ã¯æ£å¸¸åä½ï¼
- ç»é¢ã復活ãã¦ããããã¸ã§ã¯ã¿ã«ã¯ä¿¡å·ãè¡ã£ã¦ãªãããã ã£ã
- ã·ã¹ãã ç°å¢è¨å®ãéãã¦ããã£ã¹ãã¬ã¤ããã¯ãªãã¯ããã¨ãã¬ã¤ã³ãã¼ã«ã¼ã½ã«ãåºç¾ãã
- ã·ã¹ãã ç°å¢è¨å®ãå¼·å¶çµäºãã¦å度ã·ã¹ãã ç°å¢è¨å®ãéãã¦ãåã
- Dockãæ»ãã ï¼ãã¦ã¹ãã¤ã³ã¿ãè¿ä»ãã¦ãæ¡å¤§ãããªããªã£ããFinderã®ã¢ã¤ã³ã³ãDockããé£ã³åºããã¾ã¾åããªããªã£ã¦ããï¼
- ã³ãã³ãï¼Tabã®ã·ã§ã¼ãã«ããï¼Windowsã§ã®Alt-Tabã¿ãããªæ©è½ï¼ãå©ããªããªã£ã
ã¨ããç¶æ ã«é¥ã£ãã®ã§ãåèµ·åãããã¾ãããããããç»é¢ãç°è²ã«ãªã£ãã¾ã¾é²ãæ°é ãããã¾ãããçºè¡¨ãéå§ããæå»ã1ã2åå¾ã«è¿«ã£ã¦ããã®ã§ãèªåã®Macã§çºè¡¨ãããã¨ã諦ããç´åã«çºè¡¨ãã¦ãã @yashigani ããã®MBAããåããã¦çºè¡¨ãããã¨ã«ãã¾ããããããã¨ããããã¾ããã
çºè¡¨è³æï¼Keynoteãã¡ã¤ã«ã®zipï¼ã¯ãèªåã®Webãµã¼ãã®éå
¬éé åã«ããã¯ã¢ãããç½®ãã¦ãã¾ãããsshçµç±ã§ãããå
¬éé åã«ç§»åããã¦ãã©ã¦ã¶ãããã¦ã³ãã¼ããããã¨ã§ããã«å¾©æ´»ãããã¨ãã§ãã¾ããã
ãããã£ãäºæ
ã«åããããã®ããã¯ã¢ããã¨ããæå³ã§ã¯DropboxãEvernoteãªã©ã®ãµã¼ãã¹ãå©ç¨ããã®ãä¸è¬çãã¨æãã¾ãããããããç¦ãç¶æ³ã«ããã¦ãåãç©ã®PCã§ããã«ãã¼ã¿ãåãåºãã®ã¯ããã£ã±ãèªåã®ãµã¼ãã®æ¹ã楽ãããªãã¨æãã¾ããããã¡ãããDropboxãEvernoteã®æ¹ããããã¯ã¢ãããåãã¨ããåä½ã®é¢ã§å§åçã«åªãã¦ãã¾ããã
ãã¢ã§ä½¿ã£ãã¢ããªã®ã½ã¼ã¹ã³ã¼ãã¯ãGithubä¸ã«ç½®ãã¦ããã®ã§ããã¡ããããã«å¾©æ´»ãããã¨ãã§ãã¾ããã
ããã¯ã¢ããããã°æããªãï¼
BDD
Beer Driven Development
BDDã®è©±ãã伺ãããããã«ã¯ãå®è·µããã®ã¿ï¼ï¼
æå¾ã«
話ãèãã¦ä¸ãã£ãçãããä»ã«çºè¡¨ããã¦ããçãããä¼å ´ããæä¾ä¸ãã£ãçãããããã¦BDDãå
±ã«ããçãããã©ãããããã¨ããããã¾ããï¼
é¢é£ãªã³ã¯é
ä»ã«çºè¡¨ãããçããã®ããã°è¨äºãçºè¡¨è³æãªã©ï¼ã®ä¸é¨ï¼
åèã«ãªãæ¬ãã¡
- ä½è : åå± è²´æµ©
- åºç社/ã¡ã¼ã«ã¼: ç§åã·ã¹ãã
- çºå£²æ¥: 2013/11/01
- ã¡ãã£ã¢: åè¡æ¬
- ãã®ååãå«ãããã° (1件) ãè¦ã
Objective-Cãä¸éã触ã£ã¦ãããã©CoreDataã¯ã¾ã 触ã£ããã¨ãªããããã¦ãã®å¿ è¦æ§ãæãã¦ãã¦ããã¨ããæ¹åãã«ãªã¹ã¹ã¡ã®æ¬ã§ãã
ãã©ã³ã¶ã¯ã·ã§ã³å¦ç ä¸
- ä½è : ã¸ã ã°ã¬ã¤,ã¢ã³ãã¬ã¢ã¹ãã¤ã¿ã¼,Jim Gray,Andreas Reuter,åé£å·åª
- åºç社/ã¡ã¼ã«ã¼: æ¥çµBP社
- çºå£²æ¥: 2001/10/20
- ã¡ãã£ã¢: åè¡æ¬
- è³¼å ¥: 7人 ã¯ãªãã¯: 145å
- ãã®ååãå«ãããã° (20件) ãè¦ã
ãã©ã³ã¶ã¯ã·ã§ã³å¦ç ä¸
- ä½è : ã¸ã ã°ã¬ã¤,ã¢ã³ãã¬ã¢ã¹ãã¤ã¿ã¼,Jim Gray,Andreas Reuter,åé£å·åª
- åºç社/ã¡ã¼ã«ã¼: æ¥çµBP社
- çºå£²æ¥: 2001/10/20
- ã¡ãã£ã¢: åè¡æ¬
- è³¼å ¥: 7人 ã¯ãªãã¯: 47å
- ãã®ååãå«ãããã° (13件) ãè¦ã