会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ywhb
博客园
首页
新随笔
联系
订阅
管理
2023年7月31日
Goland 优化
摘要:
阅读全文
posted @ 2023-07-31 09:58 ywhb
阅读(14)
评论(0)
推荐(0)
2023年2月26日
wsl2 + bridge 固定ip终极方案
摘要: 前提 1 安装了 wsl2 wsl -l -v PS C:\Users\Administrator> wsl -l -v NAME STATE VERSION * Ubuntu-22.04 Running 2 2 安装了 windows terminal 3 创建虚拟网桥 搭建 #### 1. 在
阅读全文
posted @ 2023-02-26 12:27 ywhb
阅读(5397)
评论(1)
推荐(2)
2021年10月6日
Goland 快捷键(Mac)
摘要: ###1.自动补齐返回值 option + command + v
阅读全文
posted @ 2021-10-06 19:00 ywhb
阅读(124)
评论(0)
推荐(0)
2021年9月30日
macOS 常用软件安装
摘要: 安装 homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 安装telnet brew tap theeternalsw0rd/telne
阅读全文
posted @ 2021-09-30 15:23 ywhb
阅读(84)
评论(0)
推荐(0)
2016年4月12日
观察者模式
摘要: os开发有多种设计模式,其中有一种就叫做观察者模式,即Key Value Observing(简称KVO) KVO是Object -C中原声支持的一种机制. C、KVO 实现原理当对一个对象添加观察者,被观察对象的属性值发生变化时,观察者会得到通知,并对变化做出相应的处理。D、KVO 的特性1. 支
阅读全文
posted @ 2016-04-12 21:13 ywhb
阅读(111)
评论(0)
推荐(0)
2016年4月9日
iOS程序启动过程
摘要: First, the function creates the main application object (step 3 in the flowchart). If you specify nil as the third argument to UIApplicationMain() (th
阅读全文
posted @ 2016-04-09 12:17 ywhb
阅读(198)
评论(0)
推荐(0)
2016年4月4日
内存管理(二)
摘要: (转载请注明出处)
阅读全文
posted @ 2016-04-04 15:42 ywhb
阅读(110)
评论(0)
推荐(0)
2016年3月29日
OC内存管理
摘要: 内存问题 野指针异常:访问所有权的内存,如果想要安全访问,必须确保空间还在(确保访问的内存不是僵尸对象) 内存泄露:空间使用完之后没有及时释放 过度释放:对一块空间释放多次,立刻crash 内存溢出:所有存储空间被占用 管理内存的三种方式 垃圾回收机制:程序员只要开辟存储空间,系统会自动回收内存。J
阅读全文
posted @ 2016-03-29 13:43 ywhb
阅读(168)
评论(0)
推荐(0)
公告
点击右上角即可分享