
Search In
How to add a fadein effect to an imageview in objective C
Hello all,
Many time we stuck in adding fadein effect animation for UIImageView.
to add a fadein effect to an imageview in objective C, please use below mentioned method.
-(void)fadeEffet:
Now since most of the applications are using APIs for data communication between server and client, the requirement of converting files to Byte array has increased immensely.
e.g. If we need to Upload a zip file to azure blob then we need to convert
**
Method overLoading In Objective C:
**
method overloading concept in object oriented language we use the same method name with the different signature. Signature is the argument that we send using the function.
we just change the number of argume
JSTL Sql tags with JNDI datasource : In this article we will show you how to create the JNDI datasource and access it using the JSTL tag library. We will use the tomcat DBCP Connection Pool defined in context.xml, to execute an SQL query and output t
MongoDB - $in and $or operator
$in operator : It match a value within the specified values within the given values.
e.g. If we want to select record which credit score is (1200 and 2000).
db.collection.find({"creditscore" :{$in :[1200,2000]}}).pr
"C# Naming Conventions and Coding Standards"
Naming Convention:
Basicaly three types of naming conventions are used in C#, Camel, Pascal and Hungarian.
We should use PascalCasing for class names and method names:
Example:
I have to use basic authorisation in my https request. I am using the following code :
NSString *authStr = [NSString stringWithFormat:@"%@:%@", @"p5\test", @"password"];
NSData *authData = [authStr dataUsingEncoding:NSUTF8StringEncoding];
NSString *
If you want to merging data from older database to new database in PostgreSQL or want to merge data from other database(db1) to another database(db2), follow these below steps:
from db1, export all the necessary tables to csv using:
copy (select *
Inline Function:- The Inline function are those that can be expand at the time of compilation. inline function is a combination of macro & function. Either at the time of declaration or definition of function place the keyword inline before the
Why use array_flip() function in php.?
The array_flip() function mainly used for exchanging all keys with their associated values in an array.
Syntax of array_flip() function:
array_flip(array)
You can take reference form below example to use of