
Search In
Convert date format - 2013-10-31T07:41:39+0000 to 2013-10-31 01:48:11 +0000
NSString *dateString = [stringDate substringToIndex:19];
NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
formatter.timeZone = [NSTimeZone localTimeZone];
for
Below is the code for sharing photo on facebook using ASIHTTPRequest.
- (void)publishStoryWithImage:(UIImage*)image andMessage:(NSString*)message
{
NSURL *url = [NSURL URLWithString:@"https://graph.facebook.com/me/photos"];
ASIFormDataReque
We can disable the keys to enter inside the textbox. For example if we have a textbox for entering user's age then a user only need to enter numbers (The age will only be in number format ie 12,18 and so on)
We can use the following javascript to di
We often come across conditions where manual audio file is to be created.
For example recording an audio or download audio data from server. These all need audio file in which data is to be populated.
Below, I'm creating an sound.caf file and after
SINGLETON CLASS
In object-oriented programming , a singleton class is a class that can have only one object (an instance of the class) at a time.
It's good when you only want one object across the whole of your application
It is usually used in flex
The steps below guide you through setting the configuration files required for Firefox to not only turn off updates, but deny the setting entirely.
Also note, this is on a per computer basis. This process will need to be replicated on each computer/s
If some parameter is missing in json or dictionary. For example-
json = (
{
"created_time" = "2013-11-18T14:40:37+0000";
from = {
id = 15400100;
name = "Alexandra";
How to import data from CSV to Database
Use the function below to import the data from excel to the database connected
public void importdatafromexcel(string excelfilepath)
{
try
{
DataTable tblReadCSV= new DataTable();
tblReadCS
The NSSharingServicePicker class presents a list of sharing services, so that the user can choose a service to share an item. When a service is chosen, the picker automatically executes it, which presents the sharing window.
+ (NSMenu *)menuForShari
<div class="productList mainwidth">
<ul>
<?php $_helper = Mage::helper('catalog/category') ?>
<?php $_categories = $_helper->getStoreCategories() ?>
&l
