Most applications show lists of content (data sets), which many turn out to be empty at one point, specially for new users with blank accounts. Empty screens create confusion by not being clear about what’s going on, if there is an error/bug or if the user is supposed to do something within your app to … [Read more…]

D3 圖表優化二三事

因為我認為 Data-Driven 是 D3.js 的核心觀念之一,在瞭解如何將資料轉為 DOM / SVG 元件以後,剩下再去讀 D3 的 API 相信也能輕易上手。 Source: Modern WebConf 2015 與我的講題:D3 圖表優化二三事 « kuro’s Blog


Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView. Neither need to write any code nor any setup required and much more. Source: hackiftekhar/IQKeyboardManager

C Callbacks in Swift

With Swift 2, it is now possible to do this fully natively in Swift. C function pointers are imported into Swift as closures. You can pass any Swift closure or function with matching parameters to code that expects a C function pointer – with one massive caveat: unlike closures, C function pointers don’t have the … [Read more…]