Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 34 lines (27 sloc) 0.922 kb
e1414dd3 » soffes
2011-02-08 Added address bar
1 //
2 // SSAddressBarTextFieldBackgroundViewInnerView.m
3 // SSToolkit
4 //
5 // Created by Sam Soffes on 2/8/11.
e8c3ce32 » soffes
2011-03-27 Updated comments and renamed SSDrawingMacros to SSDrawingUtilities
6 // Copyright 2011 Sam Soffes. All rights reserved.
e1414dd3 » soffes
2011-02-08 Added address bar
7 //
8
9 #import "SSAddressBarTextFieldBackgroundViewInnerView.h"
10 #import "UIImage+SSToolkitAdditions.h"
11
12 @implementation SSAddressBarTextFieldBackgroundViewInnerView
13
bf2d0ec6 » soffes
2011-07-03 Started overhauling documentation
14 #pragma mark - UIView
e1414dd3 » soffes
2011-02-08 Added address bar
15
16 - (id)initWithFrame:(CGRect)aFrame {
17 if ((self = [super initWithFrame:aFrame])) {
6e1acb81 » alaborie
2011-04-14 Fixed an issue with the SSWebView (related to the method
18 self.autoresizingMask = UIViewAutoresizingFlexibleWidth;
e1414dd3 » soffes
2011-02-08 Added address bar
19 self.backgroundColor = [UIColor clearColor];
20 self.opaque = NO;
21 self.clipsToBounds = YES;
22 self.userInteractionEnabled = NO;
23 self.contentMode = UIViewContentModeRedraw;
24 }
25 return self;
26 }
27
28
29 - (void)drawRect:(CGRect)rect {
30 CGSize size = self.frame.size;
072f882d » soffes
2011-07-08 More documentation. #24 #25
31 [[UIImage imageNamed:@"SSAddressBarTextFieldBackground.png" bundleName:kSSToolkitBundleName] drawAsPatternInRect:CGRectMake(0.0f, 0.0f, size.width, size.height)];
e1414dd3 » soffes
2011-02-08 Added address bar
32 }
33
34 @end
Something went wrong with that request. Please try again.