Category Archives: iOS

Firebase Authentication in iOS

  Firebase Authentication in iOS When You want to create a user based app where you want to feature or activity depends on Users. I can assume, you need User Login, Forget password and Registration screen for user-related interactions. In most of the cases, Login/Registration User functionality doesn’t belong to Client end (i.e. iOS or Continue Reading »

Local Authentication in iOS

Local Authentication in iOS In a Nutshell, Local Authentication in iOS is a framework which we use to validate genuine user through passphrase (i.e. passcode) or TouchID. TouchID and RetinaID belong to biometric criteria.  So, If you have got a requirement to integrate a User Validation then use this Local Authentication. Or, You can also Continue Reading »

All About SQLite

  What is SQLite? SQLite is an open source, zero-configuration, self-contained, stand-alone, transaction relational database engine designed to be embedded in an application. SQLite is an embedded relational database management system used in the mobile applications. SQLite is different from other SQL databases because unlike most other SQL databases, SQLite does not have a separate server Continue Reading »

SOLID: Dependency Inversion Principle

Dependency Inversion Principle Previous Principle: Interface Segregation Principle High-level modules should not depend on low-level modules. Both should depend on abstractions. When designing a system we have low level classes (classes which implement primary operation like: Network access, Disk access, Database access) and high level classes which have business logic. High level classes are dependent on Continue Reading »

SOLID: Interface Segregation Principle

Interface Segregation Principle Previous Principle: Liskov’s Substitution Principle A client should never be forced to implement an interface that it doesn’t use or clients shouldn’t be forced to depend on methods they do not use. In OOD we provide abstraction to module using interfaces, so we create an interface for a module and an implementation class. Continue Reading »

SOLID: Open Close Principle

Open Close Principle If you have not read Single Responsibility Principle Start from here Single Responsibility Principle Classes should be open for extension, but closed for modification This principle states that any new functionality can be added in a system with minimum modification in the current code. Means the system should be open to additions but it should Continue Reading »

SOLID: Single Responsibility Principle

Object Oriented Design Principles A good design is most important step of Software Development life cycle, and to have a good design we must follow some set of guidelines. According to Robert Martin in “Agile Software Development: Principles, Patterns, and Practices” there are 3 main reasons of bad design that should be avoided: Rigidity – System Continue Reading »

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 »

Beta App Testing Via TestFlight iOS

We need to distribute our App to some users for Beta App Testing. There are some tools available which can be used for this purpose like Diawi, Fabric etc. Apple provides TestFlight iOS for distribution of App to Beta testers. To take advantage of TestFlight, simply upload a beta build of your app, and use iTunes Connect to add Continue Reading »

Web Service Proxy with Charles

There are some scenarios where we can use Charles : Sometimes we need to change web service request parameters to check some scenarios in our App, For this we need to change these parameters in our App before sending request. So everytime we need to make changes in our App to test with different request Continue Reading »

Contacts Framework Vs AddressBook Swift 3.0

Contacts Framework Contacts Framework came up  with iOS 9.0 . This framework provide Swift and Objective-C API to access the user’s contact information. AddressBook Framework AddressBook Framework was used in iOS 8 and earlier for access user’s contact information . Through this blog you will get to understand working with Contacts and AddressBook Framework.  So before accessing the 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 »

Apple Pay Integration in Swift 3.0

Almost half of today’s smartphone users will be using their phones and mobile wallets as their preferred method for payments and what preferred the most is security, privacy and reliability. Thus one of the largest mobile phones manufacturing company Apple inc. provides us such a wallet service which became far most popular since 2015 known Continue Reading »

Tailor: Clean and Organized Code

  I found this quote by James O. Coplien on Japanese workplace organization methodology called 5S Clean your workplace on daily basis completely or set cleaning frequency. Use cleaning as inspection. Prevent machinery and equipment deterioration. Keep workplace safe and easy to work. Keep workplace clean and pleasing to work in. Just like our organization, the codebase Continue Reading »


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 »

Keychain Handling in iOS

  What is Keychain Keychain is Apple’s way to manage password in the the device. Whether its Mac or iOS Device they use the same Keychain system tool back inside. It stores all your passwords for applications, sensitive information relating to website’s credentials and credit card/ debit card numbers. The main objective of existence is to secure Continue Reading »

LinkedIn Integration in Swift 3.0

  Social media is everywhere and integrating any social media platform upgrades your application in every way. LinkedIn is one such platform widely used & client-demanding both at the same time. Integrating Sign in from LinkedIn into your app is not a difficult process. Just follow the simple steps so that you can have an Continue Reading »

Multiple Targets in iOS

  So, Why do you need Multiple Targets ? I’m giving you an assumption. You have a project where you are interacting with Database using REST APIs. Needless to say, you will have a Login Screen, or Registration Screen or say you have Forgot Password Screen. Then, you must be having two databases Development_Db (for Development 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 »