
Search In
When accessing assets in the iPhone, some time users gets this error.
(Invalid attempt to access ALAssetPrivate past the lifetime of its owning ALAssetsLibrary)
so we can initialize our assetLibaray using the following code:
+ (ALAssetsLibrary *)
If You want to get the list of all the files that are uploaded on your DropBox then use the following code :
method -(void)downloadAllData:(void (^)(NSMutableArray *, NSMutableArray *, BOOL))
block need to be called after the successful login to D
If you are creating web forms then you need to put the validation in your form. We are here to discuss the validation for email. We know email address has its own structure. For eg. anytext@domain-main.com or anytext@domain-name.co etc
We are going
Code snippets to logout from Facebook is given below :
<script>window.fbAsyncInit = function() {
FB.init({
appId : "FACEBOOK_APPLICATION_ID",
status : true,
Hello readers, today we will discuss "how you can add category for post type page".
When a user install the WordPress, user will only get category for "post type post".
If user want to add taxonomy or category for "post type page", then user need
<?php
session_start();
include_once('config.php');
$user=htmlentities(stripslashes($_POST['username']));
$password=htmlentities(stripslashes($_POST['password']));
// Some query processing on database
if(($id_user_fetched<=$id_max_fetched)
A union is a special data type available in C that allows to store different data types in the same memory location just like structures in C.
Union uses a single shared memory location which is equal to the size of its largest data member. It provi
It becomes easier with Guzzle, which is a PHP HTTP, to send HTTP requests. Moreover, one can easily perform the task of integrating with web services. Guzzle enables to send both synchronous and asynchronous requests.
Guzzle using Laravel 4.x:
You d
For Loop: allow us to efficiently write a loop that needs to be executed specific number of times.
Syntax:
for(init statement; test expression; increment)
{
code(s) to be executed;
}
The init statement allow us to
initialize any loop co
If you want to change the appearance of UISearchBar and its related elements then use below code.
-(void)changeSearchBarAppearance{
[[UITextField appearanceWhenContainedIn:[UISearchBar class], nil] setBackgroundColor:[UIColor whiteColor]];
