React Native Snapshot Testing for Mobile Developers

Snapshot Testing is a React Native mobile apps testing platform by comparing a previous snapshot of the component with the current component. This takes a screenshot and subsequently compares a recorded screenshot with changes made by the developer. if the screenshots don’t match, there are two possibilities: either the change is unexpected (there is a… Read More React Native Snapshot Testing for Mobile Developers

Fix Performance Issues on React Native – Android Application

In the mobile application development world there are plenty of performance issues might arise in the development period and in the deployment period. Here we are talking about few issues which will occur in the deployment stage of the mobile application.   React Native app unresponsive  if debugger is not attached This problem looks bit… Read More Fix Performance Issues on React Native – Android Application

How to change the IOS UIPickerView Label Font Size in Swift 4

Hope this method would help you to change the font size of the label/option   extension DocumentViewController : UIPickerViewDelegate,UIPickerViewDataSource { func pickerView(_ pickerView: UIPickerView, viewForRow row: Int, forComponent component: Int, reusing view: UIView?) -> UIView { var label = UILabel() if let v = view { label = v as! UILabel } label.font = UIFont… Read More How to change the IOS UIPickerView Label Font Size in Swift 4

Declarative vs. Imperative Programming Paradigms

Declarative vs. Imperative A programming paradigm is a fundamental style of computer programming. There are four main paradigms: imperative, declarative, functional (which is considered a subset of the declarative paradigm) and object-oriented. Declarative programming : is a programming paradigm that expresses the logic of a computation(What do) without describing its control flow(How do). Some well-known… Read More Declarative vs. Imperative Programming Paradigms

YII1 and YII2 Response

In this context yii response means that the data which has be responded to the request which is AJAX request.Typically we would like to have JSON responses/JSON Data. This will help you to identify the responding methods of both YII versions.   //YII – 1 $arr=[]; $arr = array(108,456,”User Name”); header(‘Content-type: application/json’); echo CJavaScript::jsonEncode($arr); Yii::app()->end();… Read More YII1 and YII2 Response