Think & Build

icona_lory

How to build a custom (and “designable”) control in Swift

Around two years ago I wrote a tutorial to show how to build custom controls in iOS. That tutorial was really appreciated by the dev community, so I’ve decided to update it to Swift and to add the designable/inspectable properties support to design the control directly through Interface Builder. Before letting you dive into the [...]

img_notification

Interactive Notifications with Notification Actions

iOS 8 comes with a long list of interesting improvements and in this article I want to show you one of those: Notification Actions. With this new feature users can directly interact with push or local notifications without opening the application. A simple example? A todo app presents a reminder of a task to the [...]

img_feature-2

Building custom UI Elements with IBDesignable

If you have read some of my previous articles you’ve probably noticed that I love UI customization! It’s an excellent chance to let your App stand out from the crowd thanks to its unique looks and innovative interactions. It looks like Apple really wants us to unleash our creativity and they are proving it with [...]

swift_thinkandbuild

From Objective-C to Swift: thoughts and hints

In this article I want to share with you some of the thoughts I had along the way during my transition from Objective-C to Swift. I’ll try to give you hints and I’ll discuss the main pitfalls, trying to compare, when possible, the different approaches of these two languages. So without further ado let’s dive [...]

img_feature

Learn to love Auto Layout… programmatically

The last months were quite intense. Nicola and I, have released an iOS App for a client that right now is heavily featured in the Italian App Store, I’m planning a trip to Japan (actually, my girlfriend is…) and I’ve started a new personal iOS project. Nonetheless, I’m ready to continue on our journey with [...]