<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/objective-c/tags/custom</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 15:15:04 GMT</pubDate>
<item>
<title>(Objective C) UIButton With Custom Stretchable UIImage - paki</title>
<link>http://snipplr.com/view/59705/uibutton-with-custom-stretchable-uiimage/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 13 Oct 2011 01:43:37 GMT</pubDate>
<guid>http://snipplr.com/view/59705/uibutton-with-custom-stretchable-uiimage/</guid>
</item>
<item>
<title>(Objective C) Custom background for UINavigationBar - espinallab</title>
<link>http://snipplr.com/view/31264/custom-background-for-uinavigationbar/</link>
<description><![CDATA[ <p>This works well for me, and doesn't appear to have issues with pushing new view controllers, hidden titles and bar button items, etc. 

To implement it just copy and paste this line before you ViewController @implementation file.  Example:

//
//  MenuViewController.m
//  Restaurant
//
//  Created by Eddie on 4/10/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "MenuViewController.h"
#import "CheckoutViewController.h"

@implementation UINavigationBar (CustomImage)
- (void)drawRect:(CGRect)rect {
	UIImage *image = [UIImage imageNamed: @"grayGB.png"];
	[image drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
}
@end


@implementation MenuViewController

@synthesize tableView,
			menuArray;</p> ]]></description>
<pubDate>Sun, 11 Apr 2010 15:16:36 GMT</pubDate>
<guid>http://snipplr.com/view/31264/custom-background-for-uinavigationbar/</guid>
</item>
</channel>
</rss>