2013年4月1日

postMessage

摘要: //top page iframe page: 阅读全文

posted @ 2013-04-01 17:00 fishyk 阅读(163) 评论(0) 推荐(0)

html5 local storage

摘要: 阅读全文

posted @ 2013-04-01 16:10 fishyk 阅读(145) 评论(0) 推荐(0)

2013年3月30日

获取本地数据库

摘要: [[NSBundle mainBundle] pathForResource:@"holidays" ofType:@"db"]; 阅读全文

posted @ 2013-03-30 14:13 fishyk 阅读(115) 评论(0) 推荐(0)

2013年3月19日

ajax

摘要: jquery ajax call webservice: return jsonView Code webservice return: return "[{\"name\":\"this is name\",\"value\":\"This is value\"},{\"na... 阅读全文

posted @ 2013-03-19 13:37 fishyk 阅读(100) 评论(0) 推荐(0)

2013年3月17日

LocationManager操作

摘要: CLLocationManager *locationManager = [[CLLocationManager alloc] init];locationManager.delegate = self; //You must create an object that conforms to th... 阅读全文

posted @ 2013-03-17 00:21 fishyk 阅读(202) 评论(0) 推荐(0)

2013年3月14日

iphone GCD

摘要: View Code dispatch_async(dispatch_get_global_queue(0, 0), ^{NSString *fetchedData = [self fetchSomethingFromServer];NSString *processedData = [self processData:fetchedData];NSString *firstResult = [self calculateFirstResult:processedData];NSString *secondResult = [self calculateSecondResult:processe 阅读全文

posted @ 2013-03-14 23:07 fishyk 阅读(156) 评论(0) 推荐(0)

2013年3月12日

USING ROUTING WITH WEB FORMS

摘要: routes.MapPageRoute("product-search", "albums/search/{term}", "~/aspx/AlbumSearch.aspx"); routes.MapRoute( "Default", // Route name "{controller}/{action}/{id}", // URL with parameters new { controller = "Home", action = "Index", 阅读全文

posted @ 2013-03-12 14:16 fishyk 阅读(162) 评论(0) 推荐(0)

CUSTOM ROUTE CONSTRAINTS

摘要: routes.MapRoute(“name”, “{controller}”, null, new {httpMethod = new HttpMethodConstraint(“GET”)} ); 阅读全文

posted @ 2013-03-12 13:45 fishyk 阅读(137) 评论(0) 推荐(0)

Retrieve Path

摘要: Retrieve the path to the Documents directoru:NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES);NSString *... 阅读全文

posted @ 2013-03-12 02:02 fishyk 阅读(184) 评论(0) 推荐(0)

2013年3月8日

Area Route Conflicts

摘要: 防止相同名字的controller冲突,可以在配置路由的时候添加命名空间:routes.MapRoute( "Default", "{controller}/{action}/{id}", new { controller = "Home", action = "Index", i... 阅读全文

posted @ 2013-03-08 14:56 fishyk 阅读(125) 评论(0) 推荐(0)

导航