Reading Time: < 1 minute http://mattgemmell.com/2013/06/12/ios-7/ http://blog.mengto.com/ios-7-transition-flat/ http://designmodo.com/flat-design-principles/ http://www.marco.org/2013/06/27/ios7-as-defense http://whoo.ps/2013/05/12/flat-design-is-great-for-mediocre-designers-like-me
Reading Time: < 1 minute 1. Selector http://stackoverflow.com/questions/3482344/what-actually-is-a-selector An example http://stackoverflow.com/questions/10758926/add-selector-to-uibutton [button addTarget:yourObject action:@selector(yourMethod:) forControlEvents:UIControlEventTouchUpInside]; 2. NSNotifications In a way (and in syntax too) it’s similar to Selector, but used in different settings. example here http://www.cocoanetics.com/2009/08/love-to-be-notified/ 3. Delegate methods e.g., UIAlert view, UITextField delegate customized method (example) http://www.raywenderlich.com/29474/ipad-for-iphone-developers-101-in-ios-6-custom-input-view-tutorial 4. Blocks https://developer.apple.com/library/mac/#featuredarticles/BuildingWithBlocks/_index.html example http://stackoverflow.com/questions/7180552/implementing-a-method-taking-a-block-to-use-as-callback 5. GCD My favorite example here. http://www.fieryrobot.com/blog/2010/07/10/a-watchdog-timer-in-gcd/
Reading Time: < 1 minute I visited China with my family a few weeks ago. Shanghai is the flight stop where we arrive and depart. We stayed at the Courtyard Xujiahui, and Four Points by Sheraton at Pudong during our short stay in Shanghai, a few weeks ago. As I have family and esp. little kid nowadays, I prefer western
Reading Time: < 1 minute It was the first time I brought my wife and my daughter there. The weather was a bit hot, as I went there after 9:30 am. We bought the typical things: ribs and eggs from Bobbi (live spring farm), tomato, beans and cucumber from amish farmer. Serenity enjoyed her bagel and apple at the picnic
Reading Time: < 1 minute We took a 2 weeks China trip and came back last Monday evening. A bit exhausted, and at the end of the trip, our daughter got sick, she said she got tummy ache, and needed to go to restroom (lavatory) every 10 min. The fun part of being parents. Some more serious thoughts 1) My
Reading Time: 2 minutes Yoyo likes to talk a lot, and this morning she said something quite funny: daddy, you should not drink coffee or alcohol anymore, because they won’t help you grow. You should drink some milk. Then she handed her milk bottle to me. Sometimes, she likes to use some big words like “even”, “actually”, we think
Reading Time: < 1 minute Today I found out I made a dumb mistake while deleting an NSMutableArray. for(int ii=0; ii
Reading Time: < 1 minute Did not want to go in the morning (most days), did not want to leave in the afternoon (sometimes). Positives: she started to call some teachers by name, and some friends by name. She talked quite a bit in English, continuing make progress on language. Kindermusik, sit on teachers’ lap. A nice overlap for her
Reading Time: < 1 minute Serenity started preschool a week ago, on Friday. When she started toddler program, since I need to go to work early in the morning, I have not been able to drop her off or pick her up much for first semester. Since I joined my current employer, I got more flexibility, and I got to
Reading Time: < 1 minute Canon EF 50mm f/1.8 II Camera Lens (link here) Manual focus point: make sure eye is the focal point (link here Exposure: add some if background is too bright (snow) ISO: 100 is the common value, add more if we need more (gan guang du) in the case of low light Reference: cheat sheet
Recent Comments