# sunyazhou.com > The blog of @sunyazhou. Writing about technology (mainly iOS), hey ball, and life. > > sunyazhou 的博客,关于技术(主要是 iOS)、台球和生活。 ## 文章 - [GPU内存对齐算法](https://sunyazhou.com/2025/05/MemoryAlignmentAlgorithm/index.html.md): #iOS #SwiftUI #Swift #Objective-C - [Swift结构体实例内存布局的基础知识](https://sunyazhou.com/2025/02/the-basics-on-the-memory-layout-of-swift-struct-instances/index.html.md): #iOS #SwiftUI #Swift #Objective-C - [如何使用unsafe Swift指针类型直接访问内存并与C交互](https://sunyazhou.com/2025/02/unsafe-swift-using-pointers-and-interacting-with-c/index.html.md): #iOS #SwiftUI #Swift #Objective-C - [2024年终总结](https://sunyazhou.com/2024/12/FinalSummary/index.html.md): 将一切困难踩在脚下 #年终总结 - [CoreText渲染字体的时如何计算字体所需要的高度?](https://sunyazhou.com/2024/11/coretextcalculatedheight/index.html.md): #iOS #SwiftUI #Swift #Objective-C #skills - [iOS的dSYM中ARM Thread State寄存器有哪些?](https://sunyazhou.com/2024/11/armthreadstate/index.html.md): #iOS #SwiftUI #Swift #Objective-C #skills - [SwiftUI中的Image修改器(视图修饰符)有哪些?](https://sunyazhou.com/2024/10/swiftuiimage/index.html.md): #iOS #SwiftUI #Swift #Objective-C #skills - [iOS卡顿监控代码](https://sunyazhou.com/2024/10/hangmonitor/index.html.md): 前言 #iOS #SwiftUI #Swift #Objective-C #skills - [UIImage镜像](https://sunyazhou.com/2024/10/uiimagemirror/index.html.md): 前言 #iOS #SwiftUI #Swift #Objective-C #skills - [CFNotification进程间通讯](https://sunyazhou.com/2024/09/cfnotificationprocesscommunication/index.html.md): #iOS #SwiftUI #Swift #Objective-C #skills - [在Objective-C中多层block嵌套时如何使用weak self和strong self](https://sunyazhou.com/2024/08/multiblockembedded/index.html.md): #iOS #SwiftUI #Swift #Objective-C #skills - [NSIntegerMax整数溢出问题记录](https://sunyazhou.com/2024/08/dispatchafternsintegermax/index.html.md): 前言 #iOS #SwiftUI #Swift #Objective-C #skills - [PickingInMetal](https://sunyazhou.com/2024/08/PickingInMetal/index.html.md): 前言 #iOS #SwiftUI #Swift #Objective-C - [Swift中的do catch](https://sunyazhou.com/2024/08/docatchinswift/index.html.md): #iOS #SwiftUI #Swift #Objective-C #skills - [iOS中如何解决跨天日期变化](https://sunyazhou.com/2024/07/uiapplicationsignificanttimechangenotification/index.html.md): #iOS #SwiftUI #Swift #Objective-C #skills - [swiftUI中添加拟合手势MagnificationGesture](https://sunyazhou.com/2024/07/magnificationgesture/index.html.md): #iOS #SwiftUI #Swift #Objective-C #skills - [使用UIViewRepresentable 在SwiftUI中桥接 UIKit 视图](https://sunyazhou.com/2024/07/UIViewrepresentable/index.html.md): #iOS #SwiftUI #Swift #Objective-C #skills - [Kerning文字排版计算](https://sunyazhou.com/2024/07/kerning/index.html.md): 前言 #iOS #iPadOS #watchOS #SwiftUI #Masonry - [hitTest标准写法](https://sunyazhou.com/2024/07/hitteststd/index.html.md): 前言 #Objective-C - [平滑阶梯函数smoothstep](https://sunyazhou.com/2024/05/smoothstep/index.html.md): 前言 #iOS #macOS #Objective-C #Swift - [HarmonyOS动画分类](https://sunyazhou.com/2024/05/arktsanimation/index.html.md): #鸿蒙OS开发 #HarmonyOS #ArkTS #Ark动画 - [保持原UIImage缩放比的计算方法](https://sunyazhou.com/2024/04/keepimagescale/index.html.md): 前言 #iOS #iPadOS #watchOS #SwiftUI #Masonry - [使用Masonry高阶方法对子视图统一布局](https://sunyazhou.com/2024/03/masonryrelayoutviews/index.html.md): 前言 #iOS #iPadOS #watchOS #SwiftUI #Masonry - [运动传感器摇晃检测](https://sunyazhou.com/2024/02/MotionShake/index.html.md): #iOS #macOS #iPadOS #watchOS #SwiftUI - [iOS控制中心收藏按钮likeCommand动画](https://sunyazhou.com/2024/01/mpremotecommandlikecommand/index.html.md): 前言 #iOS #macOS #iPadOS #watchOS #SwiftUI - [ArkTS和ArkUI基础语法](https://sunyazhou.com/2024/01/arktsbasic/index.html.md): #鸿蒙OS开发 #HarmonyOS #ArkTS - [解决如何从鸿蒙手机传文件到macOS](https://sunyazhou.com/2024/01/HarmonyPhoneSendFileTomacOS/index.html.md): #鸿蒙OS开发 #HarmonyOS - [鸿蒙启动页面开发](https://sunyazhou.com/2024/01/harmonyoslaunchpage/index.html.md): #鸿蒙OS开发 #HarmonyOS - [2023年终总结](https://sunyazhou.com/2023/12/FinalSummary/index.html.md): 繁华的北京二环东四十条天桥夜景 #年终总结 - [SQL语句的标准](https://sunyazhou.com/2023/10/sqlstandard/index.html.md): 前言 #iOS #macOS #iPadOS #watchOS #SwiftUI - [解决iOS小组件开发中widgetURL问题](https://sunyazhou.com/2023/09/ios17widgetURL/index.html.md): #iOS #macOS #iPadOS #watchOS #SwiftUI - [SwiftUI第五章学习总结](https://sunyazhou.com/2023/09/learnswiftuichapter5/index.html.md): 前言 #iOS #macOS #Objective-C #SwiftUI - [SwiftUI第四章学习总结](https://sunyazhou.com/2023/09/learnswiftuichapter4/index.html.md): 前言 #iOS #macOS #Objective-C #SwiftUI - [SwiftUI第三章学习总结](https://sunyazhou.com/2023/08/learnswiftuichapter3/index.html.md): #iOS #macOS #Objective-C #SwiftUI - [开发iOS17小组件](https://sunyazhou.com/2023/08/ios17widget/index.html.md): 前言 #iOS #macOS #iPadOS #watchOS #SwiftUI - [SwiftUI可用性检测,解决小组件iOS17 available问题](https://sunyazhou.com/2023/08/swiftuiextention1/index.html.md): 前言 #iOS #macOS #iPadOS #watchOS #SwiftUI - [SwiftUI第二章学习总结](https://sunyazhou.com/2023/06/learnswiftuichapter2/index.html.md): #iOS #macOS #Objective-C #SwiftUI - [解决iOS16 WKWebview无法调试问题](https://sunyazhou.com/2023/06/ios16wkwebview/index.html.md): 前言 #iOS #macOS #Objective-C #skills - [UIImage黑白滤镜](https://sunyazhou.com/2023/06/blackwhitefilter/index.html.md): 前言 #iOS #macOS #Objective-C #skills - [学习如何在visionOS上开发APP](https://sunyazhou.com/2023/06/learnaboutvisionos/index.html.md): #visionOS #Swift #SwiftUI - [Shell脚本批量将heic转png和webp](https://sunyazhou.com/2023/06/batchconvertheictopng/index.html.md): 前言 #macOS #Xcode #skills - [SwiftUI第一章学习总结](https://sunyazhou.com/2023/06/learnswiftuichapter1/index.html.md): #iOS #macOS #Objective-C #SwiftUI - [CocoaPods完全使用指南](https://sunyazhou.com/2023/04/cocoapodsuserguide/index.html.md): #iOS #macOS #Objective-C #Cocoapods #skills - [pod仓库的常用命令](https://sunyazhou.com/2023/04/podcommands/index.html.md): #iOS #macOS #Objective-C #Cocoapods #skills - [如何在pod中的podspec使用XCAssets](https://sunyazhou.com/2023/03/podxcassets/index.html.md): #iOS #macOS #Objective-C #Cocoapods #skills - [Flutter中的Form表单](https://sunyazhou.com/2023/03/flutterformtextfield/index.html.md): #iOS #Dart #Objective-C #skills - [使用SwiftUI绘制环形 Slider](https://sunyazhou.com/2023/03/circularsliderview/index.html.md): 前言 #iOS #SwiftUI #Swift #Objective-C #skills - [Flutter的有状态StatefulWidget生命周期](https://sunyazhou.com/2023/03/flutterlifecycle/index.html.md): #iOS #Dart #Objective-C #skills - [whimsical模块设计](https://sunyazhou.com/2023/03/whimsical/index.html.md): 前言 #iOS #macOS #Objective-C #skills - [objc中的类型安全转换](https://sunyazhou.com/2023/03/safecast/index.html.md): #iOS #macOS #Objective-C #skills - [iOS中NSDate是否是今天Today](https://sunyazhou.com/2023/02/nsdateistoday/index.html.md): #iOS #Swift #Objective-C #skills - [博客的图片资源优化](https://sunyazhou.com/2023/02/webpenhancement/index.html.md): 前言 #Linux #shell - [如何使用jekyll发布一篇文章](https://sunyazhou.com/2023/02/jekyllpost/index.html.md): 前言 #Linux #shell - [Swift中的defer关键字](https://sunyazhou.com/2023/02/swift-defer/index.html.md): 前言 #iOS #Swift #Objective-C #skills - [2022年终总结](https://sunyazhou.com/2022/12/FinalSummary/index.html.md): #年终总结 - [模仿Q音径向渐变动画](https://sunyazhou.com/2022/12/gradientlayeranimation/index.html.md): #iOS #macOS #Objective-C #skills - [《The Sunyazhou Theory Ⅱ》的诞生](https://sunyazhou.com/2022/12/thesunyazhoutheoryii/index.html.md): #理论 - [SwiftUI属性包装器:State、Binding、ObservableObject、EnvironmentObject](https://sunyazhou.com/2022/11/swiftuipropertywrapper/index.html.md): #iOS #SwiftUI #Swift #Objective-C #skills - [NS-OPTIONS的用法](https://sunyazhou.com/2022/09/howtousensoptions/index.html.md): 前言 #iOS #Swift #Objective-C #skills - [FB内存检测工具分享](https://sunyazhou.com/2022/09/fbmemorychecktool/index.html.md): #iOS #Swift #Objective-C #skills - [iOS开发中的字符串枚举](https://sunyazhou.com/2022/08/nsstringenum/index.html.md): 前言 #iOS #macOS #Objective-C #skills - [检查Cell是否滚动出屏幕之外](https://sunyazhou.com/2022/08/checkcellscrolloutscreen/index.html.md): 前言 #Algorithm #C++ - [iOS面试问题记录](https://sunyazhou.com/2022/07/iosinterviewproblems/index.html.md): 前言 #iOS #Swift #Objective-C #skills - [iOS中的OOM](https://sunyazhou.com/2022/07/iosoom/index.html.md): #iOS #Swift #Objective-C #skills - [iOS中的崩溃类型](https://sunyazhou.com/2022/07/ioscrashtype/index.html.md): #iOS #Swift #Objective-C #skills - [iOS寻找两个UIView的最近的公共父类](https://sunyazhou.com/2022/07/commonsuperview/index.html.md): #Algorithm #C++ - [二叉树的前、中、后序遍历](https://sunyazhou.com/2022/07/binarytreeorder/index.html.md): #Algorithm #C++ - [岛屿数量](https://sunyazhou.com/2022/07/islandscount/index.html.md): #Algorithm #C++ - [最长回文子串](https://sunyazhou.com/2022/07/longestpalindrome/index.html.md): #Algorithm #C++ - [合并两个有序数组](https://sunyazhou.com/2022/07/mergesortarray/index.html.md): #Algorithm #C++ - [二叉树的最近公共祖先](https://sunyazhou.com/2022/07/commonancestor/index.html.md): #Algorithm #C++ - [搜索旋转排序数组](https://sunyazhou.com/2022/07/searchrotatearray/index.html.md): #Algorithm #C++ - [二叉树的锯齿形层序遍历](https://sunyazhou.com/2022/07/zigzaglevelorder/index.html.md): #Algorithm #C++ - [环形链表](https://sunyazhou.com/2022/07/cyclelinktable/index.html.md): #Algorithm #C++ - [二叉树的层序遍历](https://sunyazhou.com/2022/07/binarytreelevelorder/index.html.md): #Algorithm #C++ - [两数之和](https://sunyazhou.com/2022/07/twosum/index.html.md): #Algorithm #C++ - [合并两个有序链表](https://sunyazhou.com/2022/07/mergetwolists/index.html.md): #Algorithm #C++ - [最大子数组和](https://sunyazhou.com/2022/07/maxsubarray/index.html.md): #Algorithm #C++ - [三数之和](https://sunyazhou.com/2022/07/threesum/index.html.md): #Algorithm #C++ - [数组中的第K个最大元素](https://sunyazhou.com/2022/07/kthlargest/index.html.md): #Algorithm #C++ - [LRU 缓存](https://sunyazhou.com/2022/07/lrucache/index.html.md): #Algorithm #C++ - [无重复字符的最长子串](https://sunyazhou.com/2022/07/longestsubstring/index.html.md): #Algorithm #C++ - [反转链表](https://sunyazhou.com/2022/07/reverselist/index.html.md): #Algorithm #C++ - [macos鼠标软件MOS](https://sunyazhou.com/2022/04/Mos/index.html.md): #Swift #AVFoundation #Git - [开发分支管理模型](https://sunyazhou.com/2022/04/BranchManage/index.html.md): #Swift #AVFoundation #Git - [开源YZ3DMenu导航菜单](https://sunyazhou.com/2022/04/YZ3DMenu/index.html.md): #Swift #AVFoundation - [深入理解CVPixelBufferRef](https://sunyazhou.com/2022/04/CVPixelBufferRef/index.html.md): #iOS #macOS #Objective-C #AVFoundation #音视频 - [2021年终总结](https://sunyazhou.com/2021/12/FinalSummary/index.html.md): #年终总结 - [iOS开发高手课01-建立你自己的iOS开发知识体系](https://sunyazhou.com/2021/12/iOSLessonsStudyNotes1/index.html.md): #iOS #macOS #Objective-C #skills - [如何计算文本中某些单词出现的频率](https://sunyazhou.com/2021/12/WordFrepuency/index.html.md): 前言 #iOS #macOS #Objective-C #skills - [swift中求一个集合中子集](https://sunyazhou.com/2021/10/SwiftSubSets/index.html.md): 前言 #iOS #Swift #Objective-C #skills - [如何判断NSString是纯数字类型](https://sunyazhou.com/2021/06/CheckNSStringIsPureInteger/index.html.md): #iOS #macOS #Objective-C #skills - [WCDB实践记录](https://sunyazhou.com/2021/04/WCDBPractice/index.html.md): #iOS #macOS #Objective-C #skills - [UTIs苹果官方的文件扩展名全集](https://sunyazhou.com/2021/02/UTIsOfficalFileExtensionName/index.html.md): #iOS #macOS #Objective-C #skills - [滚动文本设置渐变颜色](https://sunyazhou.com/2021/01/TextGradient/index.html.md): #iOS #macOS #Objective-C #skills - [获取UIWindow的边界距离](https://sunyazhou.com/2021/01/SafeAreaEdges/index.html.md): 前言 #iOS #Swift #Objective-C - [2020年终总结](https://sunyazhou.com/2020/12/FinalSummary/index.html.md): 2020年8月 舒兰服务区.结束北漂回家的路上. #年终总结 - [解决iOS系统时间被修改的问题](https://sunyazhou.com/2020/12/iOSsynchronousTimeWithServer/index.html.md): #iOS #macOS #Objective-C #skills - [解决iOS调用系统相册不显示中文问题](https://sunyazhou.com/2020/10/WebviewSystemLanguage/index.html.md): 前言 #iOS #macOS #Objective-C #Swift #skills - [修复Xcode Source Editor在masOS的扩展中不显示](https://sunyazhou.com/2020/10/XcodeSourceEditorNotWork/index.html.md): #iOS #macOS #Objective-C #skills - [Pod spec集成第三framework和.a工作记录](https://sunyazhou.com/2020/10/PodSpec/index.html.md): #iOS #Swift #Objective-C #Cocoapods #skills - [使用Xcode配置文件来管理不同的环境设置](https://sunyazhou.com/2020/10/XcodeBuildXcconfigFile/index.html.md): #Algorithm #Objective-C - [阿里、字节:一套高效的iOS面试题之性能优化](https://sunyazhou.com/2020/09/iOSinterviewPerformanceOptimization/index.html.md): #Algorithm #Objective-C - [阿里、字节:一套高效的iOS面试题之视图&图形](https://sunyazhou.com/2020/09/UIViewGraphic/index.html.md): #Algorithm #Objective-C - [阿里、字节:一套高效的iOS面试题之多线程](https://sunyazhou.com/2020/09/GCD/index.html.md): #Algorithm #Objective-C - [阿里、字节:一套高效的iOS面试题之Block](https://sunyazhou.com/2020/09/Block/index.html.md): #Algorithm #Objective-C - [阿里、字节:一套高效的iOS面试题之Runloop&KVO](https://sunyazhou.com/2020/09/iOSinterviewAnswers5/index.html.md): #Algorithm #Objective-C - [阿里、字节:一套高效的iOS面试题之NSNotification相关](https://sunyazhou.com/2020/09/iOSinterviewAnswers4/index.html.md): #Algorithm #Objective-C - [阿里、字节:一套高效的iOS面试题之runtime相关问题3](https://sunyazhou.com/2020/08/iOSinterviewAnswers3/index.html.md): #Algorithm #Objective-C - [阿里、字节:一套高效的iOS面试题之runtime相关问题2](https://sunyazhou.com/2020/08/iOSinterviewAnswers2/index.html.md): #Algorithm #Objective-C - [阿里、字节:一套高效的iOS面试题之runtime相关问题1](https://sunyazhou.com/2020/07/iOSinterviewAnswers1/index.html.md): #Algorithm #Objective-C - [Cocoapods清华镜像](https://sunyazhou.com/2020/04/CocoapodsProblems/index.html.md): 前言 #iOS #macOS #Objective-C #skills #Cocoapods - [使用Masonry处理UIView的safeArea边界布局问题](https://sunyazhou.com/2020/04/MasonryTricks/index.html.md): 前言 #iOS #macOS #Objective-C #Masonry - [(转)深度理解 NSURLProtocol](https://sunyazhou.com/2020/03/NSURLProtocol/index.html.md): #iOS #macOS #Objective-C #skills - [《孙亚洲理论》的诞生](https://sunyazhou.com/2020/02/SunyazhouTheory/index.html.md): #理论 - [2019年终总结](https://sunyazhou.com/2019/12/FinalSummary/index.html.md): #年终总结 - [简单了解LLDB调试工具chisel](https://sunyazhou.com/2019/12/Chisel/index.html.md): #iOS #macOS #Objective-C #Swift #skills - [图形示意绘制工具](https://sunyazhou.com/2019/12/MathGraphicTool/index.html.md): #iOS #macOS #Objective-C #OpenGL #图形图象 #音视频 - [使用Masonry约束实现简单的高级拖拽视图](https://sunyazhou.com/2019/09/MasonryPanViewDemo/index.html.md): #iOS #macOS #Objective-C #Swift #Masonry - [UITraitCollection详解](https://sunyazhou.com/2019/09/UITraitCollection/index.html.md): #iOS #macOS #Objective-C #Swift #skills - [从零学习OpenGLES的纹理渲染](https://sunyazhou.com/2019/09/OpenGLESDemo1/index.html.md): #iOS #macOS #Objective-C #OpenGL #图形图象 #音视频 - [做一个简单的Loading动画](https://sunyazhou.com/2019/07/LoadingAnimationI/index.html.md): #iOS #动画 #Objective-C #skills - [CentOS7安装iptables防火墙](https://sunyazhou.com/2019/05/CentosIptables/index.html.md): 前言 #Linux #shell - [Cleaner For Xcode编译](https://sunyazhou.com/2019/05/CleanerForXcodeBuild/index.html.md): #iOS #macOS #Objective-C #Swift #skills - [Windows装机教程](https://sunyazhou.com/2019/04/WindowsResources/index.html.md): 前言 #win7 - [AVRoutePickerView](https://sunyazhou.com/2019/04/AVRoutePickerView/index.html.md): #iOS #macOS #Objective-C #AVFoundation #AVKit #音视频 - [iOS抖音滚动字幕](https://sunyazhou.com/2019/03/UIScrollTextDemo/index.html.md): #iOS #动画 #抖音动画系列 #Objective-C #skills - [Mac上的一些好软件推荐](https://sunyazhou.com/2019/02/Tools/index.html.md): 前言 #iOS #macOS #Objective-C #Swift #skills - [2018年终总结](https://sunyazhou.com/2018/12/FinalSummary/index.html.md): #年终总结 - [iOS抖音的转场动画](https://sunyazhou.com/2018/12/AwemeTransition/index.html.md): 前言 #iOS #动画 #抖音动画系列 #Objective-C #skills - [探测UIPanGesture的滑动方向](https://sunyazhou.com/2018/12/DetectingPanGestureDirection/index.html.md): 前言 #iOS #Objective-C #Swift #skills - [iOS抖音点赞动画实现](https://sunyazhou.com/2018/11/LikeAnimation/index.html.md): 前言 #iOS #动画 #抖音动画系列 #Objective-C #skills - [iOS视频加载动画](https://sunyazhou.com/2018/11/PlayLoadingAnimation/index.html.md): 前言 #iOS #动画 #抖音动画系列 #Objective-C #skills - [iOS所有Animation相关可用的Keypath](https://sunyazhou.com/2018/11/AllKeypathOfCALayer/index.html.md): 前言 #iOS #macOS #Objective-C #skills - [iOS抖音右下角专辑动画](https://sunyazhou.com/2018/11/AwemeAlbumAnimation/index.html.md): 前言 #iOS #动画 #抖音动画系列 #Objective-C #skills - [iOS抖音的上下滑实现](https://sunyazhou.com/2018/11/AwemeTopBottomScrollDemo/index.html.md): 前言 #iOS #动画 #抖音动画系列 #Objective-C #skills - [iOS数字倍数动画](https://sunyazhou.com/2018/10/LabelDanceAnimation/index.html.md): 前言 #iOS #动画 #Objective-C #skills - [iOS呼吸动画](https://sunyazhou.com/2018/09/BreathAnimation/index.html.md): 前言 #iOS #动画 #Objective-C #skills - [iOS扩大UIButton的点击的响应范围](https://sunyazhou.com/2018/09/IncreasingTapAreaOfButton/index.html.md): 前言 #iOS #Objective-C #skills - [iOS键盘动画细节](https://sunyazhou.com/2018/09/KeyboardAnimation/index.html.md): #iOS #macOS #Objective-C #skills - [船与灯塔](https://sunyazhou.com/2018/09/Beacon/index.html.md): 前言 #系统理论实践 - [iOS中CPU线程调试高级技巧](https://sunyazhou.com/2018/08/CPUThreadDebug/index.html.md): 前言 #iOS #macOS #Objective-C #skills - [Taptic Engine振动反馈](https://sunyazhou.com/2018/08/TapticEngineFeedback/index.html.md): #iOS #Objective-C #skills - [利用UIToolBar做高斯模糊背景](https://sunyazhou.com/2018/07/ToolBarBlur/index.html.md): #iOS #macOS #Objective-C #skills - [Linux 终端 Bash 常用快捷键介绍及经验](https://sunyazhou.com/2018/07/LinuxBash/index.html.md): #系统理论实践 #macOS #skills - [Objective-C中使用正则去除非数字字母汉字](https://sunyazhou.com/2018/06/FilterString/index.html.md): 前言 #iOS #macOS #Objective-C #skills - [使用NSAttributeString实现不同颜色大小显示](https://sunyazhou.com/2018/06/NSAttributeString/index.html.md): 前言 #iOS #macOS #Objective-C #skills - [Swift4.2中的随机数](https://sunyazhou.com/2018/06/SwiftRandom/index.html.md): #iOS #macOS #Objective-C #Swift #skills - [Swift中的随机数](https://sunyazhou.com/2018/06/Random/index.html.md): #iOS #macOS #Objective-C #Swift #skills - [UIView不同方向的导角](https://sunyazhou.com/2018/05/HowToCreateTopBottomRoundedCornersForViews/index.html.md): #iOS #macOS #Objective-C #skills - [手动管理UIViewController的生命周期](https://sunyazhou.com/2018/05/ManualControlUIViewControllerLifeCycle/index.html.md): 前言 #iOS #macOS #Objective-C - [AudioUnit](https://sunyazhou.com/2018/05/AudioUnit/index.html.md): #iOS #macOS #Objective-C #AVFoundation #音视频 - [深入理解RunLoop](https://sunyazhou.com/2018/04/RunLoop/index.html.md): #iOS #macOS #Objective-C - [Swift 4 中的数组技巧](https://sunyazhou.com/2018/03/Swft4ArraySkills/index.html.md): 前言 #iOS #macOS #Objective-C #Swift #skills - [什么是符号表?](https://sunyazhou.com/2018/03/WhatIsThedSYM/index.html.md): #iOS #macOS #Objective-C - [计算机图形渲染的流程](https://sunyazhou.com/2018/03/ComputerGraphicsRenderingProcess/index.html.md): #iOS #macOS #Objective-C #OpenGL #图形图象 #音视频 - [Learning AV Foundation(五)播放视频](https://sunyazhou.com/2018/03/LearningAVFoundationPlayingVideo/index.html.md): #iOS #macOS #Objective-C #AVFoundation #音视频 - [NLP分词WordEmbeding](https://sunyazhou.com/2018/02/WordEmbeding/index.html.md): #python - [使用Python操作MySQL数据库](https://sunyazhou.com/2018/01/PythonMySQL/index.html.md): #python - [AVAudioSession-Category各种姿势](https://sunyazhou.com/2018/01/AVAudioSessionCategory/index.html.md): 前言 #iOS #macOS #Objective-C #AVFoundation #音视频 - [2017年终总结](https://sunyazhou.com/2017/12/FinalSummary/index.html.md): #年终总结 - [Markdown中插入音频文件](https://sunyazhou.com/2017/12/markdownAudio/index.html.md): 前言 #iOS #macOS #Objective-C #skills - [音频声像Pan值电平左右声道平衡](https://sunyazhou.com/2017/12/AudioPan/index.html.md): #iOS #macOS #Objective-C #AVFoundation #音视频 - [UICollectionViewCell添加KVO](https://sunyazhou.com/2017/12/CellAddKVO/index.html.md): #iOS #Objective-C #skills - [论一个优雅的模态转场的自我修养](https://sunyazhou.com/2017/10/ElegantPresentTransition/index.html.md): 前言 #iOS #Objective-C - [markdown嵌入折叠标签](https://sunyazhou.com/2017/10/MarkdownSkill/index.html.md): 前言 #iOS #macOS #Objective-C #skills - [理解UIView的绘制](https://sunyazhou.com/2017/10/UIViewRendering/index.html.md): #iOS #Objective-C - [DeviceCheck](https://sunyazhou.com/2017/09/DeviceCheck/index.html.md): #iOS #macOS #Objective-C - [Markdown插入表格语法](https://sunyazhou.com/2017/09/MarkdownTable/index.html.md): 前言 #skills - [如何使用Charles截获https请求](https://sunyazhou.com/2017/09/CharlesCaptureHttps/index.html.md): 前言 #iOS #macOS #Objective-C #skills - [ARKit](https://sunyazhou.com/2017/08/ARKit/index.html.md): 前言 #iOS #macOS #Objective-C - [Learning AV Foundation(四)AVAsset元数据(高级篇)](https://sunyazhou.com/2017/08/LearningAVFoundationAVAssetSenior/index.html.md): #iOS #macOS #Objective-C #AVFoundation #音视频 - [iOS 11 新技能](https://sunyazhou.com/2017/07/ios11NewSkills/index.html.md): #iOS #macOS #Objective-C - [iOS生成随机UIColor颜色代码](https://sunyazhou.com/2017/07/Arc4RandomColor/index.html.md): 12345678- (UIColor *)randomColor{ CGFloat hue = ( arc4random() % 256 / 256.0 ); // 0.0 to 1.0 CGFloat saturation =... #iOS #macOS #Objective-C - [iOS获取各种文件目录的路径](https://sunyazhou.com/2017/06/GetSandboxPathios/index.html.md): 12345678910// 获取沙盒主目录路径NSString *homeDir = NSHomeDirectory();// 获取Documents目录路径NSString *docDir = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject];// 获取Library的目录路径NSString *libDir = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) lastObject];// 获取Caches目录路径NSString... #iOS #macOS #Objective-C - [iOS Android Php RSA加密解密通配方案](https://sunyazhou.com/2017/06/RsaUniversalCrossPlatformiOSAndroidPhp/index.html.md): #iOS #macOS #Objective-C - [Xcode开启静态分析器](https://sunyazhou.com/2017/06/EnableStaticAnalyer/index.html.md): #iOS #macOS #Objective-C #skills - [如何在Objective-C中废弃一个方法](https://sunyazhou.com/2017/06/HowToDeprecatedAMothodInObjC/index.html.md): 前言 #iOS #macOS #Objective-C - [Xcode9新功能 无线真机调试](https://sunyazhou.com/2017/06/XcodeDebugViaWireless/index.html.md): 效果今天小伙伴(王可成)发现Xcode有个很方便的功能 可以真机无线调试运行 #iOS #macOS #Objective-C #skills - [Learning AV Foundation(四)AVAsset元数据(基础篇)](https://sunyazhou.com/2017/06/LearningAVFoundationAVAssetBasic/index.html.md): #iOS #macOS #Objective-C #AVFoundation #音视频 - [OpenGL编程语言-glsl基础](https://sunyazhou.com/2017/05/OpenGLglslLanguage/index.html.md): 前言 #iOS #macOS #Objective-C #OpenGL #图形图象 #音视频 - [自定义NSTableRowView实现鼠标跟踪动态显示选中/非选中颜色](https://sunyazhou.com/2017/05/NSTableRowViewMouseTrackColor/index.html.md): ``` objc#import “BDRowView.h” #iOS #macOS #Objective-C - [如何在macOS/MAC OS X上创建替身文件](https://sunyazhou.com/2017/05/HowToCreateSymbolicLinkOnMacosInCode/index.html.md): #iOS #macOS #Objective-C - [向往计算机科学相关专业的必学经典](https://sunyazhou.com/2017/04/CmputerScienceAndTechnologyClassic/index.html.md): #系统理论实践 - [如何在iOS/macOS系统中创建文件时创建唯一的文件名](https://sunyazhou.com/2017/04/UniqueFilenameInSystem/index.html.md): #iOS #macOS #Objective-C - [Xcode快捷键](https://sunyazhou.com/2017/04/XcodeShortcuts/index.html.md): #iOS #macOS #Objective-C #skills - [隐私及敏感数据访问权限(Access privacy-sensitive data)](https://sunyazhou.com/2017/03/AccessPrivacySensitive/index.html.md): 在你访问照相机、通讯录、等等隐私以及敏感数据之前,你必须请求授权。否则你的app会在你尝试访问这些隐私时崩溃。Xcode会log这些: This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app’s Info.plist must... #iOS #macOS #Objective-C #AVFoundation #音视频 - [Learning AV Foundation(三)AVAudioRecorder](https://sunyazhou.com/2017/03/LearningAVFoundationAVAudioRecorder/index.html.md): #iOS #macOS #Objective-C #AVFoundation #音视频 - [判断NSWindow是否全屏](https://sunyazhou.com/2017/03/CheckNSWindowisFullScreen/index.html.md): ``` objc@interface NSWindow (FullScreen) #macOS #Objective-C - [Learning AV Foundation(二)AVAudioPlayer](https://sunyazhou.com/2017/03/LearningAVFoundationAVAudioPlayer/index.html.md): #iOS #macOS #Objective-C #AVFoundation #音视频 - [Learning AV Foundation(一)汉字语音朗读](https://sunyazhou.com/2017/03/LearningAVFoundationAVSpeechSynthesizer/index.html.md): #iOS #macOS #Objective-C #AVFoundation #音视频 - [macOS上模拟发送键盘事件](https://sunyazhou.com/2017/02/macOSsimulateKeyboradNSEvent/index.html.md): #iOS #macOS #Objective-C - [使用终端删除NSUserDefault的内容](https://sunyazhou.com/2017/02/ClearNSUserDefaultCcontent/index.html.md): 前言 大家对NSUserDefaults非常熟悉 今天给大家讲一下如何用终端清理NSUserDefaults的信息 #iOS #macOS #Objective-C - [iOS如何让二维码/条形码扫描框跟随二维码移动](https://sunyazhou.com/2017/02/ScanBoundsTracking/index.html.md): 前言 #iOS #macOS #Objective-C - [iOS语言本地化/国际化一些技巧](https://sunyazhou.com/2017/02/iOSInternationalizationLanguageSkills/index.html.md): 代码获取国际化语言数组获取当前app使用的语言123 NSArray *langArr1 = [[NSUserDefaults standardUserDefaults] valueForKey:@"AppleLanguages"]; NSString *language1 = langArr1.firstObject; NSLog(@"模拟器语言:%@",language1); #iOS #macOS #Objective-C - [搭建hexo博客教程](https://sunyazhou.com/2017/02/BuildHexoBlogTutorial/index.html.md): Jekyll迁移到Hexo搭建个人博客 #skills - [DFS算法扫描上传文件/文件夹](https://sunyazhou.com/2017/02/DFSAlgorithm/index.html.md): DFS需求背景 在开发过程中难免会遇到类似 上传文件夹的功能,但是上传文件夹会遇到一种情况1231. 如果文件里面包含子文件夹的N层嵌套2. 如何过滤非空文件夹3. 如何处理根层文件夹没有文件那么文件目录也需要创建举例例子 #iOS #macOS #Objective-C #Swift - [如何使用git管理代码](https://sunyazhou.com/2017/02/HowToUseGitManageCode/index.html.md): #iOS #macOS #Git #skills - [Webview的NSScrollView禁用滑动功能](https://sunyazhou.com/2017/02/HowtToDisableWebviewNSScrollViewScroll/index.html.md): 在webview的WebFrameLoadDelegate代理里面实现如下代码 #macOS #Objective-C - [2017回家过年](https://sunyazhou.com/2017/01/SpringFestival/index.html.md): 练习了一年的小楷, 感谢老乡潘旭的帮助,我的书法有很多提升. #年终总结 - [iOS开发知识点积累](https://sunyazhou.com/2017/01/iOSDevelopmentKnowledgePointAccumulate/index.html.md): 搞了很久iOS开发, 以前都是用脑子记某种技术文章和技术实现的代码,但是当一个人的大脑超过一定存储极限的时候就会出现栈溢出(其实我比较笨),后来开始逐渐记某博客的是谁写的,或者技巧实现的代码。。。后来发现不但栈溢出,堆也快存不住海量的iOS技术文章了。。。唉于是我的chrome上保留了所有经典的文章标签和浏览器网页地址,现在我想把它整理出来放在博客里,方便查找某技术实现的代码(其实我的原百度云小伙伴实习生都觉得我能对某种技术存储如此详细赶到惊叹).好了 我们开始iOS知识点技术导航 #iOS #macOS #Objective-C #音视频 - [学习macOS开发的路线](https://sunyazhou.com/2017/01/LearningmacOSdevelopmentShortcut/index.html.md): 开发总结 #iOS #macOS #Objective-C #skills - [UIViewController代码规范](https://sunyazhou.com/2017/01/UIViewControllerCodeStandard/index.html.md): pragma 标准写法 #iOS #Swift #macOS ## 可选资源 - [归档](https://sunyazhou.com/tabs/archives/): 文章归档列表 - [分类](https://sunyazhou.com/tabs/categories/): 文章分类 - [标签](https://sunyazhou.com/tabs/tags/): 所有文章标签 - [作品](https://sunyazhou.com/tabs/projects/): 所有作品 - [关于](https://sunyazhou.com/about/): 关于我