RSS

Monthly Archives: December 2012

Webservice XML/JSON example link and how to parse Tutorial Links for Beginners

here is some useful links
how to parse local xml file ,which is in nsbundle file of the application :
NSXMLParser

some links to get online XML/JSON formated data for testing :
GEO Names Webservice Link

and in blog u can find code for xml wsdl/soap service parsing and JSON parsing

 
Leave a comment

Posted by on December 21, 2012 in Uncategorized

 

In-App Purchase Useful Classes

In-App Purchase Classes

 
Leave a comment

Posted by on December 18, 2012 in Uncategorized

 

How to Check System Version and iDevice Programmatically iOS Development

//For System Version Check

#define SYSTEM_VERSION_EQUAL_TO(v)                  ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedSame)
#define SYSTEM_VERSION_GREATER_THAN(v)              ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedDescending)
#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v)  ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)
#define SYSTEM_VERSION_LESS_THAN(v)                 ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending)
#define SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(v)     ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedDescending)

/*
 *  Usage
 */ 

if (SYSTEM_VERSION_LESS_THAN(@"4.0")) {
    ...
}

if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"3.1.1")) {
    ...
}

// For iDevice Check

if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
        CGFloat screenHeight = [UIScreen mainScreen].bounds.size.height;
        if(screenHeight == 568)
        {
            self.viewController = [[[ViewController alloc] initWithNibName:@"ViewController_iPhone5" bundle:nil] autorelease];
        }
        else
        {
            self.viewController = [[[ViewController alloc] initWithNibName:@"ViewController_iPhone" bundle:nil] autorelease];
        }

    } else {
        self.viewController = [[[ViewController alloc] initWithNibName:@"ViewController_iPad" bundle:nil] autorelease];
    }
 
 
Leave a comment

Posted by on December 17, 2012 in Uncategorized

 

Camera Controller with OverlayView Example Links

here is some useful link for camera controller with overlayview.

DGImagePicker Example Link
OverlayViewTester Example Link

and also u can take photos and videos using AVAssetWriter without open camera controller , u can find more about AVAssetWriter at following link :

AVAssetWriter Class Reference

 
Leave a comment

Posted by on December 10, 2012 in Uncategorized

 

UIImage Proccesing Kit Example

NYXImagesKit-iOS example

 
Leave a comment

Posted by on December 5, 2012 in Uncategorized