- 博客(6)
- 资源 (1)
- 收藏
- 关注
转载 [c#]: async and await
http://www.cnblogs.com/GrayZhang/archive/2011/09/07/csharp-vnext.html http://msdn.microsoft.com/zh-tw/library/hh191443.aspx 在 C# 中,异步方法可以具有 void、 Task或 TaskTResult>的傳回型別。 若要讓异步方法呼叫端等待其完
2012-10-17 15:40:58 854
原创 iOS: Label highlight color
留意UILabel的highlight color属性,有可能导致uitableviewcell被选中时label text看不到
2012-10-10 15:53:17 1352
原创 iOS: #ifdef DEBUG
开发时,经常用到NSLog,但release是又想一次过清掉all NSLog,方法是:在xxx-Prefix.pch里添加 #ifdef DEBUG # define DLog(...) NSLog(__VA_ARGS__) #else # define DLog(...) /* */ #endif #define ALog(...) NSLog(__VA_ARGS__) Whe
2012-10-05 16:35:32 11706
原创 [iOS]: 如何改变MBProgressHud的背景方框的颜色
in MBProgressHud.m file,find CGContextSetGrayFillColor(context, 0.0f, self.opacity); comment it and then add following line to set transparent bg color CGContextSetFillColorWithColor(context
2012-10-05 11:07:11 12322
原创 [iOS] APNS: 如何check valid device token
本文应该有很多不对的地方,仅供参考 :) 一不小心,把sandbox和production的device token都放到同一个db table里了,大件事!因为sandbox的device token对于production是invalid的,反之亦然。 由于用的是c#的open source lib APNS-Sharp (https://github.com/Redth/AP
2012-10-01 23:11:30 11829 2
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人