Skip to main content

Posts

Showing posts from June, 2019

How to code programmatically in Xcode-Swift 4 ? Create a new Story Board programmatically….

Hello Everyone!!! Auto Layout is how we layout our UI in iOS applications. Learning how to use it programmatically can be overwhelming at first. In this introduction series, we’ll look at how to easily anchor elements onto the screen relative to other items. Most of the times, Xcode shows errors regarding constraints in the main storyboards. So, it is better to code programmatically by using the anchors. Let’s get started Step 1:- Open Xcode, Select the main storyboard & delete it…(move to trash) Step 2:- Now, go to the info.plist & delete the key of “Main Storyboard file base name” Step 3 :- To build our storyboard programmatically.…Go to the App Delegate & write the following code… Here, we have created a new window with the reference of user’s physical device. “makeKeyAndVisible()” -> It will show the window & makes it key window. Then we have connected the storyboard window to the View Controller with the help of “RootViewC

Importance Of Programming

Hello Everyone! Have you seen any numbers like this 101010101101001? This is machine language. Programming enables representing machine language in a human-readable format. In this article, we are going to know about the importance of programming. Intro In the 19th century, people were not able to send a message from one place to another. But, nowadays people are communicating in a fraction of seconds. There is a huge development in technology in the past 20 years because of programming. Therefore, programming is important in daily life to enhance the power of technology. Importance  1.  Automation Artificial Intelligence is growing so fast & it will make most people better off over the next decades. The features like voice recognition, face recognition, personal assistants like Siri, Google Assistant are used by many people around the world. Technologies like AI & Machine Learning will definitely change the future. 2. Problem Solving Programming is impor

How To Find Location Of Server Of Website From URL?

Hello Everyone! In this article, we are going to find the root location of any website with the Terminal! We are going to use one amazing command to find the location from the URL. Intro Command Line (Terminal) is a very powerful tool! There are so many commands which are very powerful. Now, we are going to find the location of the server of Google. Also, this tutorial has a video tutorial:- CLICK HERE Step 1: Open Terminal First of all, Open the terminal. Go to applications & select terminal. Also, we can use a keyboard shortcut to open the terminal. Shortcut to open the terminal : (CTRL + ALT + T) Step 2: Use "traceroute" Command The "traceroute" command is used to find the location of a server by going through each connected wired/wireless servers. This command indicates "Trace The Route". We are going to trace the route with the "traceroute" command. This command determines the response delays from various nodes along