
Search In
A cookie is a piece of information in the form of a very small text file that is placed on an internet user's hard drive. It is generated by a web page server, which is basically the computer that operates a web site. The information the cookie conta
Hi all,
If you want to add two different xibs in a tableView you can check out the code here.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
if (tableView==carTable)
{
Review
We need to check if device is connected to Internet on making every API call (or call to Remote server).
The function below returns true if device is connected to Internet.
//**This function tells whether the device having an Internet connection or
Yes, we can pass the Block as argument in function. Here it is :
let suppose i create a class Downloader
First declare a Block in Downloader.h:
typedef void (^DownloadComplete)(double,double,double,BOOL,id,id);
then declare method as following i
The Self and Super Keyword in IOS are important and one should know why and how they are used in objective c.
One should always access the instance variables directly from or within an initialization method. Because at the time when property is set o
The Self and Super Keyword in IOS are important and one should know why and how they are used in objective c.
One should always access the instance variables directly from or within an initialization method. Because at the time when property is set o
If you want to send ajax request using yahoo user interface library, for that follow the below mentioned code step by step.
First Import Yahoo libraries in page you want to access them
Include namespace echo (reference path)
YAHOO.namespace("echo")
Singleton pattern is used where we want to enforce that only one instance of the class is created in our program.
Here is the small example of Singleton class.
public class GlobalServiceManager
{
private GlobalServiceManager()
{
This is a very common requirement for Mobile app developers who use APIs to interact with the Data.
e.g. You want to show the list of events in an app and you have lots of data for the call at server. If server returns you back with all the data then
Extension methods are used for adding methods to existing classes and types.
These are special kind of Static methods but they are called as if they were instance methods.
Extension methods are defined in static class and methods are also static.
E.
