Xcode 切换 Swift 版本和小版本
this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)', while this compiler is 'Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)'). Please select a toolchain which matches the SDK.
新加坡女佣面试问题
早知道早避坑
iOS 16 屏幕旋转适配
本文主要解决这个问题:Error Domain=UISceneErrorDomain Code=101 "None of the requested orientations are supported by the view controller. Requested: landscapeRight; Supported: portrait"
Mac 压缩PDF文件
不需要安装第三方软件,还是用预览来实现的方法。
iOS 16 剪切板弹窗如何应对
2022 年 6 月 6 日,WWDC 2022 苹果发布的 iOS 16 中,新增了剪切板权限隐私特性
Swift 实现栈和队列
Swift语言中没有内设的栈和队列, 可通过数组或链表模拟栈和队列(链表的加入和删除的时间复杂度是O(1),但因为Swift没有现成的链表,而数组又有很多的API可以直接使用,所以下面用数组实现)
iOS 防截屏/录屏 方案
防君子,不防小人😌
《破窑赋》
出自宋代吕蒙正(存疑)的《破窑赋》
An incomplete list of skills senior engineers need, beyond coding
For varying levels of seniority, from senior, to staff, and beyond.