Play System Sound Notification in Swift 4 using AudtioToolbox
Category: Swift

In this article we will cover how to play a system sound in iOS application using AudioToolbox. We will first play Apple’s built in system sound and then we’ll add our custom sound. We will use a beep sound.

Building a Barcode and a QR Code Reader Application for iOS using Swift 4: PT3
Category: Swift

This is the third part on building barcode and QRcode reader for iOS using Swift 4. In this article we will add a layer outlining detected barcode. We will also add a sound notification using iOS built in system sound and using our custom sound file. And finally we will navigate to the new ViewController.

Building a Barcode and a QR Code Reader Application for iOS using Swift 4: PT2
Category: Swift

This is the second part of a guide on building a Barcode and QR Code reader application with Swift 4. In the previous article we defined AVCaptureSession, passed the input source - camera device to it and defined the output using AVCaptureMetadataOutput that detects metadata type that is a barcode or a QR Code.

Building a Barcode and QR Code Reader Application for iOS using Swift 4
Category: Swift

This article will give you a overview of how the Barcode and QR Code application is developed in Swift 4 using Apple’s built-in AVFoundation framework by example. Let’s get started!

REST API in Swift 4 using URLSession and JSONDecoder
Category: Swift

Apple announced Swift 4 as part of Xcode 9 at WWDC 2017. Swift 4 is a major release that is intended to be completed in the fall of 2017. It brings some really nice improvements to existing Swift 3 features as well as stability. In this article we will take a look at working with REST API in Swift 4 using URLSession and JSONDecoder. The later was introduced with Swift 4.

Firebase Storage - How to download files using Firebase 3 SDK with Swift 3 in Xcode 8
Category: Swift

In order to download images or any files from the Firebase storage using URLSession dataTask you will have to get the download URL using Firebase 3 SDK method downloadURLWithCompletion.

Firebase 3 and Xcode 8 - Hide unnecessary console log outputs
Category: Swift

We are all excited with the release of Xcode 8 and Swift 3. But upgrading our projects most of the time turns into a headache. And Firebase did well and really was an exception not to break. But still there were some outputs in the console that are very annoying. At first you might think that these are the errors but not after a close examination.

Work with REST API in Swift 3 and Xcode 8 using URLSession and JSONSerialization
Category: Swift

With the release of Swift 3 many changes have come to the language. Apple has updated their core frameworks as well. For example Foundation framework has gone through great changes. Before Swift 3 we used NSURLSession and NSJSONSerialization to reach a web service like REST API, download JSON and convert it to a readable format.

CocoaPods – Install Your First Dependency: Firebase 3
Category: Swift

This short article is a follow up to Getting started with CocoaPods - Update Ruby Version and Install CocoaPods on Mac OS X 10.11 El Capitan. In the previous article we resolved problem with Ruby version and then installed CocoaPods. Now we’ll look at using CocoaPods to add Firebase SDK to your Xcode project and start using this amazing product by Google.

Getting started with CocoaPods - Update Ruby Version and Install CocoaPods on Mac OS X 10.11 El Capitan
Category: Swift

No matter what kind of app you’re creating, you’re likely to use code from other developers in the form of frameworks and libraries. CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. The latest version of CocoaPods will require a newer version of Ruby. In order to update Ruby and overcome new security measures we will need to install Homebrew, a package manager for OS X.