Hi TsauSwift_unknowUnowned crash在使用 Swift 開發的時候,為了避免 closure memory leak 我們會在capture list 當中定義 [unowned self] 或是 [weak self] ,而平常都是使用 unowned self 居多,也比較方便簡潔。Aug 30, 2016Aug 30, 2016
Hi TsauUIPresentationControlleriOS 8 之後加入了非常重要的類別就是 UIPresentationController,用來管理presented view controllers,從 一個 view controller 被 presented 到 dismiss都可透過此類別處理許多進階的動作 (包含…Feb 3, 2016Feb 3, 2016
Hi TsauiOS received push message with Watch OS 2iOS接收推播的didReceiveRemoteNotification 函式裡面可以取得App的狀態分別為:Nov 19, 2015Nov 19, 2015
Hi Tsau[IOS] instancetype and id詳情請見高見龍的blog:http://blog.eddie.com.tw/2013/12/16/id-and-instancetype/Mar 2, 2015Mar 2, 2015