React-Native key questions

DOM, Shadow Dom, Virtual DOM State and props What is StyleSheet.create()? StyleSheet.create() is a function that takes a plain JavaScript object and returns a StyleSheet object. Instead of creating a new style object every time, StyleSheet helps to create style objects with an ID which is further used to reference instead rendering it again. How […]

person shubham sharmaaccess_time February 6, 2022launch Read More

MVC vs MVVM: Key Differences with Examples

What is MVC? The MVC framework is an architectural pattern that separates an applications into three main logical components Model, View, and Controller. Hence the abbreviation MVC. The full form MVC is Model View Controller. In this architecture, a component is built to handle specific development aspects of an application. MVC separates the business logic […]

person shubham sharmaaccess_time February 6, 2022launch Read More

Setup Pod on Mac

Install cocoapods with gem not with Homebrew

but first find stable version of gem and ruby if already installed then update gem

Install Ruby via RVM 1. Install RVM as per instructions or

then

If the output is: rvm is a function You may need to add “source ~/.rvm/scripts/rvm” to your ~/.bash_profile […]

person shubham sharmaaccess_time February 2, 2022launch Read More

iOS App Screenshot Sizes Apple App Store

App Store Screenshot Sizes for iOS Devices The next important aspect of designing iOS screenshots is adhering to the Apple device sizes. The tables below outlines which sizes are required and the corresponding pixels for portrait and landscape orientation. iOS App Screenshot Sizes for iPhones Device Size Device Portrait Screenshot Size Landscape Screenshot Size Requirement 6.5 […]

person shubham sharmaaccess_time May 31, 2021launch Read More

React-Native Common Commands

To get the list of available emulator

  To open a emulator

  Listing all available simulators

  open -a Simulator

  Print log on Terminal

  React Devtools https://github.com/facebook/react-devtools/tree/master/packages/react-devtools   Reset Cache

  Update Dependency

 

  1. Clear watchman watches: watchman watch-del-all. 2. Delete the […]

person shubham sharmaaccess_time October 27, 2020launch Read More

UICollectionView deselect all cell

 

person shubham sharmaaccess_time July 17, 2020launch Read More

Android: Create thumbnail of video

 

person shubham sharmaaccess_time June 5, 2020launch Read More

Andorid: Copy File

 

person shubham sharmaaccess_time June 5, 2020launch Read More

iOS: Swift location tracking

Add into info.plist

 

person shubham sharmaaccess_time March 31, 2020launch Read More

iOS: Swift change color of placeholder in iOS 13

 

person shubham sharmaaccess_time February 3, 2020launch Read More