Post: iOS 入门 008: RunLoop运行循环
iOS 入门 008: RunLoop运行循环
12:04 Apr 09, 2012
·
@ezra
RunLoop运行循环
作用与特性
例子
-
按钮点击事件是如何响应的?
addTarget只是注册(给RunLoop)点击按钮后执行控制器的click方法
| Application |
⬇️ |
| runloop |
⬇️ |
| Window |
⬇️ |
| ViewController |
⬇️ |
| View |
⬇️ |
| Button |
⬇️ |
Related Posts
发条消息就能破解iPhone?
Published 14:01 Jan 26, 2024 by @ezra.
#Hacking# 前几天在网上冲浪的时候看到了一条相当震撼的消息:
简单来讲,就是主打封闭安全的 iPhone ,不仅被攻击者发现了漏洞成功入侵,完全控制整个手机。
更加抽象的是入侵的还是知名杀毒软件卡巴斯基团队成员的...
WWDC 2018 Summary for iOS developers
Published 12:06 Jun 13, 2018 by @ezra.
#Programming# WWDC 2018 Summary for iOS developers.
What's new in Xcode 10
An ability to launch XCTest and XCUITe...
What’s new in Swift 4.2?
Published 12:06 Jun 13, 2018 by @ezra.
#Programming# Swift 4.2 is the second minor release of Swift 4, and brings with it another raft of awesome improve...