03 2016 档案

摘要:-(NSString *)toUpper:(NSString *)str{ for (NSInteger i=0; i<str.length; i++) { if ([str characterAtIndex:i]>='a'&[str characterAtIndex:i]<='z') { //A 阅读全文
posted @ 2016-03-25 18:48 杨大龙dalong 阅读(228) 评论(0) 推荐(0)
摘要:在终端中mkdir -p ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/insta 阅读全文
posted @ 2016-03-23 18:36 杨大龙dalong 阅读(121) 评论(0) 推荐(0)
摘要://根据polyline设置地图范围- (void)mapViewFitPolyLine:(BMKPolyline *) polyLine { CGFloat ltX, ltY, rbX, rbY; if (polyLine.pointCount < 1) { return; } BMKMapPoi 阅读全文
posted @ 2016-03-23 11:04 杨大龙dalong 阅读(591) 评论(0) 推荐(0)
摘要:UICollectionView *ta = (UICollectionView *)scrollView; NSArray *Vells = [ta visibleCells]; NSIndexPath *dex = [ta indexPathForCell:Vells[0]]; table 同上 阅读全文
posted @ 2016-03-21 18:09 杨大龙dalong 阅读(611) 评论(0) 推荐(0)
摘要:NSArray *array = [NSArray array]; [array sortedArrayUsingComparator:^NSComparisonResult(id obj1, id obj2){ NSNumber index1 = [obj1 valueForKey:@"index 阅读全文
posted @ 2016-03-19 23:12 杨大龙dalong 阅读(244) 评论(0) 推荐(0)
摘要:    _tableView1.bounces = NO; 阅读全文
posted @ 2016-03-15 11:37 杨大龙dalong 阅读(594) 评论(0) 推荐(0)
摘要:- (BOOL) isBlankString:(NSString *)string { if (string == nil || string == NULL) { return YES; } if ([string isKindOfClass:[NSNull class]]) { return Y 阅读全文
posted @ 2016-03-10 10:11 杨大龙dalong 阅读(306) 评论(0) 推荐(0)