摘要:
git工作流程图: 下面是我整理的常用 Git 命令清单。几个专用名词的译名如下: Workspace:工作区 Index / Stage:暂存区 Repository:仓库区(或本地仓库) Remote:远程仓库 一、新建代码库 二、配置 Git的设置文件为.gitconfig,它可以在用户主目录 阅读全文
摘要:
+ (id)defaultNSObjectName{ staticid defaultNSObjectName =nil; staticBOOLtoken=NO; if (!token) { token = YES; defaultNSObjectName = [[NSObject a... 阅读全文
摘要:
- (BOOL)achiveUserHotspotOpening{ return [UIApplication sharedApplication].statusBarFrame.size.height != 20.} 阅读全文
摘要:
- (BOOL)achiveUserLocationStart { CLAuthorizationStatus status = [CLLocationManager authorizationStatus]; if (kCLAuthorizationStatusDenied == status |... 阅读全文
摘要:
if (self.delegate && [self.delegaterespondsToSelector:@selector]) { return YES;} 阅读全文
摘要:
UIPanGestureRecognizer *panGesture = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(panIt:)]; // 初始化手势类[view addGestureRecognize... 阅读全文
摘要:
self.tabBarController.selectedIndex = 0; // 默认是0; 阅读全文
摘要:
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault animated:NO]; 阅读全文
摘要:
- (BOOL)achiveStringWithWeb:(NSString *)infor{ NSString *emailRegex = @"[a-zA-z]+://.*"; NSPredicate *emailTest = [NSPredicate predicateWithFormat:@"S... 阅读全文