// 显示指示器
MBProgressHUD *HUD = [MBProgressHUD
showHUDAddedTo:[[UIApplication
sharedApplication].windows
objectAtIndex:1]
animated:YES];
[self.view.window
addSubview:HUD];
HUD.labelT...
分类:
移动开发 时间:
2014-08-11 21:32:22
阅读次数:
256
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:?] animated:YES];或for (UIViewController *temp ...
分类:
其他好文 时间:
2014-07-16 11:56:24
阅读次数:
188
-(void)downImage{ AlbumInfo *info = [self.dataArray objectAtIndex:index]; NSString *filePath = [[SandBoxPath pathForCaches]stringByAppendingPathComp.....
分类:
其他好文 时间:
2014-06-24 10:59:35
阅读次数:
231
点击NEW GAME按钮,进入游戏主场景
代码:
游戏背景
layer = (CCLayer*)this->getChildren()->objectAtIndex(SnakeConstants::LAYER_BACKGROUND);
layer->setTouchEnabled(false);
//游戏背景
CCSize size = CCDirector::sh...
分类:
其他好文 时间:
2014-06-13 20:39:00
阅读次数:
371
caseUNDOATTENTION: { FriendInfo *info = [dataArray
objectAtIndex:0];
[self.managerattentionList:_pageIndexoneRecord:YESotherId:-100]; ...
分类:
其他好文 时间:
2014-06-13 13:59:53
阅读次数:
201
- (float)tableView:(UITableView *)tableView
heightForRowAtIndexPath:(NSIndexPath *)indexPath{ NSString *str = [_dataArray
objectAtIndex:indexPath.row]...
分类:
移动开发 时间:
2014-06-13 07:20:35
阅读次数:
292
问题一:value = [array objectAtIndex:n];
//得到一个数组中的对象[arry removeObjectAtIndex:n];
//卸载那个对象因为value得到了那个对象,但是由于另外一个拥有者release了该对象,所以其实value现在成了摇摆指针(无效数据)问题...
分类:
其他好文 时间:
2014-05-09 00:02:03
阅读次数:
366
UIView *parentView = nil; NSArray* windows =
[UIApplication sharedApplication].windows; UIView* window = [windows
objectAtIndex:0]; ...
分类:
其他好文 时间:
2014-04-29 19:09:34
阅读次数:
994