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 »

Source Code Management using SvnX

Introduction: Source code management is simply referred to as version control or revision control which is a management of changes of documents or any other collection of information. Source code management is necessary if we are working in a group and we need to synchronise our code if any one of them perform changes. Problem: 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 »

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 »

PushTry.com – Firebase Cloud Messaging Testing tool

Introduction: Enabling push notifications in an iOS App is not a typical task. But sending push notifications to iOS device requires server side implementation which interacts with APNS to send push notification to an iOS device. Here’s an another alternative for sending push notifications to iOS device is using Firebase Cloud Messaging (FCM). Firebase Cloud Messaging 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 »

FCM Implementation in Swift 3.0

Introduction Firebase Cloud Messaging is a free mobile notification service by Google that enables third- party app developers to send notifications from servers to their users. With Firebase Cloud Messaging Service, you can inform a client’s app that a new email or other data is available for sync. It works on the principle of down streaming 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 »

Facebook Integration in Swift 3.0

Introduction:  There are two goals of any application: acquire as many customers as possible or deliver highest quality engagement within a target market. So integrating your app with any social media will fulfill your goal. Here we will know about how to authenticate a user with social media like Facebook in his application. Various steps that Continue Reading »

API testing

API testing API is an acronym for Application Programming Interface. It enables communication and data exchange between two separate software systems. A software system implementing an API contains functions/sub-routines which can be executed by another software system.For example, a Google website can have API for various functions like search, translations, calendars, etc API Architecture API calls 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: 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 »

A/B Testing

What is A/B Testing? A/B Testing (also known as Split Testing or A/B/n Testing) defines a way to compare two versions of an application or a web page that enables you to determine which one performs better. It is one of the easiest ways to analyze an application or a web page to create a Continue Reading »

Using Proguard in Android Application

  Proguard is an optimizer for java bytecode. It detects and removes unused code from app and included libraries, also optimizes the bytecode. Proguard obfuscate code makes difficult to reverse engineer. Proguard is a valuable tool for working around the 64k reference limit. Resource shrinking also works well in conjunction with code shrinking. To enable Continue Reading »

Search from a list – Reusable Test Cases

Search from a list – Reusable Test Cases Searching data is an essential feature and is majorly used functionality in all the applications these days . We can see various examples of  applications like Google maps – for searching places, Zomato – for searching dishes or places, Ola – for reaching correct destination, Play-store/App-store – Continue Reading »