Let’s learn about python loops in this blog. In python, statements are executed sequentially. That means, first statement in a function is executed first, then second and so on. Loops are useful when we want to run a block of code more than once. Looping is core feature of any programming language. Python has following… Read More »
The very first script that you will write working in deep learning, will not be to perform training but to split the dataset. Every time I start a new project, the first task is to manage the given data. This blog is about image data for computer vision based tasks, mostly classification. If you are… Read More »
Internet connection check code iOS If you are implementing the code in your app, to check whether device connected to the internet or not and accordingly give alerts then follow the steps. 1. Add System.Configuration framework to your project 2. Download Reachability.h and .m files from here! (Click on download sample code) and just add these… Read More »
See lines of code XCode Go to XCode Preferences -> Check the option “Line Numbers”
It’s really easy doing this using CoreLocation.framework. Fast learning tutorial is as below : Open your AppDelegate.m, and import the “CoreLocationViewController.h”.
// Add this line on top of your AppDelegate.m
Change the application:didFinishLaunchingWithOptions: method in your ‘AppDelegate.m’ with the code below. First of all create a ‘CoreLocationViewController’. Then create a UINavigationController with the ‘CoreLocationViewController’ as the RootViewController. Now we need to add the UINavigationController… Read More »