UIDatePicker for UITextField

iOS Tutorial


Hello Programmers and welcome back to my channel. In this video, we will learn how to use UIDatePicker as input for UITextField. UIDatePicker is similar to drop-down menu. It can be set to different input modes such as time, date, time/date, or timer.

Using UIDatePicker limits the user to input just time as compared to the keyboard where the user can input whatever he wishes.



The Ride of a Lifetime

Robert Iger

He knew what he didn’t know.

If the big picture is a mess than the small things don’t matter anyway and you shouldn’t spend time focusing on them.

I much rather take big risks and sometimes fail than not take risks at all.

“Steve built things of the highest quality, not necessarily affordable to all, but he never sacrificed quality in order to attain affordability.”

Now more than ever: innovate or die. There can be no innovation if you operate out of fear of the new.

“Take responsibility when you screw up. In work, in life, you’ll be more respected and trusted by the people around you if you own up to your mistakes. It’s impossible to avoid them; but it is possible to acknowledge them, learn from them, and set an example that it’s okay to get things wrong sometimes.”

“I talk a lot about “the relentless pursuit of perfection.” In practice, this can mean a lot of things, and it’s hard to define. It’s a mindset, more than a specific set of rules. It’s not about perfectionism at all costs. It’s about creating an environment in which people refuse to accept mediocrity. It’s about pushing back against the urge to say that “good enough” is good enough.”

“Be decent to people. Treat everyone with fairness and empathy. This doesn’t mean that you lower your expectations or convey the message that mistakes don’t matter. It means that you create an environment where people know you’ll hear them out, that you’re emotionally consistent and fair-minded, and that they’ll be given second chances for honest mistakes.


Excellence and fairness don’t have to be mutually exclusive. Strive for perfection but always be aware of the pitfalls of caring only about the product and never the people.


True integrity—a sense of knowing who you are and being guided by your own clear sense of right and wrong—is a kind of secret leadership weapon. If you trust your own instincts and treat people with respect, the company will come to represent the values you live by.


Value ability more than experience, and put people in roles that require more of them than they know they have in them.

Ask the questions you need to ask, admit without apology what you don’t understand, and do the work to learn what you need to learn as quickly as you can.”

13 | arrays

Shell Scripting Tutorial


Hello Programmers, I’m Yash. Sole programmer at planetvearcity – a place where programmers come to learn, build, and grow.

Welcome to the tutorial series on shell scripting. In this video, we will learn how to use arrays in shell scripting. Arrays in shell scripting are a little weird compared to other programming languages. You will know why.



12 | case statement

Shell Scripting Tutorial


Hello Programmers, I’m Yash. Sole programmer at planetvearcity – a place where programmers come to learn, build, and grow.

Welcome to the tutorial series on shell scripting. In this video, we will learn how to use a case statement. If you are familiar with other programming languages than case statement is similar to switch statement.



11 | floating-point operation

Shell Scripting Tutorial


Hello Programmers, I’m Yash. Sole programmer at planetvearcity – a place where programmers come to learn, build, and grow.

Welcome to the tutorial series on shell scripting. In this video, we will learn how to perform floating-point operation operations. Normal commands which we use for performing arithmetic operation don’t work with floating-point.

In order to perform the floating-point operation, we will be making use of bc command. This command is a really powerful precision calculator.

We will be learning how to perform summation, subtraction, multiplication, division, modulo, square root, and also equality check.



10 | arithmetic operation

Shell Scripting Tutorial


Hello Programmers, I’m Yash. Sole programmer at planetvearcity – a place where programmers come to learn, build, and grow.

Welcome to the tutorial series on shell scripting. In this video, we will learn how to perform arithmetic operations. It is going to be fun.

We will be learning how to perform summation, subtraction, multiplication, division, and modulo.



9 | ||(or) operator

Shell Scripting Tutorial


Hello Programmers, I’m Yash. Sole programmer at planetvearcity – a place where programmers come to learn, build, and grow.

Welcome to the tutorial series on shell scripting. In this video, we will learn how to use ||(or operator) in a shell script. It is really easy to use and understand this operator.

Just remember statement becomes true if at least one of the conditions is true.

Example: c1 || c2 || c3 || c4 : atleast one of the c1,c2, c3 or c4 must be true for the statement to be true.



8 | &&(and) operator

Shell Scripting Tutorial


Hello Programmers, I’m Yash. Sole programmer at planetvearcity – a place where programmers come to learn, build, and grow.

Welcome to the tutorial series on shell scripting. In this video, we will learn how to use &&(and operator) in shell script. It is really easy to use and understand this operator.

Just remember statement becomes true only if all the conditions are true otherwise it will be false.

Example: c1 && c2 && c3 && c4 : all c1, c2, c3 and c4 must be true for the statement to be true.



7 | file test operators

Shell Scripting Tutorial


Hello Programmers, I’m Yash. Sole programmer at planetvearcity – a place where programmers come to learn, build, and grow.

Welcome to the tutorial series on shell scripting. In this video, we will learn how to use a file condition operator along with if statement. There will be times when you will be dealing with files in your scripts. These operators make it easier for us to check conditions such as is file regular file, file exist or not, and much more.

– – – – File Test Operators – – – – –

The ones we will test:

a : True if the file exists.
e : True if the file exists.
d : True if the file exists and is a directory.
f : True if the file exists and is a regular file.
s : True if the file exists and has a size greater than zero.
r : True if the file exists and is readable.
w : True if the file exists and is writable.
x : True if the file exists and is executable.

The ones we will not test:

b : True if the file exists and is a block special file.
c : True if the file exists and is a character special file.
g : True if the file exists and its SGID bit is set.
h : True if the file exists and is a symbolic link.
k : True if the file exists and its sticky bit is set.
p : True if the file exists and is a named pipe (FIFO).
t : True if file descriptor is open and refers to a terminal.
u : True if the file exists and its SUID (set user ID) bit is set.
O : True if the file exists and is owned by the effective user ID.
G : True if the file exists and is owned by the effective group ID.
L : True if the file exists and is a symbolic link.
N : True if the file exists and has been modified since it was last read.
S : True if the file exists and is a socket.



6 | if statements

Shell Scripting Tutorial


Hello Programmers, I’m Yash. Sole programmer at planetvearcity – a place where programmers come to learn, build, and grow.

Welcome to the tutorial series on shell scripting. In this video, we will learn how to use a file condition operator along with if statement. There will be times when you will be dealing with files in your scripts. These operators make it easier for us to check conditions such as is file regular file, file exist or not, and much more.

– – – – File Test Opeartors – – – – –

The ones we will test:

a : True if the file exists.
e : True if the file exists.
d : True if the file exists and is a directory.
f : True if the file exists and is a regular file.
s : True if the file exists and has a size greater than zero.
r : True if the file exists and is readable.
w : True if the file exists and is writable.
x : True if the file exists and is executable.

The ones we will not test:

b : True if the file exists and is a block special file.
c : True if the file exists and is a character special file.
g : True if the file exists and its SGID bit is set.
h : True if the file exists and is a symbolic link.
k : True if the file exists and its sticky bit is set.
p : True if the file exists and is a named pipe (FIFO).
t : True if file descriptor is open and refers to a terminal.
u : True if the file exists and its SUID (set user ID) bit is set.
O : True if the file exists and is owned by the effective user ID.
G : True if the file exists and is owned by the effective group ID.
L : True if the file exists and is a symbolic link.
N : True if the file exists and has been modified since it was last read.
S : True if the file exists and is a socket.