Author Archives: Chanchal Chauhan

Play with Audio in Swift 3.0

Audio recording and playing is not a tough task in iOS but it takes time to understand and implement. There is a framework called AVFoundation which will help you to record sound. Steps To Record Sound: 1.  Import Framework AVFoundation:  To record and play audio first you need to import a framework AVFoundation. This framework will Continue Reading »

Alamofire

Alamofire: Alamofire is a HTTP networking based library for iOS and macOS. It is used to handle HTTP request and response. It is the wrapper class of URLSession. Before Alamofire: You need to prepare all request by yourself Task handling is complicated Multipart request and File downloading & uploading is complicated Image caching needs to done Continue Reading »

Error Handling in Swift 3.0

Error Handling: Error is an issue or unexpected condition that may cause a program to not function properly. Error can be compile time or runtime. Error Handling is a process of identifying, catching and recovering  the error conditions. Here we are trying to handle server side error which occurred while sending request or receiving response. These errors maybe Continue Reading »

Push Notification Handling in Swift 3.0

Notifications: There are two types of notifications: Local Notification Remote Notification (Push Notification) Local notifications are scheduled and sent by an app and delivered on the same device without involvement of internet. Remote Notification (Push Notification): Push notifications are sent by remote server to the APNs and then it pushes the notification to the specific device. Continue Reading »