diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-03-12 16:52:29 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-03-12 16:52:29 +0000 |
commit | 8b725b38bb6abf3b77e22c2f65f93fabfc92c645 (patch) | |
tree | 6e4ab7d0c4047fc0342427da86da1f1820ae864b /iphone/FixMyStreet/Classes/Report.m | |
parent | 87017d5197a623f642b0267ddd44f4d6c70bf751 (diff) | |
parent | 1185871fe27fa663a95b304e2f223d458525ed85 (diff) |
Merge branch 'delete-mobile-app-folders'
Diffstat (limited to 'iphone/FixMyStreet/Classes/Report.m')
-rw-r--r-- | iphone/FixMyStreet/Classes/Report.m | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/iphone/FixMyStreet/Classes/Report.m b/iphone/FixMyStreet/Classes/Report.m deleted file mode 100644 index afd71ede4..000000000 --- a/iphone/FixMyStreet/Classes/Report.m +++ /dev/null @@ -1,64 +0,0 @@ -// -// Report.m -// FixMyStreet -// -// Created by Matthew on 29/09/2008. -// Copyright 2008 UK Citizens Online Democracy. All rights reserved. -// - -/* -#import "Report.h" - -static Report *sharedReport = nil; - -@implementation Report - -@synthesize image, location, subject; - --(void)uploadReport { -} - -// See "Creating a Singleton Instance" in the Cocoa Fundamentals Guide for more info - -+ (Report *)sharedInstance { - @synchronized(self) { - if (sharedReport == nil) { - [[self alloc] init]; // assignment not done here - } - } - return sharedReport; -} - -+ (id)allocWithZone:(NSZone *)zone { - @synchronized(self) { - if (sharedReport == nil) { - sharedReport = [super allocWithZone:zone]; - return sharedReport; // assignment and return on first allocation - } - } - return nil; // on subsequent allocation attempts return nil -} - -- (id)copyWithZone:(NSZone *)zone -{ - return self; -} - -- (id)retain { - return self; -} - -- (unsigned)retainCount { - return UINT_MAX; // denotes an object that cannot be released -} - -- (void)release { - //do nothing -} - -- (id)autorelease { - return self; -} - -@end -*/ |