Jennifer Nicholas has Published 291 Articles

How to add Exception Breakpoint in Xcode?

Jennifer Nicholas

Jennifer Nicholas

Updated on 27-Jun-2020 13:45:24

2K+ Views

Sometimes while writing an iOS application or any other application we need to test multiple cases and debug the application of any known and unknown bugs. There are certain places in the code where we want our app to stop so that we can know the values of certain variables ... Read More

How to detect the screen size of iPhone 5?

Jennifer Nicholas

Jennifer Nicholas

Updated on 27-Jun-2020 13:39:48

226 Views

Detecting screen size of an apple device is an easy and simple task. The UIKIT module of iOS SDK provides many functions and classes that deal with user interface, screen sizes and many other UI elements.One of them is UIScreen which deals with the device screen.UIScreen.main provides the current main ... Read More

What are all the custom URL schemes supported by the Facebook iPhone app?

Jennifer Nicholas

Jennifer Nicholas

Updated on 27-Jun-2020 13:31:00

901 Views

A url Scheme is a way of iOS to open some third party applications from within a app. Some of the URL schemes that are supported by facebook to open different modules of facebook app from within some other app are mentioned below.1. To open facebook profile: fb://profile 2. To ... Read More

Set Grayscale Effect with CSS

Jennifer Nicholas

Jennifer Nicholas

Updated on 27-Jun-2020 12:23:29

250 Views

The grayscale effect is used to convert the colors of the object to 256 shades of gray. The following parameter is used in this filter −ParameterDescriptionGrayConverts the colors of the object to 256 shades of gray.ExampleYou can try to run the following code to set grayscale effect −Live Demo   ... Read More

Generating a range of numbers in MySQL?

Jennifer Nicholas

Jennifer Nicholas

Updated on 25-Jun-2020 11:21:38

2K+ Views

To generate a range of numbers in MySQL, you can use stored procedure. Firstly, we need to create a table. After that, we will create a stored procedure that generates a range of number from 10 to 1.The following is the query to create a table −mysql> create table GeneratingNumbersDemo ... Read More

How to fetch fields with multiple values set using MySQL LIKE?

Jennifer Nicholas

Jennifer Nicholas

Updated on 25-Jun-2020 11:18:08

759 Views

To fetch fields with multiple values, use LIKE with OR in MySQL −select *from yourTableName where yourColumnName like ‘%AnyStringValue’ or yourColumnName like ‘%AnyStringValue’ or yourColumnName like ‘%AnyStringValue’ ……...N;You can understand with the help of a table −mysql> create table LikeDemo    −> (       −> Hobby varchar(200)   ... Read More

Calculate average of numbers in a column MySQL query?

Jennifer Nicholas

Jennifer Nicholas

Updated on 25-Jun-2020 10:45:08

1K+ Views

Calculate the average of numbers in a column with the help of MySQL aggregate function AVG().The syntax is as follows −select avg(yourColumnName) as anyVariableName from yourTableName;To understand the above concept, let us create a table. The following is the query to create a table.mysql> create table AverageCalculateDemo    −> ( ... Read More

Increase or decrease units in HTML5 Canvas grid

Jennifer Nicholas

Jennifer Nicholas

Updated on 25-Jun-2020 07:25:36

327 Views

HTML5 canvas provides scale(x, y) method that is used to increase or decrease the units in our canvas grid. This can be used to draw scaled down or enlarged shapes and bitmaps.This method takes two parameters where x is the scale factor in the horizontal direction and y is the ... Read More

Adjust gap size for CSS Grid

Jennifer Nicholas

Jennifer Nicholas

Updated on 25-Jun-2020 07:10:46

3K+ Views

To adjust the gap size, use grid-column-gap, grid-row-gap or grid-gap property in CSS.grid-column-gap propertySet gap between Grid columns with CSS. You can try to run the following code to implement the grid-column-gap property.ExampleLive Demo                    .container {       ... Read More

How not to validate HTML5 input with required attribute

Jennifer Nicholas

Jennifer Nicholas

Updated on 25-Jun-2020 06:47:22

216 Views

To avoid validation, use the formnovalidate attribute in HTML5. In the example, validation is disabled for the 2nd button −Example           HTML formnovalidate attribute                        Rank                              

Advertisements