UIViewController
Massive View Controller 重構:透過依賴注入 (Dependency Injection) 減輕職責
View Controller 可以說是 iOS 開發裡的核心物件。這不只是因為它佔據了 MVC (Model-View-Controller) 中的中心位置 Controller,還因為 UIKit 團隊有意推動場景導向的設計。UIKit 本身是以當時的 AppKit 為基礎,針對行動系統所重新設計出來的一個框架。在原本的 AppKit 裡面,MVC [...]
UIAlertController 教程:讓你輕鬆在 UIViewController 以外的地方呈現警告
從 iOS 8.0 開始加入的 UIAlertController,大概是大多數人在想要呈現 (present) 警告或者選單時的第一選擇。它的 API 非常的簡單,使用起來就像這樣: class ViewController: UIViewController { func deleteSomething() { // ... } func presentDeletionAlert() { // 創造一個 UIAlertController 的實例。 [...]
iOS
《iOS 10 App程式設計進階攻略:39個必學的開發技巧》正式推出
iOS
Lottie初學者教學指南:如何在iOS App設計一個令人驚豔的動畫
Swift
精通Swift:列舉、閉包、泛型、Protocols和高階函數
iOS
iOS 9 新功能 : 堆疊視圖介紹 (Stack Views)
Swift
Swift 2 初學者指南
iOS
Swift 教學:如何使用iOS Charts API 製作漂亮的圖表
iOS
以Parse與Swift建構一個像Instagram一樣的App
iOS
建立一個像Medium App的下滑選單
iOS