I hereby claim:
- I am xinnyu on github.
- I am xinnyu (https://keybase.io/xinnyu) on keybase.
- I have a public key ASCJp8XumcO8jVid_3IZMdc7woVK5fEcJgTyHi4CZp35Pwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| + (UIViewController *)topViewController { | |
| UIViewController *resultVC; | |
| resultVC = [self _topViewController:[[UIApplication sharedApplication].keyWindow rootViewController]]; | |
| while (resultVC.presentedViewController) { | |
| resultVC = [self _topViewController:resultVC.presentedViewController]; | |
| } | |
| return resultVC; | |
| } | |
| + (UIViewController *)_topViewController:(UIViewController *)vc { |
| // | |
| // StringExtension.swift | |
| // Extensions | |
| // | |
| // Created by panxinyu on 11/05/2017. | |
| // Copyright © 2017 panxinyu. All rights reserved. | |
| // | |
| import UIKit |
| git init # 初始化本地git仓库(创建新仓库) | |
| git config --global user.name "xxx" # 配置用户名 | |
| git config --global user.email "xxx@xxx.com" # 配置邮件 | |
| git config --global color.ui true # git status等命令自动着色 | |
| git config --global color.status auto | |
| git config --global color.diff auto | |
| git config --global color.branch auto | |
| git config --global color.interactive auto | |
| git config --global --unset http.proxy # remove proxy configuration on git | |
| git clone git+ssh://git@192.168.53.168/VT.git # clone远程仓库 |