
Search In
CSS color values is used to set the two type background color, foreground (borde-color,text-color etc.) to define a color value we some color format. You can determine your color values in different formats. Below is lists all of possible formats &mi
In UITableView every UITableViewCell contains a separator line by default. If you need to create your own custom separator line then use below code inside cellForRowAtIndexPath method.
UIView* separatorLineView = [[UIView alloc] initWithFrame:CGRect
Here I have created change backgraund color View app. when we select any radio button then it will change the backgraund color. In the below example i have use four radio button on diffrent colour id. You can use the below code to change backgraund c
what is count() function
The count() is utilize to count all data elements in an array, or in other word we can say The count() function returns the number of elements in an array.
You can see below example of count() function.
<?php
If you want to create a dialog which will look like as spinner dialog of single choice in android which will open in button click event than you can create a custom dialog.
Sample code given below :-
You just have to call this method on click even
IBM Bluemix is the cloud platform that helps developers rapidly build,
manage and run web and mobile applications. I found this interesting tutorial on using Bluemix.
Create a coupon-finding app by combining Yelp, Google Maps, Twitter, and
Here is a function which returns an image with different background of you choice.
- (UIImage* )setBackgroundImageByColor:(UIColor *)backgroundColor withFrame:(CGRect )rect{
// tcv - temporary colored view
UIView *tcv = [[UIView alloc] initWithFram
Hi all,
If you want to change the color of a polyline or route on map just change the color in this delegate of map.
- (MKOverlayRenderer *)mapView:(MKMapView *)mapView rendererForOverlay:(id <MKOverlay>)overlay
{
MKPolylineRenderer *ren
If you want to get all those values which exist in an array and also exist in other array means intersect values between an array and the set of other arrays then you can use a predefined php function array_intersect. array_intersect() returns an arr
#NiceHexSpiral.py
import turtle
colours=['red','purple','blue','green','yellow','orange']
t=turtle.pen ()
turtle.bgcolor ('black')
for x in range (360):
t.pencolor (colors[x%6])
t.forward(x)
t.l