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

Search In

How to give background color to superview only with alpha less than 1.0

Hi, In many cases we have to give a background color to a superview with alpha less than 1.0. If we give color from XIB/storyboard to a superview with alpha 0.4 then it assigns the alpha 0.4 to its subviews also. What if we need to give alpha 0.4

How to get Common Values from two Arrays

This is a simple method to compare two arrays and get all the common objects from these arrays. Take two arrays(say firstArray & secondArray) NSMutableSet* arraySet1 = [NSMutableSet setWithArray:firstArray]; //create NSMutableSet for firstArra

 How to Extend the default Header in odoo-9

If you want to extend the default header in odoo-9 , use the below code. <Customize header> <template id="custom_header" inherit_id="website.layout" name="Custom Header"> // this is a header template. <Assign an id> <xpath ex

jquery redirect

Javascript and jquery redirection is a client side redirection. Redirection means taking a user from one location to another location i.e page. Here are several methods available in jquery and javascript for page redirection such as replace() --

Difference between && and and in ruby.

Ruby supports both && as well as and. The basic difference between these 2 lies in their precedence order. && has higher preference than and. and has lower preference than = unlike && which has higher preference than =

Custom Taxonomy in the Word press

We can add taxonomy to our custom post type. Adding taxonomy means adding new category option in our custom post type. We use taxonomy to basically categorize the data. We create the groups of the similar type. To add custom taxonomy we use this

Returning Multiple Values in Python using tuple?

# A Python program returning multiple values from a method using tuple # Function is defined that returns a tuple def fun(): str = "Demo" x = 20 return str, x; # Returning a tuple # Driver code to test above method str, x = fun(

how does foreach loop exactaly work in php

The foreach function in php will be used for a easy way to iterate over the loop and it is only used in array and objects or It will give you an error when you try to use it on a variable with different data type. Syntax: foreach(array_expressio

Difference between Readonly and const keyword in C#.

Const keyword Const variable in C# are compile time variable i.e value is known at compile time. The assignment to const variable is only done at the time of declaration and this value of variable remain constant throughout lifetime of the progra

Change background color of uibutton using subclass method

Hello all ! Explanation is, Suppose we want to change the background color of the UIButton when it is selected and when reSelected change it to the default colour. There are many methods for doing so and one of them I am explaining below :- First

1 10 76
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: