Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to implement the Auto Layout Contraint through Code

Hi Readers, This Post is just a brief introduction about “How we can implement Autolayout Contraints through coding”. Now,Before moving ahead with the topic let us have a brief about AutoLayout. WHAT IS AUTOLAYOUT...?? Auto Layout is a way to def

NSSplitView delegate for controlling minimum and maximum sizes of views

NSSplitView have delegate methods where we control the minimum and maximum sizes of sections and which views expand or collapse by what amount. Constraining the coordinates in the splitView:constrainMinCoordinate:ofSubviewAt: sets the minimum size o

Zoom an image using UIScrollView

The UIScrollView is used to view a content whose size is larger than the screen of the device. It can also be used to zoom in and zoom out an image, or to view an image that is significantly larger than the screen of the device. To make the scroll vi

Draw a route between two annotation point on MKMapView

The following lines of code helped me to draw a route between two Annotation point in MKMapView Hope this will help you in your coding CSRouteAnnotation* routeAnnotation = (CSRouteAnnotation*)self.routeView.annotation; // only draw our lines i

Flipping of the content and image on hover using CSS3

If a user want to flip his content or image on mouse hover using css3. He can use the code below. In below example, we have two sided view. HTML : <div id="container"> <div id="card" class="shadow"> <div class="fro

How to crop images in PHP

Hello Reader's if you want to crop the images and save them then you can use this code liberay, its a very easy to implement and very useful for thumbnail generation <?php $targ_w = $targ_h = 150; $jpeg_quality = 90; $src = 'demo_files/pool.jpg'

How to create multiple view with drag and drop functionality in Android

This tutorial will help to the develop the Drag and Drop functionality, individual can create multiple view in their android application. Each view will have different onTouchListener and onLongClickListener. Step 1- Create a XML file res/activity_m

login form in cakephp

Its really easy to create a login form by using cake php, for creating a form a user have to mention its type,action or url for pointing the form to the login() action to the controller, user would supply array like this. And for further fields they

What is STUFF in SQL Server

STUFF():-          STUFF is SQL SERVER function which is used to insert the string in another string. It deletes the specified number of characters from first string and insert the new string in the place of d

Use of Linear Interpolation in Unity

Linear interpolation simply means finding a value in between two given values, 'Lerp' is the function used for this. It will linearly interpolates between the two given values. Lerp can be used for following different types:- 1. Vector3 Ler

1 29 137
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: