Passing Data in iOS: Delegates, Notifications, and Closures
Long time no see dear readers and Appcoda fans! It’s been a long time since my last post here at Appcoda, and I am really glad to be back! Today, I’m going to discuss about an important and definitely interesting...
Introduction to SnapKit: Make Auto Layout Easy for iOS App Development
Dear readers, it’s been a long time since my last post, so I’m happy to come back with a new tutorial, which I truly believe you’ll find quite interesting. Today I’d like to tell you about a third-party...
A Beginner’s Guide to Bezier Paths and Shape Layers
The process of developing apps includes amongst other things the creation of the user interface (UI) and all those simple or complicated views that appear on screen. There are different ways and different approaches to draw a...
Using JavaScript in Swift Projects: Building a Markdown to HTML Editor
For a long time I wanted to write a post about how Swift and JavaScript can be tied together, and lead eventually to more powerful and rich-featured apps. Being able to embed JavaScript code in iOS projects is not something that...
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...