- //view 切换动画
- [UIViewbeginAnimations:nilcontext:nil];
- [UIViewsetAnimationDuration:1.25];
- [UIViewsetAnimationCurve:UIViewAnimationCurveEaseOut];
- [UIViewsetAnimationTransition:UIViewAnimationTransitionFlipFromRightforView:self.viewcache:YES];
- workShopView = [[UIImageViewalloc]initWithImage: [UIImageimageNamed:@"workshop01.png"]];
- [workShopViewsetFrame:CGRectMake( 0,0, 320,480)];
- [workShopViewsetUserInteractionEnabled:YES];
- [backGroundaddSubview:workShopView];
- [UIViewcommitAnimations];//动画开始
- [backGround exchangeSubviewAtIndex:2withSubviewAtIndex:0];//交换视图,用法不明
- UIButton *winAndBye = [UIButtonbuttonWithType:UIButtonTypeRoundedRect];
- [winAndBye setTintColor:[UIColorgrayColor]];
- [winAndBye setTitle:winnerNameforState:UIControlStateNormal];
- [winAndBye addTarget:selfaction:@selector(overGame:)forControlEvents:UIControlEventTouchDown];
- [winAndBye setFrame:CGRectMake(self.view.bounds.size.width /2 - 100,415, 200,30)];
- winAndBye.titleLabel.font = [UIFontsystemFontOfSize:13];
- [fristView addSubview:winAndBye];
- genstrings ./SmallShop/*.m
- #define NSLCA(x) NSLocalizedString(x, @"sssssss”)
- 不扫描宏定义后的
- 需要跳转进入目录后才能执行
- ls
- cd