aboutsummaryrefslogtreecommitdiffstats
path: root/iphone/FixMyStreet/Classes/SubjectTableViewCell.m
diff options
context:
space:
mode:
authormatthew <matthew>2008-10-21 23:53:29 +0000
committermatthew <matthew>2008-10-21 23:53:29 +0000
commitc9f7ec5e74f4edc029108951bfdb396932260644 (patch)
treea32da516816c134d69d86eb7923c037d4d36d8b6 /iphone/FixMyStreet/Classes/SubjectTableViewCell.m
parentef183ec3273b4eee487d3499d937753deabab280 (diff)
Add settings page for name/email, upload code.
Diffstat (limited to 'iphone/FixMyStreet/Classes/SubjectTableViewCell.m')
-rw-r--r--iphone/FixMyStreet/Classes/SubjectTableViewCell.m43
1 files changed, 0 insertions, 43 deletions
diff --git a/iphone/FixMyStreet/Classes/SubjectTableViewCell.m b/iphone/FixMyStreet/Classes/SubjectTableViewCell.m
deleted file mode 100644
index 55b6f1b2f..000000000
--- a/iphone/FixMyStreet/Classes/SubjectTableViewCell.m
+++ /dev/null
@@ -1,43 +0,0 @@
-//
-// subjectTableViewCell.m
-// FixMyStreet
-//
-// Created by Matthew on 26/09/2008.
-// Copyright 2008 UK Citizens Online Democracy. All rights reserved.
-//
-
-#import "SubjectTableViewCell.h"
-
-@implementation SubjectTableViewCell
-
-@synthesize textField;
-
-- (id)initWithFrame:(CGRect)frame reuseIdentifier:(NSString *)reuseIdentifier {
- if (self = [super initWithFrame:frame reuseIdentifier:reuseIdentifier]) {
- textField = [[UITextField alloc] initWithFrame:CGRectZero];
- textField.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter;
- textField.font = [UIFont systemFontOfSize:20];
- textField.placeholder = @"Summary";
- textField.autocapitalizationType = UITextAutocapitalizationTypeSentences;
- textField.clearButtonMode = UITextFieldViewModeWhileEditing;
- textField.returnKeyType = UIReturnKeyDone;
- [self addSubview:textField];
- }
- return self;
-}
-
--(void)layoutSubviews {
- textField.frame = CGRectInset(self.contentView.bounds, 20, 0);
-}
-
-- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
- [super setSelected:selected animated:animated];
- // Configure the view for the selected state
-}
-
-- (void)dealloc {
- [textField release];
- [super dealloc];
-}
-
-@end