Author Archives: Chanchal Chauhan

JSONExport: JSON to Model

JSONExport:  Now you do not need to Understand your JSON Structure and create your model manually. Here is a utility to convert your JSON into model to do that. You just need to paste your JSON in JSON field. First it will check it JSON is valid, then convert it into model. It will create different Continue Reading »

Postman – Proxy and Mock Server

Introduction: Postman is Google Chrome app to send HTTP request and get response. It provides a user friendly UI for creating request and reading response. Features of postman: It is simple and powerful tool with friendly interface. Saved the history of all API Request. Unlimited collections, environments, tests and shares. Automated testing with collection runner Continue Reading »

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 »