Home

PY 目录结构及打包分发

PY 目录结构及打包分发 Reference Structuring Your Project venv — Creation of virtual environments Good Integration Practices Installing packages using pip and virtual environments¶ distutils — Building and installing Python modules¶ https://setuptools.pypa.io/en/latest/ py2exe py2exe - generate single executable file Creating Built Dis...

Read more

iOS 运行项目到Simulator

iOS 运行项目到Simulator Reference Xcode 12, building for iOS Simulator, but linking in object file built for iOS, file for architecture arm64 Xcode building for iOS Simulator, but linking in an object file built for iOS, for architecture ‘arm64’ Building for iOS Simulator, but the linked framework ‘**.framework’ was built for iOS

Read more

macOS arm 安装kali linux

macOS arm 安装kali linux libwacom9 : 依赖: libwacom-common (= 2.1.0-2) 但是 1.12-1 正要被安装 sudo apt install libwacom9 libwacom2- Clipboard Sharing And Shared Directory sudo apt install spice-vdagent spice-webdavd 安装mysql 在 kali arm64 libicu67_67.1-7_arm64.deb mysql-server-core-8.0_8.0.23-3+b1_arm64.deb mysql-server-8.0_8.0.23-3+b1_arm64.deb mysql-...

Read more

iOS UIView

iOS UIView Label设置多样式 NSMutableAttributedString *taskSumApplyLabAS = [[NSMutableAttributedString alloc] initWithString:[NSString stringWithFormat:@"共%@次", data[@"ljsqrw"]]]; [taskSumApplyLabAS setAttributes:@{NSForegroundColorAttributeName:[[UIColor alloc] initWithRed:255/255.0 green:169/255.0 blue:49/255.0 alpha:1], NSFontAttributeName:[UIFon...

Read more

iOS GCD

iOS GCD 延迟 dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ // 需要延迟执行的代码 }); Reference

Read more

iOS 自定义View

iOS 自定义View 通过Xib创建View 1. NSBundle [[NSBundle mainBundle] loadNibNamed:@"TestView" owner:self options:nil] loadNibNamed后需要把contentView添加到当前View, View结构不会创建, 所以当前view是空的 [[NSBundle mainBundle] loadNibNamed:@"XPDTaskOperatorItemV" owner:self options:nil]; [self addSubview:_contentView]; _contentView.frame = self.bounds; _contentView.au...

Read more

iOS Animation

iOS Animation Reference Human Interface Guidelines - Animation iOS Animation Tutorial: Getting Started Performing iOS Animations On Views With UIKit And UIView

Read more