
Search In
To get the list of all the font that is available in xCode you can use this code.
for (NSString *name in fontnamesArray) {
NSLog(@"Font Family: %@",name);
NSArray *fontFaces = [UIFont fontNamesForFamilyName:name];
for (NSSt
There are number of scenarios where you need to store your password in encrypted form.
While doing that you encrypt it using many techniques like MD5 Hashing etc whatever according to your requirement
When we use SQL encrypt and decrypt passw
To Create a alertView with textField in Xcode 7.2 we can Use the the code below to handle the Yes and no action.
and also get the text of the textField. You can show this on a viewController.
UIAlertController * alert= [UIAlertController
ADO.NET stands for ActiveX Data Object in the .NET framework.
ADO.NET is mainly used with .NET to make the database interaction with your application.
You need to understand that ADO is not only meant for simple data purpose.
I am looking for a good approach to this problem.
I wish to build a PHP/MySQL app that maintains configurations in MySQL. Specifically, there will be projects that each contain a different web screen that includes a background i
This is our ruby on rails view from where called our jquery function().
<td id= <%= "reject_#{event.id}" %>>
<%= button_tag "Accept" , :onclick => "abc('#{event.id}', 'Accept');" %>
&
The Initializer Block in Java
The initializer block in Java contains code which is executed whenever an instance of class is created therefore this block contains common part for various constructor of a class. The order in which constructor and ini
Generally we need to encode the password in our Applications for security purpose and we can use MD5 for this purpose.
Example - In the below method I'm encoding sting by using MD5
import java.security.MessageDigest;
import java.security.NoSuc
Sometimes we need to generate a unique number for an emailId, for example when a user register then we need to generate a number by using that user can verify his EmailId. For this we can use SHA1 encoding method.
Example - In the below method I'
I was facing issue related with speed optimization of the web page. When there are many css on a single page, or have large size of css file then it makes your website slow. I am using Google PageSpeed insights to improve my site's performance. S
