groupTableViewBackgroundColor deprecated

My own function to solve that problem

- (UIImage *)groupTableViewBackgroundColor
{
    __strong static UIImage* tableViewBackgroundImage = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        UIGraphicsBeginImageContextWithOptions(CGSizeMake(7.f, 1.f), NO, 0.0);
        CGContextRef c = UIGraphicsGetCurrentContext();
        [[UIColor colorWithRed:185/255.f green:192/255.f blue:202/255.f alpha:1.f] setFill];
        CGContextFillRect(c, CGRectMake(0, 0, 4, 1));
        [[UIColor colorWithRed:185/255.f green:193/255.f blue:200/255.f alpha:1.f] setFill];
        CGContextFillRect(c, CGRectMake(4, 0, 1, 1));
        [[UIColor colorWithRed:192/255.f green:200/255.f blue:207/255.f alpha:1.f] setFill];
        CGContextFillRect(c, CGRectMake(5, 0, 2, 1));
        tableViewBackgroundImage = UIGraphicsGetImageFromCurrentImageContext();
        UIGraphicsEndImageContext();
    });
    return tableViewBackgroundImage;
}

And use like that

self.view.backgroundColor = [UIColor colorWithPatternImage:[self groupTableViewBackgroundColor]];

IOS Tips & Tricks Links

http://xcodeblog.com/2012/10/14/loading-images-asynchronously-on-iphone-using-nsinvocationoperation.xcb

http://xcodeblog.com/2012/11/08/sizes-of-iphone-ui-elements.xcb

http://samwize.com/2012/09/26/xcode-4-dot-5-tips-and-tricks/

http://xcodeblog.com/2012/10/31/back-to-basic-objective-c-loop-if-else-statement.xcb

http://xcodeblog.com/2012/10/14/introduction-to-in-app-purchases-in-ios-6.xcb

http://www.coderssource.com/post/2013/01/30/Objective-C-Tips-and-Tricks.aspx