Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
iOS
objc tips - 定义弱指针的好方法
zhsoft88
·
Jul 20, 2015
· 2070 views
This topic created in 3936 days ago, the information mentioned may be changed or developed.
__weak typeof(self) weakSelf = self;
用typeof(self)引用当前类型,不必写详细的类名了,爽!
typeof
weakself
self
1 replies
1
Sunnyyoung
Jul 20, 2015
你火星啦~
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
1091 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 29ms ·
UTC 18:30
·
PVG 02:30
·
LAX 11:30
·
JFK 14:30
♥ Do have faith in what you're doing.
❯