Working with Auto Layout Visual Format Language and Programmatically Creating Constraints
As an iOS developer you already know that one of the tasks in the to-do list of any project is to set and configure constraints for any views and subviews added to it. It’s been proved that constraints can become tricky and...
Grand Central Dispatch (GCD) and Dispatch Queues in Swift 3
One of the greatest improvements in the technology of Central Processing Units (CPUs) since their existence is the capability to contain multiple cores and therefore to run multiple threads, which means to serve more than one...
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...
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....
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...
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...
Documenting Your Swift Code in Xcode Using Markdown
Amongst all the features Xcode 7 incorporates, there is one that admittedly distinguishes; that is the new revolutionary, much better way to write code documentation. With the introduction of Xcode 7, developers can use the...
Using Quick Look Framework for Previewing Documents
Several treasures like not so well-known frameworks and libraries can be found in the iOS SDK. Most of them can be proved to be real gems and truly useful tools, saving you from hours of extra work. One of them is the Quick Look...
Managing SQLite Database with SwiftyDB
Choosing a way for storing data permanently is something that is always needed when developing applications. There are various options we can pick from: To create single files, to use CoreData or create a SQLite database. The...
Swift Tutorial: Building an iOS Chat App Using Socket.IO
iOS apps exist in millions out there, and most of them communicate with servers to exchange data. In their majority, the server implements and provides RESTful APIs that apps can use for the communication. When an app needs to...