Jacky WangA functional way to add Target in UIButton using closuresWe are all used to the good old method in UIButton to add a target.Apr 20, 20163Apr 20, 20163
Jacky WangLayout UIViews with method chaining, avoid messy frame calculationsI’ve been making a lot of UI Interfaces recently, and though its not difficult calculating all the frames, centering view within a view…Nov 28, 2015Nov 28, 2015
Jacky WangUI Design from a Developer’s perspectiveI’ve always wondered about what it is like to design UI.Nov 28, 2015Nov 28, 2015
Jacky WangApple Watch - Animated Image Sequences Forwards & BackwardsA powerful animating functionality on the Apple Watch, allowing you to flip through sequence of images like a GIF as easy as numbering your…Nov 24, 2015Nov 24, 2015
Jacky WangSwift - FlatMap unwrapping & flattening optional arraysMapping is perhaps the most underrated function in Swift 2.0. Allowing your code to be functional, concise and fast. However, I never…Nov 24, 2015Nov 24, 2015
Jacky WangAnimate with completion in WatchKit WKInterfaceControllerThe interface on WKInterfaceController only providesNov 23, 20151Nov 23, 20151
Jacky WangWKInterfaceDevice Extension to determine watch sizeSometimes when handling UI in developing for WatchApps, its useful to know how much real estate we have, specially when animating…Nov 23, 2015Nov 23, 2015
Jacky WangNotifications in SwiftThe old way of observing to notificaitons worked fine, but always providing a string selector that could easily result in run time crashing…Nov 23, 2015Nov 23, 2015