👋 I share knowledge and experience on iOS 📱 & macOS 💻 development! Most probably there is something useful here for you 👈 !

Techniques in Loading View Controllers and Passing Values Between Them – Part 1

Most iOS apps that show multiple content, also contain multiple view controllers. If your app is not based on a navigation controller or a tab bar controller, but it’s a single view based application, then loading and presenting the various view controllers to the user it’s a task that has to be done manually. Generally speaking, loading view controllers either through storyboards or purely programmatically is not a hard job, however how easy or straightforward are all these for a new...

Welcome to my refreshed website!

Finally, after a long, long time I had the opportunity to update this website. With a new, modern and clean theme, and with most of the menus and the content behind them redesigned, it’s now way easier to move around. In addition to that, I’m planning to add new content often. The main focus will be on small tutorials and programming techniques, but any other useful stuff will be presented too. Take your time and have a tour in my...

Working with SQLite Databases in iOS with FMDB Library

Dealing with databases and handling data in general is an important and crucial part of any app. I had covered a topic on how to manage a SQLite database using SwiftyDB some months ago on another post. Today, I’m coming back aiming to talk about databases again, but this time I’m going to present you another library that you may have known about already: The FMDB. Both of those libraries serve the same goal; to let you handle SQLite databases,...

Displaying Facebook Ads in Your iOS Apps

Not so long time ago I was asked to integrate Facebook ads in a project. Without having done so before, I prepared myself for a potentially long process, even a little bit painful, and then I got started searching the docs. Against my initial thoughts though, I went through the docs pretty fast, and after a few minutes I had my first Facebook ads up and running! Facebook ads consist of a nice way to embed advertisements in your apps...

Creating Gradient Colors Using CAGradientLayer

Every developer always uses color combinations along with images to produce a good-looking result when creating an app, trying always to achieve the best user experience possible. Sometimes, however, something more might be needed; simple colors might not be good enough for the best outcome in certain cases, but gradient colors could become the perfect fit. I had personally a few times only the opportunity to create gradient colors, and the last time I did so I considered to be...

How to Generate PDF using HTML Templates and UIPrintPageRenderer in iOS

Have you ever been asked to create PDF documents with content straight from your app? Have you ever even thought how to do that, if you’ve never done it before? Well, beginning the post by setting questions is a bit of unorthodox way to start, but the above summarise what I’m about to talk in this text. The idea of creating a PDF document in an iOS app looks quite often like the road through hell, but it doesn’t have...